Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Manoj Verma, Noida" <manojv@noida.hcltech.com>
To: gdb@sources.redhat.com
Cc: Mark Salter <msalter@redhat.com>,
	Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
Subject: break point command Z0 not supported
Date: Fri, 05 Dec 2003 07:03:00 -0000	[thread overview]
Message-ID: <1B3885BC15C7024C845AAC78314766C5015AFE9B@EXCH-01> (raw)

Hi,
I am doing remote debugging using GDB server over ethernet. Both host and
target are i386-linux machines.

I am debugging a simple 'Hello World' application.

On the Gdb client side: 
(gdb) break main
(gdb) set debug remote 1
(gdb) continue

I see the following packet transaction (excerpt):

########################################################################
(gdb) c
Continuing.
Sending packet: $Z0,4000acb0,1#2d...Ack
Packet received: 
Packet Z0 (software-breakpoint) is NOT supported
Sending packet: $m4000acb0,1#e4...Ack
Packet received: 55
Sending packet: $M4000acb0,1:cc#c4...Ack
Packet received: OK
Sending packet: $m8048338,1#3c...Ack
Packet received: 83
Sending packet: $M8048338,1:cc#1c...Ack
Packet received: OK
...
...<Manoj: omitted non-releveant data >
...
Sending packet: $M4000acb0,1:55#68...Ack
Packet received: OK
Sending packet: $M8048338,1:83#c1...Ack
Packet received: OK
########################################################################

My questions are:
1) What does it mean by 'software-breakpoint is NOT supported'?
2) The gdb is reading data at some particular location (here 4000acb0 &
8048338)and inserting "cc" at that address. And at the end of 'continue'
response it replaces back the original data at that particular address. Is
this the standard way of GDB functioning?

Kindly clarify..

Thanks..






             reply	other threads:[~2003-12-05  7:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05  7:03 Manoj Verma, Noida [this message]
2003-12-05 11:36 Nitin Gupta
2003-12-05 11:57 Manoj Verma, Noida
2003-12-05 12:51 ` Mark Salter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1B3885BC15C7024C845AAC78314766C5015AFE9B@EXCH-01 \
    --to=manojv@noida.hcltech.com \
    --cc=gdb@sources.redhat.com \
    --cc=msalter@redhat.com \
    --cc=ramana.radhakrishnan@codito.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox