Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Benson Margulies
Mon, 05 Jun 1989 19:31
GDB and the shell and sunos 4 and cetra.
Author: Benson Margulies
Date: Mon, 05 Jun 1989 19:31
Date: Mon, 05 Jun 1989 19:31
21 lines
1219 bytes
1219 bytes
Under SunOS 4, execing a dynamically linked object from inside a process that has done a ptrace(PTRACE_TRACE_ME) results in an extra breakpoint intended to let the debugger keep up with the linker. /bin/csh is dynamically linked. So gdb's code that depends on a shell to take care of redirection and the like hits this breakpoint if one tries to use /bin/csh so as to get ~ expansion. I'd like to get gdb to actually work with dynamic linking some day. It can't be done so long as gdb uses the trick of execing the shell to get redirects and the like, unless gdb examined the shell to see if it was dynamic, and if so expected one bogus breakpoint for free. Is anyone else interested in using bourne-again-shell code to put the redirects and such inline? --benson Benson I. Margulies
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads