aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@cygnus>1998-06-09 21:15:46 +0000
committerKeith Seitz <keiths@cygnus>1998-06-09 21:15:46 +0000
commitfadce6f6964a3b68c8ce3c7963c432b43935217d (patch)
tree3993640e591e2e7af37fe73bf4235b0135402e1d /gdb/gdbtk.c
parent8b9286ecf1671b0e57ffaa17284306c8b2cba757 (diff)
downloadgdb-fadce6f6964a3b68c8ce3c7963c432b43935217d.zip
gdb-fadce6f6964a3b68c8ce3c7963c432b43935217d.tar.gz
gdb-fadce6f6964a3b68c8ce3c7963c432b43935217d.tar.bz2
* symfile.c (symbol_file_add): Always call the
pre/post_add_symbol_hooks. * gdbtk.c (gdb_get_vars_command): Return static variables and variables stored in registers.
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index c8451dc..4718e15 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -2674,8 +2674,6 @@ gdb_get_vars_command (clientData, interp, objc, objv)
default:
case LOC_UNDEF: /* catches errors */
case LOC_CONST: /* constant */
- case LOC_STATIC: /* static */
- case LOC_REGISTER: /* register */
case LOC_TYPEDEF: /* local typedef */
case LOC_LABEL: /* local label */
case LOC_BLOCK: /* local function */
@@ -2694,6 +2692,8 @@ gdb_get_vars_command (clientData, interp, objc, objv)
Tcl_NewStringObj (SYMBOL_NAME (sym), -1));
break;
case LOC_LOCAL: /* stack local */
+ case LOC_STATIC: /* static */
+ case LOC_REGISTER: /* register */
case LOC_BASEREG: /* basereg local */
if (!arguments)
Tcl_ListObjAppendElement (interp, result,