Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: John Baldwin <jhb@freebsd.org>
To: gdb-patches@sourceware.org
Subject: Re: [PATCH v3] Add a 'starti' command.
Date: Mon, 18 Sep 2017 23:15:00 -0000	[thread overview]
Message-ID: <17542132.en2ZIxUZb9@ralph.baldwin.cx> (raw)
In-Reply-To: <20170911220803.73819-1-jhb@FreeBSD.org>

On Monday, September 11, 2017 03:08:03 PM John Baldwin wrote:
> This works like 'start' but it stops at the first instruction rather than
> the first line in main().  This is useful if one wants to single step
> through runtime linker startup.
> 
> While here, introduce a RUN_ARGS_HELP macro for shared help text between
> run, start, and starti.  This includes expanding the help for start and
> starti to include details from run's help text.
> 
> gdb/ChangeLog:
> 
> 	* NEWS (Changes since GDB 8.0): Add starti.
> 	* infcmd.c (enum run_break): New.
> 	(run_command_1): Queue pending event for RUN_STOP_AT_FIRST_INSN
> 	case.
> 	(run_command): Use enum run_how.
> 	(start_command): Likewise.
> 	(starti_command): New function.
> 	(RUN_ARGS_HELP): New macro.
> 	(_initialize_infcmd): Use RUN_ARGS_HELP for run and start
> 	commands.  Add starti command.
> 
> gdb/doc/ChangeLog:
> 
> 	* gdb.texinfo (Starting your Program): Add description of
> 	starti command.  Mention starti command as an alternative for
> 	debugging the elaboration phase.
> 
> gdb/testsuite/ChangeLog:
> 
> 	* gdb.base/starti.c: New file.
> 	* gdb.base/starti.exp: New file.
> 	* lib/gdb.exp (gdb_starti_cmd): New procedure.

Ping?

-- 
John Baldwin


  reply	other threads:[~2017-09-18 23:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-11 22:08 John Baldwin
2017-09-18 23:15 ` John Baldwin [this message]
2017-09-19 14:35 ` Pedro Alves
2017-09-19 18:23   ` John Baldwin
2017-09-19 18:29     ` Pedro Alves
2017-11-03 13:00 ` Yao Qi
2017-11-15 20:11   ` John Baldwin
2017-11-15 20:23     ` Pedro Alves
2017-11-15 23:32       ` John Baldwin
2017-11-16 10:54         ` Pedro Alves
2017-11-16 12:38           ` [pushed] Fix gdb.base/starti.exp racy test (Re: [PATCH v3] Add a 'starti' command.) Pedro Alves
2017-11-16 18:00             ` John Baldwin
2017-11-16 18:15               ` Pedro Alves
2017-11-16  9:55       ` [PATCH v3] Add a 'starti' command Yao Qi

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=17542132.en2ZIxUZb9@ralph.baldwin.cx \
    --to=jhb@freebsd.org \
    --cc=gdb-patches@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