cvs commit: src/gnu/usr.bin/gdb/kgdb trgt_mips.c

John Baldwin jhb at
Tue May 20 23:41:12 UTC 2008

On Tuesday 20 May 2008 06:54:42 pm David E. O'Brien wrote:
> obrien      2008-05-20 22:54:42 UTC
>   FreeBSD src repository
>   Added files:
>     gnu/usr.bin/gdb/kgdb trgt_mips.c 
>   Log:
>   MIPS arch target kgdb(1) support.
>   Obtained from: Juniper Networks.

Check for recent changes in the other MD backends.  Things I noticed:

- You should use ptid_get_pid() rather than ptid_get_tid() in
  kgdb_trgt_fetch_registers() (this is part of the changes to allow the 'tid'
  command to work over remote gdb).
- You are missing a 'kgdb_trgt_new_objfile()' stub.

The latter, at least, should have resulted in a link error.

John Baldwin

More information about the cvs-src mailing list