Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2005 18:25:53 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/gnu/usr.bin/gdb/kgdb kgdb.h kthr.c main.c trgt.c trgt_alpha.c trgt_amd64.c trgt_i386.c trgt_ia64.c trgt_sparc64.c src/gnu/usr.bin/gdb/libgdb Makefile frame-unwind.diff
Message-ID:  <200509101825.j8AIPrfC060190@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2005-09-10 18:25:53 UTC

  FreeBSD src repository

  Modified files:
    gnu/usr.bin/gdb/kgdb kgdb.h kthr.c main.c trgt.c trgt_alpha.c 
                         trgt_amd64.c trgt_i386.c trgt_ia64.c 
                         trgt_sparc64.c 
    gnu/usr.bin/gdb/libgdb Makefile 
  Added files:
    gnu/usr.bin/gdb/libgdb frame-unwind.diff 
  Log:
  Add a kluge to allow kgdb(1) to inject its own frame sniffer in the
  list of frame sniffers so that trapframes can be detected. The kluge
  is needed because this version of gdb only supports appending a
  sniffer to the list of sniffers and the moment kgdb gets a chance to
  add its own frame sniffer, the target's default frame sniffer is
  already in the list. Since the default frame sniffer claims any
  frame thrown at it, kgdb's frame sniffer never gets to smell (a
  process much akin to tasting, but with lesser chance of hurling :-)
  
  This commit adds dummy frame sniffers that never claim a frame and
  as such don't fix anything yet. However, we now have frame sniffers
  and they are being called, so it's just a matter of adding meat to
  the bones and we'll be able to properly unwind across trapframes.
  
  MFC after: 1 week
  
  Revision  Changes    Path
  1.3       +3 -1      src/gnu/usr.bin/gdb/kgdb/kgdb.h
  1.3       +1 -0      src/gnu/usr.bin/gdb/kgdb/kthr.c
  1.9       +5 -0      src/gnu/usr.bin/gdb/kgdb/main.c
  1.4       +1 -0      src/gnu/usr.bin/gdb/kgdb/trgt.c
  1.3       +29 -2     src/gnu/usr.bin/gdb/kgdb/trgt_alpha.c
  1.3       +29 -2     src/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
  1.3       +29 -2     src/gnu/usr.bin/gdb/kgdb/trgt_i386.c
  1.3       +29 -2     src/gnu/usr.bin/gdb/kgdb/trgt_ia64.c
  1.4       +29 -2     src/gnu/usr.bin/gdb/kgdb/trgt_sparc64.c
  1.10      +6 -2      src/gnu/usr.bin/gdb/libgdb/Makefile
  1.1       +27 -0     src/gnu/usr.bin/gdb/libgdb/frame-unwind.diff (new)



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