This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA] Enable gcore command for UnixWare


rbrown64@csc.com.au wrote:
> 
> Works,  testsuite is now running.

Oops, looks like this thread got dropped.  Rodney, I'm gonna assume
your testsuite passed.  If I'm wrong, you can yank this out again.

Committed.

> 
> bash-2.04$ gdb/gdb gdb/gdb
> GNU gdb 20020211
> ...
> This GDB was configured as "i686-unknown-sysv5UnixWare7.1.0"...
> (gdb) b main
> Breakpoint 1 at 0x804b8b8: file ../../gdb+dejagnu-20020211/gdb/main.c, line
> 732.
> (gdb) r
> Starting program: /devel/src/gdb+dejagnu-20020211.obj/gdb/gdb
> 
> Breakpoint 1, main (argc=1, argv=0x8047c5c)
>     at ../../gdb+dejagnu-20020211/gdb/main.c:732
> 732       args.argc = argc;
> (gdb) gcore
> Saved corefile core.28477
> (gdb)
> Saved corefile core.28477
> (gdb) q
> The program is running.  Exit anyway? (y or n) y
> bash-2.04$ gdb/gdb gdb/gdb core.28477
> GNU gdb 20020211
> ...
> This GDB was configured as "i686-unknown-sysv5UnixWare7.1.0"...
> Core was generated by `/devel/src/gdb+dejagnu-20020211.obj/gdb/gdb'.
> Program terminated with signal 5, Trace/breakpoint trap.
> Reading symbols from /usr/lib/libsocket.so.2...done.
> Loaded symbols for /usr/lib/libsocket.so.2
> Reading symbols from /usr/lib/libnsl.so.1...done.
> Loaded symbols for /usr/lib/libnsl.so.1
> Reading symbols from /usr/lib/libc.so.1...done.
> Loaded symbols for /usr/lib/libc.so.1
> #0  main (argc=1, argv=0x8047c5c) at
> ../../gdb+dejagnu-20020211/gdb/main.c:732
> 732       args.argc = argc;
> 
> $ gdb/gdb gdb/gdb
> GNU gdb 20020211
> ...
> This GDB was configured as "i386-pc-sysv4.2uw2.1.3"...
> (gdb) b main
> Breakpoint 1 at 0x804b0a2: file ../../gdb+dejagnu-20020211/gdb/main.c, line
> 730.
> (gdb) r
> Starting program: /var/src/gdb+dejagnu-20020211.obj/gdb/gdb
> 
> Breakpoint 1, main (argc=136155776, argv=0xbfffe310)
>     at ../../gdb+dejagnu-20020211/gdb/main.c:730
> 730     {
> (gdb) gcore
> Saved corefile core.21363
> (gdb) q
> The program is running.  Exit anyway? (y or n) y
> $ gdb/gdb gdb/gdb core.21363
> GNU gdb 20020211
> ...
> This GDB was configured as "i386-pc-sysv4.2uw2.1.3"...
> Core was generated by `/var/src/gdb+dejagnu-20020211.obj/gdb/gdb'.
> Program terminated with signal 5, Trace/breakpoint trap.
> Reading symbols from /usr/lib/libsocket.so.2...done.
> Loaded symbols for /usr/lib/libsocket.so.2
> Reading symbols from /usr/lib/libnsl.so.1...done.
> Loaded symbols for /usr/lib/libnsl.so.1
> Reading symbols from /usr/lib/libc.so.1...done.
> Loaded symbols for /usr/lib/libc.so.1
> #0  main (argc=136155776, argv=0xbfffe310)
>     at ../../gdb+dejagnu-20020211/gdb/main.c:730
> 
> Rodney,
> 
> Here's the last change required to enable the gcore command for unixware.
> 
> Michael
> 
> 2002-02-13  Michael Snyder  <msnyder@redhat.com>
> 
>  * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.


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