This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9215] Segmentation fault when attaching to a process of a C program
- From: "emanuele.russo.benazzi at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 03 Feb 2016 13:24:57 +0000
- Subject: [Bug gdb/9215] Segmentation fault when attaching to a process of a C program
- Auto-submitted: auto-generated
- References: <bug-9215-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=9215
--- Comment #2 from emanuele.russo.benazzi at gmail dot com ---
Thanks for the fix. Now I can continue my work!!!
2016-02-02 23:52 GMT+01:00 simon.marchi at ericsson dot com <
sourceware-bugzilla@sourceware.org>:
> https://sourceware.org/bugzilla/show_bug.cgi?id=9215
>
> Simon Marchi <simon.marchi at ericsson dot com> changed:
>
> What |Removed |Added
>
> ----------------------------------------------------------------------------
> Status|ASSIGNED |RESOLVED
> CC| |simon.marchi at ericsson
> dot com
> Resolution|--- |FIXED
>
> --- Comment #1 from Simon Marchi <simon.marchi at ericsson dot com> ---
> I tested this, and it seems to work fine. I am closing the bug.
>
> $ gdb -nx -p 12391
> Attaching to process 12391
> Reading symbols from
> /home/emaisin/build/binutils-gdb-arm-cross/something...done.
> Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging
> symbols
> found)...done.
> Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
> found)...done.
> 0x00007f08ce1d9ec0 in pause () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) b fork_debug.c:64
> Breakpoint 1 at 0x400944: file /home/emaisin/Downloads/fork_debug.c, line
> 64.
> (gdb) signal SIGUSR1
> Continuing with signal SIGUSR1.
>
> Breakpoint 1, main () at /home/emaisin/Downloads/fork_debug.c:64
> 64 printf("Questa e' la linea in cui inserire il breakpoint per
> cominciare
> il DEBUG del FIGLIO!\n");
> (gdb)
>
> --
> You are receiving this mail because:
> You reported the bug.
--
You are receiving this mail because:
You are on the CC list for the bug.