aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-05-08 15:04:56 +0100
committerAndrew Burgess <aburgess@redhat.com>2024-06-14 09:08:45 +0100
commita402c3ac22ec70620d19a0758f10a8d15835fb5e (patch)
tree314729667ce76f678abd004d49ff042c880a7532 /gdb/ada-lang.c
parent18d4886c009aaa4fa26bf440ae57fbdd14acce11 (diff)
downloadbinutils-a402c3ac22ec70620d19a0758f10a8d15835fb5e.zip
binutils-a402c3ac22ec70620d19a0758f10a8d15835fb5e.tar.gz
binutils-a402c3ac22ec70620d19a0758f10a8d15835fb5e.tar.bz2
gdb: move have_ptrace_getregset declaration into gdb/nat directory
In a later commit I want to access have_ptrace_getregset from a .c file in the nat/ directory. To achieve this I need access to the declaration of have_ptrace_getregset. Currently have_ptrace_getregset is declared (and defined) twice, once in GDB and once in gdbserver. This commit moves the declaration into nat/linux-nat.h, but leaves the two definitions where they are. Now, in my later commit, I can pull in the declaration from nat/linux-nat.h. There should be no user visible changes after this commit. Approved-By: Felix Willgerodt <felix.willgerodt@intel.com>
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions