public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/13415] Invalid breakpoints when linking with --gc-sections
Date: Thu, 17 Nov 2011 15:15:00 -0000 [thread overview]
Message-ID: <bug-13415-4717-21OmMcUwdY@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-13415-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13415
--- Comment #5 from Tom Tromey <tromey at redhat dot com> 2011-11-17 15:14:52 UTC ---
(In reply to comment #4)
> Created attachment 6063 [details]
> Test ELF File
>
> I've attached the elf file for the test application. I hope this helps.
Thanks.
Building a mips gcc to build a mips sim was too much, but I did try
with an ordinary multi-target gdb.
Setting a breakpoint seems to DTRT (this is with 7.3):
(gdb) set gnutarget elf32-tradlittlemips
(gdb) file ./pr-mips.exe
Reading symbols from /home/tromey/gnu/PRS/gdb13415/pr-mips.exe...done.
(gdb) b ..\main.c:16
Breakpoint 1 at 0x4000dc: file ..\main.c, line 16.
(gdb) b ..\main.c:20
No line 20 in file "..\main.c".
So, something else must be going on.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
next prev parent reply other threads:[~2011-11-17 15:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 13:27 [Bug breakpoints/13415] New: " steffen-schmidt at siemens dot com
2011-11-16 13:28 ` [Bug breakpoints/13415] " steffen-schmidt at siemens dot com
2011-11-16 13:28 ` steffen-schmidt at siemens dot com
2011-11-16 13:30 ` steffen-schmidt at siemens dot com
2011-11-16 20:53 ` tromey at redhat dot com
2011-11-17 7:41 ` steffen-schmidt at siemens dot com
2011-11-17 15:15 ` tromey at redhat dot com [this message]
2011-11-21 7:46 ` steffen-schmidt at siemens dot com
2012-01-25 17:26 ` tromey at redhat dot com
2022-01-07 21:54 ` tromey at sourceware dot org
2022-01-11 17:30 ` tromey at sourceware dot org
2022-01-11 17:32 ` tromey at sourceware dot org
2022-01-11 18:20 ` tromey at sourceware dot org
2024-03-15 9:16 ` sam at gentoo dot org
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=bug-13415-4717-21OmMcUwdY@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=gdb-prs@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).