aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2000-01-18 00:55:13 +0000
committerJason Molenda <jmolenda@apple.com>2000-01-18 00:55:13 +0000
commitc5394b80aefdea6b2f589723a4b79bcbc1942629 (patch)
treec53989048ae15966e62006aaee403659bde346bf /gdb/frame.h
parent67a95c88f38aa938757c92389ba59bbc89e7fa79 (diff)
downloadgdb-c5394b80aefdea6b2f589723a4b79bcbc1942629.zip
gdb-c5394b80aefdea6b2f589723a4b79bcbc1942629.tar.gz
gdb-c5394b80aefdea6b2f589723a4b79bcbc1942629.tar.bz2
import gdb-2000-01-17 snapshot
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index ad329c5..0912205 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -1,5 +1,5 @@
/* Definitions for dealing with stack frames, for GDB, the GNU debugger.
- Copyright 1986, 1989, 1991, 1992, 1999 Free Software Foundation, Inc.
+ Copyright 1986, 1989, 1991, 1992, 1999, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -99,6 +99,20 @@ struct frame_info
struct frame_info *next, *prev;
};
+/* Values for the source flag to be used in print_frame_info_base(). */
+enum print_what
+ {
+ /* Print only the source line, like in stepi. */
+ SRC_LINE = -1,
+ /* Print only the location, i.e. level, address (sometimes)
+ function, args, file, line, line num. */
+ LOCATION,
+ /* Print both of the above. */
+ SRC_AND_LOC,
+ /* Print location only, but always include the address. */
+ LOC_AND_ADDRESS
+ };
+
/* Allocate additional space for appendices to a struct frame_info. */
#ifndef SIZEOF_FRAME_SAVED_REGS