| Summary: | gdb output is wrong (same as #13427 ?) | ||
|---|---|---|---|
| Product: | Base System | Reporter: | jms <jms> |
| Component: | gnu | Assignee: | Mark Peek <mp> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->mp Over to maintainer. See also misc/28374 for mis-filed follow-up. State Changed From-To: open->patched This is fixed in -current with the import of gdb-5.2. State Changed From-To: patched->closed This should have been closed eons ago. |
gdb 4.18 reports function arguments wrongly How-To-Repeat: cc -g then gdb the following void do_chunk(char *p, unsigned long sequence, unsigned long length, unsigned sadd, unsigned short sport, unsigned dadd, unsigned short dport) { } main() { do_chunk("ha ha", 1, 2, 3, 4, 5, 6); } Breakpoint 1, do_chunk (p=0x80484ef "ha ha", sequence=1, length=2, sadd=3, sport=10244, dadd=5, dport=47470) at bug.c:2 2 {