Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
Cc: ezannoni@redhat.com, brobecker@gnat.com, gdb-patches@sources.redhat.com
Subject: Re: [rfc] msymbol.size
Date: Tue, 11 Nov 2003 16:50:00 -0000	[thread overview]
Message-ID: <16305.4956.712755.533037@localhost.redhat.com> (raw)
In-Reply-To: <20031111162951.2FC244B361@berman.michael-chastain.com>

Michael Elizabeth Chastain writes:
 > [I added gdb.patches back because we aren't attaching huge files,
 >  so might as well share and enjoy].
 > 
 > eza> I did a build w/o your patch but w/ the fprintf. No output :-(
 > eza> A build w/ your patch : still no output from the printf.
 > 
 > Okay.  This means that gdb does not use the "texthigh hack" with
 > gcc and /usr/ccs/bin/as.  So, we could do anything we want to
 > msymbol.size and there would be no effect on gdb, as long as gcc
 > is the compiler and /usr/ccs/bin/as is the assembler.
 > 
 > Any chance of running the gdb test suite with Sun's compiler?
 > Or even just debugging a 'hello world' program built with Sun's
 > compiler and seeing if the texthigh hack is still used at all.
 > Or even ... running gdb on random Solaris utilities like /usr/bin/ls
 > and seeing what happens.

I don't think I have any machines around here with SUN's compiler on
them. :-( I tried a break main - run on ls and /usr/bin/ccs/help, and
saw no end_symtab printed either. But there is no symbol info there, I
think.

 > 
 > eza> So I think that the diff in pthreads.exp could be a fluctuation.
 > eza> Given the roblems with that test.
 > 
 > I have run into into similar problems on x86 two or three times.
 > What happens is: pthreads.exp fluctuates because it is a thread test.
 > Sometimes some of the threads are in states that are deterministically
 > bad for gdb.  That is:
 > 
 >   when a thread is in state S0, gdb always prints a good backtrace
 >   when a thread is in state S1, gdb always prints a bad backtrace
 >   the thread is in S0 on some runs and S1 on some runs
 > 

I've seen that too on Linux.

 > But it is a little dangerous to extrapolate from x86-linux to
 > sparc-solaris so I am hoping to see the gdb.log for the FAIL result
 > in that test.
 > 

I hope this was clear, on Solaris I got no differences in the pthreads
tests before and after the patch. There were failures in the
backtraces, but they were failing the same way in both runs. But Joel
did.

elena

 > Michael C


  reply	other threads:[~2003-11-11 16:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-11 16:31 Michael Elizabeth Chastain
2003-11-11 16:50 ` Elena Zannoni [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-11 20:14 Michael Elizabeth Chastain
2003-11-11 18:45 Michael Elizabeth Chastain
2003-11-11 19:11 ` Elena Zannoni
2003-11-11 17:10 Michael Elizabeth Chastain
2003-11-09 23:30 Michael Elizabeth Chastain
2003-11-10 18:16 ` Joel Brobecker
2003-11-07 20:19 Michael Elizabeth Chastain
2003-11-07 20:31 ` Elena Zannoni
2003-11-07 19:47 Michael Elizabeth Chastain
2003-11-07 20:06 ` Elena Zannoni
2003-11-08 23:54   ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16305.4956.712755.533037@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=brobecker@gnat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec.gnu@mindspring.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox