bug-gdb
[Top][All Lists]
Advanced

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

Possible GDB Bug


From: Vickie Eigel-Danielson
Subject: Possible GDB Bug
Date: Fri, 30 Mar 2001 13:03:58 -0700

Hi all.  I am a GDB novice who may have found a small bug in GDB.  The bug involves code in the source file named “remote.c”, specifically in the two functions named fromhex() and remote_fetch_registers().  It seems from the code in fromhex() that GDB supports the transmission of remote memory and register value ASCII strings containing either upper- or lower-case hexadecimal digits.  The code in remote_fetch_registers(), however, only accepts a lower-case hexadecimal digit when it checks the start of the response packet for validity.  In my situation, I had been sending upper-case hexadecimal digits without any problems until the first time that the string started with a ‘B’, at which point GDB hangs because remote_fetch_registers() waits forever for a “valid” packet!  

 

Vickie

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]