Bug in registers viewer
See original GitHub issueHello everybody!
I believe have found a bug in the registers viewer.
Steps to reproduce:
- A simple Boot Sector program:
[org 0x7c00]
[bits 16]
%define NULL 0x00
%define NEWLINE 0x0a
%define RETURN 0x0d
%define BIOS_VIDEO 0x10
%define BIOS_VIDEO_TTY 0x0e
sub_start:
mov si, cstr_hello_world
call sub_pcstr
sub_end:
jmp $; To Infinity and Beyond!
sub_pcstr: ; print cstring subroutine
mov ah, BIOS_VIDEO_TTY
pcstr_1:
lodsb
or al, NULL
jnz pcstr_2
ret
pcstr_2:
int BIOS_VIDEO
jmp pcstr_1
cstr_hello_world: db "hello world!",NEWLINE,RETURN,NULL
times 510-($-$$) db 0x00 ; padding
dw 0xaa55 ; magic
- Emulating
$ qemu-system-i386 hello-world.bin -S -s
- Debugging
As you can see, no registers are not displayed here, but…
OBS.: My program seems to work fine 😬
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
308052 – Registers view's content disappear when ... - Bugs
The content of the Registers view disappear when stepping out of a function.
Read more >File a bug against the document viewer
To file a bug, go to https://gitlab.gnome.org/GNOME/evince/issues/. This is a bug tracking system where users and developers can file details about bugs, ...
Read more >Possible Bug Peripheral registers STM32F303VC - Keil forum ...
Hello, When debugging, selecting Peripherals -> System Viewer -> ADC -> ADC1, ADVREGEN is [29:28] bits, see Reference Manual RM0316 but in Keil...
Read more >Bug Check Code Reference - Windows drivers - Microsoft Learn
This section contains descriptions of the common bug checks, including the parameters passed to the blue screen.
Read more >Reading bug reports | Android Open Source Project
Low memory can cause the system to thrash as it kills some processes to free memory but continues to start other processes. To...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For some reason your output of
info registers
is more similar to the output of myinfo all-registers
, this is weird and I’m not sure why is that, I’m going to try with GDB version 8.3 soon but I doubt that’s the reason… In the mean time you can fix this with:So I’m closing this, feel free to post here the link to the upstream issue (in case you decide to file it) or anything else you may want to add.