Commit | Line | Data |
---|---|---|
db2b2972 TT |
1 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
2 | ||
3 | * cp-abi.c (cp_abi_completer): New function. | |
4 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
5 | ||
be7d37a2 TT |
6 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
7 | ||
8 | * mem-break.c: Remove obsolete comment. | |
9 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
10 | ||
c9fb1240 SD |
11 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
12 | ||
13 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
14 | as an absolute path if it begins with a forward slash. | |
15 | ||
db334a01 SD |
16 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
17 | ||
18 | PR gdb/14550 | |
19 | ||
20 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
21 | NULL superblock. | |
22 | ||
7d928dac PA |
23 | 2013-01-17 Pedro Alves <palves@redhat.com> |
24 | ||
25 | * acinclude.m4: Include ../config/plugins.m4, | |
26 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
27 | * Makefile.in (aclocal_m4_deps): Update. | |
28 | * aclocal.m4: Renegerate. | |
29 | ||
fb8cf7c5 DE |
30 | 2013-01-16 Doug Evans <dje@google.com> |
31 | ||
32 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
33 | ||
ab04a2af TT |
34 | 2013-01-16 Pedro Alves <palves@redhat.com> |
35 | Tom Tromey <tromey@redhat.com> | |
36 | ||
37 | PR cli/7221: | |
38 | * NEWS: Add "catch signal". | |
39 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
40 | (bpstat_explains_signal): New function. | |
41 | (init_catchpoint): No longer static. | |
42 | (base_breakpoint_explains_signal): New function. | |
43 | (base_breakpoint_ops): Initialize new field. | |
44 | * breakpoint.h (enum bpstat_signal_value): New. | |
45 | (struct breakpoint_ops) <explains_signal>: New field. | |
46 | (bpstat_explains_signal): Remove macro, declare as function. | |
47 | (base_breakpoint_ops, init_catchpoint): Declare. | |
48 | * break-catch-sig.c: New file. | |
49 | * inferior.h (signal_catch_update): Declare. | |
50 | * infrun.c (signal_catch): New global. | |
51 | (handle_syscall_event): Update for change to | |
52 | bpstat_explains_signal. | |
53 | (handle_inferior_event): Likewise. Always handle random signals | |
54 | via bpstats. | |
55 | (signal_cache_update): Check signal_catch. | |
56 | (signal_catch_update): New function. | |
57 | (_initialize_infrun): Initialize signal_catch. | |
58 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
59 | (COMMON_OBS): Add break-catch-sig.o. | |
60 | ||
8ac3646f TT |
61 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
62 | ||
63 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
64 | (print_one_catch_solib, print_one_catch_syscall) | |
65 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
66 | "catch-type". | |
67 | ||
5a18e302 YQ |
68 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
69 | ||
70 | * printcmd.c (current_display_number): Make it static. | |
71 | ||
3f01d0d0 YQ |
72 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
73 | ||
74 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
75 | checked before. | |
76 | ||
1ed59174 JK |
77 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
78 | ||
79 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
80 | ||
44478ab3 TT |
81 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
82 | ||
83 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
84 | set command. | |
85 | * command.h (add_setshow_string_noescape_cmd): Update. | |
86 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
87 | (complete_set_gnutarget): New function. | |
88 | (_initialize_core): Set the "set gnutarget" completer. | |
89 | ||
06d66ee9 TT |
90 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
91 | ||
92 | PR symtab/14442: | |
93 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
94 | (c_type_print_modifier): Likewise. | |
95 | * dwarf2read.c (read_tag_restrict_type): New function. | |
96 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
97 | * gdbtypes.c (make_restrict_type): New function. | |
98 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
99 | * gdbtypes.h (enum type_flag_values): Renumber. | |
100 | (enum type_instance_flag_value): Add | |
101 | TYPE_INSTANCE_FLAG_RESTRICT. | |
102 | (TYPE_RESTRICT): New macro. | |
103 | (make_restrict_type): Declare. | |
104 | ||
c9bf0622 TT |
105 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
106 | ||
107 | PR symtab/14931: | |
108 | * psymtab.c (struct psymtab_state): New. | |
109 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
110 | functions. | |
111 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
112 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
113 | ||
44d594fd PA |
114 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
115 | Pedro Alves <palves@redhat.com> | |
116 | ||
117 | PR remote/14786 | |
118 | ||
119 | * remote.c (remote_threads_info): Make a copy of the reply from | |
120 | qfThreadInfo and use that instead of rs->buf. | |
121 | ||
442e4d9c YQ |
122 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
123 | ||
124 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
125 | (dbx_psymtab_to_symtab): Likewise. | |
126 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
127 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
128 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
129 | ||
5b12a61c JK |
130 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
131 | ||
132 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
133 | make_cleanup_restore_current_language. Call set_language. Move | |
134 | OLD_CHAIN and INNER_CHAIN cleanups. | |
135 | * utils.c (do_restore_current_language) | |
136 | (make_cleanup_restore_current_language): New functions. | |
137 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
138 | ||
f0a4b570 JK |
139 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
140 | ||
141 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
142 | non-existing files. | |
143 | ||
57b3c00c JK |
144 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
145 | non-existing files if FILENAME is already absolute. | |
146 | ||
daefa854 JK |
147 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
148 | ||
149 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
150 | fputs_filtered. Append trailing newline. | |
151 | ||
ca9c6ee2 YQ |
152 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
153 | Stan Shebs <stan@codesourcery.com> | |
154 | ||
155 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
156 | ||
f28045c2 YQ |
157 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
158 | ||
159 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
160 | (update_dprintf_command_list): Assert that 'printf_line' is | |
161 | non-null. Remove condition check. | |
162 | ||
da5132d3 JK |
163 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
164 | ||
165 | Code cleanup. | |
166 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
167 | type const char *. | |
168 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
169 | const char *. | |
170 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
171 | ||
843e694d AG |
172 | 2013-01-09 Anthony Green <green@moxielogic.com> |
173 | ||
174 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
175 | function. | |
176 | * ada-lang.c (re_set_catch_assert): Ditto. | |
177 | ||
da51c347 DE |
178 | 2013-01-09 Doug Evans <dje@google.com> |
179 | ||
180 | * symfile.h (quick_symbol_functions): Delete member | |
181 | pre_expand_symtabs_matching. All uses removed. | |
182 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
183 | (dw2_do_expand_symtabs_matching): Delete. | |
184 | (dw2_pre_expand_symtabs_matching): Delete. | |
185 | (struct dw2_symtab_iterator): New type. | |
186 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
187 | (dw2_expand_symtabs_for_function): Rewrite. | |
188 | (dwarf2_gdb_index_functions): Update. | |
189 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
190 | (psym_functions): Update. | |
191 | ||
b2259038 TT |
192 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
193 | ||
194 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
195 | * configure: Rebuild. | |
196 | * configure.ac: Add somread.o to the build if BFD has SOM | |
197 | support. | |
198 | * somread.c: Include som/aout.h, not syms.h. | |
199 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
200 | Unpack records manually. | |
201 | (_initialize_somread): Declare. | |
202 | ||
bdad4180 MF |
203 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
204 | ||
205 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
206 | Cast return_address to 64bits. | |
207 | ||
03cdf680 HZ |
208 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
209 | ||
210 | * printcmd.c: Remove define of function output_command. | |
211 | * tracepoint.c: Remove extern of function output_command. | |
212 | * valprint.h: (output_command): New extern. | |
213 | ||
8a808554 TT |
214 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
215 | ||
216 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
217 | Remove. | |
218 | (objc_language_defn): Use c_printchar, c_printstr, | |
219 | c_emit_char. | |
220 | ||
e93a8774 TT |
221 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
222 | ||
223 | PR cli/7719: | |
224 | * NEWS: Update. | |
225 | * ada-valprint.c (printstr, print_field_values): Remove | |
226 | "inspect_it" code. | |
227 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
228 | code. | |
229 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
230 | code. | |
231 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
232 | * main.c (captured_main): Remove "epoch" argument. | |
233 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
234 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
235 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
236 | "inspect_it" code. | |
237 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
238 | (print_command, call_command): Update. | |
239 | (inspect_command): Remove. | |
240 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
241 | * top.c (epoch_interface): Remove. | |
242 | * top.h (epoch_interface): Remove. | |
243 | * valprint.c (user_print_options): Update. | |
244 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
245 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
246 | field. | |
247 | ||
248 | 2013-01-04 Tom Tromey <tromey@redhat.com> | |
249 | ||
250 | * valprint.h (read_string): Add 'extern'. | |
251 | ||
b967eb24 JB |
252 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
253 | ||
254 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
255 | used to decide whether to define darwin_read_dyld_info or not. | |
256 | ||
78a8b30e PM |
257 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
258 | ||
259 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
260 | if DIR is empty. | |
261 | ||
50da2f25 YQ |
262 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
263 | ||
264 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
265 | (fixup_psymbol_section): Remove code returning value. | |
266 | ||
e7e8980f YQ |
267 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
268 | ||
269 | * symtab.h: Remove some out of date comments. | |
270 | (enum exception_event_kind): Move it ... | |
271 | * breakpoint.c: ... here. | |
272 | ||
569283d4 MF |
273 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
274 | ||
9f9d9a96 | 275 | PR gdb/14405 |
569283d4 MF |
276 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
277 | TASK_DYLD_INFO_COUNT is defined. | |
278 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
279 | TASK_DYLD_INFO_COUNT is defined. | |
280 | ||
2e36fbea TT |
281 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
282 | ||
283 | * symfile.h (struct ecoff_debug_hack): Remove. | |
284 | * objfiles.c: Don't include mdebugread.h. | |
285 | ||
4f05add4 TT |
286 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
287 | ||
288 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
289 | * configure.ac: Check for Mach-O support in BFD. Update | |
290 | CONFIG_OBS. | |
291 | * configure: Rebuild. | |
292 | ||
def63ff0 TT |
293 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
294 | ||
295 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
296 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
297 | * configure: Rebuild. | |
298 | ||
60c5dd93 MK |
299 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
300 | ||
301 | * MAINTAINERS: Update my email. | |
302 | ||
6e58437e JB |
303 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
304 | ||
305 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
306 | ||
627fe805 JB |
307 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
308 | ||
309 | * rs6000-nat.c (bss_data_overlap): New function. | |
310 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
311 | ||
28e7fd62 JB |
312 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
313 | ||
314 | Update year range in copyright notice of all files. | |
315 | ||
e93a8774 | 316 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
b9786c74 JB |
317 | |
318 | * top.c (print_gdb_version): Update copyright year. | |
319 | ||
72b20e9c | 320 | For older changes see ChangeLog-2012. |
c906108c SS |
321 | \f |
322 | Local Variables: | |
323 | mode: change-log | |
324 | left-margin: 8 | |
325 | fill-column: 74 | |
326 | version-control: never | |
57da7796 | 327 | coding: utf-8 |
c906108c | 328 | End: |