Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: gdb@sources.redhat.com
Subject: Re: GDB shows fake short arguments (?????)
Date: Sun, 26 Jan 2003 22:37:00 -0000	[thread overview]
Message-ID: <20030126223812.GA23208@nevyn.them.org> (raw)
In-Reply-To: <20030126214513.GA57774@mistress.home.astercity.net>

On Sun, Jan 26, 2003 at 10:45:13PM +0100, Creep wrote:
> 
> Hello. I was debugging a program and a weird thing occured.
> I'm not actually sure if this is a bug or a normal behavior :S.
> I just can't quite imagine such thing could be unnoticed.

> # gdb --version
> GNU gdb 4.18
> 
> Any ideas?

It's just a debug info problem with the compiler you're using; GDB
stops too early in the function.  If you use GCC 3.2 you'll probably
get better results.  If you're debugging unoptimized code and you don't
want to switch compilers, GDB 5.3 contains a workaround which may help.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


      reply	other threads:[~2003-01-26 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-26 22:33 Creep
2003-01-26 22:37 ` Daniel Jacobowitz [this message]

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=20030126223812.GA23208@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.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