diff options
author | Daniel Jacobowitz <dan@debian.org> | 2006-03-30 16:48:47 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2006-03-30 16:48:47 +0000 |
commit | 88d1136ce128c6c182541f44bd104c75032a84c0 (patch) | |
tree | 50d9c6e9f0795c54b428bf923402d7b9f478f8dd /gdb/arm-tdep.c | |
parent | c05233c73ad676878de7a7d79c56a3236a8d5dd5 (diff) | |
download | gdb-88d1136ce128c6c182541f44bd104c75032a84c0.tar.gz |
* arm-tdep.c (thumb_scan_prologue): Don't try to analyze
the function at zero if we have no symbols.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index cb3c2615910..6b574653f63 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -466,9 +466,9 @@ thumb_scan_prologue (CORE_ADDR prev_pc, struct arm_prologue_cache *cache) prologue_end = sal.end; /* (probably means no prologue) */ } else - /* We're in the boondocks: allow for - 16 pushes, an add, and "mv fp,sp". */ - prologue_end = prologue_start + 40; + /* We're in the boondocks: we have no idea where the start of the + function is. */ + return; prologue_end = min (prologue_end, prev_pc); |