Reformat.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
40c549d6
TT
12010-03-18 Tom Tromey <tromey@redhat.com>
2
3 * infcmd.c (finish_command_continuation): Wrap print_return_value
4 in TRY_CATCH.
5
441b986a
UW
62010-03-18 Ulrich Weigand <uweigand@de.ibm.com>
7
8 * mi/mi-main.c (mi_cmd_list_thread_groups): Use get_current_arch
9 instead of selected frame architecture.
10
4247603b
PA
112010-03-18 Pedro Alves <pedro@codesourcery.com>
12
13 * infcmd.c (until_command): Use ERROR_NO_INFERIOR. Ensure there's
14 a valid selected thread, and that it is not running.
15 (advance_command): Ditto.
16 (finish_command): Ditto.
17
400c6af0
SS
182010-03-17 Stan Shebs <stan@codesourcery.com>
19
3a96536b
SS
20 * ax-gdb.c (require_rvalue): Disallow non-scalars.
21
573cda03
SS
22 * infcall.c: Include tracepoint.h.
23 (call_function_by_hand): Disallow calls in tfind mode.
24 * infcmd.c: Include tracepoint.h.
25 (ensure_not_tfind_mode): New function.
26 (continue_1): Call it.
27 (step_1) Ditto.
28 (jump_command): Ditto.
29 (signal_command): Ditto.
30 (advance_command): Ditto.
31 (until_command): Ditto.
32 (finish_command): Ditto.
33 * tracepoint.h (disconnect_or_stop_tracing): Declare.
34
400c6af0
SS
35 * ax-gdb.h (struct axs_value): New field optimized_out.
36 (gen_trace_for_var): Add gdbarch argument.
37 * ax-gdb.c (gen_trace_static_fields): New function.
38 (gen_traced_pop): Call it, add gdbarch argument.
39 (gen_trace_for_expr): Update call to it.
40 (gen_trace_for_var): Ditto, and report optimized-out variables.
41 (gen_struct_ref_recursive): Check for optimized-out value.
42 (gen_struct_elt_for_reference): Ditto.
43 (gen_static_field): Pass gdbarch instead of expression, assume
44 optimization if field not found.
45 (gen_var_ref): Set the optimized_out flag.
46 (gen_expr): Error on optimized-out variable.
47 * tracepoint.c (collect_symbol): Handle struct-valued vars as
48 expressions, skip optimized-out variables with computed locations.
49 * dwarf2loc.c (dwarf2_tracepoint_var_ref): Flag instead of
50 erroring out if location expression missing.
51 (loclist_tracepoint_var_ref): Don't error out here.
52
a3b2a86b
TT
532010-03-17 Tom Tromey <tromey@redhat.com>
54
55 * dwarf2read.c (dwarf2_get_section_info): Handle case where no
56 DWARF data is available.
57
38963c97
DJ
582010-03-17 Daniel Jacobowitz <dan@codesourcery.com>
59
60 * symfile.c (generic_load): Reset breakpoints after loading.
61
ddabfc73
TT
622010-03-17 Tom Tromey <tromey@redhat.com>
63
64 * linux-nat.c (linux_nat_detach): Check debug_linux_nat.
65
d8c09fb5
JK
662010-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
67
68 * spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the
69 create_breakpoint call, adjust the parameters.
70
bbb0eef6
JK
712010-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
72 Chandru <chandru@in.ibm.com>
73
74 * dwarf2read.c (read_subrange_type): Set TYPE_HIGH_BOUND_UNDEFINED.
75 * valarith.c (value_subscripted_rvalue): Suppress error if
76 TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED.
77
46956e39
HZ
782010-03-16 Holger Hans Peter Freyther <zecke@selfish.org>
79
80 * linux-record.c (record_linux_msghdr): Remove unintended semicolons.
81
b8d088ac
JB
822010-03-16 Joel Brobecker <brobecker@adacore.com>
83
84 * ada-tasks.c (task_command_1): Check that the task ptid is valid
85 before doing the associated thread switch.
86
322be962
DJ
872010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
88
89 * MAINTAINERS: Update my email address.
90
8cdf0e15
VP
912010-03-16 Vladimir Prus <vladimir@codesourcery.com>
92
93 Simplify MI breakpoint setting.
94
95 * breakpoint.c (break_command_really): Make nonstatic and
96 rename to...
97 (create_breakpoint): ...this. Rename prior function by this name
98 to...
99 (create_breakpoint_sal): ...this.
100 (create_breakpoints): Rename to...
101 (create_breakpoints_sal): ...this.
102 (set_breakpoint): Remove.
103 * breakpoint.h: Adjust to above changes.
104 * mi/mi-cmd-break.c (mi_cmd_break_insert): Simplify.
105
b6e7192f
SS
1062010-03-15 Stan Shebs <stan@codesourcery.com>
107
108 * ax-gdb.c: Include cp-support.h.
109 (find_field): Remove.
110 (gen_primitive_field): New function.
111 (gen_struct_ref_recursive): New function.
112 (gen_struct_ref): Rewrite to call gen_struct_ref_recursive instead
113 of find_field.
114 (gen_static_field): New function.
115 (gen_struct_elt_for_reference): New.
116 (gen_namespace_elt): New.
117 (gen_maybe_namespace_elt): New.
118 (gen_aggregate_elt_ref): New.
119 (gen_expr): Add OP_SCOPE, display opcode name in error message.
120
1054b214
TT
1212010-03-15 Tom Tromey <tromey@redhat.com>
122
123 * dwarf2read.c (die_needs_namespace): Also return 0 for
124 DW_TAG_subprogram.
125
13387711
SW
1262010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
127
128 PR c++/7936:
129 * cp-support.h: Added char *declaration element to using_direct
130 data struct.
131 (cp_add_using): Added char *declaration argument.
132 (cp_add_using_directive): Ditto.
133 (cp_lookup_symbol_imports): made extern.
134 * cp-namespace.c: Updated with the above changes.
135 * dwarf2read.c (read_import_statement): Ditto.
136 (read_namespace): Ditto.
137 (read_import_statement): Support import declarations.
138 * cp-namespace.c (cp_lookup_symbol_imports): Check for imported
139 declarations.
140 Added support for 'declaration_only' search.
141 (cp_lookup_symbol_namespace): Attempt to search for the name as
142 is before consideration of imports.
143 * symtab.c (lookup_symbol_aux_local): Added a 'declaration_only'
144 search at every block level search.
145 Now takes language argument.
146 (lookup_symbol_aux): Updated.
147
6e31430b
TT
1482010-03-15 Tom Tromey <tromey@redhat.com>
149
150 * c-exp.y (name_not_typename): Add 'operator' clause.
151
4dea3bb7 1522010-03-15 Ralf Corsepius <ralf.corsepius@rtems.org> (tiny change)
bf307134
JB
153
154 * configure.ac: Exit if ${gdb_target_obs}" is not set.
155 * configure: Regenerate.
156
4d9743af
JK
1572010-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
158
159 * symfile.c (addr_info_make_relative): Ignore also missing ".dynbss"
160 and ".sdynbss". Update the comment.
161
f75150fe
JZ
1622010-03-15 Jie Zhang <jie@codesourcery.com>
163
164 * MAINTAINERS: Update my email address.
165
3c13bc11
DJ
1662010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
167
168 * gdbtypes.h (TYPE_IS_OPAQUE): Correct HAVE_CPLUS_STRUCT check.
169
43484f03
DJ
1702010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
171
172 * charset.c [USE_WIN32API]: Include <windows.h>.
173 (_initialize_charset): Correct type of w32_host_default_charset.
174
5f25d77d
PA
1752010-03-14 Pedro Alves <pedro@codesourcery.com>
176
177 * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid.
178
1c809c68
TT
1792010-03-12 Tom Tromey <tromey@redhat.com>
180
181 PR c++/9708:
182 * dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: A variable
183 in a lexical block does not need a namespace.
184 (new_symbol) <DW_TAG_variable>: Put extern variables on
185 list_in_scope in all cases.
186
948103cf
SS
1872010-03-12 Stan Shebs <stan@codesourcery.com>
188
189 * ax-gdb.c (gen_expr): Add shift expressions.
190 (gen_expr_binop_rest): Ditto.
191
00ae8fef
SW
1922010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
193
194 * buildsym.c (finish_block): Reset using_directives pointer
195 after block initialization.
196
9cad29ac
L
1972010-03-12 H.J. Lu <hongjiu.lu@intel.com>
198
199 * amd64-tdep.c (amd64_word_names): Replace "sp" with "".
200 * i386-tdep.c (i386_word_names): Likewise.
201
2f4d8875
PA
2022010-03-12 Pedro Alves <pedro@codesourcery.com>
203
204 * target.c (memory_xfer_partial): Don't use the stack cache if
205 inspecting trace frames.
206 * tracepoint.c (finish_tfind_command): Invalidate the target
207 dcache.
208
ccf26247
JK
2092010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
210
211 * solib-svr4.c (LM_ADDR_CHECK) <info_verbose>: Use printf_unfiltered
212 for the PIC displacement, print also the displacement value.
213 (svr4_exec_displacement): Print DISPLACEMENT if INFO_VERBOSE.
214
477c84a7
KB
2152010-03-10 Kevin Buettner <kevinb@redhat.com>
216
217 * remote-mips.c (close_ports, mips_initialize_cleanups)
218 (mips_exit_cleanups, mips_send_command, mips_open, pmon_open)
219 (ddb_open, lsi_open, mips_remove_breakpoint, mips_remove_watchpoint)
220 (mips_stopped_by_watchpoint, send_srec, pmon_checkset)
221 (pmon_make_fastrec, pmon_check_ack, mips_expect_download)
222 (pmon_check_entry_address, pmon_check_total, pmon_end_download)
223 (pmon_download, pmon_load_fast, _initialize_remote_mips): Add
224 comments describing each of these functions.
225 (mips_enter_debug, mips_exit_debug, common_open)
226 (mips_signal_from_protocol, pmon_makeb64, pmon_zeroset): Add
227 blank line after the comment describing the function.
228
01c30d6e
JK
2292010-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
230
231 * solib-svr4.c (svr4_exec_displacement): Return now success, new
232 parameter displacementp. Update comment.
233 (svr4_relocate_main_executable): Return if non-zero SECTION_OFFSETS
234 element exists. Return if svr4_exec_displacement was not successful.
235 Update comment.
236
09919ac2
JK
2372010-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
238 Daniel Jacobowitz <dan@codesourcery.com>
239
240 * solib-svr4.c (read_program_header): Support type == -1 to read
241 all program headers.
242 (read_program_headers_from_bfd): New function.
243 (svr4_static_exec_displacement): Remove and move the comment ...
244 (svr4_exec_displacement): ... here. Remove variable found. New
245 variable displacement. Check also DYNAMIC. Verify DISPLACEMENT
246 alignment for ELF targets. Compare target vs. exec_bfd PHDRs for ELF
247 targets using read_program_headers_from_bfd. Remove the call of
248 svr4_static_exec_displacement.
249
d146bf1e
TT
2502010-03-10 Tom Tromey <tromey@redhat.com>
251
252 * dwarf2read.c (struct pubnames_header): Remove.
253 (_PUBNAMES_HEADER): Remove.
254 (_ACTUAL_PUBNAMES_HEADER_SIZE): Remove.
255 (struct aranges_header): Remove.
256 (_ARANGES_HEADER, _ACTUAL_ARANGES_HEADER_SIZE): Remove.
257 (struct dwarf2_per_objfile) <pubnames, aranges>: Remove.
258 (PUBNAMES_SECTION): Remove.
259 (ARANGES_SECTION): Remove.
260 (dwarf2_locate_sections): Don't handle pubnames or aranges.
261 (dwarf2_build_psymtabs): Remove dead code.
262 (dwarf2_build_psymtabs_easy): Remove.
263
be391dca
TT
2642010-03-10 Tom Tromey <tromey@redhat.com>
265
266 * elfread.c (elf_symfile_read): Don't call
267 dwarf2_build_frame_info.
268 * dwarf2read.c (struct dwarf2_section_info) <readin>: New field.
269 (struct dwarf2_per_objfile) <objfile>: New field.
270 (dwarf2_has_info): Now idempotent. Set objfile field.
271 (dwarf2_read_section): Check and set readin field. Call
272 posix_madvise.
273 (dwarf2_build_psymtabs): Don't read all sections.
274 (read_type_comp_unit_head): Read types section.
275 (create_debug_types_hash_table): Likewise.
276 (init_cu_die_reader): Add asserts.
277 (process_type_comp_unit): Add assert.
278 (dwarf2_build_psymtabs_hard): Read info section.
279 (load_partial_comp_unit): Add assert.
280 (create_all_comp_units): Read info section.
281 (load_full_comp_unit): Likewise.
282 (dwarf2_ranges_read): Read ranges section.
283 (dwarf2_record_block_ranges): Add assert.
284 (dwarf2_read_abbrevs): Read abbrev section.
285 (read_indirect_string): Read str section.
286 (dwarf_decode_line_header): Read line section.
287 (read_signatured_type_at_offset): Read types section.
288 (dwarf_decode_macros): Read macinfo section.
289 (dwarf2_symbol_mark_computed): Read loc section.
290 * dwarf2-frame.c (dwarf2_frame_find_fde): Call
291 dwarf2_build_frame_info.
292 (dwarf2_build_frame_info): Unconditionally set
293 dwarf2_frame_objfile_data on the objfile.
294 * configure.ac: Check for posix_madvise.
295 * config.in, configure: Rebuild.
296
ccefe4c4
TT
2972010-03-10 Tom Tromey <tromey@redhat.com>
298
e38df1d0
TT
299 * xcoffread.c (xcoff_start_psymtab): Update.
300 (xcoff_end_psymtab): Update.
301 * psymtab.c (allocate_psymtab): Remove dead code.
302 * psympriv.h (struct partial_symtab) <read_symtab_private>: Now
303 void*.
304 * mdebugread.c (parse_partial_symbols): Update.
305 (new_psymtab): Likewise.
306 * dwarf2read.c (process_psymtab_comp_unit): Update.
307 (psymtab_to_symtab_1): Update.
308 * dbxread.c (start_psymtab): Update.
309 (end_psymtab): Likewise.
310
be391dca 3112010-03-10 Tom Tromey <tromey@redhat.com>
e38df1d0 312
ccefe4c4
TT
313 * xcoffread.c: Include psymtab.h.
314 (xcoff_sym_fns): Update.
315 * symtab.h (struct partial_symbol): Remove.
316 (PSYMBOL_DOMAIN, PSYMBOL_CLASS): Remove.
317 (struct partial_symtab): Remove.
318 (PSYMTAB_TO_SYMTAB): Remove.
319 (lookup_partial_symbol, lookup_partial_symtab, find_pc_psymtab)
320 (find_pc_sect_psymtab): Remove.
321 (find_pc_sect_symtab_via_partial): Declare.
322 (find_pc_psymtab, find_pc_sect_psymbol, psymtab_to_symtab)
323 (find_main_psymtab): Remove.
324 (find_main_filename): Declare.
325 (fixup_psymbol_section): Remove.
326 (fixup_section): Declare.
327 * symtab.c: Include psymtab.h.
328 (lookup_symtab): Use lookup_symtab method.
329 (lookup_partial_symtab): Remove.
330 (find_pc_sect_psymtab_closer): Remove.
331 (find_pc_sect_psymtab): Remove.
332 (find_pc_sect_symtab_via_partial): New function.
333 (find_pc_psymtab, find_pc_sect_psymbol, find_pc_psymbol): Remove.
334 (fixup_section): No longer static.
335 (fixup_psymbol_section): Remove.
336 (lookup_symbol_aux): Use lookup_symbol_aux_quick.
337 (lookup_global_symbol_from_objfile): Likewise.
338 (lookup_symbol_aux_psymtabs): Remove.
339 (lookup_symbol_aux_quick): New function.
340 (lookup_symbol_global): Use lookup_symbol_aux_quick.
341 (lookup_partial_symbol): Remove.
342 (basic_lookup_transparent_type_quick): New function.
343 (basic_lookup_transparent_type): Use it.
344 (find_main_psymtab): Remove.
345 (find_main_filename): New function.
346 (find_pc_sect_symtab): Use find_pc_sect_symtab method.
347 (find_line_symtab): Use expand_symtabs_with_filename method.
348 (output_partial_symbol_filename): New function.
349 (sources_info): Use map_partial_symbol_filenames.
350 (struct search_symbols_data): New type.
351 (search_symbols_file_matches): New function.
352 (search_symbols_name_matches): Likewise.
353 (search_symbols): Use expand_symtabs_matching method.
354 (struct add_name_data): Rename from add_macro_name_data.
355 (add_macro_name): Update.
356 (add_partial_symbol_name): New function.
357 (default_make_symbol_completion_list): Use
358 map_partial_symbol_names.
359 (struct add_partial_symbol_name): New type.
360 (maybe_add_partial_symtab_filename): New function.
361 (make_source_files_completion_list): Use
362 map_partial_symbol_filenames.
363 (expand_line_sal): Use expand_symtabs_with_filename method.
364 * symmisc.c: Include psymtab.h.
365 (print_objfile_statistics): Use print_stats method.
366 (dump_objfile): Use dump method.
367 (dump_psymtab, maintenance_print_psymbols)
368 (maintenance_info_psymtabs, maintenance_check_symtabs)
369 (extend_psymbol_list): Remove.
370 * symfile.h (struct quick_symbol_functions): New struct.
371 (struct sym_fns) <qf>: New field.
372 (sort_pst_symbols): Remove.
373 (increment_reading_symtab): Declare.
374 * symfile.c: Include psymtab.h.
375 (compare_psymbols, sort_pst_symbols): Remove.
376 (psymtab_to_symtab): Remove.
377 (increment_reading_symtab): New function.
378 (symbol_file_add_with_addrs_or_offsets): Use expand_all_symtabs
379 method.
380 (set_initial_language): Use find_main_filename.
381 (allocate_psymtab, discard_psymtab, cashier_psymtab): Remove.
382 (free_named_symtabs): Remove unused code.
383 (start_psymtab_common, add_psymbol_to_bcache)
384 (append_psymbol_to_list, add_psymbol_to_list, init_psymbol_list):
385 Remove.
386 * stack.c: Include psymtab.h, symfile.h.
387 (backtrace_command_1): Use find_pc_sect_symtab_via_partial.
388 * source.h (psymtab_to_fullname): Don't declare.
389 * source.c: Include psymtab.h.
390 (select_source_symtab): Use find_last_source_symtab method.
391 (forget_cached_source_info): Use forget_cached_source_info
392 method.
393 (find_and_open_source): No longer static.
394 (psymtab_to_fullname): Remove.
395 * somread.c: Include psymtab.h.
396 (som_sym_fns): Update.
397 * psympriv.h: New file.
398 * psymtab.h: New file.
399 * psymtab.c: New file.
400 * objfiles.h: (ALL_OBJFILE_PSYMTABS): Remove.
401 (ALL_PSYMTABS, ALL_PSPACE_PSYMTABS): Likewise.
402 * objfiles.c: Include psymtab.h.
403 (objfile_relocate1): Use relocate method.
404 (objfile_has_partial_symbols): Use has_symbols method.
405 * mipsread.c: Include psymtab.h.
406 (ecoff_sym_fns): Update.
407 * mi/mi-cmd-file.c: Include psymtab.h.
408 (print_partial_file_name): New function.
409 (mi_cmd_file_list_exec_source_files): Use
410 map_partial_symbol_filenames.
411 * mdebugread.c: Include psympriv.h.
412 * machoread.c: Include psympriv.h.
413 (macho_sym_fns): Update.
414 * m2-exp.y (yylex): Use lookup_symtab.
415 * elfread.c: Include psympriv.h.
416 (elf_sym_fns): Update.
417 * dwarf2read.c: Include psympriv.h.
418 * dbxread.c: Include psympriv.h.
419 (aout_sym_fns): Update.
420 * cp-support.c: Include psymtab.h.
421 (read_in_psymtabs): Remove.
422 (make_symbol_overload_list_qualified): Use
423 expand_symtabs_for_function method.
424 * coffread.c: Include psympriv.h.
425 (coff_sym_fns): Update.
426 * blockframe.c: Include psymtab.h.
427 (find_pc_partial_function): Use find_pc_sect_symtab method.
428 * ada-lang.h (ada_update_initial_language): Update.
429 * ada-lang.c: Include psymtab.h.
430 (ada_update_initial_language): Remove 'main_pst' argument.
431 (ada_lookup_partial_symbol): Remove.
432 (struct ada_psym_data): New type.
433 (ada_add_psyms): New function.
434 (ada_add_non_local_symbols): Use map_ada_symtabs method.
435 (struct add_partial_datum): New type.
436 (ada_add_partial_symbol_completions): New function.
437 (ada_make_symbol_completion_list): Use map_partial_symbol_names.
438 (ada_exception_support_info_sniffer): Update.
439 * Makefile.in (SFILES): Add psymtab.c.
440 (COMMON_OBS): Add psymtab.o.
441 (HFILES_NO_SRCDIR): Add psymtab.h, psympriv.h.
442
7d8500b7
PM
4432010-03-10 Pierre Muller <muller@ics.u-strasbg.fr>
444
445 * remote-fileio.c (cygwin_conv_path): Define macro for old cygwin API.
446
c0cc3a76
SW
4472010-03-10 Sami Wagiaalla <swagiaal@redhat.com>
448
449 PR C++/11236:
450 * cp-namespace.c (cp_add_using): Deleted.
451 (cp_add_using_directive): Use obstack allocations.
452 Merged the function cp_add_using into this one.
453 Added 'struct obstack *' argument.
454 (cp_scan_for_anonymous_namespaces): Updated.
455 * cp-support.h: Updated.
456 * dwarf2read.c (read_import_statement): Updated.
457 (read_namespace): Updated.
458
452fa064
CF
4592010-03-10 Pierre Muller <muller@ics.u-strasbg.fr>
460
461 * windows-nat.c (cygwin_conv_path): Remove old macro.
462
60e1c644
PA
4632010-03-10 Pedro Alves <pedro@codesourcery.com>
464
465 * breakpoint.c (condition_command): Handle watchpoint conditions.
466 (is_hardware_watchpoint): Add comment.
467 (is_watchpoint): New.
468 (update_watchpoint): Don't reparse the watchpoint's condition
469 unless necessary.
470 (WP_IGNORE): New.
471 (watchpoint_check): Use it.
472 (bpstat_check_watchpoint): Handle it.
473 (bpstat_check_breakpoint_conditions): Evaluate watchpoint local
474 conditions in a frame where it makes sense.
475 (watch_command_1): Store the innermost block of the condition
476 expression.
477 (delete_breakpoint): Delete the watchpoint condition expression.
478 * breakpoint.h (struct bp_location) <cond>: Update comment.
479 (struct breakpoint): New field `cond_exp_valid_block'.
480
af6b7be1
JB
4812010-03-09 Joel Brobecker <brobecker@adacore.com>
482
483 Adjust handling of Ada DIEs after dwarf2_physname patch.
484 * dwarf2read.c (dwarf2_compute_name): Add handling of Ada DIEs.
485
60c5c021
CF
4862010-03-09 Christopher Faylor <me+cygwin@cgf.cx>
487 Pierre Muller <muller@ics.u-strasbg.fr>
488
489 * windows-nat.c (cygwin_conv_path): Redefine to properly convert
490 from/to posix/win32.
491 (windows_make_so): Use non-Cygwin 1.7 specific function.
492 (windows_create_inferior): Make sure that cygallargs points to
493 original args in non Cygwin 1.7. case.
494
60a1502a
MS
4952010-03-09 Michael Snyder <msnyder@vmware.com>
496
497 * i386-tdep.c (i386_record_lea_modrm_addr): Use extract_signed_int
498 after target_read_memory to get host byte order.
499 (i386_process_record): Ditto.
500
94af9270
KS
5012010-03-09 Keith Seitz <keiths@redhat.com>
502
503 Based on work from Daniel Jacobowitz <dan@codesourcery.com>
504 * c-typeprint.c (cp_type_print_method_args): For non-static methods,
505 print out const or volatile qualifiers, too.
506 (c_type_print_args): Add parameters show_artificial and language.
507 Skip artificial parameters when requested.
508 Use the appropriate language printer.
509 (c_type_print_varspec): Tell c_type_print_args to skip artificial
510 parameters and pass language_c.
511 * dwarf2read.c (die_list): New file global.
512 (struct partial_die_info): Update comments for name field.
513 (pdi_needs_namespace): Renamed to ...
514 (die_needs_namespace): ... this. Rewrite.
515 (dwarf2_linkage_name): Remove.
516 (add_partial_symbol): Do not predicate the call to
517 partial_die_full_name based on pdi_needs_namespace.
518 Remove call to cp_check_possible_namespace_symbols and associated
519 outdated comments.
520 (guess_structure_name): Do not inspect child subprogram DIEs.
521 (dwarf2_fullname): Update comments.
522 Use die_needs_namespace to assist in computing the name.
523 (read_func_scope): Use dwarf2_name to get the DIE's name.
524 Use dwarf2_physname to get the "linkage name" of the DIE.
525 (dwarf2_add_member_field): Use dwarf2_physname instead of
526 dwarf2_linkage_name.
527 (read_structure_type): For structs and classes, set TYPE_NAME, too.
528 (determine_class): Remove.
529 (read_partial_die): Ignore DW_AT_MIPS_linkage_name for all languages
530 except Ada.
531 (new_symbol): Unconditionally call dwarf2_name.
532 Compute the "linkage name" using dwarf2_physname.
533 Use dwarf2_name instead of dwarf2_full_name for enumerator DIEs.
534 When determining to scan for anonymous C++ namespaces, ignore
535 the linkage name.
536 (dwarf2_physname): New function.
537 (dwarf2_full_name): Move content to new function and call
538 that.
539 (dwarf2_compute_name): "New" function.
540 (_initialize_dwarf2_read): Initialize die_list.
541 * gnu-v3-eabi.c (gnu_v3_find_method_in): Remove unused variable
542 physname.
543 (gnu_v3_print_method_ptr): Use the physname for virtual methods
544 without a demangled name.
545 Print out type information for non-virtual methods.
546 * linespec.c (decode_line_1): Force ANY string using "::" (or
547 "." for java) to use decode_compound, and clean up any stray quoting.
548 If we found a file symtab, re-evaluate whether the remainder is_quoted.
549 (decode_compound): Stop consuming at an open parenthesis.
550 Keep template parameters.
551 Keep any overload information.
552 Keep keywords like "const".
553 Remove paren_pointer.
554 Move is_quoted check from set_flags to here.
555 Remove #if 0 code from 2000. Ten years is long enough.
556 (find_method): Before comparing symbol names, canonicalize the string
557 from the user.
558 If a specific overload is requested, find it. Otherwise throw an error.
559 (find_method_overload_end): New function.
560 (set_flags): Remove.
561 (decode_compound): Assume that parentheses are matched.
562 It's a lot easier.
563 * symtab.c (symbol_find_demangled_name): Add DMGL_VERBOSE flag
564 to cplus_demangle.
565 * linespec.c (decode_line_1): Keep important keywords like
566 "const" and "volatile".
567 * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): Remove.
568 * typeprint.h (c_type_print_args): Add declaration.
569 * ui-file.c (do_ui_file_obsavestring): New function.
570 (ui_file_obsavestring): New function.
571 * ui-file.h (ui_file_obsavestring): Add declaration.
572 * valops.c (find_overload_match): Resolve the object to
573 a non-pointer type.
574 If the object is a data member, search the object for the member
575 and return with staticp set.
576 Use SYMBOL_NATURAL_NAME instead of SYMBOL_CPLUS_DEMANGLED_NAME.
577 Do not attempt to extract a function name from non-function types.
578 If the extracted function name and the original name are the same,
579 we don't have a C++ method.
580
581 From Jan Kratochvil <jan.kratochvil@redhat.com>:
582 * dwarf2read.c (new_symbol <DW_TAG_enumerator>): Call dwarf2_full_name.
583
584 * ada-lang.c (ada_lookup_symbol): Remove linkage_name parameters
585 and arguments from symbol lookups.
586 * ax-gdb.c (gen_expr): Likewise.
587 * cp-namespace.c (cp_lookup_symbol_nonlocal, lookup_namespace_scope,
588 cp_lookup_symbol_namespace, lookup_symbol_file, lookup_nested_type,
589 lookup_possible_namespace_symbol): Likewise.
590 * cp-support.c (read_in_psymtabs): Likewise.
591 * cp-support.h (cp_lookup_symbol_nonlocal): Likewise.
592 * language.h (la_lookup_symbol_nonlocal): Likewise.
593 * scm-valprint.c (scm_inferior_print): Likewise.
594 * solib-darwin.c (darwin_relocate_section_addresses): Likewise.
595 * solib-svr.c (elf_lookup_lib): Likewise.
596 * solib.c (show_auto_solib_add): Likewise.
597 * solist.h (lookup_lib_global, solib_global_lookup): Likewise.
598 * symmisc.c (maintenance_check_symtabs): Likewise.
599 * symtab.c (lookup_symbol_in_language, lookup_symbol_aux,
600 lookup_symbol_aux_local, lookup_symbol_aux_block,
601 lookup_symbol_from_objfile, lookup_symbol_aux_symtabs,
602 lookup_symbol_aux_psymtabs,basic_lookup_symbol_nonlocal,
603 lookup_symbol_static, lookup_symbol_global, symbol_matches_domain,
604 basic_lookup_transparent_type, find_main_psymtab,
605 lookup_block_symbol): Likewise.
606 * symtab.h (basic_lookp_symbol_nonlocal, lookup_symbol_static,
607 lookup_symbol_global, lookup_symbol_aux_block,
608 lookup_symbol_partial_symbol, lookup_block_symbol,
609 lookup_global_symbol, value_maybe_namespace_elt): Likewise.
610
9cb74f47
PM
6112010-03-09 Pierre Muller <muller@ics.u-strasbg.fr>
612
613 * python/python-internal.h: Include symtab.h.
614
af6b7be1
JB
6152010-03-09 Joel Brobecker <brobecker@adacore.com>
616 Pierre Muller <muller@ics.u-strasbg.fr>
e13eedd5
PM
617
618 * p-lang.c (is_pascal_string_type): Remove unneeded parentheses.
619 * p-valprint.c (pascal_val_print): Remove undeed block and fix
620 indentation.
621
bad56014
TT
6222010-03-08 Tom Tromey <tromey@redhat.com>
623
624 * breakpoint.c (breakpoint_1): Add "QUIT".
625
08105857
PA
6262010-03-08 Daniel Jacobowitz <dan@codesourcery.com>
627 Pedro Alves <pedro@codesourcery.com>
628
629 * solib.c (solib_find): Replace extension if
630 solib_symbols_extension is set in the target gdbarch.
631 * arm-symbian-tdep.c (arm_symbian_init_abi): Set
632 solib_symbols_extension to "sym".
633 * gdbarch.sh (solib_symbols_extension): New variable.
634 (pstring): New function.
635 * gdbarch.h, gdbarch.c: Regenerate.
636
7c953934
TT
6372010-03-08 Tom Tromey <tromey@redhat.com>
638
639 PR cli/9591:
640 * NEWS: Update.
641 * utils.c: Include main.h.
642 (fputs_maybe_filtered): Don't paginate if `batch_flag'.
643 (defaulted_query): Use default answer if `batch_flag'.
644 * main.h (batch_flag): Declare.
645 * main.c (batch_flag): New global.
646 (captured_main): Remove 'batch'. Update.
647
bbd2783e
KB
6482010-03-08 Kevin Buettner <kevinb@redhat.com>
649
650 From Richard Sandiford, Martin M. Hunt, Corinna Vinschen,
651 and Kevin Buettner:
652
653 * remote-mips.c (rockhopper_ops): New target_ops struct.
654 (MON_ROCKHOPPER): New mips_monitor_type.
655 (read_hex_value): New function.
656 (mips_request): Send 8-byte values with a 'T' packet. Read the
657 packet argument as a string and use read_hex_value to parse it.
658 (mips_exit_debug): Wait for response when using MON_ROCKHOPPER.
659 (rockhopper_open): New function.
660 (mips_wait): Read the PC, FP and SP fields as strings. Use
661 read_hex_value to parse them and mips_set_register to commit them.
662 (mips_set_register): New function.
663 (mips_fetch_registers): Do not cast register value to "unsigned"
664 when reading a MON_ROCKHOPPER 't' packet. Use mips_set_register.
665 (mips_store_registers): Use a 'T' packet to set registers when
666 using MON_ROCKHOPPER.
667 (pmon_end_download): Don't run initEther if using MON_ROCKHOPPER
668 and expect the total to be printed before the entry address.
669 (_initialize_remote_mips): Initialize and add rockhopper_ops.
670
566f3d17
KB
6712010-03-08 Kevin Buettner <kevinb@redhat.com>
672
673 * remote-mips.c (mips_fetch_word): Add new parameter, `valp'.
674 Change return value to int. Store value fetched in location
675 addressed by `val'. Use function's return value as success
676 or failure indicator. Adjust all callers.
677
9c8ee2ab 6782010-03-08 Pierre Muller <muller@ics.u-strasbg.fr>
f72d4b77
PM
679
680 * p-lang.c (is_pascal_string_type): Check that TYPE arg is non NULL.
681
7155de5a
HZ
6822010-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
683 Hui Zhu <teawater@gmail.com>
684
685 * record.c (record_open_1): Check tmp_to_stopped_by_watchpoint and
686 tmp_to_stopped_data_address.
687 (record_open): Reset tmp_to_stopped_by_watchpoint and
688 tmp_to_stopped_data_address.
689 * target.c (init_dummy_target): Add to_stopped_by_watchpoint and
690 to_stopped_data_address.
691
580879fc
HZ
6922010-03-08 Hui Zhu <teawater@gmail.com>
693
694 * i386-tdep.c (i386_process_record): Initialize regnum.
695
b0fcb67f
JK
6962010-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
697
698 * symfile.c (addr_info_make_relative): New variable sect_name, use it.
699 Do not warn on ".gnu.liblist" and ".gnu.conflict".
700
08597104
JB
7012010-03-08 Joel Brobecker <brobecker@adacore.com>
702
703 Memory error when reading wrong core file.
704 * solib-svr4.c (solib_svr4_r_map): catch and print all exception
705 errors while reading the inferior memory, and return zero if
706 an exception was raised.
707
425b824a
MS
7082010-03-07 Michael Snyder <msnyder@vmware.com>
709
ec6dbf37
MS
710 * record.c (record_restore): Rename tmpu8 to rectype.
711
648d0c8b
MS
712 * i386-tdep.c (i386_record_lea_modrm_addr): Rename local variables
713 tmpu8, tmpi16, tmpi32, tmpulongest to addr8, addr16, addr32, addr64.
714
715 (i386_record_push): Rename local tmpulongest to addr.
716
717 (i386_process_record): Rename local tmpulongest to addr.
718
719 Rename local variables tmpu16, tmpu32, tmpu64 to addr16, addr32,
720 addr64.
955db0c0
MS
721
722 Rename local variable tmpu8 to opcode8 and regnum.
425b824a 723
10760264
JB
7242010-03-07 Joel Brobecker <brobecker@adacore.com>
725
726 * remote.c (remote_get_ada_task_ptid): New function.
727 (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
728
b3c613f2
CF
7292010-03-06 Christopher Faylor <me+cygwin@cgf.cx>
730
731 * windows-nat.c: Reorganize #ifdef __CYGWIN__ considerations into one
732 block. Define helper macros to reduce ifdefs in code.
733 (get_module_name): Use cygwin_buf_t for buffer and __PMAX for buffer
734 size. Call unadorned GetModuleFileNameEx rather than
735 GetModuleFileNameEx*.
736 (windows_make_so): Use __PMAX to denote maximum buffer size and
737 cygwin_buf_t for buffer type. Use GetSystemDirectory{W,A} as
738 appropriate.
739 (get_image_name): Use __PMAX to denote maximum buffer size.
740 (handle_load_dll): Likewise.
741 (windows_pid_to_exec_file): Likewise.
742 (windows_create_inferior): Add many accommodations for older Cygwin and
743 non-Cygwin.
744 (bad_GetModuleFileNameExW): Control inclusion of this function based on
745 __USEWIDE conditional.
746 (bad_GetModuleFileNameExA): Likewise.
747 (_initialize_loadable): Just use real function names without the dyn_
748 part since they are defined earlier.
749
f870a310
TT
7502010-03-05 Corinna Vinschen <vinschen@redhat.com>
751 Tom Tromey <tromey@redhat.com>
752
753 * utils.c (host_char_to_target): Add 'gdbarch' argument.
754 (parse_escape): Likewise.
755 * python/py-utils.c (unicode_to_target_string): Update.
756 (unicode_to_target_python_string): Update.
757 (target_string_to_unicode): Update.
758 * printcmd.c (printf_command): Update.
759 * p-exp.y (yylex): Update.
760 * objc-exp.y (yylex): Update.
761 * mi/mi-parse.c: Include charset.h.
762 (mi_parse_escape): New function.
763 (mi_parse_argv): Use it.
764 * jv-exp.y (yylex): Update.
765 * i386-cygwin-tdep.c (i386_cygwin_auto_wide_charset): New
766 function.
767 (i386_cygwin_init_abi): Call set_gdbarch_auto_wide_charset.
768 * gdbarch.sh (auto_charset, auto_wide_charset): New.
769 * gdbarch.c: Rebuild.
770 * gdbarch.h: Rebuild.
771 * defs.h (parse_escape): Update.
772 * cli/cli-setshow.c: Include arch-utils.h.
773 (do_setshow_command): Update.
774 * cli/cli-cmds.c (echo_command): Update.
775 * charset.h (target_charset, target_wide_charset): Update.
776 * charset.c: Include arch-utils.h.
777 (target_charset_name): Default to "auto".
778 (target_wide_charset_name): Likewise.
779 (show_target_charset_name): Handle "auto".
780 (show_target_wide_charset_name): Likewise.
781 (be_le_arch): New global.
782 (set_be_le_names): Add 'gdbarch' argument.
783 (validate): Likewise. Don't call set_be_le_names.
784 (set_charset_sfunc, set_host_charset_sfunc)
785 (set_target_charset_sfunc, set_target_wide_charset_sfunc):
786 Update.
787 (target_charset): Add 'gdbarch' argument.
788 (target_wide_charset): Likewise. Remove 'byte_order' argument.
789 (auto_target_charset_name): New global.
790 (default_auto_charset, default_auto_wide_charset): New functions.
791 (_initialize_charset): Set auto_target_charset_name. Allow "auto"
792 for target charsets. Copy result of nl_langinfo. Use GetACP if
793 USE_WIN32API.
794 * c-lang.c (charset_for_string_type): Add 'gdbarch' argument,
795 remove 'byte_order' argument. Update.
796 (classify_type): Likewise.
797 (c_emit_char): Update.
798 (c_printchar): Update.
799 (c_printstr): Update.
800 (c_get_string): Update.
801 (evaluate_subexp_c): Update.
802 * arch-utils.h (default_auto_charset, default_auto_wide_charset):
803 Declare.
804 * python/python.c (gdbpy_target_charset): New function.
805 (gdbpy_target_wide_charset): Likewise.
806 (GdbMethods): Update.
807 * NEWS: Update.
808
4e7386b0
UW
8092010-03-05 Ulrich Weigand <uweigand@de.ibm.com>
810
811 * symfile.c (build_section_addr_info_from_objfile): Do not mask
812 off high address bits.
813
aab48ede
UW
8142010-03-05 Ulrich Weigand <uweigand@de.ibm.com>
815
816 * python/py-lazy-string.c (gdbpy_extract_lazy_string): Extract
817 address as UnsignedLongLong, not LongLong.
818
8eeafb51
KB
8192010-03-05 Kevin Buettner <kevinb@redhat.com>
820 Pedro Alves <pedro@codesourcery.com>
821
822 * remote-mips.c (gdbthread.h): Include.
823 (remote_mips_ptid): Declare.
824 (mips_error): Only mourn the inferior when inferior_ptid is non-null.
825 (common_open): Set inferior_ptid, add it as an inferior, and
826 as a thread too. Delete FIXME comment regarding start_remote().
827 (mips_close): Invoke generic_mourn_inferior().
828 (mips_kill): Make sure that target_mourn_inferior is invoked.
829 (mips_mourn_inferior): Don't invoke generic_mourn_inferior, as
830 it's now invoked from mips_close().
831 (mips_load): Don't null out inferior_ptid. Don't call
832 clear_symtab_users().
833 (mips_thread_alive, mips_pid_to_str): New functions.
834 (_initialize_remote_mips): Initialize remote_mips_ptid. Initialize
835 to_thread_alive and to_pid_to_str operations.
836
ae411497
TT
8372010-03-04 Tom Tromey <tromey@redhat.com>
838
839 * dwarf2read.c (skip_one_die) <DW_FORM_ref_addr>: Use offset size
840 in DWARF 3 and later.
841 (read_attribute_value) <DW_FORM_ref_addr>: Likewise.
842
0e0b460e
KS
8432010-03-04 Keith Seitz <keiths@redhat.com>
844
845 * linespec.c (decode_line_1): Update comments for is_quote_enclosed.
846 If the filename portion of the linespec was quoted, recheck the
847 remainder for additional quoting.
848 (locate_first_half): Skip over completer chars, too.
849
1b93ff13
TT
8502010-03-04 Tom Tromey <tromey@redhat.com>
851
852 * printcmd.c (printf_command): Pass dummy argument to
853 printf_filtered.
854
fc36e839
DE
8552010-03-04 Doug Evans <dje@google.com>
856
111f853c
DE
857 * arm-tdep.c (arm_make_stub_cache): Delete unused locals reg,
858 unwound_fp.
859
fc36e839
DE
860 * arm-tdep.c (arm_stub_unwind_sniffer): Add comment.
861
c7437ca6
PA
8622010-03-04 Pedro Alves <pedro@codesourcery.com>
863
864 * breakpoint.c (update_watchpoint): Create a sentinel location if
865 the software watchpoint isn't watching any memory.
866 (breakpoint_address_bits): Skip dummy software watchpoint locations.
867
58dadb1b
PA
8682010-03-04 Pedro Alves <pedro@codesourcery.com>
869
870 * utils.c (fputs_maybe_filtered): Check if there's already a top
871 level interpreter before dereferencing it. If there isn't one,
872 don't paginate either.
873
50e98be4
DJ
8742010-03-04 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
875
876 * arm-tdep.c (arm_pc_is_thumb): Add heuristic that tries to get
877 the state right when single stepping.
878 (arm_get_next_pc_raw, thumb_get_next_pc_raw): New functions.
879 Get the next PC along with the instruction state.
880 (thumb_get_next_pc): Remove.
881 (arm_get_next_pc): Modified to use arm_get_next_pc_raw.
882
2e3ceee9
HZ
8832010-03-04 Hui Zhu <teawater@gmail.com>
884
885 * i386-tdep.c (i386_process_record): Change "addr" to "tmpu64".
886
390a8aca
PA
8872010-03-03 Pedro Alves <pedro@codesourcery.com>
888
889 * utils.c (fputs_maybe_filtered): Always disable pagination if the
890 top level interpreter is MI.
891
9355b391
SS
8922010-03-03 Stan Shebs <stan@codesourcery.com>
893
894 * remote.c (remote_download_tracepoint): Iterate over locations.
895 * tracepoint.c (validate_actionline): Ditto.
896 (encode_actions): Add location argument.
897 (trace_dump_command): Check all locations to see if stepping
898 frame.
390a8aca 899
8685c86f
L
9002010-03-03 H.J. Lu <hongjiu.lu@intel.com>
901 Eli Zaretskii <eliz@gnu.org>
902
903 * NEWS: Add X86 general purpose registers section.
904
e8f781e2
TT
9052010-03-03 Tom Tromey <tromey@redhat.com>
906
907 PR mi/11098:
908 * varobj.c (install_new_value): Handle case where new print_value
909 is NULL.
910
a0e0ef55
TT
9112010-03-03 Dainis Jonitis <jonitis@gmail.com>
912
913 PR gdb/11345:
914 * printcmd.c (printf_command): Print end of format string using
915 printf_filtered.
916
a58d7472
TT
9172010-03-02 Tom Tromey <tromey@redhat.com>
918
919 * mi/mi-cmd-break.c (mi_read_next_line): Add missing 'void'.
920 * defs.h (read_command_lines_1): Add missing 'void'.
921 * cli/cli-script.c (recurse_read_control_structure): Add missing
922 'void'.
923 (read_next_line): Likewise.
924 (read_command_lines_1): Likewise.
925
ce50d78b
UW
9262010-03-02 Ulrich Weigand <uweigand@de.ibm.com>
927
928 * spu-tdep.c (spu_analyze_prologue): Track instruction to
929 store backchain as part of prologue.
930
7e9af34a
DJ
9312010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
932
933 * progspace.c (update_address_spaces): Update inferior address spaces
934 also.
935
01637564
DE
9362010-03-02 Doug Evans <dje@google.com>
937
938 * dwarf2read.c (add_partial_subprogram): Add missing baseaddr to
939 lowpc,highpc args to addrmap_set_empty.
940
1ba53b71
L
9412010-03-02 H.J. Lu <hongjiu.lu@intel.com>
942
943 * amd64-tdep.c (amd64_byte_names): New.
944 (amd64_word_names): Likewise.
945 (amd64_dword_names): Likewise.
946 (amd64_pseudo_register_name): Likewise.
947 (amd64_pseudo_register_read): Likewise.
948 (amd64_pseudo_register_write): Likewise.
949 (amd64_init_abi): Set num_byte_regs, num_word_regs, num_dword_regs
950 and num_mmx_regs. Call set_gdbarch_pseudo_register_read,
951 set_gdbarch_pseudo_register_write and
952 set_tdesc_pseudo_register_name. Don't call
953 set_gdbarch_num_pseudo_regs. Don't set mm0_regnum.
954
955 * i386-tdep.c (i386_num_mmx_regs): Removed.
956 (i386_num_pseudo_regs): Likewise.
957 (i386_byte_names): New.
958 (i386_word_names): Likewise.
959 (i386_byte_regnum_p): Likewise.
960 (i386_word_regnum_p): Likewise.
961 (i386_mmx_regnum_p): Updated.
962 (i386_pseudo_register_name): Make it global. Handle byte and
963 word pseudo-registers.
964 (i386_pseudo_register_read): Likewise.
965 (i386_pseudo_register_write): Likewise.
966 (i386_pseudo_register_type): Handle byte, word and dword
967 pseudo-registers
968 (i386_register_reggroup_p): Don't include pseudo
969 registers, except for MXX, in any register groups. Don't
970 include pseudo byte, word, dword registers in general_reggroup.
971 (i386_gdbarch_init): Set num_byte_regs, num_word_regs,
972 num_dword_regs, al_regnum, ax_regnum and eax_regnum. Put MMX
973 pseudo-registers after word pseudo-registers. Call
974 set_gdbarch_num_pseudo_regs after calling gdbarch_init_osabi.
975
976 * i386-tdep.h (gdbarch_tdep): Add num_mmx_regs, num_byte_regs,
977 al_regnum, num_word_regs, ax_regnum, num_dword_regs and
978 eax_regnum.
979 (i386_byte_regnum_p): New.
980 (i386_word_regnum_p): Likewise.
981 (i386_dword_regnum_p): Likewise.
982 (i386_pseudo_register_name): Likewise.
983 (i386_pseudo_register_read): Likewise.
984 (i386_pseudo_register_write): Likewise.
985
a6f5ef51
L
9862010-03-01 H.J. Lu <hongjiu.lu@intel.com>
987
988 * target-descriptions.c (tdesc_type): Remove
989 TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
990 (tdesc_predefined_types): Likewise.
991 (tdesc_gdb_type): Likewise. Pass NULL to append_flags_type_flag
992 if flag name is empty.
993 (maint_print_c_tdesc_cmd): Handle TDESC_TYPE_FLAGS.
994
995 * features/i386/32bit-core.xml: Define i386_eflags.
996 * features/i386/64bit-core.xml: Likewise.
997
998 * features/i386/32bit-sse.xml: Define i386_mxcsr.
999 * features/i386/64bit-sse.xml: Likewise.
1000
1001 * features/i386/amd64-linux.c: Regenerated.
1002 * features/i386/amd64.c: Likewise.
1003 * features/i386/i386-linux.c: Likewise.
1004 * features/i386/i386.c: Likewise.
1005
f5dff777
DJ
10062010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
1007
1008 * gdbtypes.c (append_composite_type_field_raw): New.
1009 (append_composite_type_field_aligned): Use the new function.
1010 * gdbtypes.h (append_composite_type_field_raw): Declare.
1011 * target-descriptions.c (struct tdesc_type_field): Add start and end.
1012 (struct tdesc_type_flag): New type.
1013 (struct tdesc_type): Add TDESC_TYPE_STRUCT and TDESC_TYPE_FLAGS to
1014 kind. Add size to u.u. Add u.f for flags.
1015 (tdesc_gdb_type): Handle TDESC_TYPE_STRUCT and TDESC_TYPE_FLAGS.
1016 (tdesc_free_type): Likewise.
1017 (tdesc_create_struct, tdesc_set_struct_size, tdesc_create_flags): New.
1018 (tdesc_add_field): Handle TDESC_TYPE_STRUCT.
1019 (tdesc_add_bitfield, tdesc_add_flag): New.
1020 * target-descriptions.h (tdesc_create_struct, tdesc_set_struct_size)
1021 (tdesc_create_flags, tdesc_add_bitfield, tdesc_add_flag): Declare.
1022 * xml-tdesc.c (struct tdesc_parsing_data): Rename current_union to
1023 current_type. Add current_type_size and current_type_is_flags.
1024 (tdesc_start_union): Clear the new fields.
1025 (tdesc_start_struct, tdesc_start_flags): New.
1026 (tdesc_start_field): Handle struct fields, including bitfields.
1027 (field_attributes): Make type optional. Add start and end.
1028 (union_children): Rename to struct_union_children.
1029 (union_attributes): Rename to struct_union_attributes. Add optional
1030 size.
1031 (flags_attributes): New.
1032 (feature_children): Add struct and flags.
1033 * features/gdb-target.dtd: Add flags and struct to features.
1034 Make field type optional. Add field start and end.
1035
90884b2b
L
10362010-03-01 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 * amd64-linux-nat.c (AMD64_LINUX_USER64_CS): New.
1039 (amd64_linux_read_description): Likewise.
1040 (_initialize_amd64_linux_nat): Set to_read_description to
1041 amd64_linux_read_description.
1042
1043 * amd64-linux-tdep.c: Include "features/i386/amd64-linux.c".
1044 (amd64_linux_register_name): Removed.
1045 (amd64_linux_register_type): Likewise.
1046 (amd64_linux_core_read_description): New.
1047 (amd64_linux_init_abi): Set target description to
1048 tdesc_amd64_linux if needed. Support orig_rax in target
1049 description. Don't call set_gdbarch_register_name nor
1050 set_gdbarch_register_type. Call
1051 set_gdbarch_core_read_description.
1052 (_initialize_amd64_linux_tdep): Call
1053 initialize_tdesc_amd64_linux.
1054
1055 * amd64-linux-tdep.h (tdesc_amd64_linux): New.
1056
1057 * amd64-tdep.c: Include "features/i386/amd64.c".
1058 (amd64_register_names): Removed.
1059 (amd64_register_name): Likewise.
1060 (amd64_register_type): Likewise.
1061 (amd64_init_abi): Set num_core_regs and register_names. Set
1062 target description to tdesc_amd64 if needed. Don't call
1063 set_gdbarch_register_name nor set_gdbarch_register_type.
1064 (_initialize_amd64_tdep): New.
1065
1066 * i386-linux-nat.c (i386_linux_read_description): New.
1067 (_initialize_i386_linux_nat): Set to_read_description to
1068 i386_linux_read_description.
1069
1070 * i386-linux-tdep.c: Include "features/i386/i386-linux.c".
1071 (i386_linux_register_name): Removed.
1072 (i386_linux_core_read_description): New.
1073 (i386_linux_read_description): Likewise.
1074 (i386_linux_init_abi): Don't call set_gdbarch_register_name.
1075 Set target description to tdesc_i386_linux if needed. Support
1076 orig_eax. Set register_reggroup_p. Call
1077 set_gdbarch_core_read_description.
1078 (_initialize_i386_linux_tdep): Call initialize_tdesc_i386_linux.
1079
1080 * i386-linux-tdep.h (tdesc_i386_linux): New.
1081
1082 * i386-nto-tdep.c (i386nto_regset_id): Replace I386_NUM_FREGS
1083 with I387_NUM_REGS.
1084
1085 * i386-tdep.c: Include "features/i386/i386.c".
1086 (i386_register_names): Make it const.
1087 (i386_mmx_names): Likewise.
1088 (i386_num_register_names): Removed.
1089 (i386_register_name): Likewise.
1090 (i386_eflags_type): Likewise.
1091 (i386_mxcsr_type): Likewise.
1092 (i386_sse_type): Likewise.
1093 (i386_register_type): Likewise.
1094 (i387_ext_type): Call tdesc_find_type instead of arch_float_type.
1095 (i386_pseudo_register_name): New.
1096 (i386_pseudo_register_type): Likewise.
1097 (i386_mmx_type): Make it static.
1098 (i386_gdbarch_init): Check arch. Replace I386_NUM_FREGS with
1099 I387_NUM_REGS. Set num_core_regs and register_names. Don't
1100 call set_gdbarch_register_name nor set_gdbarch_register_type.
1101 Set register_reggroup_p. Set target description to tdesc_i386
1102 if needed. Call set_tdesc_pseudo_register_type,
1103 set_tdesc_pseudo_register_name and tdesc_use_registers.
1104 (_initialize_i386_tdep): Call initialize_tdesc_i386.
1105 initialize_tdesc_x86_64.
1106
1107 * i386-tdep.h (gdbarch_tdep): Remove i386_eflags_type,
1108 i386_mxcsr_type and i386_sse_type. Add num_core_regs,
1109 register_names, tdesc and register_reggroup_p.
1110 (I386_NUM_FREGS): Removed.
1111 (i386_eflags_type): Likewise.
1112 (i386_mxcsr_type): Likewise.
1113 (i386_mmx_type): Likewise.
1114 (i386_sse_type): Likewise.
1115 (i386_register_name): Likewise.
1116 (i386_regnum): Add I386_MXCSR_REGNUM.
1117 (I386_SSE_NUM_REGS): Defined with I386_MXCSR_REGNUM.
1118
1119 * i387-tdep.h (I387_NUM_REGS): New.
1120
1121 * regformats/i386/i386-linux.dat: Generated.
1122 * regformats/i386/i386.dat: Likewise.
1123 * regformats/i386/amd64-linux.dat: Likewise.
1124 * regformats/i386/amd64.dat: Likewise.
1125
1126 * regformats/reg-i386-linux.dat: Removed.
1127 * regformats/reg-i386.dat: Likewise.
1128 * regformats/reg-x86-64-linux.dat: Likewise.
1129 * regformats/reg-x86-64.dat: Likewise.
1130
d0d0ab16
CV
11312010-03-01 Corinna Vinschen <vinschen@redhat.com>
1132
1133 * remote-fileio.c (remote_fileio_func_rename): Use Cygwin 1.7
1134 cygwin_conv_path API rather than the deprecated
1135 cygwin_conv_to_full_posix_path.
1136 * windows-nat.c:
1137 (GetModuleFileNameExA): Undefine for Cygwin.
1138 (GetModuleFileNameExW): Define for Cygwin.
1139 (get_module_name): Change size of pathbuf to PATH_MAX for Cygwin.
1140 Call GetModuleFileNameExW and convert path to POSIX using
1141 cygwin_conv_path.
1142 (windows_make_so): Always define p. Drop unused variable m.
1143 Don't use Win32 functions to check file existance, rather use
1144 access on Cygwin. Fetch system directory using GetSystemDirectoryW.
1145 Use canonicalize_file_name to get full path.
1146 (get_image_name): Use wcstombs, rather than WideCharToMultiByte
1147 to convert Unicode pathname to multibyte on Cygwin. Otherwise,
1148 use correct target buffer size in call to WideCharToMultiByte.
1149 (handle_load_dll): Change size of dll_buf to PATH_MAX for Cygwin.
1150 (windows_pid_to_exec_file): Change size of path to PATH_MAX for Cygwin.
1151 (windows_create_inferior): Convert all paths and arguments to wchar_t
1152 and use CreateProcessW on Cygwin.
1153 (_initialize_windows_nat): Disable DOS-style path warning on Cygwin.
1154 (bad_GetModuleFileNameExA): Undefine for Cygwin.
1155 (bad_GetModuleFileNameExW): Define for Cygwin.
1156 (_initialize_loadable): Load GetModuleFileNameExW into
1157 dyn_GetModuleFileNameExW on Cygwin. Don't load ANSI function on Cygwin.
1158
dc00d89f
PM
11592010-02-28 Phil Muldoon <pmuldoon@redhat.com>
1160
1161 PR python/11036
1162 * python/py-frame.c (frapy_read_var): Add block argument and logic
1163 to cope with user provided blocks.
1164
0e095b7e
JK
11652010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1166
1167 * infcall.c (call_function_by_hand): Remove gdb_assert on sp and old_sp.
1168 New comment.
1169
2f9e05b4
CV
11702010-02-28 Corinna Vinschen <vinschen@redhat.com>
1171
1172 * Makefile.in (SUBDIR_MI_OBS): Move mi-common.o from here...
1173 (COMMON_OBS): ... to here since it's used unconditionally.
1174 (SUBDIR_MI_SRCS): Move mi/mi-common.c from here...
1175 (SFILES): To here.
1176
eb195664
DD
11772010-02-26 David Daney <ddaney@caviumnetworks.com>
1178
1179 * mips-linux-tdep.c: Update struct sigframe comments.
1180 (SIGFRAME_CODE_OFFSET): Delete macro.
1181 (mips_linux_o32_sigframe_init): Calculate sigcontext_base using
1182 this_frame's sp.
1183 (mips_linux_n32n64_sigframe_init): Same.
1184
97b0f3e2
KB
11852010-02-26 Kevin Buettner <kevinb@redhat.com>
1186
1187 * remote-mips.c (mips_load): Don't use pseudo-register when
1188 invalidating regcache.
1189
4069ebbe
DJ
11902010-02-26 Daniel Jacobowitz <dan@codesourcery.com>
1191
1192 * arm-tdep.c (thumb_get_next_pc): Correct conditional branch opcode.
1193
05071a4d
PA
11942010-02-26 Pedro Alves <pedro@codesourcery.com>
1195
1196 * NEWS: Add "New targets" section, and mention ARM Symbian
1197 support.
1198
6063c216
UW
11992010-02-26 Ulrich Weigand <uweigand@de.ibm.com>
1200
1201 * dwarf2loc.c (struct piece_closure): Remove ARCH member,
1202 add ADDR_SIZE member.
1203 (allocate_piece_closure): Update.
1204 (copy_pieced_value_closure): Likewise.
1205 (dwarf2_evaluate_loc_desc): Likewise.
1206 (read_pieced_value): Use DWARF address size instead of
1207 GDB's gdbarch_addr_bit as size of values on the DWARF stack.
1208
5107b149
PM
12092010-02-26 Phil Muldoon <pmuldoon@redhat.com>
1210 Tom Tromey <tromey@redhat.com>
1211
1212 * python/py-type.c (typy_lookup_typename): Add in block argument.
1213 If provided restrict lookup to specified blocks.
1214 (gdbpy_lookup_type): Likewise.
1215 (typy_lookup_type): Likewise.
1216
78664fa3
PA
12172010-02-25 Daniel Jacobowitz <dan@codesourcery.com>
1218
1219 Symbian config
1220
1221 gdb/
1222 * arm-symbian-tdep.c: New.
1223 * configure.tgt (arm*-*-symbianelf*): New target.
1224 (*-*-symbianelf*): New OS.
1225 * osabi.c (gdb_osabi_names): Add Symbian.
1226 * defs.h (gdb_osabi): Add GDB_OSABI_SYMBIAN.
1227 * Makefile.in (ALL_TARGET_OBJS): Add arm-symbian-tdep.o.
1228 (ALLDEPFILES): Add arm-symbian-tdep.c.
1229
eb73e134
DJ
12302010-02-25 Daniel Jacobowitz <dan@codesourcery.com>
1231
1232 * symfile.c (find_lowest_section): Include SEC_ALLOC sections.
1233
46ef47e5
PA
12342010-02-24 Pedro Alves <pedro@codesourcery.com>
1235
1236 * mi/mi-main.c (mi_cmd_execute): Fix typo.
1237
f3e9a817
PM
12382010-02-24 Phil Muldoon <pmuldoon@redhat.com>
1239 Tom Tromey <tromey@redhat.com>
1240 Thiago Jung Bauermann <bauerman@br.ibm.com>
1241
1242 * python/python.c (_initialize_python): Call
1243 gdbpy_initialize_symtabs, gdbpy_initialize_symbols and
1244 gdbpy_initialize_blocks.
1245 * python/python-internal.h: Declare struct symbol, block and
1246 symtab_and_line. Declare block_object_type and
1247 symbol_object_type
1248 (gdbpy_lookup_symbol gdbpy_block_for_pc)
1249 (symtab_and_line_to_sal_object, symtab_to_symtab_object)
1250 (symbol_to_symbol_object, block_to_block_object)
1251 (gdbpy_initialize_symtabs,gdbpy_initialize_symbols)
1252 (gdbpy_initialize_blocks ): Declare.
1253 * python/py-frame.c (frapy_block, frapy_function, frapy_find_sal)
1254 (frapy_select): Add methods.
1255 (frapy_read_var): Add symbol branch.
1256 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-symbol, py-symtab,
1257 py-block.
1258 (SUBDIR_PYTHON_SRCS): Likewise.
1259 (py-symbol.o): New rule.
1260 (py-symtab.o): Likewise.
1261 (py-block.o): Likewise.
1262 * python/py-symbol.c: New file.
1263 * python/py-symtab.c: Likewise.
1264 * python/py-block.c: Likewise.
1265
24291992
PA
12662010-02-24 Pedro Alves <pedro@codesourcery.com>
1267
1268 PR gdb/11321
1269
1270 * inferior.h (prepare_for_detach): Declare.
1271 (struct inferior) <detaching>: New field.
1272 * infrun.c (prepare_for_detach): New.
1273 (handle_inferior_event) <random signal>: Don't stop if detaching.
1274 * target.c (target_detach): Call prepare_for_detach.
1275
fc1cf338
PA
12762010-02-24 Pedro Alves <pedro@codesourcery.com>
1277
1278 Per-process displaced stepping queue.
1279
1280 * infrun.c (displaced_step_ptid, displaced_step_request_queue)
1281 (displaced_step_gdbarch, displaced_step_closure,
1282 (displaced_step_original, displaced_step_copy): Move globals to
1283 this...
1284 (struct displaced_step_inferior_state): ... new structure.
1285 (displaced_step_inferior_states): New global.
1286 (get_displaced_stepping_state, add_displaced_stepping_state)
1287 (remove_displaced_stepping_state, infrun_inferior_exit): New
1288 functions.
1289 (displaced_step_clear): Add displaced_step_inferior_state
1290 parameter, and adjust to handle it.
1291 (displaced_step_clear_cleanup): Parameter is now a
1292 displaced_step_inferior_state. Adjust.
1293 (displaced_step_prepare): Adjust.
1294 (displaced_step_fixup, displaced_step_fixup)
1295 (infrun_thread_ptid_changed, resume): Adjust.
1296 (init_wait_for_inferior): Don't call displaced_step_clear.
1297 (infrun_thread_stop_requested): Rewrite.
1298 (_initialize_infrun): Install infrun_inferior_exit as
1299 inferior_exit observer.
1300
0723dbf5
PA
13012010-02-24 Pedro Alves <pedro@codesourcery.com>
1302
1303 * inferior.h (ptid_match): Declare.
1304 * infrun.c (ptid_match): New.
1305 * remote.c (queued_stop_reply): Rewrite and use ptid_match.
1306 (handle_notification): Add debug output.
1307 * linux-nat.c (ptid_match): Delete.
1308
09de9781
DM
13092010-02-24 David S. Miller <davem@davemloft.net>
1310
1311 * gdb_ptrace.h (PT_SYSCALL): If PTRACE_SYSCALL is available, use it.
1312 * syscalls/sparc-linux.xml: New.
1313 * syscalls/sparc64-linux.xml: New.
1314 * Makefile.in (XML_SYSCALL_FILES): Add new syscall XML files.
1315 * sparc-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC32): Define.
1316 (sparc32_linux_get_syscall_number): New function.
1317 (sparc32_linux_init_abi): Set syscall XML file name and hook up
1318 syscall number fetcher.
1319 * sparc64-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC64): Define.
1320 (sparc64_linux_get_syscall_number): New function.
1321 (sparc64_linux_init_abi): Set syscall XML file name and hook up
1322 syscall number fetcher.
1323
a79b8f6e
VP
13242010-02-24 Vladimir Prus <vladimir@codesourcery.com>
1325
1326 Multiexec MI
1327
1328 * breakpoint.c (clear_syscall_counts): Take struct inferior*.
1329 * inferior.c (add_inferior_silent): Notify inferior_added
1330 observer.
1331 (delete_inferior_1): Notify inferior_removed observer.
1332 (exit_inferior_1): Pass inferior, not pid, to observer.
1333 (inferior_appeared): Likewise.
1334 (add_inferior_with_spaces): New.
1335 (add_inferior_command): Use the above.
1336 * inferior.h (delete_inferior_1, add_inferior_with_spaces):
1337 Declare.
1338
1339 * inflow.c (inflow_inferior_exit): Likewise.
1340 * jit.c (jit_inferior_exit_hook): Likewise.
1341
1342 * mi/mi-cmds.c (mi_cmds): Register add-inferior and
1343 remove-inferior.
1344 * mi/mi-cmds.h (mi_cmd_add_inferior, mi_cmd_remove_inferior): New.
1345 * mi/mi-interp.c (mi_inferior_added, mi_inferior_removed): New.
1346 (report_initial_inferior): New.
1347 (mi_inferior_removed): Register the above. Make sure
1348 inferior_added observer is called on the first inferior.
1349 (mi_new_thread, mi_thread_exit): Thread group is now identified by
1350 inferior number, not pid.
1351 (mi_solib_loaded, mi_solib_unloaded): Report which inferiors are
1352 affected.
1353 * mi/mi-main.c (current_context): New.
1354 (proceed_thread_callback): Use typed closure.
1355 Proceed everything if pid is 0. Most implementation split into
1356 (proceed_thread): ... this.
1357 (run_one_inferior): New.
1358 (mi_cmd_exec_continue, mi_cmd_exec_interrupt, mi_cmd_exec_run):
1359 Adjust for multiexec behaviour.
1360 (mi_cmd_add_inferior, mi_cmd_remove_inferior): New.
1361 (mi_cmd_execute): Handle the 'thread-group' option here.
1362 Do some extra checks.
1363 * mi-parse.c (mi_parse): Handle the --all and --thread-group
1364 options.
1365 * mi-parse.h (struct mi_parse): New fields all and thread_group.
1366
115d30f9
VP
13672010-02-24 Vladimir Prus <vladimir@codesourcery.com>
1368
1369 Make -exec-run a proper MI commands.
1370
1371 * mi/mi-cmds.h (mi_cmd_exec_run): Declare.
1372 * mi/mi-cmds.c (mi_cmds): Adjust.
1373 * mi/mi-main.c (mi_cmd_exec_run): New.
1374
06cd862c
PA
13752010-02-24 Pedro Alves <pedro@codesourcery.com>
1376 Stan Shebs <stan@codesourcery.com>
1377
1378 * tracepoint.h (set_traceframe_number)
1379 (cleanup_restore_current_traceframe): Declare.
1380 * tracepoint.c (set_traceframe_number): New.
1381 (struct current_traceframe_cleanup): New.
1382 (do_restore_current_traceframe_cleanup)
1383 (restore_current_traceframe_cleanup_dtor)
1384 (make_cleanup_restore_current_traceframe): New.
1385 * infrun.c: Include tracepoint.h.
1386 (fetch_inferior_event): Switch out and in of tfind mode.
1387
ab92d69b
PA
13882010-02-24 Pedro Alves <pedro@codesourcery.com>
1389
1390 * breakpoint.c (breakpoint_init_inferior): Also delete
1391 bp_shlib_event breakpoints.
1392 * solib-frv.c (enable_break): Remove call to
1393 remove_solib_event_breakpoints.
1394 * solib-svr4.c (enable_break): Ditto.
1395 * solib-darwin.c (darwin_solib_create_inferior_hook): Ditto.
1396 * solib-pa64.c (pa64_solib_create_inferior_hook): Ditto.
1397 * solib-som.c (som_solib_create_inferior_hook): Ditto.
1398 * solib-spu.c (spu_enable_break): Ditto.
1399
e707a91d
PA
14002010-02-23 Harald Koenig <H.Koenig@science-computing.de>
1401
1402 * c-exp.y (token_and_value): s/union YYSTYPE/YYSTYPE.
1403
cfce2ea2
PA
14042010-02-23 Harald Koenig <H.Koenig@science-computing.de>
1405
1406 * varobj.c (varobj_update): Avoid non-constants in initializers.
1407
05566b3b
TT
14082010-02-23 Tom Tromey <tromey@redhat.com>
1409
1410 * dwarf2loc.c (read_pieced_value) <DWARF_VALUE_STACK>: Correctly
1411 handle big-endian values.
1412 (dwarf2_evaluate_loc_desc) <DWARF_VALUE_STACK>: Likewise.
1413
85d721b8
PA
14142010-02-22 Pedro Alves <pedro@codesourcery.com>
1415
1416 PR9605
1417
1418 gdb/
1419 * breakpoint.c (insert_bp_location): If inserting the read
1420 watchpoint failed, fallback to an access watchpoint.
1421 (bpstat_check_watchpoint): Stop for read watchpoint triggers even
1422 if the value changed, if not watching the same memory for writes.
1423 (watchpoint_locations_match): Add comment.
1424 (update_global_location_list): Copy the location's watchpoint type.
1425 * i386-nat.c (i386_length_and_rw_bits): It's an internal error to
1426 handle read watchpoints here.
1427 (i386_insert_watchpoint): Read watchpoints aren't supported.
1428 * remote.c (remote_insert_watchpoint): Return 1 for unsupported
1429 packets.
1430 * target.h (target_insert_watchpoint): Update description.
1431
48ea67a7
TT
14322010-02-19 Tom Tromey <tromey@redhat.com>
1433
1434 * p-typeprint.c (pascal_type_print_varspec_prefix): Update.
1435 * m2-typeprint.c (m2_print_type): Update.
1436 * gdbtypes.c (recursive_dump_type): Update.
1437 (copy_type_recursive): Update.
1438 * c-typeprint.c (c_type_print_varspec_prefix): Update.
1439 (c_type_print_base): Update.
1440 * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG):
1441 Remove.
1442 (struct cplus_struct_type) <ntemplate_args>: Remove.
1443 <struct template_arg>: Remove.
1444 <is_dynamic>: Move earlier.
1445 (TYPE_TEMPLATE_ARGS): Remove.
1446 (TYPE_NTEMPLATE_ARGS): Remove.
1447 (TYPE_TEMPLATE_ARG): Remove.
1448
48e32051
TT
14492010-02-19 Tom Tromey <tromey@redhat.com>
1450
1451 PR c++/8693, PR c++/9496:
1452 * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION.
1453 * c-exp.y (lex_one_token): Rename from yylex. Don't call
1454 write_dollar_variable. Don't try to classify NAME tokens.
1455 (token_and_value): New type.
1456 (token_fifo, popping, name_obstack): New globals.
1457 (classify_name): New function.
1458 (classify_inner_name): Likewise.
1459 (yylex): Likewise.
1460 (VARIABLE): Now has type sval.
1461 (exp : VARIABLE): Call write_dollar_variable.
1462 (qualified_name): Use TYPENAME, not typebase. Add production for
1463 multiple "::" instances.
1464 (variable): Use name_not_typename.
1465 (qualified_type): Remove.
1466 (typebase): Update.
1467
672d9c23
JK
14682010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1469
1470 * symfile.c (addr_info_make_relative): Extend comment. Move SECT to
1471 a more inner block. Initialize ADDR by LOWER_OFFSET only if it was
1472 found by bfd_get_section_by_name.
1473 * symfile.h (struct section_addr_info) <sectindex>: New comment.
1474
bfbf3774
JB
14752010-02-19 Joel Brobecker <brobecker@adacore.com>
1476
1477 * NEWS: Add new "[...] since 7.1" section. Rename the "[...] since
1478 7.0 section" into "Changes in 7.1".
1479
6756b09b 14802010-02-19 Joel Brobecker <brobecker@adacore.com>
1481
1482 GDB 7.1 branch created (branch timestamp: 2010-02-18 20:00 UTC)
1483 * version.in: Bump version to 7.1.50.20100219-cvs.
1484
202b96c1
PA
14852010-02-18 Harald Koenig <H.Koenig@science-computing.de>
1486
1487 * mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'.
1488 * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
1489
de2e5182
TT
14902010-02-17 Tom Tromey <tromey@redhat.com>
1491
1492 * NEWS: Add Python API Improvements section.
1493
7280022e
DJ
14942010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
1495
1496 * NEWS: Correct typo.
1497
6f451e5e
TT
14982010-02-17 Tom Tromey <tromey@redhat.com>
1499
1500 * objfiles.c (gdb_bfd_ref): Handle abfd==NULL.
1501
012836ea
JK
15022010-02-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1503
1504 * symfile.c (build_section_addr_info_from_objfile): Include sections
1505 only if they are SEC_ALLOC or SEC_LOAD.
1506
d182d057
L
15072010-02-17 H.J. Lu <hongjiu.lu@intel.com>
1508
1509 PR shlibs/11293
1510 * solib-svr4.c (enable_break): Check size of CORE_ADDR instead
1511 of ULONGEST for address size.
1512
4eef138c
TT
15132010-02-17 Tom Tromey <tromey@redhat.com>
1514
1515 * NEWS: Add C++ improvements section.
1516
548a926a
UW
15172010-02-17 Ulrich Weigand <uweigand@de.ibm.com>
1518
1519 * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,
1520 PyThreadState_Swap): Avoid "statement with no effect" warning.
1521
ad3a0e5b
JK
15222010-02-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1523
1524 * solib-svr4.c (enable_break <target_auxv_search>): New variable
1525 addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors.
1526
243e2c5d
TG
15272010-02-17 Tristan Gingold <gingold@adacore.com>
1528 Petr Hluzín <petr.hluzin@gmail.com>
1529
1530 * avr-tdep.c (avr_scan_prologue): Convert an if statement to a
1531 gdb_assert. Fix info->size for SIG prologue.
1532
275f2e57
DJ
15332010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1534
1535 * infcmd.c (show_inferior_tty_command): Check for NULL.
1536 Correct output message.
1537
791dfb64
DJ
15382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1539
1540 * linespec.c (decode_line_1): Handle FILE:FUNCTION even if
1541 FUNCTION contains parentheses. Improve removal of a trailing
1542 single quote.
1543
14d1346b
DJ
15442010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1545
1546 * gcore.c (do_bfd_delete_cleanup): New function.
1547 (gcore_command): Use it. Discard the cleanup after success.
1548 (gcore_copy_callback): Delete dead code.
1549
e76ab67f
DJ
15502010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1551
1552 * symfile.c (addr_info_make_relative): Always use
1553 find_lowest_section.
1554
71dee663
SW
15552010-02-16 Sami Wagiaalla <swagiaal@redhat.com>
1556
1557 * NEWS: Added entry for namespace fixes.
1558
a9854bd5
TT
15592010-02-15 Tom Tromey <tromey@redhat.com>
1560
1561 * dwarf2read.c (guess_structure_name): Allocate name on the
1562 objfile obstack.
1563
fd9e29b5
TT
15642010-02-15 Tom Tromey <tromey@redhat.com>
1565
1566 * c-typeprint.c (c_type_print_base): Reverse order of test.
1567
4e1fc9c9
JK
15682010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1569
1570 * solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally
1571 initialize it from ELF BFD. Extend the prelink condition by it.
1572
74164c56
JK
15732010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1574
1575 * defs.h (parse_pid_to_attach): New.
1576 * utils.c (parse_pid_to_attach): New.
1577 * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid.
1578 * gnu-nat.c (gnu_attach): Likewise.
1579 * nto-procfs.c (procfs_attach): Likewise.
1580 * procfs.c (procfs_attach): Likewise.
1581 * windows-nat.c (windows_attach): Likewise.
1582 * inf-ptrace.c (inf_ptrace_attach): Likewise. Remove variable dummy.
1583 * inf-ttrace.c (inf_ttrace_attach): Likewise.
1584 * remote.c (extended_remote_attach_1): Likewise. New comment on getpid
1585 check.
1586
bf6adea8
MM
15872010-02-14 Masaki Muranaka <monaka@monami-software.com>
1588
1589 * MAINTAINERS: Add myself for write after approval privileges.
1590
28f34a8f
JK
15912010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1592
1593 * solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner
1594 block.
1595
701ed6dc
JK
15962010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1597
1598 * solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment
1599 only if INFO_VERBOSE.
1600
e5829bee
MS
16012010-02-12 Tomas Holmberg <th@virtutech.com>
1602
1603 * mi/mi-main.c: Added the --reverse flag to the following MI
1604 commands: exec-continue, exec-finish, exec-next, exec-step,
1605 exec-next-instruction, exec-step-instruction. This is to
1606 support reverse execution over the MI interface to gdb.
1607
081dfbf7
PA
16082010-02-12 Pedro Alves <pedro@codesourcery.com>
1609
1610 * tracepoint.c (_initialize_tracepoint): Specify that the address
1611 range of `tfind outsize' is exclusive, and that the address range
1612 of `tfind range' is inclusive, in the commands' help strings.
1613
ecc13e53
JB
16142010-02-12 Joel Brobecker <brobecker@adacore.com>
1615
1616 Spurious "dll not found" error messages on x64-windows.
1617 * windows-nat.c: Add include of complaints.h.
1618 (handle_unload_dll): Change dll-not-found error into a complaint.
1619
15c3d785
PA
16202010-02-12 Pedro Alves <pedro@codesourcery.com>
1621
1622 * breakpoint.c (allocate_bp_location): Use bp_loc_other for
1623 bp_tracepoint and bp_fast_tracepoint, not
1624 bp_loc_software_breakpoint.
1625 (update_global_location_list): Tracepoints are never duplicates of
1626 anything.
1627
fd9b8c24
PA
16282010-02-12 Pedro Alves <pedro@codesourcery.com>
1629
1630 * breakpoint.c (break_command_really): Change return type to int.
1631 Return false if no breakpoint was created, true otherwise.
1632 (trace_command): Don't set the tracepoint count if no tracepoint
1633 was created.
1634 (ftrace_command): Ditto.
1635 (create_tracepoint_from_upload): Bail out if the tracepoint wasn't
1636 created in the breakpoints table.
1637
5c0d192f
JK
16382010-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1639 Ulrich Weigand <uweigand@de.ibm.com>
1640
1641 * solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
1642
5d5b640e
PA
16432010-02-11 Pedro Alves <pedro@codesourcery.com>
1644
1645 * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if
1646 the offset value isn't of integral type.
1647
e5a0a904
JK
16482010-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1649
1650 * breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>:
1651 New.
1652
be636754
PA
16532010-02-11 Pedro Alves <pedro@codesourcery.com>
1654
1655 * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on
1656 non-subscriptable types.
1657 * valarith.c (binop_types_user_defined_p): New, abstracted out
1658 from ...
1659 (binop_user_defined_p): ... this.
1660 * value.h (binop_types_user_defined_p): Declare.
1661
10ef8d6a
PA
16622010-02-11 Pedro Alves <pedro@codesourcery.com>
1663
1664 * tracepoint.c (tfile_open): Remove spurious discard_cleanups.
1665 Merge uploaded TSVs before merging uploaded tracepoints.
1666
b1028c8e
PA
16672010-02-11 Pedro Alves <pedro@codesourcery.com>
1668
1669 * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers.
1670
7a93fb82 16712010-02-11 Vladimir Prus <vladimir@codesourcery.com>
84d90c10 1672
7a93fb82
VP
1673 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra
1674 whitespace character after a dot in comment.
1675 (mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables):
1676 Likewise.
1677 (list_args_or_locals): For the 'all' (that is
1678 -stack-list-variables) case, always output list of tuples.
1679 Output 'arg' field if variable is argument.
84d90c10 1680
92981e24
TT
16812010-02-10 Tom Tromey <tromey@redhat.com>
1682
1683 * parser-defs.h (parser_debug): Declare.
1684 * parse.c (_initialize_parse): Install "debug parser" set/show
1685 command.
1686 (parser_debug): New global.
1687 (show_parserdebug): New function.
1688 * c-exp.y (c_parse): Set yydebug.
1689
9fd3625f
L
16902010-02-10 H.J. Lu <hongjiu.lu@intel.com>
1691
1692 * target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT,
1693 TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
1694 (tdesc_predefined_types): Add i387_ext, i386_eflags and
1695 i386_mxcsr.
1696 (tdesc_find_type): New.
1697 (tdesc_gdb_type): Use tdesc_find_type. Handle TDESC_TYPE_I387_EXT,
1698 TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
1699
1700 * target-descriptions.h (tdesc_find_type): New.
1701
2fe842e5
MS
17022010-02-10 Michael Snyder <msnyder@vmware.com>
1703
1704 * gdb-gdb.py: Comment fix.
1705
f18b4cab
TG
17062010-02-09 Tristan Gingold <gingold@adacore.com>
1707
1708 * machoread.c (macho_symfile_relocate): New function.
1709 (macho_sym_fns): Use macho_symfile_relocate instead of
1710 default_symfile_relocate.
1711 (macho_oso_data): New type.
1712 (current_oso): New variable.
1713 (macho_add_oso_symfile): Do not compute section_addr_info, but
1714 instead set vma of sections.
1715 Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd.
1716 Set and clear current_oso.
1717
31dbc1c5
JB
17182010-02-09 Joel Brobecker <brobecker@adacore.com>
1719
1720 Wrong type description for tagged type parameter.
1721 * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: When noside is
1722 EVAL_AVOID_SIDE_EFFECTS, also handle the case when type is a
1723 reference to a tagged type.
1724
399f313b
TG
17252010-02-09 Tristan Gingold <gingold@adacore.com>
1726
1727 * objfiles.c (objfile_separate_debug_iterate): Do not iterate on
1728 brothers of the parent.
1729
714f19d5
TT
17302010-02-08 Tom Tromey <tromey@redhat.com>
1731
1732 PR c++/8017:
1733 * value.h: Update.
1734 * valops.c (search_struct_field): Make 'name' const.
1735 (search_struct_method): Likewise.
1736 (find_method_list): Make 'method' const.
1737 (value_struct_elt): Make 'name' and 'err' const.
1738 (value_find_oload_method_list): Make 'method' const.
1739 (find_overload_match): Make 'name' const.
1740 * eval.c (evaluate_subexp_standard): New locals function,
1741 function_name.
1742 <OP_FUNCALL>: Handle OP_SCOPE specially.
1743
de0a0249
UW
17442010-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1745
1746 * infrun.c (handle_inferior_event): Do not look up regcache
1747 for exited processes.
1748
83b10087
CM
1749Mon Feb 8 13:17:10 2010 Chris Moller <moller@mollerware.com>
1750
1751 PR gdb/10728
1752 * valarith.c (value_ptrdiff): Added a test for a zero type length,
1753 warn if found, and assume length = 1.
1754
99903ae3
CM
17552010-02-08 Chris Moller <cmoller@redhat.com>
1756
1757 PR gdb/9067
1758 * cp-valprint.c (cp_print_value_fields) Fix use of obstacks.
1759 cp_print_static_field) Fix use of obstacks.
1760
e3e9f5a2
PA
17612010-02-08 Pedro Alves <pedro@codesourcery.com>
1762
1763 * linux-nat.c (linux_nat_resume): In non-stop, also only tag
1764 resumed LWPs as resumed.
1765 (linux_nat_wait_1): If there's no resumed LWP in the set of LWPs
1766 we're waiting for, bail out with TARGET_WAITKIND_IGNORE, instead
1767 of throwing an internal error. If an LWP of a process we're not
1768 waiting for reports a signal, don't force collecting a SIGSTOP,
1769 and if it was breakpoint hit in non-stop mode, cancel it. Don't
1770 go through all LWPs cancelling breakpoints in non-stop mode.
1771 (resume_stopped_resumed_lwps): New.
1772 (linux_nat_wait): Use it.
1773
46763423
L
17742010-02-07 H.J. Lu <hongjiu.lu@intel.com>
1775
1776 * features/Makefile (WHICH): Add i386/i386, i386/i386-linux,
1777 i386/amd64 and i386/amd64-linux.
1778 (i386/i386-expedite): New.
1779 (i386/i386-linux-expedite): Likewise.
1780 (i386/amd64-expedite):Likewise.
1781 (i386/amd64-linux-expedite): Likewise.
1782 ($(outdir)/i386/i386-linux.dat): Likewise.
1783 ($(outdir)/i386/amd64.dat): Likewise.
1784 ($(outdir)/i386/amd64-linux.dat): Likewise.
1785
1786 * features/i386/32bit-core.xml: New.
1787 * features/i386/32bit-linux.xml: Likewise.
1788 * features/i386/32bit-sse.xml: Likewise.
1789 * features/i386/64bit-core.xml: Likewise.
1790 * features/i386/64bit-linux.xml: Likewise.
1791 * features/i386/64bit-sse.xml: Likewise.
1792 * features/i386/i386-linux.xml: Likewise.
1793 * features/i386/i386.xml: Likewise.
1794 * features/i386/amd64-linux.xml: Likewise.
1795 * features/i386/amd64.xml: Likewise.
1796 * features/i386/i386-linux.c: Likewise.
1797 * features/i386/i386.c: Likewise.
1798 * features/i386/amd64-linux.c: Likewise.
1799 * features/i386/amd64.c: Likewise.
1800
82856980
SW
18012010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
1802
1803 PR c++/7935:
1804 * cp-support.h: Added char* alias element to using_direct data
1805 struct.
1806 (cp_add_using): Added char* alias argument.
1807 (cp_add_using_directive): Ditto.
1808 * cp-namespace.c: Updated with the above changes.
1809 (cp_lookup_symbol_imports): Check for aliases.
1810 * dwarf2read.c (read_import_statement): Figure out local alias
1811 for the import and pass it on to cp_add_using.
1812 (read_namespace): Pass alias argument to cp_add_using.
1813
d18b8b7a
HZ
18142010-02-05 Hui Zhu <teawater@gmail.com>
1815
1816 * defs.h (gdb_bfd_errmsg): New extern.
1817 * exec.c (exec_file_attach): Change bfd_errmsg to
1818 gdb_bfd_errmsg.
1819 * utils.c (AMBIGUOUS_MESS1): New macro.
1820 (AMBIGUOUS_MESS2): New macro.
1821 (gdb_bfd_errmsg): New function.
1822
48379de6
DE
18232010-02-04 Doug Evans <dje@google.com>
1824
1825 * solib-svr4.c (enable_break): Add comment.
1826
4ee73e90
AG
18272010-02-04 Anthony Green <green@moxielogic.com>
1828
1829 * moxie-tdep.c (moxie_analyze_prologue): Fail protocol analysis
1830 gracefully.
1831
1a334831
TT
18322010-02-04 Tom Tromey <tromey@redhat.com>
1833
1834 * valops.c (search_struct_field): Account for
1835 value_embedded_offset. Fix check for virtual base past the end of
1836 the object. Use value_copy when making a slice of the value.
1837
1180b2c8
L
18382010-02-04 H.J. Lu <hongjiu.lu@intel.com>
1839
1840 PR tui/9622
1841 * tui/tui-interp.c (tui_init): Call tui_initialize_readline
1842 only if gdb_stdout is a tty.
1843
c3f08eb7
L
18442010-02-04 H.J. Lu <hongjiu.lu@intel.com>
1845
1846 * target-descriptions.c: Include "osabi.h".
1847 (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid
1848 OSABI.
1849
2d33f7b8
TG
18502010-02-04 Tristan Gingold <gingold@adacore.com>
1851
1852 * machoread.c (macho_add_oso): Renamed to macho_register_oso.
1853 (macho_symtab_read): Adjust calls to macho_add_oso.
1854 (macho_oso_symfile): Renamed to macho_symfile_read_all_oso.
1855 (macho_symfile_read): Adjust call to macho_oso_symfile.
1856 (macho_new_init): Move this function after declarations.
1857 (macho_symfile_init): Ditto.
1858 * darwin-nat-info.c (darwin_lib_gdb_ports): Remove.
1859 * darwin-nat.c (darwin_lookup_task): Remove unused prototype.
1860
11334b82
VP
18612010-02-04 Vladimir Prus <vladimir@codesourcery.com>
1862
1863 Include MI command in remotelog.
1864
1865 * mi/mi-main.c (mi_execute_command): Call target_log_command.
1866
ff97be06
L
18672010-02-03 H.J. Lu <hongjiu.lu@intel.com>
1868
1869 * remote.c (remote_state): Remove gdbarch.
1870 (init_remote_state): Don't set gdbarch.
1871 (remote_query_supported): Pass target_gdbarch instead of
1872 rs->gdbarch to gdbarch_qsupported.
1873
75cebea9
L
18742010-02-03 H.J. Lu <hongjiu.lu@intel.com>
1875
1876 * gdbarch.sh: Add qsupported.
1877
1878 * gdbarch.c: Regenerated.
1879 * gdbarch.h: Likewise.
1880
1881 * remote.c (remote_state): Add gdbarch.
1882 (init_remote_state): Set gdbarch.
1883 (remote_query_supported): Support gdbarch_qsupported.
1884
c1dec97b
DJ
18852010-02-03 Daniel Jacobowitz <dan@codesourcery.com>
1886
1887 * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Also check for
1888 __FreeBSD_kernel_version.
1889
ac8035ab
TG
18902010-02-03 Tristan Gingold <gingold@adacore.com>
1891
1892 * symfile.h (struct sym_fns): Add sym_relocate field.
1893 (default_symfile_relocate): New prototype.
1894 (symfile_relocate_debug_section): First argument is now an objfile.
1895 * symfile.c (default_symfile_relocate): Rename from
1896 symfile_relocate_debug_section, first argument is now an objfile.
1897 (symfile_relocate_debug_section): New function.
1898 * coffread.c (coff_sym_fns): Set sym_relocate field.
1899 * somread.c (som_sym_fns): Ditto.
1900 * mipsread.c (ecoff_sym_fns): Ditto.
1901 * machoread.c (macho_sym_fns): Ditto.
1902 * elfread.c (elf_sym_fns): Ditto.
1903 * dwarf2read.c (dwarf2_read_section): Ditto.
1904 * xcoffread.c (xcoff_sym_fns): Ditto.
1905 * dbxread.c (aout_sym_fns): Ditto.
1906 (dbx_psymtab_to_symtab): Adjust call to symfile_relocate_debug_section.
1907 (elfstab_build_psymtabs): Ditto.
1908
be52b756
L
19092010-02-03 H.J. Lu <hongjiu.lu@intel.com>
1910
1911 * defs.h (MAX_REGISTER_SIZE): Increase to 32.
1912
9c3c02fd
TT
19132010-02-02 Tom Tromey <tromey@redhat.com>
1914
1915 * valops.c (value_cast_structs): Try downcasting using the RTTI
1916 type.
1917
f23f4c59
TT
19182010-02-02 Tom Tromey <tromey@redhat.com>
1919
1920 * gnu-v2-abi.c: Don't include gnu-v2-abi.h.
1921 (gnuv2_baseclass_offset): Now static.
1922 * Makefile.in (HFILES_NO_SRCDIR): Remove gnu-v2-abi.h.
1923 * gnu-v2-abi.h: Remove.
1924
0cc2414c
TT
19252010-02-02 Tom Tromey <tromey@redhat.com>
1926
1927 * m2-typeprint.c (m2_record_fields): Don't use
1928 TYPE_DECLARED_TYPE.
1929 * gdbtypes.h (TYPE_DECLARED_CLASS): New macro.
1930 (struct main_type) <flag_declared_class>: New field.
1931 (struct cplus_struct_type) <declared_type>: Remove.
1932 <ntemplate_args>: Move earlier.
1933 (DECLARED_TYPE_CLASS, DECLARED_TYPE_UNION, DECLARED_TYPE_STRUCT)
1934 (DECLARED_TYPE_TEMPLATE): Remove.
1935 (TYPE_DECLARED_TYPE): Remove.
1936 * gdbtypes.c (lookup_union): Don't use TYPE_DECLARED_TYPE.
1937 * dwarf2read.c (read_structure_type): Set TYPE_DECLARED_CLASS.
1938 * c-typeprint.c (c_type_print_base): Use TYPE_DECLARED_CLASS, not
1939 TYPE_DECLARED_TYPE.
1940
edf3d5f3
TT
19412010-02-02 Tom Tromey <tromey@redhat.com>
1942
1943 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
1944 * valops.c (search_struct_field): Compute nbases after calling
1945 CHECK_TYPEDEF.
1946 (check_field): Call CHECK_TYPEDEF.
1947 * cp-valprint.c (cp_print_value): Pass correct address to
1948 baseclass_offset. Fix check for virtual base past the end of the
1949 object. Don't offset address passed to cp_print_value_fields or
1950 apply_val_pretty_printer.
1951 (cp_print_value_fields): Fix call to val_print.
1952 (cp_print_value_fields_rtti): New function.
1953 * c-valprint.c (c_val_print): Use cp_print_value_fields_rtti.
1954 * p-valprint.c (pascal_object_print_value_fields): Fix call to
1955 val_print.
1956 * python/py-prettyprint.c (apply_val_pretty_printer): Add embedded
1957 offset to address.
1958 * language.h (struct language_defn) <la_val_print>: Document.
1959 * c-lang.h (cp_print_value_fields_rtti): Declare.
1960
e4b7f41c
JK
19612010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1962
1963 PR libc/11214:
1964 * linux-low.c (linux_tracefork_child) [!(__UCLIBC__ && HAS_NOMMU)]: New.
1965 (linux_test_for_tracefork): Move `stack' into [__UCLIBC__ && HAS_NOMMU].
1966 (linux_test_for_tracefork) [!(__UCLIBC__ && HAS_NOMMU)]: New.
1967
7618e12b
DJ
19682010-02-01 Michael Matz <matz@suse.de>
1969 Daniel Jacobowitz <dan@codesourcery.com>
1970
e4b7f41c 1971 * i386-tdep.c (i386_frame_cache): Assume valid anonymous
7618e12b
DJ
1972 functions use a frame pointer.
1973
b381ea14
JK
19742010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1975
1976 * solib-svr4.c (scan_dyntag): New variable dyn_addr. Replace gdb_assert
1977 by a conditional setting DYN_ADDR. Use DYN_ADDR.
1978 * config/djgpp/fnchange.lst: Add translations for
1979 symbol-without-target_section.exp and symbol-without-target_section.c.
1980
0e05dfcb
DJ
19812010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1982
1983 * gdbarch.sh: Set LANG and LC_ALL to C, not c.
1984 (remote_breakpoint_for_pc): Correct invalid_p check.
1985 * gdbarch.c: Regenerated.
1986
f9d67f43
DJ
19872010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1988
1989 * arm-tdep.c (arm_find_mapping_symbol): New function, from
1990 arm_pc_is_thumb.
1991 (arm_pc_is_thumb): Use arm_find_mapping_symbol.
1992 (extend_buffer_earlier): New function.
1993 (MAX_IT_BLOCK_PREFIX, IT_SCAN_THRESHOLD): New constants.
1994 (arm_adjust_breakpoint_address): New function.
1995 (arm_gdbarch_init): Register arm_adjust_breakpoint_address.
1996
177321bd
DJ
19972010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1998
1999 * arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint)
2000 (arm_linux_thumb2_le_breakpoint): New constants.
2001 (arm_linux_init_abi): Set thumb2_breakpoint and
2002 thumb2_breakpoint_size.
2003 * arm-tdep.c (thumb_insn_size, thumb_advance_itstate): New functions.
2004 (thumb_get_next_pc): Add a comment. Rename IT to ITSTATE.
2005 Implement support for single stepping through IT blocks if
2006 a 32-bit Thumb breakpoint instruction is available.
2007 (arm_breakpoint_from_pc): If a 32-bit Thumb breakpoint instruction
2008 is available, use it when needed.
2009 (arm_remote_breakpoint_from_pc): New function.
2010 (arm_gdbarch_init): Register arm_remote_breakpoint_from_pc.
2011 * arm-tdep.h (struct gdbarch_tdep): Correct thumb_breakpoint
2012 comment. Add thumb2_breakpoint and thumb2_breakpoint_size.
2013
a1dcb23a
DJ
20142010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2015
2016 * arch-utils.c (default_remote_breakpoint_from_pc): New function.
2017 * arch-utils.h (default_remote_breakpoint_from_pc): Declare.
2018 * gdbarch.c, gdbarch.h: Regenerated.
2019 * gdbarch.sh (remote_breakpoint_from_pc): New architecture method.
2020 * remote.c (remote_insert_breakpoint, remote_insert_hw_breakpoint): Use
2021 gdbarch_remote_breakpoint_from_pc.
2022
2b009048
DJ
20232010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
2024
2025 * infrun.c (prepare_to_proceed): Handle other signals which might
2026 match a breakpoint.
2027 (handle_inferior_event): Move the check for unusual breakpoint
2028 signals earlier.
2029
e4e2711a
JB
20302010-01-29 Paul Hilfinger <hilfinger@adacore.com>
2031
2032 amd64 - function returning record with field straddling 2 registers.
2033 * amd64-tdep.c (amd_classify_aggregate): Handle the case of
2034 a record of length <= 16 in which a field straddles the two
2035 eightbytes.
2036
cba6fab5
JB
20372010-01-29 Joel Brobecker <brobecker@adacore.com>
2038
2039 Implement return values on amd64-windows.
2040 * amd64-windows-tdep.c: #include gdbcore.h and regcache.h.
2041 (amd64_windows_return_value): New function.
2042 (amd64_windows_init_abi): Call set_gdbarch_return_value with
2043 amd64_windows_return_value.
2044
3af6ddfe
JB
20452010-01-29 Joel Brobecker <brobecker@adacore.com>
2046
2047 amd64-windows: 32 bytes allocated on stack by caller for integer
cba6fab5 2048 parameter registers.
3af6ddfe
JB
2049 * i386-tdep.h (struct gdbarch_tdep): Add new field
2050 integer_param_regs_saved_in_caller_frame.
2051 * amd64-windows-tdep.c (amd64_windows_init_abi): Set
2052 tdep->integer_param_regs_saved_in_caller_frame to 1.
2053 * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on
2054 stack if tdep->integer_param_regs_saved_in_caller_frame is set.
2055
80d19a06
JB
20562010-01-29 Joel Brobecker <brobecker@adacore.com>
2057
2058 amd64-windows: memory args passed by pointer during function calls.
2059 * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer.
2060 * amd64-tdep.c (amd64_push_arguments): Add handling of architectures
2061 where tdep->memory_args_by_pointer is non-zero.
2062 * amd64-windows-tdep.c (amd64_windows_init_abi): Set
2063 tdep->memory_args_by_pointer to 1.
2064
ba581dc1
JB
20652010-01-29 Joel Brobecker <brobecker@adacore.com>
2066
4966b6c2 2067 amd64-windows: Integer parameters in function calls.
ba581dc1
JB
2068 * i386-tdep.h (enum amd64_reg_class): New, moved here from
2069 amd64-tdep.c.
2070 (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs,
2071 call_dummy_integer_regs, and classify.
2072 * amd64-tdep.h (amd64_classify): Add declaration.
2073 * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant.
2074 (amd64_reg_class): Delete, moved to i386-tdep.h.
2075 (amd64_classify): Make non-static. Move declaration to amd64-tdep.h.
2076 Replace call to amd64_classify by call to tdep->classify.
2077 (amd64_push_arguments): Get the list of registers to use for
2078 passing integer parameters from the gdbarch tdep structure,
2079 rather than using a hardcoded one. Replace calls to amd64_classify
2080 by calls to tdep->classify.
2081 (amd64_push_dummy_call): Get the register number used for
2082 the "hidden" argument from tdep->call_dummy_integer_regs.
2083 (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs
2084 and tdep->call_dummy_integer_regs. Set tdep->classify.
2085 * amd64-windows-tdep.c: Add include of gdbtypes.h.
2086 (amd64_windows_dummy_call_integer_regs): New static global.
2087 (amd64_windows_classify): New function.
2088 (amd64_windows_init_abi): Initialize tdep->call_dummy_num_integer_regs
2089 tdep->call_dummy_integer_regs and tdep->classify.
2090
d37346f0
DJ
20912010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
2092
2093 * regcache.c (regcache_xmalloc): Add aspace argument. Use it
2094 for the new regcache. All callers updated.
2095 (regcache_cpy, regcache_cpy_no_passthrough): Do not set aspace here.
2096 (get_thread_arch_regcache): Do not set aspace here.
2097 * regcache.h (regcache_xmalloc): Update declaration.
2098
2099 * frame.c, infcall.c, ppc-linux-tdep.c: Calls to
2100 regcache_xmalloc updated.
2101
7434dadd
JB
21022010-01-28 Joel Brobecker <brobecker@adacore.com>
2103
2104 Another -Wunused-function error in procfs.c (sparc-solaris)
2105 * procfs.c (insert_dbx_link_breakpoint): Delete declaration. Move up.
2106 Only define if SYS_syssgi is defined.
2107 (remove_dbx_link_breakpoint): Delete declaration. Move up.
2108 (dbx_link_addr, insert_dbx_link_bpt_in_file)
2109 (insert_dbx_link_bpt_in_region): Move up. Only define if SYS_syssgi
2110 is itself defined.
2111
16d905e2
CF
21122010-01-27 Christopher Faylor <me+cygwin@cgf.cx>
2113
2114 * windows-nat.c (windows_initialization_done): New variable.
2115 (get_windows_debug_event): Issue error when process dies before
2116 completely initializing.
2117 (do_initial_windows_stuff): Set flag to indicate when we are done with
2118 the initial steps of attaching to the child.
2119
cd55e50f
JK
21202010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2121
2122 * symtab.h (struct symbol <symtab>): New comment on NULL values.
2123
99cc78aa
DE
21242010-01-27 Doug Evans <dje@google.com>
2125
4c7dcb84
DE
2126 * solib-svr4.c (solib_break_names): Add __dl_rtld_db_dlactivity.
2127
99cc78aa
DE
2128 * breakpoint.c (bpstat_stop_status): Delete useless code.
2129
52334bf5
JK
21302010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2131
2132 * printcmd.c (display_uses_solib_p): Remove variable section. Access
2133 objfile via SYMBOL_SYMTAB.
2134
708ead4e
TT
21352010-01-26 Tom Tromey <tromey@redhat.com>
2136
2137 PR exp/7643:
2138 * eval.c (evaluate_subexp_for_address) <UNOP_IND>: Call
2139 coerce_array on result.
2140
b14e635e
SW
21412010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
2142
2143 * cp-namespace.c (cp_lookup_symbol_namespace): Added
2144 search_parent argument.
2145 (cp_add_using): Initialize 'searched' field.
2146 (reset_directive_searched): New function.
2147 * cp-support.h: Add 'searched' field to using_direct struct.
2148 (cp_lookup_symbol_imports): Ditto.
2149 * cp-namespace.c (cp_lookup_symbol_imports): Ditto.
2150 Perform recursive search.
2151 Implement non parent search.
2152 * valops.c (value_maybe_namespace_elt): Updated.
2153
8540c487
SW
21542010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
2155
2156 PR gdb/10929:
2157 * dwarf2read.c (read_lexical_block_scope): Create blocks for
2158 scopes which contain using directives even if they contain no
2159 declarations.
2160 * symtab.c (lookup_symbol_aux): Pass lowest level block to
2161 la_lookup_symbol_nonlocal.
2162 * cp-namespace.c (cp_lookup_symbol_nonlocal): call
2163 cp_lookup_symbol_namespace.
2164 (cp_lookup_symbol_namespace): Perform an import lookup at every
2165 block level.
2166 (cp_lookup_symbol_imports): New function.
2167 (cp_lookup_symbol_in_namespace): New function.
2168
421d5d99
TT
21692010-01-25 Tom Tromey <tromey@redhat.com>
2170
2171 PR gdb/11049:
2172 * c-valprint.c (c_val_print): Fix test of extract_unsigned_integer
2173 result.
2174
6bcc772d
RO
21752010-01-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2176
2177 * configure.ac: Only use host_os part when disabling TUI on osf.
2178 Use test to check variables, prefix strings with x.
2179 * configure: Regenerate.
2180
2181 * solib-osf.c (osf_current_sos): Initialize tail.
2182
1c1238a5
TG
21832010-01-25 gingold <gingold@adacore.com>
2184
2185 * windows-nat.c (windows_continue): Use %x to print thread id.
2186 (get_windows_debug_event): Ditto.
2187
0b92b5bb
TT
21882010-01-22 Tom Tromey <tromey@redhat.com>
2189
2190 PR symtab/11199:
2191 * dwarf2read.c (quirk_gcc_member_function_pointer): Change return
2192 type and arguments. Use smash_to_methodptr_type.
2193 (read_structure_type): Call quirk_gcc_member_function_pointer
2194 later.
2195 * gdbtypes.h (smash_to_methodptr_type): Declare.
2196 * gdbtypes.c (smash_to_methodptr_type): New function.
2197 (lookup_methodptr_type): Use it.
2198
0d5392b8
TT
21992010-01-21 Tom Tromey <tromey@redhat.com>
2200
2201 PR symtab/11198:
2202 * symtab.h (lookup_minimal_symbol_and_objfile): Declare.
2203 * minsyms.c (lookup_minimal_symbol_and_objfile): New function.
2204 * glibc-tdep.c (find_minsym_and_objfile): Remove.
2205 (glibc_skip_solib_resolver): Use
2206 lookup_minimal_symbol_and_objfile.
2207
e6d088ec
KT
22082010-01-21 Kai Tietz <kai.tietz@onevision.com>
2209
2210 * inflow.c (check_syscall): Guard by #if clause for GO32 and
2211 WIN32 targets.
2212
b966cb8a
TT
22132010-01-20 Tom Tromey <tromey@redhat.com>
2214
2215 PR backtrace/10770:
2216 * valarith.c (value_binop): Handle BINOP_GTR, BINOP_LEQ, and
2217 BINOP_GEQ. Handle BINOP_NOTEQUAL in the signed case.
2218 * dwarf2expr.c (new_dwarf_expr_context): Allocate
2219 dwarf_stack_values, not CORE_ADDRs.
2220 (execute_stack_op): Change DW_OP_div and comparison operators to
2221 use signed operands.
2222
3f81c18a
VP
22232010-01-20 Vladimir Prus <vladimir@codesourcery.com>
2224
2225 Per-inferior args and tty and environment.
2226
2227 * infcmd.c (inferior_args): Rename to ...
2228 (inferior_args_scratch): ... this.
2229 (inferior_io_terminal): Rename to ...
2230 (inferior_io_terminal_scratch): ... this.
2231 (inferior_argc, inferior_argv): Remove.
2232 (set_inferior_io_terminal, get_inferior_io_terminal): Store
2233 inside current_inferior().
2234 (set_inferior_tty_command, show_inferior_tty_command): New.
2235 (get_inferior_args, set_inferior_args): Store inside
2236 current_inferior().
2237 (notice_args_set): Likewise and rename to...
2238 (set_args_command): ... this.
2239 (set_inferior_args_vector): Likewise.
2240 (notice_args_read): Rename to...
2241 (show_args_command): ...new.
2242 (tty_command): Remove.
2243 (run_command_1): Don't free old args, as they are freed by
2244 set_inferior_arg now.
2245 (run_no_args_command): Likewise.
2246 (inferior_environ): Remove.
2247 (run_command_1): Use environment of the current inferior.
2248 (environment_info, set_environment_command)
2249 (unset_environment_command, path_info, path_command): Likewise.
2250 (_initialize_infcmd): Adjust for function and variable renames.
2251 Do not init inferior_environ.
2252 * inferior.h (set_inferior_arg): Adjust prototype.
2253 (struct inferior): New fields args, argc, argv, terminal, environment.
2254 (inferior_environ): Remove declaration.
2255 * inferior.c (free_inferior): Free new fields.
2256 (add_inferior_silent): Initialize 'environment' field.
2257 * main.c (captured_main): Set arguments only after the initial
2258 inferior has been created. Set set_inferior_io_terminal,
2259 not tty_command.
2260 * mi/mi-main.c (mi_cmd_env_path): Use environment of the current
2261 inferior.
2262 (_initialize_mi_cmd_env): Adjust for disappearance of global
2263 inferior_environ.
2264 * solib.c (solib_find): Use environment of the current inferior.
2265
d8b65138
JK
22662010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2267
2268 * varobj.c (varobj_add_child, install_dynamic_child): Wrap into #if
2269 HAVE_PYTHON.
2270 (instantiate_pretty_printer): Move HAVE_PYTHON outside of the function.
2271
692465f1
JB
22722010-01-20 Joel Brobecker <brobecker@adacore.com>
2273
2274 Get rid of ada-lang.c:function_name_from_pc.
2275 * ada-lang.c: Add "stack.h" #include.
2276 (function_name_from_pc): Delete.
2277 (is_known_support_routine): Replace call to function_name_from_pc
2278 by call to find_frame_funname.
2279 (ada_unhandled_exception_name_addr_from_raise): Likewise.
2280
95519e0e
TT
22812010-01-19 Tom Tromey <tromey@redhat.com>
2282
2283 PR c++/11026:
2284 * dwarf2read.c (read_partial_die): Allocate partial DIE's name on
2285 objfile obstack.
2286
95c11dc7
TT
22872010-01-19 Tom Tromey <tromey@redhat.com>
2288
2289 * top.c (stop_sig, float_handler, do_nothing): Remove.
2290
a0f49112
JK
22912010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2292
2293 * breakpoint.c (watchpoint_check): Check the call
2294 gdbarch_in_function_epilogue_p before calling frame_find_by_id.
2295 Extend the comment.
2296 * config/djgpp/fnchange.lst: Add translations for
2297 watchpoint-cond-gone.exp, watchpoint-cond-gone.c and
2298 watchpoint-cond-gone-stripped.c.
2299
ceeb3d5a
TT
23002010-01-19 Tom Tromey <tromey@redhat.com>
2301
2302 PR c++/8000:
2303 * dwarf2read.c (partial_die_parent_scope): Put enumeration type
2304 into parent scope, and enumerator into grandparent scope.
2305
2b71fc8e
JB
23062010-01-19 Joel Brobecker <brobecker@adacore.com>
2307
2308 * NEWS: Add entry for "set/show ada trust-PAD-over-XVS" commands.
2309
03564ed9
JB
23102010-01-19 Joel Brobecker <brobecker@adacore.com>
2311
2312 * configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of
2313 i[34567]86-*-solaris2.1[0-9]*.
2314 * configure.tgt: Likewise.
2315
fb2e7cb4
JB
23162010-01-19 Joel Brobecker <brobecker@adacore.com>
2317
2318 * NEWS: Document the source command enhancement allowing it
2319 to load Python scripts. Document the "set/show script-extension"
2320 commands.
2321
1cb5e2a4
JB
23222010-01-19 Joel Brobecker <brobecker@adacore.com>
2323
2324 Add -Wunused-function to compile flags.
2325 * configure.ac: Add -Wunused-function to build_warnings.
2326 * configure: Regenerate.
2327
0ec6cd0c
JB
23282010-01-19 Joel Brobecker <brobecker@adacore.com>
2329
2330 "delete" ada-lex.c:input function, not used.
2331 * ada-lex.l: #define YY_NO_INPUT.
2332
b74845da
JB
23332010-01-19 Joel Brobecker <brobecker@adacore.com>
2334
2335 Delete free_named_symtabs and associated cleanup.
2336 * symfile.h (free_named_symtabs): Delete declaration.
2337 * symfile.c: Remove some commented out code (clear_symtab_users_once).
2338 (cashier_psymtab): Comment function out.
2339 Delete declaration.
2340 (free_named_symtabs): Delete.
2341 * coffread.c (coff_end_symtab): Remove call to free_named_symtabs.
2342 * dbxread.c (end_psymtab): Likewise.
2343 * dwarf2read.c (process_psymtab_comp_unit): Ditto.
2344 * exec.c (exec_close_1): Ditto.
2345 * xcoffread.c (xcoff_end_psymtab): Likewise.
2346
65c06092
JB
23472010-01-19 Joel Brobecker <brobecker@adacore.com>
2348
2349 * stack.c (print_block_frame_labels): Comment function out.
2350
d5cd6034
JB
23512010-01-19 Joel Brobecker <brobecker@adacore.com>
2352
2353 Delete unused or undefined functions.
2354 * breakpoint.c (ep_parse_optional_filename): Delete.
2355 * dcache.c (dcache_write_line): Remove declaration.
2356 * infrun.c (build_infrun): Remove declaration.
2357 * tracepoint.c (tracepoint_save_command): Remove declaration.
2358 * linux-nat.c (init_lwp_list): Delete. No longer used.
2359 * event-loop.c (check_async_signal_handlers): Delete declaration.
2360 * infrun.c (init_execution_control_state): Delete.
2361 (proceed): Update comment to avoid mentioning
2362 init_execution_control_state.
2363 * target.c (kill_or_be_killed, nosupport_runtime): Delete.
2364 * ada-lang.c (ada_to_static_fixed_value): Delete.
2365 * scm-lang.c (evaluate_subexp_scm): Delete declaration.
2366 * cp-namespace.c (cp_copy_usings): Delete.
2367 * xml-syscall.c (xml_number_of_syscalls): Delete.
2368 * progspace.c (find_program_space_by_num): Delete.
2369 * inflow.c (handle_sigio): Delete declaration.
2370 * hppa-tdep.c (hppa_alignof): Delete.
2371 * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset)
2372 (mipsnbsd_core_osabi_sniffer): Delete.
2373
4e8f195d
TT
23742010-01-18 Tom Tromey <tromey@redhat.com>
2375
2376 PR c++/9680:
2377 * c-exp.y (REINTERPRET_CAST, DYNAMIC_CAST, STATIC_CAST)
2378 (CONST_CAST): New tokens.
2379 (exp): Add new productions.
2380 (ident_tokens): Add const_cast, dynamic_cast, static_cast, and
2381 reinterpret_cast.
2382 (is_cast_operator): New function.
2383 (yylex): Handle cast operators specially.
2384 * eval.c (evaluate_subexp_standard) <UNOP_DYNAMIC_CAST,
2385 UNOP_REINTERPRET_CAST>: New cases.
2386 * expprint.c (print_subexp_standard): Likewise.
2387 (op_name_standard): Likewise.
2388 (dump_subexp_body_standard): Likewise.
2389 * parse.c (operator_length_standard): Likewise.
2390 * expression.h (enum exp_opcode): New constants UNOP_DYNAMIC_CAST,
2391 UNOP_REINTERPRET_CAST.
2392 * gdbtypes.c (class_types_same_p): New function.
2393 (is_ancestor): Use it.
2394 (is_public_ancestor): New function.
2395 (is_unique_ancestor_worker): Likewise.
2396 (is_unique_ancestor): Likewise.
2397 * gdbtypes.h (class_types_same_p, is_public_ancestor)
2398 (is_unique_ancestor): Declare.
2399 * valops.c (value_reinterpret_cast): New function.
2400 (dynamic_cast_check_1): Likewise.
2401 (dynamic_cast_check_2): Likewise.
2402 (value_dynamic_cast): Likewise.
2403 * value.h (value_reinterpret_cast, value_dynamic_cast): Declare.
2404
d9c57d9f
JB
24052010-01-18 Joel Brobecker <brobecker@adacore.com>
2406
2407 Fix build failure when building without Python support.
2408 * python/python.c: Always include exceptions.h, even when HAVE_PYTHON
2409 is not defined.
2410
f80d3ff2
JB
24112010-01-18 Joel Brobecker <brobecker@adacore.com>
2412
2413 Use XVS field type instead of doing a parallel lookup.
2414 * ada-lang.c (ada_get_base_type): Follow the XVS field type
2415 if it is a reference type instead of doing a type lookup using
2416 the XVS field name.
2417
5bf03f13
JB
24182010-01-18 Joel Brobecker <brobecker@adacore.com>
2419
2420 Trust PAD types instead of using PAD___XVS.
2421 * ada-lang.c (trust_pad_over_xvs): New static variable.
2422 (ada_is_aligner_type): If !trust_pad_over_xvs and there is a
2423 parallel XVS type, follow the XVS type instead of the PAD type.
2424 (unwrap_value): Make sure that there is no parallel XVE type
2425 before returning the value as is.
2426 (set_ada_list, show_ada_list): New static variables.
2427 (set_ada_command, show_ada_command): New functions.
2428 (_initialize_ada_language): Add new "set/show ada" prefix commands.
2429 Add new "set/show ada trust-PAD-over-XVS" setting.
2430
973817a3
JB
24312010-01-18 Tom Tromey <tromey@redhat.com>
2432 Thiago Jung Bauermann <bauerman@br.ibm.com>
2433
2434 Allow "source" to load python scripts.
2435 * exceptions.h (enum errors): Add UNSUPPORTED_ERROR.
2436 * python/python.c (source_python_script): New function.
2437 * python/python.h (source_python_script): Add declaration.
2438 * cli/cli-cmds.c: #include exceptions.h and python/python.h.
2439 (script_ext_off, script_ext_soft, script_ext_strict)
2440 (script_ext_enums, script_ext_mode): New static constants.
2441 (show_script_ext_mode, find_and_open_script): New functions.
2442 (source_script): Enhance to handle Python scripts.
2443 (init_cli_cmds): Add set/show script-extension commands.
2444
98e03262
SS
24452010-01-16 Stan Shebs <stan@codesourcery.com>
2446
2447 * tracepoint.h (struct trace_status): Use unsigned long long
2448 instead of size_t.
2449 * tracepoint.c (trace_status_command): Fix printf directive.
2450 (trace_save_command): Check fwrite returns, fix printf directive.
2451 (trace_filename): New global.
2452 (tfile_open): Set it, check read returns.
2453 (tfile_close): Free trace_filename.
2454 (tfile_get_traceframe_address): Check read returns.
2455 (tfile_trace_find): Ditto.
2456 (tfile_fetch_registers): Ditto.
2457 (tfile_xfer_partial): Ditto.
2458 (tfile_get_trace_state_variable_value): Ditto.
2459
00bf0b85
SS
24602010-01-15 Stan Shebs <stan@codesourcery.com>
2461
2462 Add trace file support.
2463 * tracepoint.h (enum trace_stop_reason): New enum.
2464 (struct trace_status): New struct.
2465 (parse_trace_status): Declare.
2466 (struct uploaded_tp): Move here from remote.c,
2467 add fields for actions.
2468 (struct uploaded_tsv): New struct.
2469 * tracepoint.c (tfile_ops): New target vector.
2470 (trace_fd): New global.
2471 (tfile_open): New function.
2472 (tfile_close): New function.
2473 (tfile_files_info): New function.
2474 (tfile_get_trace_status): New function.
2475 (tfile_get_traceframe_address): New function.
2476 (tfile_trace_find): New function.
2477 (tfile_fetch_registers): New function.
2478 (tfile_xfer_partial): New function.
2479 (tfile_get_trace_state_variable_value): New function.
2480 (init_tfile_ops): New function.
2481 (_initialize_tracepoint): Call it, add tfile target.
2482 (trace_status): New global.
2483 (current_trace_status): New function.
2484 (trace_running_p): Remove, change all users to get from
2485 current_trace_status()->running.
2486 (get_trace_status): Remove.
2487 (trace_status_command): Call target_get_trace_status directly,
2488 report more detail including tracing stop reasons.
2489 (trace_find_command): Always allow tfind on a file.
2490 (trace_find_pc_command): Ditto.
2491 (trace_find_tracepoint_command): Ditto.
2492 (trace_find_line_command): Ditto.
2493 (trace_find_range_command): Ditto.
2494 (trace_find_outside_command): Ditto.
2495 (trace_frames_offset, cur_offset): Declare as off_t.
2496 (trace_regblock_size): Rename from reg_size, update users.
2497 (parse_trace_status): New function.
2498 (tfile_interp_line): New function.
2499 (disconnect_or_stop_tracing): Ensure current trace
2500 status before asking what to do.
2501 (stop_reason_names): New global.
2502 (trace_save_command): New command.
2503 (get_uploaded_tp): Move here from remote.c.
2504 (find_matching_tracepoint): Ditto.
2505 (merge_uploaded_tracepoints): New function.
2506 (parse_trace_status): Use stop_reason_names.
2507 (_initialize_tracepoint): Define tsave command.
2508 * target.h (target_ops): New fields to_save_trace_data,
2509 to_upload_tracepoints, to_upload_trace_state_variables,
2510 to_get_raw_trace_data, change to_get_trace_status
2511 to take a pointer to a status struct.
2512 (target_save_trace_data): New macro.
2513 (target_upload_tracepoints): New macro.
2514 (target_upload_trace_state_variables): New macro.
2515 (target_get_raw_trace_data): New macro.
2516 * target.c (update_current_target): Add new methods, change
2517 signature of to_get_trace_status.
2518 * remote.c (hex2bin): Make globally visible.
2519 (bin2hex): Ditto.
2520 (remote_download_trace_state_variable): Download name also.
2521 (remote_get_trace_status): Update parameter, use
2522 parse_trace_status.
2523 (remote_save_trace_data): New function.
2524 (remote_upload_tracepoints): New function.
2525 (remote_upload_trace_state_variables): New function.
2526 (remote_get_raw_trace_data): New function.
2527 (remote_start_remote): Use them.
2528 (_initialize_remote_ops): Add operations.
2529 * ax-gdb.c: Include breakpoint.h.
2530 * breakpoint.c (create_tracepoint_from_upload): Use
2531 break_command_really, return tracepoint, warn about unimplemented
2532 parts.
2533 * NEWS: Mention trace file addition.
2534
d904de5b
JK
25352010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2536
2537 Fix compilation warning on gcc-3.4.
2538 * exec.c (print_section_info): Move the `displacement' variable
2539 initialization to its declaration.
2540
64aa9731
JK
25412010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2542
2543 * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE
2544 comparison.
2545
ca1f5def 25462010-01-15 Eric Botcazou <botcazou@adacore.com>
9f0dec2d
JB
2547
2548 "info tasks" broken by typedefs in ATCB type definitions.
2549 * ada-lang.c (ada_template_to_fixed_record_type_1): Add call to
2550 ada_check_typedef before retrieving the length of the type for
2551 regular fields.
2552
12ab9e09
JB
25532010-01-15 Joel Brobecker <brobecker@adacore.com>
2554
2555 Do not use name-based lookup for unconstrained packed arrays.
2556 * ada-lang.c (find_parallel_type_by_descriptive_type):
2557 Limit the fallback to name-based lookups to the case where
2558 the type is a constrained packed array.
2559
c389c3dc
JB
25602010-01-15 Joel Brobecker <brobecker@adacore.com>
2561
2562 Enhance gdb-gdb.py to handle main_type.type_specific.
2563 * gdb-gdb.py: Print the type-specific part of struct main_type.
2564
7991dee7
JK
25652010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2566
2567 * configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit.
2568 * configure: Regenerate.
2569 * config.in: Regenerate.
2570 * utils.c: Include sys/resource.h.
2571 (dump_core, can_dump_core): New.
2572 (internal_vproblem): Update the comment. Check can_dump_core while
2573 setting dump_core_p. Replace two abort calls by dump_core calls.
2574
93c26624
JK
25752010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2576 Eli Zaretskii <eliz@gnu.org>
2577
2578 * NEWS: Document the PIE support.
2579
55235ad7
JK
25802010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2581
2582 * linux-tdep.c: Remove includes gdbcore.h, observer.h and elf-bfd.h.
2583 (check_is_pie_binary, _initialize_linux_tdep): Remove.
2584
41752192
JK
25852010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2586
2587 * solib-svr4.c (svr4_exec_displacement): New comment for entry_point.
2588 Replace exec_entry_point call by bfd_get_start_address.
2589
9f2982ff
JK
25902010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2591
2592 Support Valgrind attachments broken by the PIE support.
2593 * auxv.c: Include gdbcore.h.
2594 (procfs_xfer_auxv): Make static. Reduce its comment. Drop its
2595 parameters ops, object and annex. Remove their assertions.
2596 (ld_so_xfer_auxv, memory_xfer_auxv): New function.
2597 * auxv.h (procfs_xfer_auxv): Remove comment. Rename to ...
2598 (memory_xfer_auxv): ... here.
2599 * linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to
2600 memory_xfer_auxv.
2601 * procfs.c (procfs_xfer_partial): Likewise.
2602 * solib-svr4.c (svr4_relocate_main_executable): New prototype.
2603 (svr4_special_symbol_handling): Call svr4_relocate_main_executable.
2604 (svr4_solib_create_inferior_hook): Conditionalize the
2605 svr4_relocate_main_executable call.
2606
61f0d762
JK
26072010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2608
2609 * solib-svr4.c (scan_dyntag): Remove variable dyn_addr. New variable
2610 target_section. Find SECT in current_target_sections, gdb_assert it.
2611 (elf_lookup_lib_symbol): Pass the binary file if given symfile_objfile.
2612 New variable abfd.
2613 * symtab.c (lookup_objfile_from_block): Return the binary file instead
2614 of separate debug info file.
2615
51bee8e9
JK
26162010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2617
2618 Support PIEs with no symfile_objfile.
2619 * exec.c (print_section_info <abfd == exec_bfd>): Relocate Entry point.
2620 * solib-svr4.c (svr4_relocate_main_executable <exec_bfd>): New block.
2621
b8040f19
JK
26222010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2623
2624 * solib-svr4.c (svr4_relocate_main_executable): Move the static exec
2625 code part to ...
2626 (svr4_static_exec_displacement): ... a new function.
2627 (svr4_exec_displacement): New function.
2628 (svr4_relocate_main_executable): Call svr4_exec_displacement. Allocate
2629 new_offsets using alloca now. Remove variable old_chain and changed.
2630 Call objfile_relocate unconditionally now.
2631
eb90ce83
DE
26322010-01-14 Doug Evans <dje@google.com>
2633
2634 * gdbtypes.c (arch_flags_type): Fix comment.
2635 * gdbtypes.h (arch_composite_type): Fix comment.
2636
bdfed3bc
TG
26372009-01-14 Tristan Gingold <gingold@adacore.com>
2638
2639 * machoread.c (macho_add_oso_symfile): Add symfile_flags parameter.
2640 Call xstrdup for abfd->filename. Pass symfile_flags and objfile flags
2641 to symbol_file_add_from_bfd. Add OSO as separate objfile.
2642 (macho_oso_symfile): Add symfile_flags parameter. Pass it to
2643 macho_add_oso_symfile.
2644 (macho_symfile_read): Pass symfile_flags to macho_oso_symfile.
2645
1596ad23
JB
26462010-01-14 Joel Brobecker <brobecker@adacore.com>
2647
2648 Tru64: Dead threads are never deleted.
2649 * dec-thread.c (dec_thread_ptid_is_alive): New function.
2650 (dec_thread_count_gdb_threads): Fix counter increment.
2651 (dec_thread_add_gdb_thread): Fix *listp increment.
2652 (resync_thread_list): Fix bug in deletion of dead threads that
2653 caused all threads to be deleted, instead of just the dead ones.
2654
be759fcf
PM
26552010-01-13 Phil Muldoon <pmuldoon@redhat.com>
2656
2657 PR python/10705
2658
2659 * python/python-internal.h: Add lazy_string_object_type
2660 definition.
2661 (create_lazy_string_object, gdbpy_initialize_lazy_string)
2662 (gdbpy_is_lazystring, gdbpy_extract_lazy_string): Define.
2663 * python/py-value.c (valpy_lazy_string): New function.
2664 (convert_value_from_python): Add lazy string conversion.
2665 * python/py-prettyprint.c (pretty_print_one_value): Check if
2666 return is also a lazy string.
2667 (print_string_repr): Add lazy string printing branch.
2668 (print_children): Likewise.
2669 * python/py-lazy-string.c: New file. Implement lazy strings.
2670 * python/python.c (_initialize_python): Call
2671 gdbpy_initialize_lazy_string.
2672 * varobj.c (value_get_print_value): Add lazy string printing
2673 branch. Account for encoding.
2674 * c-lang.c (c_printstr): Account for new encoding argument. If
2675 encoding is NULL, find encoding suited for type, otherwise use
2676 user encoding.
2677 * language.h (language_defn): Add encoding argument.
2678 (LA_PRINT_STRING): Likewise.
2679 * language.c (unk_lang_printstr): Update to reflect new encoding
2680 argument to language_defn.
2681 * ada-lang.h (ada_printstr): Likewise.
2682 * c-lang.h (c_printstr): Likewise.
2683 * p-lang.h (pascal_printstr);
2684 * f-lang.c (f_printstr): Likewise.
2685 * m2-lang.c (m2_printstr): Likewise.
2686 * objc-lang.c (objc_printstr): Likewise.
2687 * p-lang.c (pascal_printstr): Likewise.
2688 * scm-lang.c (scm_printstr): Likewise.
2689 * c-valprint.c (c_val_print): Update LA_PRINT_STRING call for
2690 encoding argument.
2691 * ada-valprint.c (ada_printstr): Likewise.
2692 * f-valprint.c (f_val_print): Likewise
2693 * m2-valprint.c (m2_val_print): Likewise.
2694 * p-valprint.c (pascal_val_print): Likewise.
2695 * expprint.c (print_subexp_standard): Likewise.
2696 * valprint.c (val_print_string): Likewise.
2697 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-lazy-string.
2698 (SUBDIR_PYTHON_SRCS): Likewise.
2699 (py-lazy-string.o): New rule.
2700
1fe72117 27012010-01-13 Doug Evans <dje@google.com>
8eee9c5a
DE
2702
2703 * mi/mi-main.c (list_available_thread_groups): Avoid "may be used
2704 uninitialized" warning from gcc on local `tree'.
2705
dc146f7c
VP
27062010-01-13 Vladimir Prus <vladimir@codesourcery.com>
2707
2708 Implement core awareness.
2709
2710 * bcache.c (compare_ints): Remove
2711 (print_percentage): Use compare_positive_ints.
2712 * defs.h (compare_positive_ints): Declare.
2713 * linux-nat.h (struct lin_lwp): New field core.
2714 (linux_nat_core_of_thread_1): Declare.
2715 * linux-nat.c (add_lwp): Init the 'core' field.
2716 (linux_nat_wait_1): Record the core.
2717 (linux_nat_core_of_thread_1, linux_nat_core_of_thread): New.
2718 (linux_nat_add_target): Register the above.
2719 * linux-thread-db.c (update_thread_core): New.
2720 (thread_db_find_new_threads): Update core information for
2721 every thread.
2722 * remote.c (struct private_thread_info): New.
2723 (free_private_thread_info, demand_private_info): New.
2724 (PACKET_qXfer_threads, use_osdata_threads): New.
2725 (struct thread_item, threads_parsing_context
2726 (start_thread, end_thread, thread_attributes)
2727 (thread_children, threads_children, threads_elements): New.
2728 (remote_threads_info): Try qXfer:threads before anything
2729 else.
2730 (remote_protocol_packets): Register qXfer:threads.
2731 (remote_open_1): Init use_osdata_threads.
2732 (struct stop_reply): New field 'core'.
2733 (remote_parse_stop_reply): Parse core number.
2734 (process_stop_reply): Record core number.
2735 (remote_xfer_partial): Handle qXfer:threads.
2736 (remote_core_of_thread): New.
2737 (init_remote_ops): Register remote_core_of_thread.
2738 (_initialize_remote): Register qXfer:read.
2739 * target.c (target_core_of_thread): New
2740 * target.h (enum target_object): New value TARGET_OBJECT_THREADS.
2741 (struct target_ops): New field to_core_of_threads.
2742 (target_core_of_thread): Declare.
2743 * gdbthread.h (struct thread_info): New field private_dtor.
2744 * thread.c (print_thread_info): Report the core.
2745 * ui-out.c (MAX_UI_OUT_LEVELS): Increase.
2746 * utils.c (compare_positive_ints): New.
2747 * features/threads.dtd: New.
2748 * mi/mi-interp.c (mi_on_normal_stop): Report the core.
2749 * mi/mi-main.c (struct collect_cores_data, collect_cores)
2750 (do_nothing, free_vector_of_osdata_items)
2751 (splay_tree_int_comparator, free_splay_tree): New.
2752 (print_one_inferior_data): Implemented printing of selected
2753 inferiors. Collect and print cores.
2754 (output_cores): New.
2755 (mi_cmd_list_thread_groups): Support --recurse. Permit specifying
2756 thread groups together with --available.
2757
d30c5336
JK
27582010-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2759
2760 * configure: Regenerate (for _STRUCTURED_PROC).
2761
02893727
JB
27622010-01-12 Joel Brobecker <brobecker@adacore.com>
2763
2764 Delete dead function.
2765 * ada-lang.c (extract_string): Delete. No longer used.
2766
46ed2d6f
JB
27672010-01-12 Joel Brobecker <brobecker@adacore.com>
2768
2769 Fix -Wunused warning in dec-thread.c.
2770 * dec-thread.c (dec_thread_count_gdb_threads)
2771 (dec_thread_add_gdb_thread): Prevent -Wunused warning.
2772
606b8d1a
JB
27732010-01-12 Joel Brobecker <brobecker@adacore.com>
2774
2775 * ada-valprint.c (ada_print_floating): Remove trailing space.
2776
b4ba55a1
JB
27772010-01-12 Joel Brobecker <brobecker@adacore.com>
2778
2779 Add support for DW_AT_GNAT_descriptive_type.
2780 * gdbtypes.h (enum type_specific_kind): New enum.
2781 (struct main_type) [type_specific_field]: New component.
2782 [type_specific]: Add new component "gnat_stuff".
2783 (struct gnat_aux_type): New type.
2784 (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type).
2785 (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type).
2786 (gnat_aux_default, allocate_gnat_aux_type): Add declaration.
2787 (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO)
2788 (TYPE_SPECIFIC_FIELD): New macros.
2789 (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given
2790 type does not hold any cplus-specific data.
2791 (TYPE_RAW_CPLUS_SPECIFIC): New macro.
2792 (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros.
2793 (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has
2794 cplus-specific data.
2795 * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite.
2796 Set new component TYPE_SPECIFIC_FIELD (type).
2797 (gnat_aux_default): New constant.
2798 (allocate_gnat_aux_type): New function.
2799 (init_type): Add initialization the type-specific stuff for
2800 TYPE_CODE_FLT and TYPE_CODE_FUNC types.
2801 (print_gnat_stuff): New function.
2802 (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus-
2803 specific data. Adjust code that prints the contents of the
2804 type-specific union using the TYPE_SPECIFIC_FIELD value.
2805 * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate
2806 the type cplus stuff for Ada types.
2807 (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type):
2808 Error out if these routines are called with an Ada type.
2809 (read_structure_type, read_array_type, read_subrange_type):
2810 Add call to set_descriptive_type.
2811 (set_die_type): Initialize the gnat-specific data if necessary.
2812 (need_gnat_info, die_descriptive_type, set_descriptive_type):
2813 New functions.
2814 * ada-lang.c (decode_constrained_packed_array_type): Use
2815 decode_constrained_packed_array_type instead of doing a standard
2816 lookup to locate a parallel type.
2817 (find_parallel_type_by_descriptive_type): New function.
2818 (ada_find_parallel_type_with_name): New function.
2819 (ada_find_parallel_type): Reimplement using
2820 ada_find_parallel_type_with_name.
2821 * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT
2822 to check if type has a cplus stuff.
2823 * linespec.c (total_number_of_methods): Likewise.
2824 * mdebugread.c (new_type): Likewise.
2825
b0f02ee9
JK
28262010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2827
2828 * NEWS: Document the 0b binary number prefix parsing.
2829
b260e109
JK
28302010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2831
2832 * objfiles.c (objfile_relocate1): Change the return type to int.
2833 Describe the new return value. Return non-zero if data changed.
2834 (objfile_relocate): New variable changed. Set it. Call
2835 breakpoint_re_set depending on CHANGED.
2836
b5cfddf5
JK
28372010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2838
2839 Implement binary numbers parsing.
2840 * c-exp.y (parse_number): New case 'b' and 'B'.
2841
e0ae4240
JK
28422010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2843 Tristan Gingold <gingold@adacore.com>
2844
2845 * solib.c (info_sharedlibrary_command): Replace
2846 objfile_has_partial_symbols and objfile_has_full_symbols calls by
2847 objfile_has_symbols.
2848
6e0e5977
JB
28492010-01-10 Joel Brobecker <brobecker@adacore.com>
2850
2851 * NEWS: Document the improvements made to the mips-irix port.
2852
7348c5e1
JB
28532010-01-09 Joel Brobecker <brobecker@adacore.com>
2854
2855 Fix the documentation of valprint.c:value_print.
2856 * valprint.c (value_print): Update the function description to
2857 mention that the syntax of the output follows the current_language,
2858 not necessarily C.
2859
567995e1
JK
28602010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2861
2862 Fix displacement of separate debug info files.
2863 * objfiles.c (objfile_relocate): Rename to ...
2864 (objfile_relocate1): ... here and make it static. Extend the comment.
2865 (objfile_relocate): New function.
2866 * solib-spu.c (spu_relocate_main_executable): Explicitly check if
2867 SYMFILE_OBJFILE is NULL. Remove variables objfile and old_chain.
2868 Remove following of SEPARATE_DEBUG_OBJFILE. new_offsets is now
2869 allocated using alloca.
2870 * symfile.c (copy_section_addr_info): Remove.
2871 (build_section_addr_info_from_objfile): Make it global. New variables
2872 addr_bit and mask, use them.
2873 * symfile.h (build_section_addr_info_from_objfile): New prototype.
2874 (copy_section_addr_info): Remove.
2875
6d8eadbd
JB
28762010-01-09 Joel Brobecker <brobecker@adacore.com>
2877
2878 Signal unwinder for mips-irix N32.
2879 * mips-irix-tdep.c: #include mips-tdep.h, trad-frame.h, and
2880 tramp-frame.h.
2881 (SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF)
2882 (SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF)
2883 (SIGCONTEXT_LO_OFF): New macros.
2884 (mips_irix_n32_tramp_frame_init): New function.
2885 (mips_irix_n32_tramp_frame): New static constant.
2886 (mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder.
2887
27087a3d
JB
28882010-01-09 Joel Brobecker <brobecker@adacore.com>
2889
2890 Breakpoint in shared library does not work on mips-irix.
2891 * procfs.c: #include "observer.h".
2892 (procfs_inferior_created): New function, moving here the code
2893 which unsets the syssgi syscall-exit notifications.
2894 (procfs_create_inferior): Remove the code which unsets the syssgi
2895 syscall-exit notifications. It is too early to do this here.
2896 (_initialize_procfs): Attach the procfs_inferior_created observer.
2897
f08877ba
JB
28982010-01-09 Joel Brobecker <brobecker@adacore.com>
2899
2900 Wrong return convention for arrays (mips-irix).
2901 * mips-tdep.c (mips_n32n64_return_value): Arrays whose size is
2902 128 bits or smaller are returned the same way as structs
2903 and unions of the the same size.
2904
e4b97d48
JB
29052010-01-09 Joel Brobecker <brobecker@adacore.com>
2906
2907 Cannot set the PC on mips-irix.
2908 * irix5-nat.c (fill_gregset): Check regno against the raw PC
2909 register number, no the cooked one.
2910
11377e68
JB
29112010-01-09 Joel Brobecker <brobecker@adacore.com>
2912
2913 Error while loading core file on mips-irix.
2914 * solib-irix.c (irix_solib_create_inferior_hook): Do nothing
2915 if debugging from a core file.
2916
b2391021
JB
29172010-01-09 Joel Brobecker <brobecker@adacore.com>
2918
2919 GDB hangs when attaching to process on mips-irix.
2920 * solib-irix.c (irix_solib_create_inferior_hook): Do nothing if
2921 attaching to a process.
2922
f2ec0ecf
JB
29232010-01-09 Joel Brobecker <brobecker@adacore.com>
2924
2925 Use the correct breakpoint instruction on mips-irix.
2926 * mips-tdep.c (mips_breakpoint_from_pc): Add new static variable
2927 containing the correct breakpoint instruction to use on mips-irix.
2928 Use it when the osabi is GDB_OSABI_IRIX.
2929
3c95f01c
JB
29302010-01-09 Joel Brobecker <brobecker@adacore.com>
2931
2932 -Wunused warning in procfs.c (mips-irix only).
2933 * procfs.c (gdb_praddset, gdb_prdelset): New macros. Use them
2934 throughout instead of using praddset and prdelset respectively.
2935
4b7703ad
JB
29362010-01-09 Joel Brobecker <brobecker@adacore.com>
2937
2938 GDB crash while stepping into function.
2939 * infrun.c (handle_inferior_event): Refetch the current frame
2940 after handling what.main_action, in case that pointer became
2941 dangling.
2942
12c89474
JB
29432010-01-09 Joel Brobecker <brobecker@adacore.com>
2944
2945 Fix build failure of solaris-hosted cross debuggers.
2946 * ada-valprint.c, parse.c: Include defs.h before including ctype.h.
2947
1a3fd262 29482010-01-09 Daniel Gutson <dgutson@codesourcery.com>
4c490650
JB
2949
2950 Fix build failure on sparc-solaris.
2951 * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
2952
75242ef4
JK
29532010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2954
2955 Move some symfile code into subroutines.
2956 * symfile.h (relative_addr_info_to_section_offsets)
2957 (addr_info_make_relative): New prototypes.
2958 * symfile.c (default_symfile_offsets): Move a part to ...
2959 (relative_addr_info_to_section_offsets): ... this new function.
2960 (default_symfile_offsets): Call it.
2961 (syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move
2962 this part to ...
2963 (addr_info_make_relative): ... this new function.
2964
268a4a75
JK
29652010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2966
2967 Add from_tty to solib_create_inferior_hook.
2968 * infcmd.c (post_create_inferior): Move solib_add after
2969 solib_create_inferior_hook. Pass from_tty to
2970 solib_create_inferior_hook. Call solib_add and SOLIB_ADD with
2971 0 from_tty and comment why.
2972 * infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0.
2973 * linux-nat.c (linux_child_follow_fork): Likewise.
2974 * nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise.
2975 * solib-darwin.c (darwin_solib_create_inferior_hook): New parameter
2976 from_tty.
2977 * solib-frv.c (frv_solib_create_inferior_hook): Likewise.
2978 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2979 * solib-null.c (null_solib_create_inferior_hook): Likewise.
2980 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2981 * solib-pa64.c (pa64_solib_create_inferior_hook): Likewise.
2982 * solib-som.c (som_solib_create_inferior_hook): Likewise.
2983 * solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty.
2984 Pass it to svr4_so_ops.solib_create_inferior_hook.
2985 * solib-sunos.c (sunos_solib_create_inferior_hook): New parameter
2986 from_tty.
2987 * solib-svr4.c (enable_break): New parameter from_tty. Pass it to
2988 solib_add.
2989 (svr4_solib_create_inferior_hook): New parameter from_tty. Pass it to
2990 enable_break.
2991 * solib-target.c (solib_target_solib_create_inferior_hook): New
2992 parameter from_tty.
2993 * solib.c (solib_create_inferior_hook): New parameter from_tty. Pass
2994 it to ops->solib_create_inferior_hook.
2995 (reload_shared_libraries): Pass from_tty to solib_create_inferior_hook.
2996 Move solib_add after solib_create_inferior_hook, call it now with
2997 from_tty as 0. New comment there.
2998 * solib.h (solib_create_inferior_hook): New parameter from_tty.
2999 * solist.h (struct target_so_ops <solib_create_inferior_hook>):
3000 Likewise.
3001
cf00dfa7
VP
30022010-01-08 Vladimir Prus <vladimir@codesourcery.com>
3003
3004 Fix multiexec race.
3005 * infrun.c (handle_inferior_event): Use get_thread_regcache
3006 with events ptid, not get_current_regcache.
3007
f91e5ac3
JB
30082009-01-08 Joel Brobecker <brobecker@adacore.com>
3009
3010 GDB crash with empty executable name (MinGW).
3011 * source.c (openp): Add assert that parameter string is not NULL.
3012 if parameter string is an empty string, then return with a failure
3013 immediately.
3014
92b9ce5b
JB
30152009-01-08 Joel Brobecker <brobecker@adacore.com>
3016
3017 Get rid of support for VAX Floats.
3018 * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix)
3019 (ada_vax_float_print_function): Delete.
3020 * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix)
3021 (ada_vax_float_print_function): Delete.
3022 * ada-typeprint.c (print_vax_floating_point_type): Delete.
3023 (ada_print_type): Remove support for VAX floats.
3024 * ada-valprint.c (ada_val_print_1): Remove support for VAX floats.
3025
268a4a75 30262010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
3027
3028 * stabsread.c (read_args): Handle zero arguments.
3029
f0f20949
JB
30302009-01-08 Joel Brobecker <brobecker@adacore.com>
3031
3032 Cannot find in-tree libiconv.a after reconfigure.
3033 * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a
3034 that we can use, then cache the path to this archive.
3035 * configure: Regenerate.
3036
6b6218c5
SS
30372010-01-07 Stan Shebs <stan@codesourcery.com>
3038
35b1e5cc
SS
3039 Make tracepoint operations go through target vector.
3040 * target.h (enum trace_find_type): New enum.
3041 (struct target_ops): New fields to_trace_init,
3042 to_download_tracepoint, to_download_trace_state_variable,
3043 to_trace_set_readonly_regions, to_trace_start, to_get_trace_status,
3044 to_trace_stop, to_trace_find, to_get_trace_state_variable_value,
3045 to_set_disconnected_tracing.
3046 (target_trace_init): New macro.
3047 (target_download_tracepoint): New macro.
3048 (target_download_trace_state_variable): New macro.
3049 (target_trace_start): New macro.
3050 (target_trace_set_readonly_regions): New macro.
3051 (target_get_trace_status): New macro.
3052 (target_trace_stop): New macro.
3053 (target_trace_find): New macro.
3054 (target_get_trace_state_variable_value): New macro.
3055 (target_set_disconnected_tracing): New macro.
3056 * target.c (update_current_target): Inherit and set defaults for
3057 tracepoint operations.
3058 * tracepoint.c (default_collect): Make globally visible.
3059 (target_is_remote): Remove, along with all calls.
3060 (tvariables_info): Call target_get_trace_state_variable_value.
3061 (remote_set_transparent_ranges): Remove.
3062 (trace_start_command): Call target_trace_init,
3063 target_download_tracepoint, etc.
3064 (download_tracepoint): Remove.
3065 (trace_stop_command): Simplify.
3066 (stop_tracing): Call target_trace_stop.
3067 (get_trace_status): Call target_get_trace_status.
3068 (trace_status_command): Add case for targets that cannot trace.
3069 (finish_tfind_command): Change to take numerical arguments, call
3070 target_trace_find.
3071 (trace_find_command): Update call to finish_tfind_command.
3072 (trace_find_pc_command): Ditto.
3073 (trace_find_tracepoint_command): Ditto.
3074 (trace_find_line_command): Ditto.
3075 (trace_find_range_command): Ditto.
3076 (trace_find_outside_command): Ditto.
3077 (set_disconnected_tracing_value): Call
3078 target_set_disconnected_tracing.
3079 * remote.c: Add protocol encoding bits from tracepoint.c.
3080 (trace_error): Move from tracepoint.c.
3081 (remote_get_noisy_reply): Ditto.
3082 (free_actions_list_cleanup_wrapper): Ditto.
3083 (free_actions_list): Ditto.
3084 (remote_trace_init): New function.
3085 (remote_download_tracepoint): New function.
3086 (remote_download_trace_state_variable): New function.
3087 (remote_trace_set_readonly_regions): New function.
3088 (remote_trace_start): New function.
3089 (remote_get_trace_status): New function.
3090 (remote_trace_stop): New function.
3091 (remote_trace_find): New function.
3092 (remote_download_trace_state_variable): New function.
3093 (remote_set_disconnected_tracing): New function.
3094 (init_remote_ops): Add tracepoint operations.
3095
6b6218c5
SS
3096 * tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
3097
089b4803
TG
30982010-01-07 Tristan Gingold <gingold@adacore.com>
3099
3100 * symfile.c (build_section_addr_info_from_objfile): New function.
3101 (symbol_file_add_separate): Don't use offsets from objfile but
3102 built an addr info.
3103
d5551862
SS
31042010-01-06 Stan Shebs <stan@codesourcery.com>
3105
3106 Support disconnected tracing.
3107 * infcmd.c (detach_command): Ask whether to stop tracing.
3108 * cli/cli-cmds.c (quit_command): Ditto.
3109 * breakpoint.h (struct breakpoint): New field number_on_target.
3110 * breakpoint.c (create_tracepoint_from_upload): New function.
3111 (get_tracepoint_by_number_on_target): New function.
3112 * remote.c (struct remote): New field disconnected_tracing.
3113 (remote_disconnected_tracing_feature): New function.
3114 (remote_protocol_features): Add DisconnectedTracing.
3115 (struct uploaded_tp): New struct.
3116 (uploaded_tps): New global.
3117 (get_uploaded_tp): New function.
3118 (find_matching_tracepoint): New function.
3119 (remote_get_tracing_state): New function.
3120 (remote_start_remote): Call it.
3121 * tracepoint.c (disconnected_tracing): New global.
3122 (trace_start_command): Initialize number_on_target.
3123 (stop_tracing): New function, split out from...
3124 (trace_stop_command): Call stop_tracing.
3125 (get_trace_status): New function, split out from...
3126 (trace_status_command): Call get_trace_status, add info on
3127 disconnection behavior.
3128 (disconnect_or_stop_tracing): New function.
3129 (finish_tfind_command): Translate from number on target.
3130 (trace_find_tracepoint_command): Translate to number on target.
3131 (send_disconnected_tracing_value): New function.
3132 (set_disconnected_tracing): New function.
3133 (_initialize_tracepoint): Add disconnected-tracing variable.
3134 * NEWS: Mention disconnected tracing.
3135
15d123c9
TG
31362010-01-06 Tristan Gingold <gingold@adacore.com>
3137
3138 * symtab.c (lookup_global_symbol_from_objfile): Rename objfile
3139 parameter to main_objfile. Iterate on all separate debug objfiles.
3140 * symfile.h (symbol_file_add_separate)
3141 (find_separate_debug_file_by_debuglink): Remove parameter names.
3142 * symfile.c (symbol_file_add_separate): Use add_separate_objfile.
3143 (reread_symbols): Use free_objfile_separate_debug.
3144 * objfiles.h (struct objfile): Add separate_debug_objfile_link.
3145 Adjust comment.
3146 (objfile_separate_debug_iterate, add_separate_debug_objfile)
3147 (free_objfile_separate_debug): New prototypes.
3148 * objfiles.c (objfile_separate_debug_iterate): New function.
3149 (add_separate_debug_objfile, free_objfile_separate_debug): New
3150 functions.
3151 (free_objfile): Use free_objfile_separate_debug. Adjust for
3152 multiple separate debug objfile.
3153 (objfile_has_symbols): Adjust comment. Iterate on all separate
3154 debug objfiles.
3155 * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate
3156 debug objfile.
3157 (lookup_minimal_symbol_text): Ditto.
3158 (lookup_minimal_symbol_by_pc_name): Ditto.
3159 (lookup_minimal_symbol_solib_trampoline): Ditto.
3160 (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate
3161 debug objfiles.
3162
7a697b8d
SS
31632010-01-05 Stan Shebs <stan@codesourcery.com>
3164
3165 Add fast tracepoints.
3166 * arch-utils.h (default_fast_tracepoint_valid_at): Declare.
3167 * arch-utils.c (default_fast_tracepoint_valid_at): New function.
3168 * breakpoint.h (enum bptype): Add bp_fast_tracepoint.
3169 * breakpoint.c (tracepoint_type): New function.
3170 (ALL_TRACEPOINTS): Use it.
3171 (should_be_inserted): Ditto.
3172 (bpstat_check_location): Ditto.
3173 (print_one_breakpoint_location): Ditto.
3174 (user_settable_breakpoint): Ditto.
3175 (set_breakpoint_location_function): Ditto.
3176 (disable_breakpoints_in_shlibs): Ditto.
3177 (delete_trace_command): Ditto.
3178 (print_it_typical): Add bp_fast_tracepoint case.
3179 (bpstat_what): Ditto.
3180 (print_one_breakpoint_location): Ditto.
3181 (allocate_bp_location): Ditto.
3182 (mention): Ditto.
3183 (breakpoint_re_set_one): Ditto.
3184 (disable_command): Ditto.
3185 (enable_command): Ditto.
3186 (check_fast_tracepoint_sals): New function.
3187 (break_command_really): Call it.
3188 (ftrace_command): New function.
3189 (_initialize_breakpoint): Add ftrace command.
3190 * gdbarch.sh (fast_tracepoint_valid_at): New.
3191 * gdbarch.h, gdbarch.c: Regenerate.
3192 * i386-tdep.c (i386_fast_tracepoint_valid_at): New function.
3193 (i386_gdbarch_init): Use it.
3194 * remote.c (struct remote_state): New field fast_tracepoints.
3195 (PACKET_FastTracepoints): New packet config type.
3196 (remote_fast_tracepoint_feature): New function.
3197 (remote_protocol_features): Add FastTracepoints.
3198 (remote_supports_fast_tracepoints): New function.
3199 (_initialize_remote): Add FastTracepoints.
3200 * tracepoint.c (download_tracepoint): Add fast tracepoint option.
3201 * NEWS: Mention fast tracepoints.
3202
737a160e
JB
32032010-01-06 Joel Brobecker <brobecker@adacore.com>
3204
3205 * gdb-gdb.py: New file.
3206
ce6cca6d
MS
32072010-01-05 Michael Snyder <msnyder@vmware.com>
3208
3209 * infrun.c (handle_inferior_event): Fix typo in comment.
3210
0d15807d
JK
32112010-01-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3212
3213 * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional.
3214
7803799a
UW
32152010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
3216
3217 * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
3218 and s390x-linux64.
3219 (s390-linux32-expedite): Define.
3220 (s390-linux64-expedite): Define.
3221 (s390x-linux64-expedite): Define.
3222 * features/s390-acr.xml: New file.
3223 * features/s390-fpr.xml: New file.
3224 * features/s390-core32.xml: New file.
3225 * features/s390-core64.xml: New file.
3226 * features/s390x-core64.xml: New file.
3227 * features/s390-linux32.xml: New file.
3228 * features/s390-linux64.xml: New file.
3229 * features/s390x-linux64.xml: New file.
3230 * features/s390-linux32.c: New generated file.
3231 * features/s390-linux64.c: New generated file.
3232 * features/s390x-linux64.c: New generated file.
3233
3234 * regformats/s390-linux32.dat: New generated file.
3235 * regformats/s390-linux64.dat: New generated file.
3236 * regformats/s390x-linux64.dat: New generated file.
3237 * regformats/reg-s390.dat: Remove.
3238 * regformats/reg-s390x.dat: Remove.
3239
3240 * s390-nat.c: Include "auxv.h" and <elf.h>.
3241 (HWCAP_S390_HIGH_GPRS): Define if undefined.
3242 (s390_target_wordsize): New function.
3243 (s390_auxv_parse): Likewise.
3244 (s390_get_hwcap): Likewise.
3245 (s390_read_description): Likewise.
3246 (_initialize_s390_nat): Install s390_auxv_parse and
3247 s390_read_description.
3248
3249 * s390-tdep.c: Include "features/s390-linux32.c",
3250 "features/s390-linux64.c", and "features/s390x-linux64.c".
3251 (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum.
3252 (s390_register_call_saved): New function.
3253 (s390_register_name): Remove.
3254 (s390_register_type): Remove.
3255 (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums.
3256 (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs.
3257 (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI.
3258 (s390_pseudo_register_name): New function.
3259 (s390_pseudo_register_type): New function.
3260 (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases.
3261 Handle full GPR pesudos and varying pseudo register numbers.
3262 (s390_pseudo_register_write): Likewise
3263 (s390x_pseudo_register_read): Remove.
3264 (s390x_pseudo_register_write): Likewise.
3265 (s390_register_group): Remove.
3266 (s390_pseudo_register_group): New function.
3267 (s390_regmap_gregset): Add GPR upper halves.
3268 (s390x_regmap_gregset): Likewise.
3269 (s390_regmap_fpregset): Likewise.
3270 (s390_regmap_upper): New global variable.
3271 (s390_upper_regset): New global variable.
3272 (s390_upper_regset_sections): New global variable.
3273 (s390_regset_from_core_section): Handle GPR upper halves.
3274 (s390_core_read_description): New function.
3275 (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered
3276 register information. Handle varying pseudo register numbers.
3277 (s390_backchain_frame_unwind_cache): Likewise.
3278 (s390_frame_prev_register): Unwind full GPRs to show lower halves.
3279 (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers.
3280 (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as
3281 PC and CC pseudos. Unwind upper halves and full GPRs as appropriate.
3282 Handle varying pseudo register numbers.
3283 (s390_unwind_pc): Handle varying pseudo register numbers.
3284 (s390_dwarf2_prev_register): New function.
3285 (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered
3286 register information. Handle varying pseudo register numbers.
3287 Install s390_dwarf2_prev_register to unwind full GPRs.
3288 (s390_gdbarch_init): Handle target descriptions. Assign varying
3289 pseudo register numbers. Install s390_adjust_frame_regnum.
3290 (_initialize_s390_tdep): Initialize target descriptions.
3291
3292 * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define.
3293 (S390_NUM_REGS): Redefine to include upper half registers.
3294 (S390_PC_REGNUM, S390_CC_REGNUM): Remove.
3295 (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise.
3296 (tdesc_s390_linux32): Add declaration.
3297 (tdesc_s390_linux64): Likewise.
3298 (tdesc_s390x_linux64): Likewise.
3299
1b1818e4
UW
33002010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
3301
3302 * regset.h (struct core_regset_section): Add HUMAN_NAME.
3303 * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME.
3304 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
3305 (ppc_linux_vmx_regset_sections): Likewise.
3306 (ppc_linux_fp_regset_sections): Likewise.
3307
3308 * corelow.c (get_core_register_section): Constify arguments.
3309 (get_core_registers): Use gdbarch_core_regset_sections instead
3310 of hard-coded platform-specific register section names.
3311
dcbf108f
UW
33122010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
3313
3314 * dwarf2loc.c (read_pieced_value): If a piece occupies part of
b3f41522 3315 a register, assume the least-significant part is used.
dcbf108f
UW
3316 (write_pieced_value): Likewise.
3317
704e9165
UW
33182010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
3319
3320 * printcmd.c: Include "arch-utils.h".
3321 (do_one_display): Re-parse expression if current architecture changed.
3322
c54eabfa
JK
33232010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3324 Joel Brobecker <brobecker@adacore.com>
3325
3326 * gdbtypes.c (check_typedef): New comment on type length.
3327 * value.c (allocate_value_lazy): Remove the unused atype variable. New
3328 comment on type length.
3329 (value_primitive_field): Keep the original TYPE value, new comment.
3330
50cb2941
JK
33312010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3332
3333 * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as
3334 p_start. Change != comparisons to > and < comparisons.
3335
be66db07
JK
33362010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3337
3338 * cli/cli-script.c (process_next_line): Check P2 overrun.
3339
abd775ce
JB
33402009-01-01 Joel Brobecker <brobecker@adacore.com>
3341
3342 Update the copyright hearder to add year 2010 for most GDB files.
3343
6479260d
JB
33442009-01-01 Joel Brobecker <brobecker@adacore.com>
3345
3346 Fix build failure in inf-ptrace.c.
3347 * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
3348
4a70f654
JB
33492010-01-01 Joel Brobecker <brobecker@adacore.com>
3350
3351 * top.c (print_gdb_version): Update copyright year.
3352
b9ee2233
JB
33532010-01-01 Joel Brobecker <brobecker@adacore.com>
3354
3355 Fix break *FUN'address thread NUM.
3356 * ada-lex.l (task): Expand rule to also match the thread keyword.
3357
70575d34
JB
33582010-01-01 Joel Brobecker <brobecker@adacore.com>
3359
3360 Fix break *FUN'address task NUM.
3361 * ada-lex.l (task): New rule.
3362 * ada-lang.c (valid_task_id): Make sure the Ada task list has
3363 been built before using it.
3364
e1e4d4a4 3365For older changes see ChangeLog-2009.
c906108c
SS
3366\f
3367Local Variables:
3368mode: change-log
3369left-margin: 8
3370fill-column: 74
3371version-control: never
57da7796 3372coding: utf-8
c906108c 3373End:
This page took 1.634447 seconds and 4 git commands to generate.