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