diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-02-04 16:34:51 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-02-04 16:34:51 +0000 |
commit | 6e4c6c91defcde7bd46625742b7df8108e8d597f (patch) | |
tree | 2d19576130def94209dc155b3645530f58213dd8 /gdb/objfiles.h | |
parent | 7bfdd688ac9a8864f8be2a79e7297a501a349f85 (diff) | |
download | gdb-6e4c6c91defcde7bd46625742b7df8108e8d597f.zip gdb-6e4c6c91defcde7bd46625742b7df8108e8d597f.tar.gz gdb-6e4c6c91defcde7bd46625742b7df8108e8d597f.tar.bz2 |
* objfiles.h: Delete comments refering to inside_entry_func and
DEPRECATED_FRAME_CHAIN_VALID.
* defs.h (inside_entry_func): Update prototype..
* blockframe.c (inside_entry_func): Rename to
legacy_inside_entry_func. Add new inside_entry_func taking a frame.
* frame.c (get_prev_frame): Pass the frame to inside_entry_func.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index 732af4d..aeb5892 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -98,18 +98,7 @@ struct objfile_data; use the block at main, or can't find it for some reason, everything still works as before. And if we have no startup code debugging information but we do have usable information for main(), backtraces - from user code don't go wandering off into the startup code. - - To use this method, define your DEPRECATED_FRAME_CHAIN_VALID macro - like: - - #define DEPRECATED_FRAME_CHAIN_VALID(chain, thisframe) \ - (chain != 0 \ - && !(inside_main_func ((thisframe)->pc)) \ - && !(inside_entry_func ((thisframe)->pc))) - - and add initializations of the four scope controlling variables inside - the object file / debugging information processing modules. */ + from user code don't go wandering off into the startup code. */ struct entry_info { |