logo       

remote/2198: GDB remote debugging seems to be broken.: msg#00004

Subject: remote/2198: GDB remote debugging seems to be broken.
>Number:         2198
>Category:       remote
>Synopsis:       GDB remote debugging seems to be broken.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 13 06:08:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Samuel
>Release:        5.2.1
>Organization:
>Environment:
Cygwin Windows-XP
>Description:
I am trying use GDB for remote debugging. GDB gets the hardcoded breakpoint 
signal and stops. However I am unable to read or write any memory value because 
GDB always sends only the last two hexa decimals of the address whenever a 
print or set command is issued. Below I have attached a example.

I am using the sample i386-stub.c in the grub source.

The latest version of GDB in cygwin and mingw are crashing when I open a remote 
debugging session.

The serial connection is ok. I tested with HyperTerminal.

Please let me know if I have to add more details. 

----------------------------------------------------------
(gdb) printf "%X\n", &wel
C0053F88
(gdb) printf "%X", wel
Sending packet: $m88,4#3d...Ack
Packet received: 17e800f0
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe