summaryrefslogtreecommitdiff
path: root/devel/gdb/files/kgdb/ppcfbsd-kern.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-06-01 00:44:08 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2019-06-01 00:44:08 +0000
commit8113892617de0ababfc7c5773c7d147f807243d3 (patch)
tree215f908414b55511ecbc05cc9435c5638fcd39b6 /devel/gdb/files/kgdb/ppcfbsd-kern.c
parent- Update to 20190601 (diff)
Update port to GDB 8.3.
New features in GDB 8.3 include support for DWARF index caches and styling (colors) in the CLI and TUI. Source code styling is also available via the new SOURCE_HIGHLIGHT option (enabled by default). GDB 8.3 also adds support for FreeBSD/riscv64. In addition, kgdb has been updated for changes in 8.3 along with support for FreeBSD/riscv64 kernels. The libc++ helpers have been updated to a newer version which adds support for std::list<> and std::forward_list<>. The helpers now also support Python 3. Finally, a few post-8.3 patches have been backported which add suport for TLS (Thread Local Storage) variables on FreeBSD amd64, i386, powerpc, and riscv architectures. Note that amd64 and i386 do not support examining TLS variables in core dumps currently. This support along with support for additional architectures require kernel changes and will be added in the future once the kernel has been updated. Reviewed by: pizzamig (maintainer) Differential Revision: https://reviews.freebsd.org/D20403
Notes
Notes: svn path=/head/; revision=503200
Diffstat (limited to 'devel/gdb/files/kgdb/ppcfbsd-kern.c')
-rw-r--r--devel/gdb/files/kgdb/ppcfbsd-kern.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/gdb/files/kgdb/ppcfbsd-kern.c b/devel/gdb/files/kgdb/ppcfbsd-kern.c
index 73522e482ab3..35d99d3b25d7 100644
--- a/devel/gdb/files/kgdb/ppcfbsd-kern.c
+++ b/devel/gdb/files/kgdb/ppcfbsd-kern.c
@@ -109,10 +109,9 @@ ppcfbsd_trapframe_cache (struct frame_info *this_frame, void **this_cache)
{
struct gdbarch *gdbarch = get_frame_arch (this_frame);
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
- enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
struct trad_frame_cache *cache;
CORE_ADDR base;
- int i, regnum;
+ int i;
if (*this_cache)
return (struct trad_frame_cache *)*this_cache;