Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Greg Law <glaw@undo-software.com>
To: gdb@sourceware.org
Subject: bfinish writes to random addresses.
Date: Tue, 25 Jul 2006 15:41:00 -0000	[thread overview]
Message-ID: <44C63B23.7060306@undo-software.com> (raw)

Hi list,

When doing a 'finish' command when EBP contains bad values such that gdb 
gets confused about a function's return address, it writes a breakpoint 
into an essentially random point in the inferior's address space.

Should I report a bug, or do we consider it the user's own stupid fault 
if he/she tries to do a 'finish' command when the frame-pointer is invalid?


Cheers,

Greg

-- 
Greg Law, Undo Software                       http://undo-software.com/


             reply	other threads:[~2006-07-25 15:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25 15:41 Greg Law [this message]
2006-07-25 15:42 ` Daniel Jacobowitz
2006-07-25 16:09   ` Greg Law
2006-07-25 16:20     ` Daniel Jacobowitz
2006-07-25 16:27       ` Greg Law
2006-07-25 16:53         ` Daniel Jacobowitz
2006-07-25 18:40         ` Mark Kettenis
2006-07-26  1:21           ` Daniel Jacobowitz

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=44C63B23.7060306@undo-software.com \
    --to=glaw@undo-software.com \
    --cc=gdb@sourceware.org \
    /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