diff options
author | Enze Li <enze.li@hotmail.com> | 2022-07-24 10:38:19 +0800 |
---|---|---|
committer | Enze Li <enze.li@hotmail.com> | 2022-07-26 20:24:23 +0800 |
commit | de69cec0c53f1ef5cb242bfc969723b7dba4defb (patch) | |
tree | 63990bccd1ee71f7fac2dca733f83add5ec341f8 /sim/h8300/sim-main.h | |
parent | e8f4567b9c4ab13f16fa0e22e92d9b415aa4e679 (diff) | |
download | gdb-de69cec0c53f1ef5cb242bfc969723b7dba4defb.zip gdb-de69cec0c53f1ef5cb242bfc969723b7dba4defb.tar.gz gdb-de69cec0c53f1ef5cb242bfc969723b7dba4defb.tar.bz2 |
gdb/netbsd: add missing header file
I ran into this error when building GDB on NetBSD:
CXX netbsd-nat.o
netbsd-nat.c: In member function 'virtual bool nbsd_nat_target::info_proc(const char*, info_proc_what)':
netbsd-nat.c:314:3: error: 'gdb_argv' was not declared in this scope
gdb_argv built_argv (args);
^~~~~~~~
netbsd-nat.c:314:3: note: suggested alternative: 'gdbarch'
gdb_argv built_argv (args);
^~~~~~~~
gdbarch
netbsd-nat.c:315:7: error: 'built_argv' was not declared in this scope
if (built_argv.count () == 0)
^~~~~~~~~~
netbsd-nat.c:315:7: note: suggested alternative: 'buildargv'
if (built_argv.count () == 0)
^~~~~~~~~~
buildargv
gmake[2]: *** [Makefile:1893: netbsd-nat.o] Error 1
Fix this by adding the missing header file, as it is obvious.
Tested by rebuilding on NetBSD/amd64.
Diffstat (limited to 'sim/h8300/sim-main.h')
0 files changed, 0 insertions, 0 deletions