public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/9703] New: mips_eabi_return_value() awlays sets return value to zero
@ 2009-01-04  8:05 bugs at ebshome dot net
  0 siblings, 0 replies; only message in thread
From: bugs at ebshome dot net @ 2009-01-04  8:05 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-04  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-04  8:05 [Bug tdep/9703] New: mips_eabi_return_value() awlays sets return value to zero bugs at ebshome dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).