summaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2004-02-04 16:34:51 +0000
committerDaniel Jacobowitz <dan@debian.org>2004-02-04 16:34:51 +0000
commit6e492e936c6ebf4375a9ad4d5cb935dbbb61c51e (patch)
tree12c53e016f325959c72829436f6f81188988e57f /gdb/objfiles.h
parentea1f833351a12a9ac0b4cea0b239a0f0886ad673 (diff)
downloadgdb-6e492e936c6ebf4375a9ad4d5cb935dbbb61c51e.tar.gz
* 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.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 732af4d3d01..aeb5892b381 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
{