public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug debug/10466] Can't debug the first function in a C file that is included in another C file [not found] <bug-10466-4@http.gcc.gnu.org/bugzilla/> @ 2024-01-23 15:21 ` rguenth at gcc dot gnu.org 0 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu.org @ 2024-01-23 15:21 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10466 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Reading symbols from ./a.out... (gdb) b bar Breakpoint 1 at 0x400545: file b.c, line 4. (gdb) b bar2 Breakpoint 2 at 0x40055a: file b.c, line 12. (gdb) r Starting program: /tmp/a.out Missing separate debuginfos, use: zypper install glibc-debuginfo-2.31-150300.63.1.x86_64 foo Breakpoint 1, bar () at b.c:4 4 printf( "bar\n" ); (gdb) l 1 int 2 bar() 3 { 4 printf( "bar\n" ); 5 6 return 0; 7 } 8 9 int 10 bar2() Works for me (named the file b.c), with both gcc 7.5 and gcc 13.2. I'm using quite recent gdb though, gdb 12.1 Either fixed or a gdb bug (which was also fixed meanwhile). ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20030423164600.10466.stevee@zuken.co.uk>]
* [Bug debug/10466] Can't debug the first function in a C file that is included in another C file [not found] <20030423164600.10466.stevee@zuken.co.uk> @ 2003-07-10 0:11 ` neroden at gcc dot gnu dot org 2003-11-18 10:02 ` pinskia at gcc dot gnu dot org 2003-11-18 10:14 ` stevee at zuken dot co dot uk 2 siblings, 0 replies; 4+ messages in thread From: neroden at gcc dot gnu dot org @ 2003-07-10 0:11 UTC (permalink / raw) To: gcc-bugs PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10466 neroden at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2003-07-10 00:11:43 date| | ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/10466] Can't debug the first function in a C file that is included in another C file [not found] <20030423164600.10466.stevee@zuken.co.uk> 2003-07-10 0:11 ` neroden at gcc dot gnu dot org @ 2003-11-18 10:02 ` pinskia at gcc dot gnu dot org 2003-11-18 10:14 ` stevee at zuken dot co dot uk 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2003-11-18 10:02 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-18 10:02 ------- Is a GCC bug or a GDB bug? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10466 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/10466] Can't debug the first function in a C file that is included in another C file [not found] <20030423164600.10466.stevee@zuken.co.uk> 2003-07-10 0:11 ` neroden at gcc dot gnu dot org 2003-11-18 10:02 ` pinskia at gcc dot gnu dot org @ 2003-11-18 10:14 ` stevee at zuken dot co dot uk 2 siblings, 0 replies; 4+ messages in thread From: stevee at zuken dot co dot uk @ 2003-11-18 10:14 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From stevee at zuken dot co dot uk 2003-11-18 10:14 ------- Subject: Re: Can't debug the first function in a C file that is included in another C file On 18 Nov 2003, gcc-bugzilla@gcc.gnu.org wrote: > > ------- Additional Comments From pinskia at gcc dot gnu dot org > 2003-11-18 10:02 ------- > Is a GCC bug or a GDB bug? I suspect it is a GCC bug, but I can't be certain. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10466 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-01-23 15:21 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-10466-4@http.gcc.gnu.org/bugzilla/> 2024-01-23 15:21 ` [Bug debug/10466] Can't debug the first function in a C file that is included in another C file rguenth at gcc dot gnu.org [not found] <20030423164600.10466.stevee@zuken.co.uk> 2003-07-10 0:11 ` neroden at gcc dot gnu dot org 2003-11-18 10:02 ` pinskia at gcc dot gnu dot org 2003-11-18 10:14 ` stevee at zuken dot co dot uk
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).