From: Andrew Cagney <ac131313@cygnus.com>
To: Michal Ludvig <mludvig@suse.cz>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Simple patch for x86-64 (can go to 5.2?)
Date: Fri, 26 Apr 2002 17:36:00 -0000 [thread overview]
Message-ID: <3CC9F27E.1060902@cygnus.com> (raw)
In-Reply-To: <3CC96A2D.5000203@suse.cz>
> This patch is a really simple one without any side-effects. The problem is, that gcc for x86-64 by default has -fomit-frame-pointer switched on when optimalization is requested. People don't know it and are complaining that (diplomaticaly said) "gdb doesn't work" (depending on their attitude :-). The only thing this patch does is, that it prints a note, when x86_64_skip_prologue doesn't see "push %rbp" as the very first instruction of a given function. The note is printed only once. That's all. I'd like to see it in 5.2 to teach people that they should explicitly use -fno-omit-frame-pointer when compiling a code for debugging. Can I commit? I'll remove this note as soon as I fix dwarf2 reader to handle even optimized code.
>
> 2002-04-26 Michal Ludvig <mludvig@suse.cz>
> * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging
> code without frame pointers.
Sigh (you've figured out the one thing that will make me delay a release :-)
Yes, I've committed it (can you please create a bug report explaining
the warning message).
Andrew
prev parent reply other threads:[~2002-04-27 0:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-26 7:54 Michal Ludvig
2002-04-26 17:36 ` Andrew Cagney [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=3CC9F27E.1060902@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=mludvig@suse.cz \
/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