mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-24 18:35:28 +00:00
* expprint.c (dump_raw_expression): Print note if non-NULL.
This commit is contained in:
parent
67cc50334e
commit
a411cd0e60
@ -1,5 +1,7 @@
|
||||
2009-03-18 Doug Evans <dje@google.com>
|
||||
|
||||
* expprint.c (dump_raw_expression): Print note if non-NULL.
|
||||
|
||||
* printcmd.c (display_uses_solib_p): Redo loop, scan element list
|
||||
backwards.
|
||||
|
||||
|
@ -802,6 +802,9 @@ op_name_standard (enum exp_opcode opcode)
|
||||
}
|
||||
}
|
||||
|
||||
/* Print a raw dump of expression EXP to STREAM.
|
||||
NOTE, if non-NULL, is printed as extra explanatory text. */
|
||||
|
||||
void
|
||||
dump_raw_expression (struct expression *exp, struct ui_file *stream,
|
||||
char *note)
|
||||
@ -813,7 +816,9 @@ dump_raw_expression (struct expression *exp, struct ui_file *stream,
|
||||
|
||||
fprintf_filtered (stream, "Dump of expression @ ");
|
||||
gdb_print_host_address (exp, stream);
|
||||
fprintf_filtered (stream, "'\n\tLanguage %s, %d elements, %ld bytes each.\n",
|
||||
if (note)
|
||||
fprintf_filtered (stream, ", %s:", note);
|
||||
fprintf_filtered (stream, "\n\tLanguage %s, %d elements, %ld bytes each.\n",
|
||||
exp->language_defn->la_name, exp->nelts,
|
||||
(long) sizeof (union exp_element));
|
||||
fprintf_filtered (stream, "\t%5s %20s %16s %s\n", "Index", "Opcode",
|
||||
|
Loading…
x
Reference in New Issue
Block a user