This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (PPC64) 64 bit GDB unable to set br in 32bit app


On Thu, 11 Mar 2004, Andrew Cagney wrote:



They are mainline patches that may get backported to 6.1. I'm wondering if the patches applied cleanly as they appear to contain:

+static struct regset ppc32_linux_gregset = {
+  NULL, ppc32_linux_supply_gregset
+};
...
+ppc_linux_regset_from_core_section (struct gdbarch *core_arch,
+                                   const char *sect_name, size_t sect_size)
...
+      if (tdep->wordsize == 4)
+       return &ppc32_linux_gregset;



No some of them did not, I had to hand edit the code by looking at the
patch.

It sounds like a problem with the hand editing then - per the above the variable does appear to have been added.


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]