diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-22 22:27:25 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-22 22:27:25 +0000 |
commit | 5afa2040f45d3772e759c2e148ad8bf33115c80a (patch) | |
tree | 1daadfad56d3ec827d2fe2e70f97b98abafb2117 /gdb/printcmd.c | |
parent | 4365c36c9b87e20565b20c52809c781c50831a18 (diff) | |
download | gdb-5afa2040f45d3772e759c2e148ad8bf33115c80a.zip gdb-5afa2040f45d3772e759c2e148ad8bf33115c80a.tar.gz gdb-5afa2040f45d3772e759c2e148ad8bf33115c80a.tar.bz2 |
Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
* symtab.h: Fix LOC_REF_ARG comment.
Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
and Jim Kingdon (kingdon@cygnus.com)
* stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
LOC_REGPARM symbol.
* config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
symfile.c (compare_symbols): Don't check first character; STRCMP
does that.
* stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
structures that are passed by address in a register.
* symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
* findvar.c (read_var_value),
printcmd.c (address_info, print_frame_args),
stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
* symtab.c (lookup_block_symbol): Deal with it.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 298de93..ebb5ccf 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -951,6 +951,10 @@ address_info (exp, from_tty) case LOC_REGPARM: printf ("an argument in register %s", reg_names[val]); break; + + case LOC_REGPARM_ADDR: + printf ("address of an argument in register %s", reg_names[val]); + break; case LOC_ARG: if (SYMBOL_BASEREG_VALID (sym)) @@ -1513,6 +1517,7 @@ print_frame_args (func, fi, num, stream) /* We care about types of symbols, but don't need to keep track of stack offsets in them. */ case LOC_REGPARM: + case LOC_REGPARM_ADDR: case LOC_LOCAL_ARG: break; |