diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-09-02 00:07:32 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-09-02 00:07:32 +0000 |
commit | 8fef05cc0416032a9b95ee4757b239198b80565f (patch) | |
tree | 3c35eff99c5e52506af2a4364adc29db51f3b4a5 /gdb | |
parent | 6953f3ba6953f252aa37f3df34a9c28d41bf13db (diff) | |
download | gdb-8fef05cc0416032a9b95ee4757b239198b80565f.zip gdb-8fef05cc0416032a9b95ee4757b239198b80565f.tar.gz gdb-8fef05cc0416032a9b95ee4757b239198b80565f.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 5 | ||||
-rw-r--r-- | gdb/hppah-nat.c | 10 |
3 files changed, 9 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 94eb3c6..9f14c3d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2000-09-01 Kevin Buettner <kevinb@redhat.com> + * hppa-tdep.c (record_text_segment_lowaddr): Protoize. + * hppah-nat.c (child_xfer_memory): Protoize. + +2000-09-01 Kevin Buettner <kevinb@redhat.com> + * symtab.c (decode_line_1): Make sure leading character is actually a colon before skipping over leading colons in global namespace specification. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index d657938..551fd8e 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -294,10 +294,7 @@ compare_unwind_entries (const void *arg1, const void *arg2) static CORE_ADDR low_text_segment_address; static void -record_text_segment_lowaddr (abfd, section, ignored) - bfd *abfd ATTRIBUTE_UNUSED; - asection *section; - PTR ignored ATTRIBUTE_UNUSED; +record_text_segment_lowaddr (bfd *abfd, asection *section, void *ignored) { if ((section->flags & (SEC_ALLOC | SEC_LOAD | SEC_READONLY) == (SEC_ALLOC | SEC_LOAD | SEC_READONLY)) diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c index 222a6e0..128d66d 100644 --- a/gdb/hppah-nat.c +++ b/gdb/hppah-nat.c @@ -262,15 +262,11 @@ fetch_register (int regno) Returns the length copied, which is either the LEN argument or zero. This xfer function does not do partial moves, since child_ops doesn't allow memory operations to cross below us in the target stack - anyway. */ + anyway. TARGET is ignored. */ int -child_xfer_memory (memaddr, myaddr, len, write, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int write; - struct target_ops *target; /* ignored */ +child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, + struct target_ops *target) { register int i; /* Round starting address down to longword boundary. */ |