[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Bug 250024] cannot set CPU register value



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=250024


Denys Vlasenko <dvlasenk redhat com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dvlasenk redhat com
    Customer Facing|NO                          |---




--- Comment #7 from Denys Vlasenko <dvlasenk redhat com>  2008-08-11 11:29:04 EDT ---
Works for me:

# gcc -o ps -nostartfiles -nostdlib ps.S
# gdb ps
GNU gdb Fedora (6.8-12.fc9)
Copyright (C) 2008 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 "x86_64-redhat-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /tmp/ps
(no debugging symbols found)

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000000004000d7 in _start ()
(gdb) set $eax = 3
(gdb) quit
The program is running.  Exit anyway? (y or n) y



Version, arch:

# gdb --version
GNU gdb Fedora (6.8-12.fc9)
Copyright (C) 2008 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 "x86_64-redhat-linux-gnu".

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]