From f6d1620c59c78e1861bf5afdebdbce856fa972f7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 17 Apr 2010 14:12:31 +0000 Subject: [PATCH] Define xmltarget_amd64_linux_no_xml only for amd64. 2010-04-17 H.J. Lu * linux-x86-low.c (xmltarget_amd64_linux_no_xml): Define only if __x86_64__ is defined. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/linux-x86-low.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index bd7b1b37a1d..49e6bb661ac 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2010-04-17 H.J. Lu + + * linux-x86-low.c (xmltarget_amd64_linux_no_xml): Define only + if __x86_64__ is defined. + 2010-04-16 Pierre Muller * configure: Regenerate. diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c index ec01f37e6de..f254f383898 100644 --- a/gdb/gdbserver/linux-x86-low.c +++ b/gdb/gdbserver/linux-x86-low.c @@ -46,10 +46,13 @@ static const char *xmltarget_i386_linux_no_xml = "@\ i386\ GNU/Linux\ "; + +#ifdef __x86_64__ static const char *xmltarget_amd64_linux_no_xml = "@\ i386:x86-64\ GNU/Linux\ "; +#endif #include #include -- 2.30.2