[Bug tui/34399] [ux] Uninuitive scrolling in disassembly window
"vries at gcc dot gnu.org via Gdb-prs" <[email protected]>
| Newsgroups | gmane.comp.gdb.bugs.discuss |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=34399
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-08-19
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Ivan Sandovin from comment #0)
> Consider some very small x86-64 program for gnu/linux.
>
> ```
> global _start
>
> section .data
> message: db 'Hello, world!', 10
>
> section .text
> _start:
> mov rax, 1
> mov rdi, 1
> mov rsi, message
> mov rdx, 14
> syscall
>
> mov rax, 60
> mov rdi, 0
> syscall
> ```
>
> (
> compiled and linked with:
> ```
> yasm -O0 -g dwarf2 -f elf64 "$asm_source" -o "$object_file";
> ld "$object_file" -o "$elf_binary";
> ```
The link step failed for me, so I used instead:
...
$ cat test.s
.section .rodata
.LC0:
.string "hello"
.text
.globl _start
_start:
mov %rax, 1
mov %rdi, 1
mov %rsi, .LC0
mov %rdx, 14
syscall
mov %rax, 60
mov %rdi, 0
syscall
...
which I can just compile with gcc:
...
$ gcc test.s -nostdlib
...
--
You are receiving this mail because:
You are on the CC list for the bug.