From: Joel Brobecker <brobecker@adacore.com>
To: Aleksandar Ristovski <aristovski@qnx.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] step over permanent breakpoint
Date: Tue, 02 Sep 2008 20:54:00 -0000 [thread overview]
Message-ID: <20080902205416.GA3774@adacore.com> (raw)
In-Reply-To: <48BD5D64.1050708@qnx.com>
> >Also, I don't completely understand the ".1" part of your regexp. And
> >the gdb_test_multiple documentation also says that you should include
> >the final newline and prompt. So I suggest:
> >
> > -re ".*($hex).*$gdb_prompt $".
> It was a shortcut for "\\\$1".
> Changed.
Haaaaaa, you meant to match the "$<number>" part of the output, right?
> 2008-09-02 Aleksandar Ristovski <aristovski@qnx.com>
>
> * breakpoint.c (breakpoint_init_inferior): Mark as not inserted only
> non-permanent breakpoints.
> (bpstat_stop_status): Change enable_state to bp_disabled only for
> non-permanent breakpoints.
> (bp_loc_is_permanent): New function.
> (create_breakpoint): Check if the location points to a permanent
> breakpoint and if it does, make breakpoint permanent.
> (update_breakpoint_locations): Make sure new locations of permanent
> breakpoints are properly initialized.
> * i386-tdep.c (i386_skip_permanent_breakpoint): New function.
> (i386_gdbarch_init): Set gdbarch_skip_permanent_breakpoint.
This is OK, just remember to make a couple of tiny little adjustments:
> + /* Update locationos of permanent breakpoints. */
^^^^^^^^^^ spelling
> @@ -8152,6 +8189,7 @@ single_step_breakpoint_inserted_here_p (
> return 0;
> }
>
> +
> \f
> /* This help string is used for the break, hbreak, tbreak and thbreak commands.
> It is defined as a macro to prevent duplication.
This hunk (adding an extra new line before the ^L is unnecessary).
> 2008-09-02 Aleksandar Ristovski <aristovski@qnx.com>
>
> * gdb.arch/i386-bp_permanent.exp: New test.
This is also OK.
--
Joel
next prev parent reply other threads:[~2008-09-02 20:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-06 14:12 Aleksandar Ristovski
2008-08-18 11:08 ` Joel Brobecker
2008-08-19 15:39 ` Aleksandar Ristovski
2008-08-25 16:36 ` Joel Brobecker
2008-09-02 15:37 ` Aleksandar Ristovski
2008-09-02 20:54 ` Joel Brobecker [this message]
2008-09-03 13:46 ` Aleksandar Ristovski
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=20080902205416.GA3774@adacore.com \
--to=brobecker@adacore.com \
--cc=aristovski@qnx.com \
--cc=gdb-patches@sources.redhat.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