* Assembler
@ 2002-01-23 8:13 Jiří Banzet
2002-01-23 8:31 ` Assembler Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Jiří Banzet @ 2002-01-23 8:13 UTC (permalink / raw)
To: redhat-gdb
Hello.
How can I get all processor registers ? I need register F (CF, ZF, SF
etc.), and 16- and 8-bit registers (AX, AL, AH etc.).
Can I install GDB on Windows without Cygwin ?
Please answer. Good
Bye.
______________________________________________________________________
Nejenom anglicko-cesky slovnik: http://slovnik.seznam.cz
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Assembler
2002-01-23 8:13 Assembler Jiří Banzet
@ 2002-01-23 8:31 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2002-01-23 8:31 UTC (permalink / raw)
To: jiribanzet; +Cc: gdb
> Date: Wed, 23 Jan 2002 17:06:12 +0100 (CET)
> From: =?iso-8859-2?Q?Ji=F8=ED=20Banzet?= <jiribanzet@seznam.cz>
>
> How can I get all processor registers ? I need register F (CF, ZF, SF
> etc.), and 16- and 8-bit registers (AX, AL, AH etc.).
"info registers" prints all the registers, including eflags (CF, ZF,
etc. are indivisual bits in eflags). "info registers eflags" will
print only eflags.
> Can I install GDB on Windows without Cygwin ?
It depends on what compiler was used to build the programs you want to
debug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Assembler
@ 2002-01-27 0:40 Jiří Banzet
0 siblings, 0 replies; 6+ messages in thread
From: Jiří Banzet @ 2002-01-27 0:40 UTC (permalink / raw)
To: gdb
What about assembler problems ?! :-)
Please asnwer. Good
Bye.
______________________________________________________________________
Jake bude pocasi? http://pocasi.seznam.cz
^ permalink raw reply [flat|nested] 6+ messages in thread
* Assembler
@ 2002-01-26 4:06 Jiří Banzet
0 siblings, 0 replies; 6+ messages in thread
From: Jiří Banzet @ 2002-01-26 4:06 UTC (permalink / raw)
To: redhat-gdb
Hello.
I have a problem: the PS (eflags, F) register has never been changed
in the debugger, but instructions like JZ works - even in the
debugger (using FreePascal IDE) is ZF 0. It's not problem of
FreePascal, because when I tried to debug it with only GDB, the PS
register has never been changed.
Please asnwer. Good
Bye.
______________________________________________________________________
Mapy Prahy, Brna a Cech najdete na http://www.mapy.cz
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Assembler
2002-01-24 8:28 Assembler Jiří Banzet
@ 2002-01-24 9:07 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2002-01-24 9:07 UTC (permalink / raw)
To: Jiří Banzet; +Cc: redhat-gdb
On Thu, 24 Jan 2002, =?iso-8859-2?Q?Ji=F8=ED=20Banzet?= wrote:
> When I type "info registers eflags", will it write F register
> separetely, as "CF = 1 ZF = 0" etc. ? Or will it write somethink like
> "eflags = 115" ?
It will write eflags in hex. If you want to see individual bits, you can
use the GDB expressions, like "p $eflags & 0x40".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Assembler
@ 2002-01-24 8:28 Jiří Banzet
2002-01-24 9:07 ` Assembler Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Jiří Banzet @ 2002-01-24 8:28 UTC (permalink / raw)
To: redhat-gdb
Hello.
When I type "info registers eflags", will it write F register
separetely, as "CF = 1 ZF = 0" etc. ? Or will it write somethink like
"eflags = 115" ? I think "eflags" is "ps" register, isn't it ? When I
tried to debug some program, the PS register did not change; but
instructions like JZ worked. Is this some bug or the problem is in
other place ?
Please answer. Good
Bye.
______________________________________________________________________
Jak si stoji kurz koruny? http://kurzy.seznam.cz
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-01-27 8:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-23 8:13 Assembler Jiří Banzet
2002-01-23 8:31 ` Assembler Eli Zaretskii
2002-01-24 8:28 Assembler Jiří Banzet
2002-01-24 9:07 ` Assembler Eli Zaretskii
2002-01-26 4:06 Assembler Jiří Banzet
2002-01-27 0:40 Assembler Jiří Banzet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox