[PATCH 24700]

Jose Flavio Aguilar Paulino jflavio@br.ibm.com
Thu Mar 1 18:27:00 GMT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 24700.patch
Type: text/x-patch
Size: 2025 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070301/f824dfb8/attachment.bin>


More information about the Gdb-patches mailing list