Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160414 Details for
Bug 250414
gdb info args wrong for main
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
gdb session for test case
err (text/plain), 1.74 KB, created by
Luciano Rocha
on 2007-08-01 13:59:08 UTC
(
hide
)
Description:
gdb session for test case
Filename:
MIME Type:
Creator:
Luciano Rocha
Created:
2007-08-01 13:59:08 UTC
Size:
1.74 KB
patch
obsolete
>(gdb) b main >Breakpoint 1 at 0x80483e5: file test.c, line 12. >(gdb) r asdf asdf > >Breakpoint 1, main (argc=3, argv=0xbff0fa34) at test.c:12 >12 openlog(argv[0], LOG_NDELAY | LOG_PERROR | LOG_PID, LOG_LOCAL6); >(gdb) info args >argc = 3 >argv = (char **) 0xbff0fa34 >(gdb) p &argc >$1 = (int *) 0xbff0f9b0 >(gdb) p &argv >$2 = (char ***) 0xbff0f9b4 >(gdb) info reg >eax 0xbff0fa34 -1074726348 >ecx 0xbff0f9b0 -1074726480 >edx 0x3 3 >ebx 0x4511aff4 1158787060 >esp 0xbff0f980 0xbff0f980 >ebp 0xbff0f998 0xbff0f998 >esi 0x445b6ca0 1146842272 >edi 0x0 0 >eip 0x80483e5 0x80483e5 <main+17> >eflags 0x282 [ SF IF ] >cs 0x73 115 >ss 0x7b 123 >ds 0x7b 123 >es 0x7b 123 >fs 0x0 0 >gs 0x33 51 >(gdb) n >13 return 0; >(gdb) info args >argc = 1158786428 >argv = (char **) 0x44fe0ce6 >(gdb) p &argc >$3 = (int *) 0x4511aff4 >(gdb) p &argv >$4 = (char ***) 0x4511aff8 >(gdb) p *$1 >$5 = 3 >(gdb) p **$2 >$6 = 0xbff104af "/home/luciano/work/udp/proxy2/extra/test" >(gdb) info reg >eax 0x1 1 >ecx 0x4511aff4 1158787060 >edx 0x4511aff4 1158787060 >ebx 0x4511aff4 1158787060 >esp 0xbff0f980 0xbff0f980 >ebp 0xbff0f998 0xbff0f998 >esi 0x445b6ca0 1146842272 >edi 0x0 0 >eip 0x8048402 0x8048402 <main+46> >eflags 0x246 [ PF ZF IF ] >cs 0x73 115 >ss 0x7b 123 >ds 0x7b 123 >es 0x7b 123 >fs 0x0 0 >gs 0x33 51 >(gdb) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 250414
:
160412
| 160414