diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2023-11-30 10:46:25 +0100 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2023-11-30 10:46:25 +0100 |
commit | 53302c2d33c26909cc8446819f6677076ba48ca9 (patch) | |
tree | be72b5d66f2188033247d35288c3b8324704eccf /cpu | |
parent | 56006f79386f261f637809296585153b09f84ee1 (diff) | |
download | gdb-53302c2d33c26909cc8446819f6677076ba48ca9.zip gdb-53302c2d33c26909cc8446819f6677076ba48ca9.tar.gz gdb-53302c2d33c26909cc8446819f6677076ba48ca9.tar.bz2 |
Fix procfs.c compilation
procfs.c doesn't currently compile on Solaris:
/vol/src/gnu/gdb/hg/master/dist/gdb/procfs.c: In member function ‘virtual int procfs_target::can_use_hw_breakpoint(bptype, int, int)’:
/vol/src/gnu/gdb/hg/master/dist/gdb/procfs.c:3017:9: error: ‘ptr_type’ was not declared in this scope; did you mean ‘var_types’?
3017 | type *ptr_type
| ^~~~~~~~
| var_types
This was caused by this patch:
commit 99d9c3b92ca96a7425cbb6b1bf453ede9477a2ee
Author: Simon Marchi <simon.marchi@efficios.com>
Date: Fri Sep 29 14:24:38 2023 -0400
gdb: remove target_gdbarch
Partially undoing it restores the build.
Tested on amd64-pc-solaris2.11.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions