This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] Fix dw2-compressed.exp on MIPS
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Sun, 27 Jul 2008 17:02:43 -0400
- Subject: [ob] Fix dw2-compressed.exp on MIPS
This test was skipped on mips-linux because _start was undefined,
producing a linker warning (should be an error, but that's a change
for another day). Easily fixed: MIPS just uses __start instead of
_start.
Tested on mips-linux and committed.
--
Daniel Jacobowitz
CodeSourcery
2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.dwarf2/dw2-compressed.S: Also define __start.
---
gdb/testsuite/gdb.dwarf2/dw2-compressed.S | 2 ++
1 file changed, 2 insertions(+)
Index: gdb-only/gdb/testsuite/gdb.dwarf2/dw2-compressed.S
===================================================================
--- gdb-only.orig/gdb/testsuite/gdb.dwarf2/dw2-compressed.S 2008-07-26 20:37:59.000000000 -0400
+++ gdb-only/gdb/testsuite/gdb.dwarf2/dw2-compressed.S 2008-07-26 20:38:09.000000000 -0400
@@ -23,7 +23,9 @@
.text
.globl _start
+ .globl __start
_start:
+__start:
.int 0
.Lbegin_text1:
.globl func_cu1