Revert previous change.
This commit is contained in:
parent
00b8699cdc
commit
c96d965cf2
2 changed files with 8 additions and 11 deletions
|
@ -1,8 +1,5 @@
|
||||||
2011-03-10 Michael Snyder <msnyder@vmware.com>
|
2011-03-10 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
* p-typeprint.c (pascal_type_print_method_args): Don't use
|
|
||||||
pointer until after null-check.
|
|
||||||
|
|
||||||
* tracepoint.c (cmd_qtv): Discard unused value 'packet'.
|
* tracepoint.c (cmd_qtv): Discard unused value 'packet'.
|
||||||
(cmd_qtframe): Ditto.
|
(cmd_qtframe): Ditto.
|
||||||
(cmd_qtbuffer): Ditto.
|
(cmd_qtbuffer): Ditto.
|
||||||
|
|
|
@ -156,10 +156,6 @@ void
|
||||||
pascal_type_print_method_args (char *physname, char *methodname,
|
pascal_type_print_method_args (char *physname, char *methodname,
|
||||||
struct ui_file *stream)
|
struct ui_file *stream)
|
||||||
{
|
{
|
||||||
fputs_filtered (methodname, stream);
|
|
||||||
|
|
||||||
if (physname && (*physname != 0))
|
|
||||||
{
|
|
||||||
int is_constructor = (strncmp (physname, "__ct__", 6) == 0);
|
int is_constructor = (strncmp (physname, "__ct__", 6) == 0);
|
||||||
int is_destructor = (strncmp (physname, "__dt__", 6) == 0);
|
int is_destructor = (strncmp (physname, "__dt__", 6) == 0);
|
||||||
|
|
||||||
|
@ -168,6 +164,10 @@ pascal_type_print_method_args (char *physname, char *methodname,
|
||||||
physname += 6;
|
physname += 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fputs_filtered (methodname, stream);
|
||||||
|
|
||||||
|
if (physname && (*physname != 0))
|
||||||
|
{
|
||||||
fputs_filtered (" (", stream);
|
fputs_filtered (" (", stream);
|
||||||
/* We must demangle this. */
|
/* We must demangle this. */
|
||||||
while (isdigit (physname[0]))
|
while (isdigit (physname[0]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue