This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tdep/9703] New: mips_eabi_return_value() awlays sets return value to zero


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]