Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Make arm-wince use solib-target.
@ 2007-07-31  0:13 Pedro Alves
  2007-07-31  7:19 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Alves @ 2007-07-31  0:13 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

Hi,

This is the patch to make the arm-wince port use solib-target.c
as its solib support.

Windows CE, being a PE target, has nothing to do with svr4
solibs - that got in through blind copy&pasting :)

OK?

Cheers,
Pedro Alves


[-- Attachment #2: wince_solib-target.diff --]
[-- Type: text/x-diff, Size: 1407 bytes --]

2007-07-31  Pedro Alves  <pedro_alves@portugalmail.pt>

	* arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call.
	* config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and
	solib-svr4.o, and add solib-target.o

---
 gdb/arm-wince-tdep.c    |    3 ---
 gdb/config/arm/wince.mt |    2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

Index: src/gdb/arm-wince-tdep.c
===================================================================
--- src.orig/gdb/arm-wince-tdep.c	2007-07-03 20:49:54.000000000 +0100
+++ src/gdb/arm-wince-tdep.c	2007-07-04 00:56:52.000000000 +0100
@@ -55,9 +55,6 @@ arm_wince_init_abi (struct gdbarch_info 
   /* On ARM WinCE char defaults to signed.  */
   set_gdbarch_char_signed (gdbarch, 1);
 
-  set_solib_svr4_fetch_link_map_offsets
-    (gdbarch, svr4_ilp32_fetch_link_map_offsets);
-
   /* Shared library handling.  */
   set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
 
Index: src/gdb/config/arm/wince.mt
===================================================================
--- src.orig/gdb/config/arm/wince.mt	2007-07-03 20:49:54.000000000 +0100
+++ src/gdb/config/arm/wince.mt	2007-07-04 00:55:54.000000000 +0100
@@ -1,4 +1,4 @@
 # Target: ARM based machine running Windows CE (win32)
 DEPRECATED_TM_FILE= tm-arm.h
 TDEPFILES= arm-tdep.o arm-wince-tdep.o corelow.o \
-  solib.o solib-legacy.o solib-svr4.o
+  solib.o solib-target.o


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-31  3:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-31  0:13 Make arm-wince use solib-target Pedro Alves
2007-07-31  7:19 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox