Skip to content

Commit

Permalink
[gdbserver] Just enough to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Benson committed Oct 22, 2015
1 parent 1090ebb commit 81624af
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gdb/gdbserver/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ SFILES= $(srcdir)/gdbreplay.c $(srcdir)/inferiors.c $(srcdir)/dll.c \
$(srcdir)/common/common-debug.c $(srcdir)/common/cleanups.c \
$(srcdir)/common/common-exceptions.c $(srcdir)/symbol.c \
$(srcdir)/common/btrace-common.c \
$(srcdir)/common/common-infinity.c $(srcdir)/infinity.c \
$(srcdir)/common/fileio.c $(srcdir)/nat/linux-namespaces.c

DEPFILES = @GDBSERVER_DEPFILES@
Expand All @@ -194,6 +195,7 @@ OBS = agent.o ax.o inferiors.o regcache.o remote-utils.o server.o signals.o \
mem-break.o hostio.o event-loop.o tracepoint.o xml-utils.o \
common-utils.o ptid.o buffer.o format.o filestuff.o dll.o notif.o \
tdesc.o print-utils.o rsp-low.o errors.o common-debug.o cleanups.o \
common-infinity.o infinity.o \
common-exceptions.o symbol.o btrace-common.o fileio.o \
$(XML_BUILTIN) $(DEPFILES) $(LIBOBJS)
GDBREPLAY_OBS = gdbreplay.o version.o
Expand Down Expand Up @@ -624,6 +626,9 @@ x86-linux-dregs.o: ../nat/x86-linux-dregs.c
linux-namespaces.o: ../nat/linux-namespaces.c
$(COMPILE) $<
$(POSTCOMPILE)
common-infinity.o: ../common/common-infinity.c
$(COMPILE) $<
$(POSTCOMPILE)

aarch64.c : $(srcdir)/../regformats/aarch64.dat $(regdat_sh)
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/aarch64.dat aarch64.c
Expand Down
29 changes: 29 additions & 0 deletions gdb/gdbserver/infinity.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/* XXX To infinity... and beyond!
Copyright (C) 2015 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include "server.h"
#include "common-infinity.h"

/* See infinity-common.h. */

ULONGEST
i8_extract_uint (const gdb_byte *addr, int size)
{
error ("%s:%d: unimplemented", __FILE__, __LINE__);
}

0 comments on commit 81624af

Please sign in to comment.