diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1996-11-09 09:17:34 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1996-11-09 09:17:34 +0000 |
commit | 074d813d38a8c811d8ca2d346ce0266ac4331cb2 (patch) | |
tree | 7f41fcfdbd80af8381fd70ce13e6c10fbaaa7747 /gdb/c-valprint.c | |
parent | Fri Nov 8 16:19:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com> (diff) | |
download | binutils-gdb-074d813d38a8c811d8ca2d346ce0266ac4331cb2.tar.gz binutils-gdb-074d813d38a8c811d8ca2d346ce0266ac4331cb2.tar.bz2 binutils-gdb-074d813d38a8c811d8ca2d346ce0266ac4331cb2.zip |
* alpha-tdep.c (heuristic_proc_desc): Stop examining the prologue
if we encounter a positive stack adjustment.
(find_proc_desc): If heuristic_fence_post is non-zero, use
heuristic_proc_start to determine the start of a function before
calling heuristic_proc_desc.
* coffread.c (coff_symtab_read): Change minimal symbol types
for C_LABEL symbols from mst_* to mst_file_*.
* config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
* configure.in: Handle error message from sun3 native ld when
configuring HLDFLAGS.
* configure: Regenerated with autoconf.
* c-valprint.c (c_value_print): Adjust value address by VALUE_OFFSET.
* cp-valprint.c (cp_print_value): Prevent gdb crashes by making sure
that the virtual base pointer from an user object still points to
accessible memory.
* dbxread.c (dbx_symfile_init): Initialize sym_stab_info to
clear the recently added header_files fields.
(dbx_symfile_finish): Free hfiles[i].vector to avoid storage leak.
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 20dae22f2a7..485018054e5 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -1,5 +1,5 @@ /* Support for printing C values for GDB, the GNU debugger. - Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994, 1995 + Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. This file is part of GDB. @@ -465,6 +465,7 @@ c_value_print (val, stream, format, pretty) fprintf_filtered (stream, ") "); } } - return (val_print (type, VALUE_CONTENTS (val), - VALUE_ADDRESS (val), stream, format, 1, 0, pretty)); + return val_print (type, VALUE_CONTENTS (val), + VALUE_ADDRESS (val) + VALUE_OFFSET (val), + stream, format, 1, 0, pretty); } |