diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-04-20 22:34:09 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-04-20 22:34:09 +0000 |
commit | a223f1e7a0d0c668e1bfbadbf5c3e3159b31cbf1 (patch) | |
tree | 388ca225365b92f41c9992df314b5c84e3acdf59 /gdb/ChangeLog | |
parent | 0c3acc092379d8b0c9d74a47c9cc03375dbad5fc (diff) | |
download | gdb-a223f1e7a0d0c668e1bfbadbf5c3e3159b31cbf1.zip gdb-a223f1e7a0d0c668e1bfbadbf5c3e3159b31cbf1.tar.gz gdb-a223f1e7a0d0c668e1bfbadbf5c3e3159b31cbf1.tar.bz2 |
procfs.c: Move find_signalled_thread and find_stop_signal.
These two functions are only used from procfs_make_note_section, which
itself is only defined if:
#if defined (UNIXWARE) || defined (PIOCOPENLWP) || defined (PCAGENT)
So these two functions are unused on mips-irix, and they get flagged
by -Wunused-function. This patch simply moves these functions closer
to the function that uses them, which also has the effect of putting
them inside the same #if block as procfs_make_note_section. Thus
they are defined only when used.
gdb/ChangeLog:
* procfs.c (find_signalled_thread, find_stop_signal): Move
these functions down to define them only when used.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dcf9cc5..9654678 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2010-04-20 Joel Brobecker <brobecker@adacore.com> + * procfs.c (find_signalled_thread, find_stop_signal): Move + these functions down to define them only when used. + +2010-04-20 Joel Brobecker <brobecker@adacore.com> + * valprint.c (common_val_print): Fix the value before extracting its contents. * ada-lang.c (ada_to_fixed_value): Make this function extern. |