Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2004 07:33:00 -0700
From:      "Robert Wagner" <robert.wagner@qlogic.com>
To:        <freebsd-current@freebsd.org>
Subject:   where did the gdb "-k" option go?
Message-ID:  <B179AE41C1147041AA1121F44614F0B0C01171@AVEXCH02.qlogic.org>

next in thread | raw e-mail | index | archive | help
I cvsuped to 5.2-CURRENT and rebuilt world. =20

gdb -v shows

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you =
are
welcome to change it and/or distribute copies of it under certain =
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for =
details.
This GDB was configured as "i386-marcel-freebsd".

gdb -help shows

This is the GNU debugger.  Usage:

    gdb [options] [executable-file [core-file or process-id]]
    gdb [options] --args executable-file [inferior-arguments ...]

Options:

  --args             Arguments after executable-file are passed to =
inferior
  --[no]async        Enable (disable) asynchronous version of CLI
  -b BAUDRATE        Set serial port baud rate used for remote =
debugging.
  --batch            Exit after processing options.
  --cd=3DDIR           Change current directory to DIR.
  --command=3DFILE     Execute GDB commands from FILE.
  --core=3DCOREFILE    Analyze the core dump COREFILE.
  --pid=3DPID          Attach to running process PID.
  --dbx              DBX compatibility mode.
  --directory=3DDIR    Search for source files in DIR.
  --epoch            Output information used by epoch emacs-GDB =
interface.
  --exec=3DEXECFILE    Use EXECFILE as the executable.
  --fullname         Output information used by emacs-GDB interface.
  --help             Print this message.
  --interpreter=3DINTERP
                     Select a specific interpreter / user interface
  --mapped           Use mapped symbol files if supported on this =
system.
  --nw               Do not use a window interface.
  --nx               Do not read .gdbinit file.
  --quiet            Do not print version number on startup.
  --readnow          Fully read symbol files on first access.
  --se=3DFILE          Use FILE as symbol file and executable file.
  --symbols=3DSYMFILE  Read symbols from SYMFILE.
  --tty=3DTTY          Use TTY for input/output by the program being =
debugged.
  --tui              Use a terminal user interface.
  --version          Print version information and then exit.
  -w                 Use a window interface.
  --write            Set writing into executable and core files.
  --xdb              XDB compatibility mode.

For more information, type "help" from within GDB, or consult the
GDB manual (available as on-line info or a printed manual).
Report bugs to "bug-gdb@gnu.org".

So,
	Does anyone know where the -k option went for kernel debugging.  I am =
trying to remote debug another machine with this one.

						Thanks,
							Bob Wagner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B179AE41C1147041AA1121F44614F0B0C01171>