* gdb database not updating
@ 2003-08-04 19:32 Michael Elizabeth Chastain
2003-08-04 21:19 ` Christopher Faylor
0 siblings, 1 reply; 3+ messages in thread
From: Michael Elizabeth Chastain @ 2003-08-04 19:32 UTC (permalink / raw)
To: gdb
FYI,
I filed a bug this afternoon: PR gdb/1313, "bad line numbers on very
tiny functions". gnats sent me mail about the new bug, but more than
an hour later, the bug database hasn't been updated.
Stale lock, dead update process, real slow machine ... ?
I'll wait another hour or two and then tell the overseers list.
Michael C
===
From gdb-prs-return-2913-mec=shout.net@sources.redhat.com Mon Aug 4 13:08:08 2003
Mailing-List: contact gdb-prs-help@sources.redhat.com; run by ezmlm
List-Archive: <http://sources.redhat.com/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sources.redhat.com>
List-Help: <mailto:gdb-prs-help@sources.redhat.com>, <http://sources.redhat.com/lists.html#faqs>
Sender: gdb-prs-owner@sources.redhat.com
Resent-Date: 4 Aug 2003 18:08:00 -0000
Resent-From: gdb-gnats@sources.redhat.com (GNATS Filer)
Resent-To: nobody@sources.redhat.com
Resent-Cc: gdb-prs@sources.redhat.com
Resent-Reply-To: gdb-gnats@sources.redhat.com, mec@shout.net
Date: 4 Aug 2003 18:05:51 -0000
From: mec@shout.net
Reply-To: mec@shout.net
To: gdb-gnats@sources.redhat.com
X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31)
Subject: symtab/1313: bad line numbers on very tiny functions
>Number: 1313
>Category: symtab
>Synopsis: bad line numbers on very tiny functions
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 04 18:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: mec@shout.net
>Release: gdb 5.3
>Organization:
>Environment:
target=native
host=i686-pc-linux-gnu
osversion=red-hat-8.0
gdb=5.3
gcc=HEAD 2003-08-02 15:36:58 UTC
binutils=2.14
glibc=2.2.93-5-rh
gformat=dwarf-2
glevel=2
>Description:
gdb has bad line numbers on very tiny functions. This causes regressions in unexpected places in the gdb test suite.
The symptoms are: when gdb hits a breakpoint, it prints:
Breakpoint 2, 0x08048397 in handle_USR1 (sig=10) at ...
Note the hexadecimal address. This is incorrect, because the breakpoint really is at the start of the line. The correct output is:
Breakpoint 2, handle_USR1 (sig=10) at ...
The bad behavior happened with gcc HEAD.
The good behavior happened with gcc 3.3.
In the attachment, there is a new test script which shows the problem. After the gdb 6.0 release I'll come back and submit this script for the test suite.
>How-To-Repeat:
Run the empty.exp test script in the attachment.
Or, run gdb.base/attach1.exp and look carefully what happens with the breakpoint on handle_USR1. Note that the problem is not related to
Use gcc 3.3 to see good behavior, gcc HEAD to see bad behavior. It's insensitive to debug format and binutils version.
>Fix:
I don't know whether gcc needs to be fixed to emit different line numbers, or whether gdb needs to be fixed to accept what gcc produces.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-gzip; name="empty.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="empty.tar.gz"
H4sIAOKdLj8AA+1b61PbSBLP1/iv6LVddQlr2Xr4QYLjrJOFhDoClG0umwoplySPbV1kyaUHgaP4
369nJPkBHiKwIN5l+gOeaY1muvvX090zichkGlxUnj0oyXJVbtRq+CvLjXp96TemZ3KjoWg1pd5Q
sa3Ijar6DGoPK1ZEoR/oHsCzycgJbxv3s+d/UyIMf/a3bD7QGoinXK9WefirVS3BH91EVnC8qmq1
ZyA/kDxL9MTxr2xBj/gBTD135OkTGLoeoEXM7xB4ukkgGHtuOBoD8xAYho4ZWK5TzuUA4L07vfCs
0TgAVZY12PMIga47DH7oHoE9N3QGOh1cgn3HjN7ojS0fhpZNAH+nuheAO8QlCIwGBgQohx9aAVkY
m4hFX6PT+/H0O3DhhmDqDnhkYPmBZxlhgLMGoDuDCuowcQfW8ILOgzyUhHhsnYB4Ez9Z9MPhCXwg
DvF0G45Dw7ZMOLBM4vgEdFyacvwxGYDB5qFv8FTcAW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z0d9MI5aWVbBPLVt6s2UV8pdxvJ+ZsgrsXFlW
mqUSX+8t3vMtCdaMxtL703ErlpB3C8i7hONdgvHuo3h3Q7xrGd6VCO92gndTwD2mcw/J3GMq96TI
Pbdxj1HcQwz3DMGt6LkFNreu5daT3JKOW1ZxKxlu9cBN4Nwkys1i3DzCDercEMuNb9zowtvqSTTg
brj4gU2GQevt27ezACHHA0Qro9adkNjtdI46AouNwOJzu3O4f/hBoLERaBwe9XYFFBsBBf1n5BkU
SnU2l7I9b67P/Wc01Qdo3gmsvfb+gdg3G7Fv/r20cTZGh39K625YLO2L6opZ1+H9HVv1LFt3wuIv
sS82Zl/8JfLFxmBxctjZ7R4d/Gf3TwHIhgDS2+32BBwbA0f35Pj4qCMQ+RWIKKsgGQ2MsqH7ZP5h
7GtY/MZi/pHycedT9zUkn2K8nAHYtFrsM41mxWrNZJk3Hu7p5jdWyr9hTK67JMfY+7iLItzlqbmL
toa7qLe4y4ZgI+C/Hf7kUH0f+GsiWjw1d6mt4S514S5PzV2S66r7uEtDJJfNQ/oW+JP/hdSssE8h
8Zd9uCk+khYkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJAgQYIECRIkSJCgJ0r/B7nXzvgA
eAAA
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb database not updating
2003-08-04 19:32 gdb database not updating Michael Elizabeth Chastain
@ 2003-08-04 21:19 ` Christopher Faylor
0 siblings, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2003-08-04 21:19 UTC (permalink / raw)
To: Michael Elizabeth Chastain; +Cc: gdb
On Mon, Aug 04, 2003 at 03:32:20PM -0400, Michael Elizabeth Chastain wrote:
>FYI,
>
>I filed a bug this afternoon: PR gdb/1313, "bad line numbers on very
>tiny functions". gnats sent me mail about the new bug, but more than
>an hour later, the bug database hasn't been updated.
>
>Stale lock, dead update process, real slow machine ... ?
>
>I'll wait another hour or two and then tell the overseers list.
Weird. The index got a stray line plunked into it with the word "opcode".
Regenning the gnats index seems to fix the problem. The PR is viewable
now.
cgf
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb database not updating
@ 2003-08-04 21:43 Michael Elizabeth Chastain
0 siblings, 0 replies; 3+ messages in thread
From: Michael Elizabeth Chastain @ 2003-08-04 21:43 UTC (permalink / raw)
To: cgf; +Cc: gdb
It works for me.
Thanks!
Michael C
cgf> Weird. The index got a stray line plunked into it with the word "opcode".
cgf> Regenning the gnats index seems to fix the problem. The PR is viewable
cgf> now.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-04 21:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-04 19:32 gdb database not updating Michael Elizabeth Chastain
2003-08-04 21:19 ` Christopher Faylor
2003-08-04 21:43 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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).