public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "will.newton at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/9310] nexti command does not work when debugging ARM assembly language Date: Wed, 30 Oct 2013 17:32:00 -0000 [thread overview] Message-ID: <bug-9310-4717-c2a97UCKlN@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-9310-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=9310 Will Newton <will.newton at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED CC| |will.newton at gmail dot com Resolution|--- |FIXED --- Comment #5 from Will Newton <will.newton at gmail dot com> --- The original issue in this bug report appears to be fixed: GNU gdb (GDB) 7.6.50.20131021-cvs Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=arm-none-elf". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from appli.elf...done. (gdb) target sim Connected to the simulator. (gdb) load Loading section .text, size 0xac vma 0x20 Loading section .data, size 0x128 vma 0x4020 Start address 0x70 Transfer rate: 3744 bits in <1 sec. (gdb) break start Breakpoint 1 at 0x74: file main.s, line 33. (gdb) run Starting program: /home/will/linaro/binutils-gdb/arm-elf-gdb-bug-nexti/appli.elf Breakpoint 1, start () at main.s:33 warning: Source file is more recent than executable. 33 ldr r0, =tab3 (gdb) nexti 34 ldr r1, =tab1 (gdb) 35 ldr r2, =tab2 (gdb) 36 mov r3, #TAILLE (gdb) 37 bl sum (gdb) 39 nop (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/will/linaro/binutils-gdb/arm-elf-gdb-bug-nexti/appli.elf Breakpoint 1, start () at main.s:33 33 ldr r0, =tab3 (gdb) nexti 34 ldr r1, =tab1 (gdb) 35 ldr r2, =tab2 (gdb) 36 mov r3, #TAILLE (gdb) 37 bl sum (gdb) stepi sum () at sum.s:19 warning: Source file is more recent than executable. 19 stmfd sp!, {r4, r5, lr} (gdb) up #1 0x00000088 in start () at main.s:37 37 bl sum If there are further issues, e.g. on i386 then they should really be part of a new bug report with it's own testcase. -- You are receiving this mail because: You are on the CC list for the bug.
prev parent reply other threads:[~2013-10-30 17:32 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-9310-4717@http.sourceware.org/bugzilla/> 2012-10-26 8:40 ` zhudonghai at gmail dot com 2012-10-26 18:38 ` palves at redhat dot com 2012-10-27 9:10 ` zhudonghai at gmail dot com 2012-11-22 18:50 ` palves at redhat dot com 2013-10-30 17:32 ` will.newton at gmail dot com [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-9310-4717-c2a97UCKlN@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).