From: Patrick Clot via Gdb <gdb@sourceware.org>
To: bug-gdb@gnu.org
Subject: gdb reports Single stepping until exit from function _start, which has no line number information.
Date: Tue, 13 Aug 2024 17:07:24 -0500 [thread overview]
Message-ID: <CAGqx8boDCTh4X_johnXE8ARu=CFoeHaKDOkXrQfSdLnR9kHCwA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 135 bytes --]
Attached is a debug file that has the version numbers
of the software I am using and the gdb session.
Thanks in advance,
Patrick Clot
[-- Attachment #2: bug --]
[-- Type: application/octet-stream, Size: 1506 bytes --]
---------------------------------------------
Version of NASM: NASM version 2.15.05
---------------------------------------------
---------------------------------------------
Version of ld:
GNU ld (GNU Binutils for Ubuntu) 2.38
Copyright (C) 2022 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
---------------------------------------------
---------------------------------------------
Version of gdb:
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 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.
---------------------------------------------
-------------- how to build -----------------
$ nasm -f elf64 -g -F dwarf -l forth.lst -o forth.o forth.asm
$ ld -o forth forth.o
---------------------------------------------
----------- gdb forth session ---------------
Reading symbols from forth...
(gdb) b _start
Breakpoint 1 at 0x401004
(gdb) run
Starting program: /home/pmc/tmp/forth
Breakpoint 1, 0x0000000000401004 in _start ()
(gdb) n
Single stepping until exit from function _start,
which has no line number information.
0x0000000000401020 in _start.outer_loop ()
(gdb)
----------- end gdb forth session ---------------
next reply other threads:[~2024-08-14 8:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-13 22:07 Patrick Clot via Gdb [this message]
2024-08-14 11:46 ` Guinevere Larsen via Gdb
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='CAGqx8boDCTh4X_johnXE8ARu=CFoeHaKDOkXrQfSdLnR9kHCwA@mail.gmail.com' \
--to=gdb@sourceware.org \
--cc=bug-gdb@gnu.org \
--cc=patrickmclot@gmail.com \
/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: link
Be 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