This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/19546] gdb crash calling exec in the inferior


https://sourceware.org/bugzilla/show_bug.cgi?id=19546

--- Comment #2 from Pedro Alves <palves at redhat dot com> ---
with 7.10:

(gdb) p execlp ("/bin/bash", "/bin/bash", (char *) 0)
process 24890 is executing new program: /usr/bin/bash

Breakpoint 1, 0x000000000041bc70 in main ()
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(__GI_execlp) will be abandoned.
When the function is done executing, GDB will silently stop.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]