public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Staggs, Kevin P (AZ75)" <Staggs_Kevin@htc.honeywell.com>
To: "'insight@sourceware.cygnus.com'" <insight@sourceware.cygnus.com>
Subject: Problem in gdbtk-cmds.c
Date: Sat, 06 Nov 1999 12:12:00 -0000	[thread overview]
Message-ID: <7D2706D329C7D1118EC200805F15C5E44DAF74@htc-az75.htc.honeywell.com> (raw)

Hello,
I have found a problem in gdbtk-cmds.c in the 19991018 version.  Line 3262
of gdbtk-cmds.c is as follows:
  rnum = target_read_memory_partial (addr, mbuf, nbytes, NULL);
The target_read_memory_partion function is in target.c at line 943 and looks
like:
int
target_read_memory_partial (CORE_ADDR memaddr, char *buf, int len, int *err)
{
	return target_xfer_memory_partial (memaddr, buf, len, 0, err);
}
Immediately above in target.c is the target_xfer_memory_partial function.
Most of the successful paths will write a 0 to *err and *err is set to NULL.
This results in a segmentation violation in insight and a crash.

Thanks
Kevin Staggs

             reply	other threads:[~1999-11-06 12:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-06 12:12 Staggs, Kevin P (AZ75) [this message]
1999-11-06 22:50 ` Andrew Cagney
1999-11-08 20:57 ` Andrew Cagney
1999-11-09  9:30   ` James Ingham

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=7D2706D329C7D1118EC200805F15C5E44DAF74@htc-az75.htc.honeywell.com \
    --to=staggs_kevin@htc.honeywell.com \
    --cc=insight@sourceware.cygnus.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).