tags 326497 patch
tags 326497 - help
thanks
This should fix the FTBFS (there might be a better way to get the same
result, though)
diff -ur gnat-gdb-5.3.gnat.0.0.20030225.bak/bfd/coff-alpha.c
gnat-gdb-5.3.gnat.0.0.20030225/bfd/coff-alpha.c
--- gnat-gdb-5.3.gnat.0.0.20030225.bak/bfd/coff-alpha.c 2003-01-16
09:44:56.000000000 +0000
+++ gnat-gdb-5.3.gnat.0.0.20030225/bfd/coff-alpha.c 2005-09-04
20:33:03.000000000 +0000
@@ -1452,7 +1452,7 @@
amt = sizeof (struct ecoff_section_tdata);
lita_sec_data = ((struct ecoff_section_tdata *)
bfd_zalloc (input_bfd, amt));
- ecoff_section_data (input_bfd, lita_sec) = lita_sec_data;
+ ecoff_section_data_lvalue (input_bfd, lita_sec) = lita_sec_data;
}
if (lita_sec_data->gp != 0)
diff -ur gnat-gdb-5.3.gnat.0.0.20030225.bak/bfd/libecoff.h
gnat-gdb-5.3.gnat.0.0.20030225/bfd/libecoff.h
--- gnat-gdb-5.3.gnat.0.0.20030225.bak/bfd/libecoff.h 2003-01-16
09:45:25.000000000 +0000
+++ gnat-gdb-5.3.gnat.0.0.20030225/bfd/libecoff.h 2005-09-04
19:48:58.000000000 +0000
@@ -223,6 +223,8 @@
/* An accessor macro for the ecoff_section_tdata structure. */
#define ecoff_section_data(abfd, sec) \
((struct ecoff_section_tdata *) (sec)->used_by_bfd)
+#define ecoff_section_data_lvalue(abfd, sec) \
+ ((sec)->used_by_bfd)
/* ECOFF linker hash table entries. */
--
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]