diff options
author | John Baldwin <jhb@FreeBSD.org> | 2019-06-01 00:44:08 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2019-06-01 00:44:08 +0000 |
commit | 8113892617de0ababfc7c5773c7d147f807243d3 (patch) | |
tree | 215f908414b55511ecbc05cc9435c5638fcd39b6 /devel/gdb/files/kgdb/fbsd-kthr.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/fbsd-kthr.c')
-rw-r--r-- | devel/gdb/files/kgdb/fbsd-kthr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/gdb/files/kgdb/fbsd-kthr.c b/devel/gdb/files/kgdb/fbsd-kthr.c index 575a7fa5af42..648fcfb0d8f6 100644 --- a/devel/gdb/files/kgdb/fbsd-kthr.c +++ b/devel/gdb/files/kgdb/fbsd-kthr.c @@ -155,7 +155,6 @@ kgdb_thr_init(CORE_ADDR (*cpu_pcb_addr) (u_int)) { struct gdbarch *gdbarch = target_gdbarch (); struct type *ptr_type = builtin_type (gdbarch)->builtin_data_ptr; - enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); struct kthr *kt; CORE_ADDR addr, paddr; @@ -230,7 +229,7 @@ kgdb_thr_init(CORE_ADDR (*cpu_pcb_addr) (u_int)) "&((struct thread *)0)->td_plist"); thread_oncpu_size = parse_and_eval_long( "sizeof(((struct thread *)0)->td_oncpu)"); - } CATCH(e, RETURN_MASK_ERROR) { + } CATCH(e2, RETURN_MASK_ERROR) { proc_off_p_pid = offsetof(struct proc, p_pid); proc_off_p_comm = offsetof(struct proc, p_comm); proc_off_p_list = offsetof(struct proc, p_list); |