diff options
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/symbols.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e70d1ed..0e8696f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com> + + * symbols.c (max_indent_level): New global. + (print_symbol_value_1): Use it. + Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com> * symbols.c (print_binary): New function. diff --git a/gas/symbols.c b/gas/symbols.c index f64d049..1713e6a 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -1554,6 +1554,10 @@ symbol_begin () int indent_level; +/* Maximum indent level. + Available for modification inside a gdb session. */ +int max_indent_level = 8; + #if 0 static void @@ -1602,7 +1606,8 @@ print_symbol_value_1 (file, sym) && s != expr_section) fprintf (file, " %lx", (long) S_GET_VALUE (sym)); } - else if (indent_level < 8 && S_GET_SEGMENT (sym) != undefined_section) + else if (indent_level < max_indent_level + && S_GET_SEGMENT (sym) != undefined_section) { indent_level++; fprintf (file, "\n%*s<", indent_level * 4, ""); |