]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdbserver/ipa/x86: remove unneeded declarations
authorAndrew Burgess <aburgess@redhat.com>
Tue, 2 Apr 2024 12:42:37 +0000 (13:42 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 7 May 2024 15:04:20 +0000 (16:04 +0100)
commit3f1438a5b2ef4a6b2bd3cc0600033362c43de7b3
treea4304cbabb1854d0cc9def785a2a9769cd57b481
parent810203888dab0dc737a681c872dab4664eae0db9
gdbserver/ipa/x86: remove unneeded declarations

Spotted some declarations in gdbserver/linux-amd64-ipa.cc that are no
longer needed.  These are:

  1. 'init_registers_amd64_linux' - the comment claims this function
  is auto generated, but I don't believe that this is still the case.
  Also the function is not used in this file,

  2. 'tdesc_amd64_linux' - this variable doesn't seem to exist any
  more, I suspect this was renamed to 'tdesc_amd64_linux_no_xml', but
  neither are used in this file, so lets remove the declaration.

The amd64 in-process-agent still builds fine after this commit.

There should be no user visible changes after this commit.

Approved-By: Felix Willgerodt <felix.willgerodt@intel.com>
gdbserver/linux-amd64-ipa.cc