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