* gdbtk.c (gdb_disassemble): Deference pointer to function before
calling it (pre-ANSI compilers generally require this).
This commit is contained in:
parent
f78d026a52
commit
d039851f9f
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
start-sanitize-gdbtk
|
||||
* gdbtk.c (gdb_disassemble): Deference pointer to function before
|
||||
calling it (pre-ANSI compilers generally require this).
|
||||
|
||||
end-sanitize-gdbtk
|
||||
Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
|
||||
|
||||
* ser-go32-para.c (dos_read): fix syntax errors.
|
||||
|
|
|
@ -950,7 +950,7 @@ gdb_disassemble (clientData, interp, argc, argv)
|
|||
fputs_unfiltered (" ", gdb_stdout);
|
||||
print_address (pc, gdb_stdout);
|
||||
fputs_unfiltered (":\t ", gdb_stdout);
|
||||
pc += tm_print_insn (pc, &di);
|
||||
pc += (*tm_print_insn) (pc, &di);
|
||||
fputs_unfiltered ("\n", gdb_stdout);
|
||||
}
|
||||
}
|
||||
|
@ -964,7 +964,7 @@ assembly_only:
|
|||
fputs_unfiltered (" ", gdb_stdout);
|
||||
print_address (pc, gdb_stdout);
|
||||
fputs_unfiltered (":\t ", gdb_stdout);
|
||||
pc += tm_print_insn (pc, &di);
|
||||
pc += (*tm_print_insn) (pc, &di);
|
||||
fputs_unfiltered ("\n", gdb_stdout);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue