diff options
author | Tom Tromey <tromey@redhat.com> | 2014-01-15 09:30:05 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:48:44 -0700 |
commit | 9b1440374cbe716ac5dab4d3092e67089db36fa5 (patch) | |
tree | 69d4f42360a6854902b29a7871d5e0859a3abff6 /gdb/ChangeLog | |
parent | 555bbdeb943f17e908e8066aba836705637c0cfb (diff) | |
download | gdb-9b1440374cbe716ac5dab4d3092e67089db36fa5.zip gdb-9b1440374cbe716ac5dab4d3092e67089db36fa5.tar.gz gdb-9b1440374cbe716ac5dab4d3092e67089db36fa5.tar.bz2 |
pass NULL to TARGET_DEFAULT_RETURN when appropriate
This changes instances of TARGET_DEFAULT_RETURN(0) to
TARGET_DEFAULT_RETURN(NULL) when appropriate. The use of "0" was a
relic from an earlier implementation of make-target-delegates; and I
didn't want to go back through the long patch series, fixing up
conflicts, just to change this small detail.
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.h (struct target_ops) <to_extra_thread_info,
to_thread_name, to_pid_to_exec_file, to_get_section_table,
to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
not 0, in TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0dd90ca..7496e3b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2014-02-19 Tom Tromey <tromey@redhat.com> + * target-delegates.c: Rebuild. + * target.h (struct target_ops) <to_extra_thread_info, + to_thread_name, to_pid_to_exec_file, to_get_section_table, + to_memory_map, to_read_description, to_traceframe_info>: Use NULL, + not 0, in TARGET_DEFAULT_RETURN. + +2014-02-19 Tom Tromey <tromey@redhat.com> + * target.c (complete_target_initialization): Remove casts. Use return_zero_has_execution. (return_zero): Add "ignore" argument. |