Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* SOFUN_ADDRESS_MAYBE_MISSING
@ 2003-10-06 12:42 Mark Kettenis
  2003-10-06 16:44 ` SOFUN_ADDRESS_MAYBE_MISSING Kevin Buettner
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mark Kettenis @ 2003-10-06 12:42 UTC (permalink / raw)
  To: gdb

I'm wondering what to do with SOFUN_ADDRESS_MAYBE_MISSING.  It started
out (and still largely is) a hack to work around a problem with
stabs-in-ELF with Sun's C compiler.  Later it also got enabled on some
Linux variants, to work around a bug in HJ's Linux binutils IIRC.

The safest thing to do is probably to turn this into a multi-arch
variable, and set that variable for all targets that #define
SOFUN_ADDRESS_MAYBE_MISSING.  I winder however, what the impact would
be of enabling this on all ELF targets, since that would make it
easier to debug object modules created with the Sun compiler to
FreeBSD/sparc64 for example.

Mark


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: SOFUN_ADDRESS_MAYBE_MISSING
@ 2003-10-15 18:44 Michael Elizabeth Chastain
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Elizabeth Chastain @ 2003-10-15 18:44 UTC (permalink / raw)
  To: ezannoni, kettenis; +Cc: gdb

eza> I tried *deleting* the definition of SOFUN_ADDRESS_.. in
eza> config/i386/tm-linux.h, and I ran the testsuite both on a stabs platform
eza> (RH 7.3) and a dwarf2 platform (RH 9) and found no differences in the
eza> testsuite results, before and after the change (of course there are
eza> the usual differences between the stabs and the dwarf2 runs).

BTW, you might already know this, but you can run stabs+ on RH 9 with:

  runtest ... --target_board unix/gdb:debug_flags=-gstabs+

I don't know the right incantation for doing this at the
"make check" level.

eza> This would require to increase the size of a minsym in all
eza> cases, by making this unconditional:

My data point is that minsym size is not important: about 0.3 megabytes
out of 80 megabytes with "gdb --readnow gdb".  Dunno about the normal
case without "--readnow" but I wouldn't worry about increasing the
size of a minsym if that helps fix a problem.

My two superficial observations,

Michael C


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-10-16 19:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-06 12:42 SOFUN_ADDRESS_MAYBE_MISSING Mark Kettenis
2003-10-06 16:44 ` SOFUN_ADDRESS_MAYBE_MISSING Kevin Buettner
2003-10-07 16:44   ` SOFUN_ADDRESS_MAYBE_MISSING Jim Blandy
2003-10-07  4:24 ` SOFUN_ADDRESS_MAYBE_MISSING Jim Blandy
2003-10-15 18:21 ` SOFUN_ADDRESS_MAYBE_MISSING Elena Zannoni
2003-10-16 19:49   ` SOFUN_ADDRESS_MAYBE_MISSING Mark Kettenis
2003-10-15 18:44 SOFUN_ADDRESS_MAYBE_MISSING Michael Elizabeth Chastain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox