Commit | Line | Data |
---|---|---|
a87d9ac4 YQ |
1 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
2 | ||
3 | * main.c (print_gdb_help): Remove "--epoch" from the help | |
4 | message. | |
5 | ||
2077afdd TD |
6 | 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
7 | ||
8 | * symtab.c (skip_prologue_using_sal): Consider a file | |
9 | change the same as an increased line number | |
10 | ||
63da4037 TD |
11 | 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
12 | ||
13 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
14 | ||
45e6c716 TT |
15 | 2013-01-24 Tom Tromey <tromey@redhat.com> |
16 | ||
17 | * ada-lang.h (ada_decode_symbol): Make return type const. | |
18 | * ada-lang.c (ada_decode_symbol): Likewise. | |
19 | ||
b1ae631a DE |
20 | 2013-01-23 Doug Evans <dje@google.com> |
21 | ||
22 | * linespec.c (find_linespec_symbols): Make static. | |
23 | ||
55a78401 SDJ |
24 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
25 | ||
26 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
27 | type on float conversion for complex type. | |
28 | ||
bea883fd SCR |
29 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
30 | ||
31 | Add a new class gdb.Architecture which exposes GDB's | |
32 | internal representation of architecture via GDB Python API. | |
33 | * Makefile.in: Add entries corresponding to the new file | |
34 | python/py-arch.c. | |
35 | * NEWS (Python Scripting): Add entries for the new class | |
36 | gdb.Architecture and the new method gdb.Frame.architecture. | |
37 | * python/py-arch.c: Implement gdb.Architecture class. | |
38 | * python/py-frame.c (frapy_arch): Implement the method | |
39 | gdb.Frame.architecture(). | |
40 | (frame_object_methods): Add 'architecture' to the method table. | |
41 | * python/python-internal.h: Add declarations of new utility | |
42 | functions. | |
43 | * python/python.c (_initialize_python): Initialize | |
44 | gdb.Architecture class. | |
45 | ||
796a7ff8 DE |
46 | 2013-01-23 Doug Evans <dje@google.com> |
47 | ||
48 | Work around binutils/15021. | |
49 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
50 | type_unit_group out of union s. All uses updated. | |
51 | (read_index_from_section): Watch for index version 8. | |
52 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
53 | an imported symtab. | |
54 | (write_psymtabs_to_index): Increment version number to 8. | |
55 | ||
0928e93d PA |
56 | 2013-01-22 Pedro Alves <palves@redhat.com> |
57 | ||
58 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
59 | user-visible. | |
60 | ||
9c97429f PA |
61 | 2013-01-22 Pedro Alves <palves@redhat.com> |
62 | ||
63 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
64 | (annotate_breakpoints_invalid): ... this. Make static. | |
65 | (breakpoint_changed): Adjust. | |
66 | (_initialize_annotate): Always install the observers. Install a | |
67 | "breakpoint_created" observer. | |
68 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
69 | * breakpoint.c (set_breakpoint_condition) | |
70 | (breakpoint_set_commands, do_map_commands_command) | |
71 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
72 | (enable_breakpoint_disp): No longer call | |
73 | annotate_breakpoints_changed. | |
74 | ||
bd00c694 PA |
75 | 2013-01-22 Pedro Alves <palves@redhat.com> |
76 | ||
77 | * annotate.c: Include "inferior.h". | |
78 | (frames_invalid_emitted) | |
79 | (breakpoints_invalid_emitted): New globals. | |
80 | (async_background_execution_p): New function. | |
81 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
82 | emitting the annotation if it has already been emitted. | |
83 | (annotate_display_prompt): New function. | |
84 | * annotate.h (annotate_display_prompt): New declaration. | |
85 | * event-top.c: Include annotate.h. | |
86 | (display_gdb_prompt): Call annotate_display_prompt. | |
87 | ||
187d10dd PA |
88 | 2013-01-22 Pedro Alves <palves@redhat.com> |
89 | ||
90 | * annotate.c (ignore_count_changed): Delete. | |
91 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
92 | (annotate_ignore_count_change): Delete. | |
93 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
94 | annotation. | |
95 | * annotate.h (annotate_ignore_count_change): Delete. | |
96 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
97 | annotate_ignore_count_change. | |
98 | ||
d84cf7eb TT |
99 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
100 | ||
101 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
102 | require_rvalue for a register location. | |
103 | ||
8f1d5693 MK |
104 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
105 | ||
106 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
107 | field 'thread-groups' when printing a breakpoint. | |
108 | (output_thread_groups): New function. | |
109 | ||
aa6199c6 SCR |
110 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
111 | ||
112 | * python/lib/gdb/commands/explore.py | |
113 | (CompoundExplorer.explore_expr): Correct the name of a method | |
114 | being invoked. | |
115 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
116 | ||
d2afef13 TT |
117 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
118 | ||
119 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
120 | * symfile.h (obconcat): ... here. | |
121 | * gdb_obstack.c: New file. | |
122 | (obconcat): Move from... | |
123 | * symfile.c (obconcat): ... here. | |
124 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
125 | (COMMON_OBS): Add gdb_obstack.o. | |
126 | ||
10f0c4bb TT |
127 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
128 | ||
129 | * symfile.h (obsavestring): Don't declare. | |
130 | * symfile.c (obsavestring): Remove. | |
131 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
132 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
133 | * coffread.c: Use obstack_copy0, not obsavestring. | |
134 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
135 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
136 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
137 | * jit.c: Use obstack_copy0, not obsavestring. | |
138 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
139 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
140 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
141 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
142 | ||
86f62fd7 TT |
143 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
144 | ||
145 | * dwarf2read.c (fixup_go_packaging): Save package name | |
146 | on objfile obstack. | |
147 | * gdbtypes.c (init_type): Don't copy name. | |
148 | ||
15d034d0 TT |
149 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
150 | ||
151 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
152 | const. | |
153 | (struct attribute) <u.str>: Now const. | |
154 | (struct fnfieldlist) <name>: Now const. | |
155 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
156 | (partial_die_parent_scope): Make return type const. | |
157 | (partial_die_full_name, add_partial_symbol): Update. | |
158 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
159 | 'name' const. | |
160 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
161 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
162 | (dwarf2_add_member_fn, read_structure_type) | |
163 | (process_enumeration_scope, read_array_type, read_module_type) | |
164 | (read_base_type, read_subrange_type): Update. | |
165 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
166 | (new_symbol_full, guess_full_die_structure_name): Update. | |
167 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
168 | (dwarf2_name): Return const type. | |
169 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
170 | const. | |
171 | ||
748e18ae TT |
172 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
173 | ||
174 | * gdbtypes.c (init_type): Make 'name' const. | |
175 | * gdbtypes.h (init_type): Update. | |
176 | ||
46212e0b TT |
177 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
178 | ||
179 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
180 | (start_symtab): Make 'name' and 'dirname' const. Use | |
181 | set_last_source_file. | |
182 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
183 | (last_source_file): Define. Now static. | |
184 | (set_last_source_file, get_last_source_file): New functions. | |
185 | * buildsym.h (last_source_file): Don't declare. | |
186 | (start_symtab): Update. | |
187 | (set_last_source_file, get_last_source_file): Declare. | |
188 | * coffread.c (complete_symtab): Use set_last_source_file. | |
189 | (coff_end_symtab): Likewise. | |
190 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
191 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
192 | set_last_source_file. | |
193 | (process_one_symbol): Use get_last_source_file. | |
194 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
195 | (psymtab_to_symtab_1): Use get_last_source_file. | |
196 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
197 | (complete_symtab): Use set_last_source_file. | |
198 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
199 | (scan_xcoff_symtab): Use set_last_source_file. | |
200 | ||
9d2ceabe TT |
201 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
202 | ||
203 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
204 | (symbol_set_names): Remove casts. Handle field const-ness. | |
205 | ||
cfc594ee TT |
206 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
207 | ||
208 | * dwarf2read.c (new_symbol_full): Remove cast. | |
209 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
210 | * symtab.h (symbol_set_demangled_name): Update. | |
211 | ||
5484b13a TT |
212 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
213 | ||
214 | * main.c (captured_main): Call bfd_init. | |
215 | ||
1605ef26 TT |
216 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
217 | ||
218 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
219 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
220 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
221 | * NEWS: Update. | |
222 | ||
3b74cdc3 JK |
223 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
224 | ||
225 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
226 | ||
5a352474 JK |
227 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
228 | ||
229 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
230 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
231 | LOC_COMMON_BLOCK. | |
232 | * f-valprint.c (info_common_command_for_block): Expect | |
233 | LOC_COMMON_BLOCK in gdb_assert. | |
234 | * symtab.h (struct general_symbol_info): Update comment for the | |
235 | common_block member. | |
236 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
237 | (enum address_class): New member LOC_COMMON_BLOCK. | |
238 | ||
c60797fd DB |
239 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
240 | ||
241 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 242 | |
46f35228 TT |
243 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
244 | ||
245 | PR c++/14999: | |
246 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
247 | Call require_rvalue. | |
248 | ||
257e7a09 YQ |
249 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
250 | ||
251 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
252 | (dbx_read_symtab): New declaration. | |
253 | (dbx_psymtab_to_symtab): Delete. | |
254 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
255 | Rename parameter PST to SELF. Exchanged two parameters. | |
256 | (start_psymtab): Caller update. | |
257 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
258 | (dwarf2_read_symtab): New declaration. | |
259 | (dwarf2_psymtab_to_symtab): Delete. | |
260 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
261 | Rename parameter PST to SELF. Exchanged two parameters. | |
262 | (create_partial_symtab): Caller update. | |
263 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
264 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
265 | Rename parameter PST to SELF. Exchanged two parameters. | |
266 | (parse_partial_symbols, new_psymtab): Caller update. | |
267 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
268 | two parameters. | |
269 | * psymtab.c (psymtab_to_symtab): Caller update. | |
270 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
271 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
272 | Rename parameter PST to SELF. Exchanged two parameters. | |
273 | (xcoff_start_psymtab): Caller update. | |
274 | ||
0de5618e YQ |
275 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
276 | ||
277 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
278 | 'force_step'. | |
279 | ||
5c04624b DE |
280 | 2013-01-17 Doug Evans <dje@google.com> |
281 | ||
848e3e78 DE |
282 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
283 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
284 | ||
5c04624b DE |
285 | * symtab.h (struct symbol_search): Add comment. |
286 | ||
d84fca2c JK |
287 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
288 | ||
289 | * symtab.c (compare_filenames_for_search): New comment for | |
290 | HAS_DRIVE_SPEC. | |
291 | ||
6108433d TT |
292 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
293 | ||
294 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
295 | ||
c89ffd86 JK |
296 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
297 | ||
298 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
299 | initialize it by existing make_cleanup. Call new do_cleanups. | |
300 | ||
db2b2972 TT |
301 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
302 | ||
303 | * cp-abi.c (cp_abi_completer): New function. | |
304 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
305 | ||
be7d37a2 TT |
306 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
307 | ||
308 | * mem-break.c: Remove obsolete comment. | |
309 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
310 | ||
c9fb1240 SD |
311 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
312 | ||
313 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
314 | as an absolute path if it begins with a forward slash. | |
315 | ||
db334a01 SD |
316 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
317 | ||
318 | PR gdb/14550 | |
319 | ||
320 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
321 | NULL superblock. | |
322 | ||
7d928dac PA |
323 | 2013-01-17 Pedro Alves <palves@redhat.com> |
324 | ||
325 | * acinclude.m4: Include ../config/plugins.m4, | |
326 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
327 | * Makefile.in (aclocal_m4_deps): Update. | |
328 | * aclocal.m4: Renegerate. | |
329 | ||
fb8cf7c5 DE |
330 | 2013-01-16 Doug Evans <dje@google.com> |
331 | ||
332 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
333 | ||
ab04a2af TT |
334 | 2013-01-16 Pedro Alves <palves@redhat.com> |
335 | Tom Tromey <tromey@redhat.com> | |
336 | ||
337 | PR cli/7221: | |
338 | * NEWS: Add "catch signal". | |
339 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
340 | (bpstat_explains_signal): New function. | |
341 | (init_catchpoint): No longer static. | |
342 | (base_breakpoint_explains_signal): New function. | |
343 | (base_breakpoint_ops): Initialize new field. | |
344 | * breakpoint.h (enum bpstat_signal_value): New. | |
345 | (struct breakpoint_ops) <explains_signal>: New field. | |
346 | (bpstat_explains_signal): Remove macro, declare as function. | |
347 | (base_breakpoint_ops, init_catchpoint): Declare. | |
348 | * break-catch-sig.c: New file. | |
349 | * inferior.h (signal_catch_update): Declare. | |
350 | * infrun.c (signal_catch): New global. | |
351 | (handle_syscall_event): Update for change to | |
352 | bpstat_explains_signal. | |
353 | (handle_inferior_event): Likewise. Always handle random signals | |
354 | via bpstats. | |
355 | (signal_cache_update): Check signal_catch. | |
356 | (signal_catch_update): New function. | |
357 | (_initialize_infrun): Initialize signal_catch. | |
358 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
359 | (COMMON_OBS): Add break-catch-sig.o. | |
360 | ||
8ac3646f TT |
361 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
362 | ||
363 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
364 | (print_one_catch_solib, print_one_catch_syscall) | |
365 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
366 | "catch-type". | |
367 | ||
5a18e302 YQ |
368 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
369 | ||
370 | * printcmd.c (current_display_number): Make it static. | |
371 | ||
3f01d0d0 YQ |
372 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
373 | ||
374 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
375 | checked before. | |
376 | ||
1ed59174 JK |
377 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
378 | ||
379 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
380 | ||
44478ab3 TT |
381 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
382 | ||
383 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
384 | set command. | |
385 | * command.h (add_setshow_string_noescape_cmd): Update. | |
386 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
387 | (complete_set_gnutarget): New function. | |
388 | (_initialize_core): Set the "set gnutarget" completer. | |
389 | ||
06d66ee9 TT |
390 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
391 | ||
392 | PR symtab/14442: | |
393 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
394 | (c_type_print_modifier): Likewise. | |
395 | * dwarf2read.c (read_tag_restrict_type): New function. | |
396 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
397 | * gdbtypes.c (make_restrict_type): New function. | |
398 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
399 | * gdbtypes.h (enum type_flag_values): Renumber. | |
400 | (enum type_instance_flag_value): Add | |
401 | TYPE_INSTANCE_FLAG_RESTRICT. | |
402 | (TYPE_RESTRICT): New macro. | |
403 | (make_restrict_type): Declare. | |
404 | ||
c9bf0622 TT |
405 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
406 | ||
407 | PR symtab/14931: | |
408 | * psymtab.c (struct psymtab_state): New. | |
409 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
410 | functions. | |
411 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
412 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
413 | ||
44d594fd PA |
414 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
415 | Pedro Alves <palves@redhat.com> | |
416 | ||
417 | PR remote/14786 | |
418 | ||
419 | * remote.c (remote_threads_info): Make a copy of the reply from | |
420 | qfThreadInfo and use that instead of rs->buf. | |
421 | ||
442e4d9c YQ |
422 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
423 | ||
424 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
425 | (dbx_psymtab_to_symtab): Likewise. | |
426 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
427 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
428 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
429 | ||
5b12a61c JK |
430 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
431 | ||
432 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
433 | make_cleanup_restore_current_language. Call set_language. Move | |
434 | OLD_CHAIN and INNER_CHAIN cleanups. | |
435 | * utils.c (do_restore_current_language) | |
436 | (make_cleanup_restore_current_language): New functions. | |
437 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
438 | ||
f0a4b570 JK |
439 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
440 | ||
441 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
442 | non-existing files. | |
443 | ||
57b3c00c JK |
444 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
445 | non-existing files if FILENAME is already absolute. | |
446 | ||
daefa854 JK |
447 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
448 | ||
449 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
450 | fputs_filtered. Append trailing newline. | |
451 | ||
ca9c6ee2 YQ |
452 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
453 | Stan Shebs <stan@codesourcery.com> | |
454 | ||
455 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
456 | ||
f28045c2 YQ |
457 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
458 | ||
459 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
460 | (update_dprintf_command_list): Assert that 'printf_line' is | |
461 | non-null. Remove condition check. | |
462 | ||
da5132d3 JK |
463 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
464 | ||
465 | Code cleanup. | |
466 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
467 | type const char *. | |
468 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
469 | const char *. | |
470 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
471 | ||
843e694d AG |
472 | 2013-01-09 Anthony Green <green@moxielogic.com> |
473 | ||
474 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
475 | function. | |
476 | * ada-lang.c (re_set_catch_assert): Ditto. | |
477 | ||
da51c347 DE |
478 | 2013-01-09 Doug Evans <dje@google.com> |
479 | ||
480 | * symfile.h (quick_symbol_functions): Delete member | |
481 | pre_expand_symtabs_matching. All uses removed. | |
482 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
483 | (dw2_do_expand_symtabs_matching): Delete. | |
484 | (dw2_pre_expand_symtabs_matching): Delete. | |
485 | (struct dw2_symtab_iterator): New type. | |
486 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
487 | (dw2_expand_symtabs_for_function): Rewrite. | |
488 | (dwarf2_gdb_index_functions): Update. | |
489 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
490 | (psym_functions): Update. | |
491 | ||
b2259038 TT |
492 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
493 | ||
494 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
495 | * configure: Rebuild. | |
496 | * configure.ac: Add somread.o to the build if BFD has SOM | |
497 | support. | |
498 | * somread.c: Include som/aout.h, not syms.h. | |
499 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
500 | Unpack records manually. | |
501 | (_initialize_somread): Declare. | |
502 | ||
bdad4180 MF |
503 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
504 | ||
505 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
506 | Cast return_address to 64bits. | |
507 | ||
03cdf680 HZ |
508 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
509 | ||
510 | * printcmd.c: Remove define of function output_command. | |
511 | * tracepoint.c: Remove extern of function output_command. | |
512 | * valprint.h: (output_command): New extern. | |
513 | ||
8a808554 TT |
514 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
515 | ||
516 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
517 | Remove. | |
518 | (objc_language_defn): Use c_printchar, c_printstr, | |
519 | c_emit_char. | |
520 | ||
e93a8774 TT |
521 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
522 | ||
523 | PR cli/7719: | |
524 | * NEWS: Update. | |
525 | * ada-valprint.c (printstr, print_field_values): Remove | |
526 | "inspect_it" code. | |
527 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
528 | code. | |
529 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
530 | code. | |
531 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
532 | * main.c (captured_main): Remove "epoch" argument. | |
533 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
534 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
535 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
536 | "inspect_it" code. | |
537 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
538 | (print_command, call_command): Update. | |
539 | (inspect_command): Remove. | |
540 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
541 | * top.c (epoch_interface): Remove. | |
542 | * top.h (epoch_interface): Remove. | |
543 | * valprint.c (user_print_options): Update. | |
544 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
545 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
546 | field. | |
547 | ||
548 | 2013-01-04 Tom Tromey <tromey@redhat.com> | |
549 | ||
550 | * valprint.h (read_string): Add 'extern'. | |
551 | ||
b967eb24 JB |
552 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
553 | ||
554 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
555 | used to decide whether to define darwin_read_dyld_info or not. | |
556 | ||
78a8b30e PM |
557 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
558 | ||
559 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
560 | if DIR is empty. | |
561 | ||
50da2f25 YQ |
562 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
563 | ||
564 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
565 | (fixup_psymbol_section): Remove code returning value. | |
566 | ||
e7e8980f YQ |
567 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
568 | ||
569 | * symtab.h: Remove some out of date comments. | |
570 | (enum exception_event_kind): Move it ... | |
571 | * breakpoint.c: ... here. | |
572 | ||
569283d4 MF |
573 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
574 | ||
9f9d9a96 | 575 | PR gdb/14405 |
569283d4 MF |
576 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
577 | TASK_DYLD_INFO_COUNT is defined. | |
578 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
579 | TASK_DYLD_INFO_COUNT is defined. | |
580 | ||
2e36fbea TT |
581 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
582 | ||
583 | * symfile.h (struct ecoff_debug_hack): Remove. | |
584 | * objfiles.c: Don't include mdebugread.h. | |
585 | ||
4f05add4 TT |
586 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
587 | ||
588 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
589 | * configure.ac: Check for Mach-O support in BFD. Update | |
590 | CONFIG_OBS. | |
591 | * configure: Rebuild. | |
592 | ||
def63ff0 TT |
593 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
594 | ||
595 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
596 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
597 | * configure: Rebuild. | |
598 | ||
60c5dd93 MK |
599 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
600 | ||
601 | * MAINTAINERS: Update my email. | |
602 | ||
6e58437e JB |
603 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
604 | ||
605 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
606 | ||
627fe805 JB |
607 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
608 | ||
609 | * rs6000-nat.c (bss_data_overlap): New function. | |
610 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
611 | ||
28e7fd62 JB |
612 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
613 | ||
614 | Update year range in copyright notice of all files. | |
615 | ||
e93a8774 | 616 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
b9786c74 JB |
617 | |
618 | * top.c (print_gdb_version): Update copyright year. | |
619 | ||
72b20e9c | 620 | For older changes see ChangeLog-2012. |
c906108c SS |
621 | \f |
622 | Local Variables: | |
623 | mode: change-log | |
624 | left-margin: 8 | |
625 | fill-column: 74 | |
626 | version-control: never | |
57da7796 | 627 | coding: utf-8 |
c906108c | 628 | End: |