* RFA: gdb_indent.sh patch
@ 2003-04-16 23:28 J. Johnston
2003-04-17 2:40 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: J. Johnston @ 2003-04-16 23:28 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
The attached patch adds some more types to recognize for gdb_indent.sh.
The changes are needed to properly indent thread-db.c which uses some
libthread_db types.
Ok to commit?
2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
* gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, td_thr_events_t,
td_notify_t, td_thr_iter_f, and td_thrinfo_t as types.
[-- Attachment #2: gdb_indent.patch --]
[-- Type: text/plain, Size: 642 bytes --]
Index: gdb_indent.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdb_indent.sh,v
retrieving revision 1.7
diff -u -r1.7 gdb_indent.sh
--- gdb_indent.sh 11 Apr 2003 20:56:40 -0000 1.7
+++ gdb_indent.sh 16 Apr 2003 23:12:15 -0000
@@ -75,6 +75,8 @@
-T FILE \
-T bfd -T asection -T pid_t \
-T prgregset_t -T fpregset_t -T gregset_t -T sigset_t \
+-T td_thrhandle_t -T td_event_msg_t -T td_thr_events_t \
+-T td_notify_t -T td_thr_iter_f -T td_thrinfo_t \
`cat *.h | sed -n \
-e 's/^.*[^a-z0-9_]\([a-z0-9_]*_ftype\).*$/-T \1/p' \
-e 's/^.*[^a-z0-9_]\([a-z0-9_]*_func\).*$/-T \1/p' \
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: RFA: gdb_indent.sh patch
2003-04-16 23:28 RFA: gdb_indent.sh patch J. Johnston
@ 2003-04-17 2:40 ` Daniel Jacobowitz
2003-04-17 17:19 ` J. Johnston
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2003-04-17 2:40 UTC (permalink / raw)
To: J. Johnston; +Cc: gdb-patches
On Wed, Apr 16, 2003 at 07:28:00PM -0400, J. Johnston wrote:
> The attached patch adds some more types to recognize for gdb_indent.sh.
> The changes are needed to properly indent thread-db.c which uses some
> libthread_db types.
>
> Ok to commit?
>
> 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
>
> * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
> td_thr_events_t,
> td_notify_t, td_thr_iter_f, and td_thrinfo_t as types.
Yes, OK.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFA: gdb_indent.sh patch
2003-04-17 2:40 ` Daniel Jacobowitz
@ 2003-04-17 17:19 ` J. Johnston
0 siblings, 0 replies; 6+ messages in thread
From: J. Johnston @ 2003-04-17 17:19 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb-patches
Patch checked in. Thanks.
-- Jeff J.
Daniel Jacobowitz wrote:
> On Wed, Apr 16, 2003 at 07:28:00PM -0400, J. Johnston wrote:
>
>>The attached patch adds some more types to recognize for gdb_indent.sh.
>>The changes are needed to properly indent thread-db.c which uses some
>>libthread_db types.
>>
>>Ok to commit?
>>
>>2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
>>
>> * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
>> td_thr_events_t,
>> td_notify_t, td_thr_iter_f, and td_thrinfo_t as types.
>
>
> Yes, OK.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RFA: gdb_indent.sh patch
@ 2003-04-11 18:13 J. Johnston
2003-04-11 18:20 ` Andrew Cagney
0 siblings, 1 reply; 6+ messages in thread
From: J. Johnston @ 2003-04-11 18:13 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
The attached patch is needed to properly indent the files that
are in my last patch regarding gcore support for linux.
I needed to add a few C library types.
Ok to commit?
-- Jeff J.
2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
* gdb_indent.sh: Recognize pid_t and sigset_t as types.
[-- Attachment #2: gdb_indent.patch --]
[-- Type: text/plain, Size: 612 bytes --]
Index: gdb_indent.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdb_indent.sh,v
retrieving revision 1.6
diff -u -r1.6 gdb_indent.sh
--- gdb_indent.sh 27 Jan 2003 21:16:06 -0000 1.6
+++ gdb_indent.sh 11 Apr 2003 18:06:00 -0000
@@ -73,8 +73,8 @@
types="\
-T FILE \
--T bfd -T asection \
--T prgregset_t -T fpregset_t -T gregset_t \
+-T bfd -T asection -T pid_t \
+-T prgregset_t -T fpregset_t -T gregset_t -T sigset_t \
`cat *.h | sed -n \
-e 's/^.*[^a-z0-9_]\([a-z0-9_]*_ftype\).*$/-T \1/p' \
-e 's/^.*[^a-z0-9_]\([a-z0-9_]*_func\).*$/-T \1/p' \
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: RFA: gdb_indent.sh patch
2003-04-11 18:13 J. Johnston
@ 2003-04-11 18:20 ` Andrew Cagney
2003-04-11 20:57 ` J. Johnston
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Cagney @ 2003-04-11 18:20 UTC (permalink / raw)
To: J. Johnston; +Cc: gdb-patches
> The attached patch is needed to properly indent the files that
> are in my last patch regarding gcore support for linux.
>
> I needed to add a few C library types.
>
> Ok to commit?
>
> -- Jeff J.
>
> 2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
>
> * gdb_indent.sh: Recognize pid_t and sigset_t as types.
>
Yep, Andrew
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFA: gdb_indent.sh patch
2003-04-11 18:20 ` Andrew Cagney
@ 2003-04-11 20:57 ` J. Johnston
0 siblings, 0 replies; 6+ messages in thread
From: J. Johnston @ 2003-04-11 20:57 UTC (permalink / raw)
To: Andrew Cagney; +Cc: gdb-patches
Andrew Cagney wrote:
>> The attached patch is needed to properly indent the files that
>> are in my last patch regarding gcore support for linux.
>>
>> I needed to add a few C library types.
>>
>> Ok to commit?
>>
>> -- Jeff J.
>>
>> 2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
>>
>> * gdb_indent.sh: Recognize pid_t and sigset_t as types.
>>
>
> Yep, Andrew
>
>
Patch checked in.
-- Jeff J.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-04-17 17:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-16 23:28 RFA: gdb_indent.sh patch J. Johnston
2003-04-17 2:40 ` Daniel Jacobowitz
2003-04-17 17:19 ` J. Johnston
-- strict thread matches above, loose matches on Subject: below --
2003-04-11 18:13 J. Johnston
2003-04-11 18:20 ` Andrew Cagney
2003-04-11 20:57 ` J. Johnston
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox