public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug breakpoints/13870] New: gdb doesn't find source file with absolute path after the first try (second try succeeds) @ 2012-03-19 22:01 andreas at pietzowski dot de 2012-03-19 22:04 ` [Bug breakpoints/13870] " andreas at pietzowski dot de ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: andreas at pietzowski dot de @ 2012-03-19 22:01 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=13870 Bug #: 13870 Summary: gdb doesn't find source file with absolute path after the first try (second try succeeds) Product: gdb Version: 7.3 Status: NEW Severity: normal Priority: P2 Component: breakpoints AssignedTo: unassigned@sourceware.org ReportedBy: andreas@pietzowski.de Classification: Unclassified I have a problem with my KDevelop/qmake project debugging with absolute files (KDevelop uses absolute paths for debugging). When I start gdb from command line I can reproduce why KDevelop ist breaking at the breakpoints I set in the IDE. To explain it better, here is exactly what I did: $ gdb ./myapplication (gdb) break /absolute/file/path/to/main.cpp:34 No source file named /absolute/file/path/to/main.cpp. Make breakpoint pending on future shared library load? (y or [n]) n (gdb) list 31 #include "blabla.h" 32 33 int main(int argc, char *argv[]) { 34 QApplication a( argc, argv ); (gdb) break /absolute/file/path/to/main.cpp:34 Breakpoint 1 at 0xC0FFEE: file relative/path/to/main.cpp, line 34. (gdb) run Breakpoint 1, main (argc=1, argv=0x7fffffffe108) at application/main.cpp:34 34 QApplication a( argc, argv ); Isn't that strange? Two times the same break command to gdb with different results? Do you have any ideas why gdb first need the "list" command to detect the correct file? By the way: My project has about 1500 source files... Thanks Andreas -- 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. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/13870] gdb doesn't find source file with absolute path after the first try (second try succeeds) 2012-03-19 22:01 [Bug breakpoints/13870] New: gdb doesn't find source file with absolute path after the first try (second try succeeds) andreas at pietzowski dot de @ 2012-03-19 22:04 ` andreas at pietzowski dot de 2012-04-04 16:44 ` niko.sams at gmail dot com ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: andreas at pietzowski dot de @ 2012-03-19 22:04 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=13870 Andreas Pietzowski <andreas at pietzowski dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas at pietzowski dot | |de -- 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. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/13870] gdb doesn't find source file with absolute path after the first try (second try succeeds) 2012-03-19 22:01 [Bug breakpoints/13870] New: gdb doesn't find source file with absolute path after the first try (second try succeeds) andreas at pietzowski dot de 2012-03-19 22:04 ` [Bug breakpoints/13870] " andreas at pietzowski dot de @ 2012-04-04 16:44 ` niko.sams at gmail dot com 2014-02-16 18:28 ` jackie.rosen at hushmail dot com 2014-05-28 19:46 ` schwab at sourceware dot org 3 siblings, 0 replies; 5+ messages in thread From: niko.sams at gmail dot com @ 2012-04-04 16:44 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=13870 Niko Sams <niko.sams at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |niko.sams at gmail dot com -- 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. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/13870] gdb doesn't find source file with absolute path after the first try (second try succeeds) 2012-03-19 22:01 [Bug breakpoints/13870] New: gdb doesn't find source file with absolute path after the first try (second try succeeds) andreas at pietzowski dot de 2012-03-19 22:04 ` [Bug breakpoints/13870] " andreas at pietzowski dot de 2012-04-04 16:44 ` niko.sams at gmail dot com @ 2014-02-16 18:28 ` jackie.rosen at hushmail dot com 2014-05-28 19:46 ` schwab at sourceware dot org 3 siblings, 0 replies; 5+ messages in thread From: jackie.rosen at hushmail dot com @ 2014-02-16 18:28 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=13870 Jackie Rosen <jackie.rosen at hushmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jackie.rosen at hushmail dot com --- Comment #1 from Jackie Rosen <jackie.rosen at hushmail dot com> --- *** Bug 260998 has been marked as a duplicate of this bug. *** Seen from the domain http://volichat.com Page where seen: http://volichat.com/adult-chat-rooms Marked for reference. Resolved as fixed @bugzilla. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/13870] gdb doesn't find source file with absolute path after the first try (second try succeeds) 2012-03-19 22:01 [Bug breakpoints/13870] New: gdb doesn't find source file with absolute path after the first try (second try succeeds) andreas at pietzowski dot de ` (2 preceding siblings ...) 2014-02-16 18:28 ` jackie.rosen at hushmail dot com @ 2014-05-28 19:46 ` schwab at sourceware dot org 3 siblings, 0 replies; 5+ messages in thread From: schwab at sourceware dot org @ 2014-05-28 19:46 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=13870 Andreas Schwab <schwab at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|jackie.rosen at hushmail dot com | -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-28 19:46 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-03-19 22:01 [Bug breakpoints/13870] New: gdb doesn't find source file with absolute path after the first try (second try succeeds) andreas at pietzowski dot de 2012-03-19 22:04 ` [Bug breakpoints/13870] " andreas at pietzowski dot de 2012-04-04 16:44 ` niko.sams at gmail dot com 2014-02-16 18:28 ` jackie.rosen at hushmail dot com 2014-05-28 19:46 ` schwab at sourceware dot org
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).