diff options
author | Stu Grossman <grossman@cygnus> | 1995-10-24 21:22:56 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1995-10-24 21:22:56 +0000 |
commit | 3f687c7896795bac80f4e2e15f565562f34b4e30 (patch) | |
tree | adbadb7834dc6daf11650767e4f4a2ef85097906 /gas | |
parent | 43b428a7bf92c725de4d5560807cd0a4682c0962 (diff) | |
download | gdb-3f687c7896795bac80f4e2e15f565562f34b4e30.zip gdb-3f687c7896795bac80f4e2e15f565562f34b4e30.tar.gz gdb-3f687c7896795bac80f4e2e15f565562f34b4e30.tar.bz2 |
* infrun.c (wait_for_inferior): Disable questionable code near
the step range test. Replace call detection test with much
simpler (and more efficient) test that doesn't require prologue
examination (as often).
* symtab.c symtab.h (in_prologue): New function that indicates
whether or not we are in a function prologue. This uses the
symbol table, and then falls back to prologue examination if that
fails. It's much more efficient for remote debugging because it
avoids examining memory, which is very slow. This is used in
wait_for_inferior to determine if we've made a function call that
needs to be skipped over (for next/nexti).
* mips-tdep.c (after_prologue): New function, returns the PC
after the prologue. Uses PDRs and the symbol table.
(mips_find_saved_regs): Use in_prologue() to avoid costly
prologue examination if possible.
(mips_skip_prologue): Use after_prologue() if possible to avoid
costly prologue examination.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions