public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Sergio Durigan Junior <sergiodj@redhat.com>
To: Yao Qi <qiyaoltc@gmail.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH 2/2] Create gdb/break-catch-syscall.c
Date: Wed, 11 Mar 2015 18:15:00 -0000	[thread overview]
Message-ID: <87oanzqu24.fsf@redhat.com> (raw)
In-Reply-To: <86ioe7hirx.fsf@gmail.com> (Yao Qi's message of "Wed, 11 Mar 2015	11:32:02 +0000")

On Wednesday, March 11 2015, Yao Qi wrote:

> Sergio Durigan Junior <sergiodj@redhat.com> writes:
>
> Hi Sergio,
> Thanks for doing this.

I felt compelled after your patch :-).

>> Tested by running the 'gdb.base/catch-syscall.exp' testcase.
>>
>
> Could you please run the whole testsuite?  it shouldn't take much time.
> If it is regression free, the patch is fine by me, with the following
> typo fixed,

Sure thing.  I rand the testsuite and the results are fine.

>> gdb/ChangeLog:
>> 2015-03-10  Sergio Durigan Junior  <sergiodj@redhat.com>
>>
>> 	* Makefile.in (SFILES): New object break-catch-syscall.o.
>
> It should be break-catch-syscall.c

Ops, thanks for catching this!  Fixed.

>> 	(COMMON_OBS): Likewise.
>> 	* break-catch-syscall.c: New file.
>> 	* breakpoint.c: Remove inclusion of "xml-syscall.h".
>> 	(syscall_catchpoint_p): Move declaration to break-catch-syscall.c
>> 	(struct syscall_catchpoint): Likewise.
>> 	(dtor_catch_syscall): Likewise.
>> 	(catch_syscall_inferior_data): Likewise.
>> 	(struct catch_syscall_inferior_data): Likewise.
>> 	(get_catch_syscall_inferior_data): Likewise.
>> 	(catch_syscall_inferior_data_cleanup): Likewise.
>> 	(insert_catch_syscall): Likewise.
>> 	(remove_catch_syscall): Likewise.
>> 	(breakpoint_hit_catch_syscall): Likewise.
>> 	(print_it_catch_syscall): Likewise.
>> 	(print_one_catch_syscall): Likewise.
>> 	(print_mention_catch_syscall): Likewise.
>> 	(print_recreate_catch_syscall): Likewise.
>> 	(catch_syscall_breakpoint_ops): Likewise.
>> 	(syscall_catchpoint_p): Likewise.
>> 	(create_syscall_event_catchpoint): Likewise.
>> 	(catch_syscall_split_args): Likewise.
>> 	(catch_syscall_command_1): Likewise.
>> 	(is_syscall_catchpoint_enabled): Likewise.
>> 	(catch_syscall_enabled): Likewise.
>> 	(catching_syscall_number): Likewise.
>> 	(catch_syscall_completer): Likewise.
>> 	(clear_syscall_counts): Likewise.
>> 	(initialize_breakpoint_ops): Move initialization of syscall
>> 	catchpoints to break-catch-syscall.c.
>> 	(_initialize_breakpoint): Move code related to syscall catchpoints
>> 	to break-catch-syscall.c.
>> ---
>>  gdb/Makefile.in           |   2 +
>>  gdb/break-catch-syscall.c | 659 ++++++++++++++++++++++++++++++++++++++++++++++
>>  gdb/breakpoint.c          | 600 -----------------------------------------
>>  3 files changed, 661 insertions(+), 600 deletions(-)
>>  create mode 100644 gdb/break-catch-syscall.c
>>
>> diff --git a/gdb/Makefile.in b/gdb/Makefile.in
>> index 8c2a4de..f59ad66 100644
>> --- a/gdb/Makefile.in
>> +++ b/gdb/Makefile.in
>> @@ -816,6 +816,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
>>  	bfd-target.c \
>>  	block.c blockframe.c \
>>  	breakpoint.c break-catch-sig.c break-catch-throw.c \
>> +	break-catch-syscall.o \
>
> Likewise.

Fixed.

Pushed:

  <https://sourceware.org/ml/gdb-cvs/2015-03/msg00074.html>

Thanks!

-- 
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/

      reply	other threads:[~2015-03-11 18:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10 23:28 [PATCH 0/2] Separate syscall catchpoint code from gdb/breakpoint.c Sergio Durigan Junior
2015-03-10 23:28 ` [PATCH 1/2] Implement breakpoint_find_if Sergio Durigan Junior
2015-03-11 11:22   ` Yao Qi
2015-03-11 18:18     ` Sergio Durigan Junior
2015-03-10 23:28 ` [PATCH 2/2] Create gdb/break-catch-syscall.c Sergio Durigan Junior
2015-03-11 11:32   ` Yao Qi
2015-03-11 18:15     ` Sergio Durigan Junior [this message]

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=87oanzqu24.fsf@redhat.com \
    --to=sergiodj@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=qiyaoltc@gmail.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).