This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Workaround ada (gnat-4.3.0) on x86_64
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 22 May 2008 14:50:29 -0700
- Subject: Re: [patch] Workaround ada (gnat-4.3.0) on x86_64
- References: <20080421140414.GB4990@host0.dyn.jankratochvil.net> <20080422203659.GD3797@adacore.com> <20080422225553.GA14645@host0.dyn.jankratochvil.net> <20080425020254.GA16580@adacore.com> <20080521222542.GA17588@host0.dyn.jankratochvil.net>
> Does the testcase work for you with GDB HEAD gdb.ada/packed_tagged.exp?
> The same memory trashing problem is there for me for gcc-4.1.2-33.i386
> and for gcc-4.3.0-8.i386 (Fedora 8 and 9, resp.) when trying the ia32
> arch.
Yes, these testcases work for me with GDB HEAD; but I'm using GNAT Pro,
which produces the expected debugging info.
Obviously, there are some local changes that AdaCore hasn't contributed
yet. I know that some of them were quite tricky to get right, so we
elected to keep them local while we build confidence in them. But
both Eric Botcazou and Olivier Hainque would like to work towards
contributing them (and I know that Olivier improved some of them
towards that goal). This is something I wanted to discuss more in
depth with them at the GCC summit - anyone attending who would like
to know more about that task is welcome to discuss it with us.
> While it does not fix the FAIL it has no regressions (for the gcc testsuite on
> i386+x86_64 and with the GDB testsuite) and it no longer trashes the memory
> by omitting the unknown DW_AT_byte_size values (instead of writing them out
> with the value 0xffffffff):
> GCC PR 35998 http://gcc.gnu.org/bugzilla/attachment.cgi?id=15654
Unfortunately, I am not the right person to discuss compiler changes,
as I very seldomly modified the GCC. I'll ask Eric what he thinks
about it.
--
Joel