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