This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tdep/9703] New: mips_eabi_return_value() awlays sets return value to zero
- From: "bugs at ebshome dot net" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 4 Jan 2009 08:05:26 -0000
- Subject: [Bug tdep/9703] New: mips_eabi_return_value() awlays sets return value to zero
- Reply-to: sourceware-bugzilla at sourceware dot org
mips_eabi_return_value() looks like a stub and doesn't do anything useful and
just fills return value with zeroes.
It's trivial to reproduce:
(gdb) p argv[0]
$1 = 0xc0107298 "test"
(gdb) p strlen(argv[0])
$2 = 0
(gdb) show mips abi
The MIPS ABI is set automatically (currently "eabi32").
--
Summary: mips_eabi_return_value() awlays sets return value to
zero
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tdep
AssignedTo: unassigned at sourceware dot org
ReportedBy: bugs at ebshome dot net
CC: gdb-prs at sourceware dot org
GCC host triplet: mipsel-linux
GCC target triplet: mipsisa32r2el-elf
http://sourceware.org/bugzilla/show_bug.cgi?id=9703
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.