This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
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. BUT. When I use the latest compiler(powerpc64-linux-gcc (GCC)
3.3.3-hammer), ppc-linux-tdep.c fails to compile, it complains of
undeclared variables ppc32_linux_gregset.
--
Manjo