mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-04 22:15:12 +08:00
* printcmd.c (print_address_symbolic): turn this into an assigment
instead of an initialization (many compilers don't accept structure initialization).
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
Fri May 28 17:24:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
||||
|
||||
* printcmd.c (print_address_symbolic): turn this into an assigment
|
||||
instead of an initialization (many compilers don't accept
|
||||
structure initialization).
|
||||
|
||||
Thu May 27 16:56:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* xcoffread.c (read_xcoff_symtab): If several program csects in one
|
||||
|
@ -591,7 +591,9 @@ print_address_symbolic (addr, stream, do_demangle, leadin)
|
||||
/* Append source filename and line number if desired. */
|
||||
if (symbol && print_symbol_filename)
|
||||
{
|
||||
struct symtab_and_line sal = find_pc_line (addr, 0);
|
||||
struct symtab_and_line sal;
|
||||
|
||||
sal = find_pc_line (addr, 0);
|
||||
if (sal.symtab)
|
||||
fprintf_filtered (stream, " at %s:%d", sal.symtab->filename, sal.line);
|
||||
}
|
||||
|
Reference in New Issue
Block a user