Picon

[PATCH 24700]

This patch modifies the <gdb/ppc-linux-tdep.c> file.
It was noticed in GDB for PPC64 that the command "set var" failed when
used to change a string value, the intent of this patch is to solve this
gdb64's problem. Ex:

char *ptr = NULL;
printf("ptr string is %s\n", ptr);
(gdb) set var ptr="def"
---Problem Description--- 
gdb64: failed to set a string variable's value.

I could not detect any regressions that could be caused by this patch in GDB's testsuite.

-----
José Flávio Aguilar Paulino
Software Engineer
LoP Toolchain Team
IBM
Attachment (24700.patch): text/x-patch, 2025 bytes

Gmane