*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
2 Vladimir Prus <vladimir@codesourcery.com>
3
4 Fix 'selected frame' varobjs.
5 * varobj.c (struct varobj): Remove the error field.
6 (varobj_set_value): Don't check var->error.
7 (install_new_value): Don't set var->error.
8 (varobj_update): Always pass the new value
9 of the root via install_new_value.
10 (create_child): Don't set error field.
11 (new_variable): Likewise.
12 (c_value_of_root): Always reevaluate the value
13 of selected frame varobjs in the selected frame.
14 Don't call reinit_frame_cache.
15
16 2007-01-15 Joel Brobecker <brobecker@adacore.com>
17
18 * source.c (_initialize_source): Improve the help text of
19 the substitute-path commands.
20
21 2007-01-14 Mark Kettenis <kettenis@gnu.org>
22
23 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
24 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
25 (frv_skip_prologue): Remove prototypes.
26 (frv_adjust_breakpoint_address): Renamed from
27 frv_gdbarch_adjust_breakpoint_address.
28 (frv_gdbarch_init): Adjust.
29
30 2007-01-13 Mark Kettenis <kettenis@gnu.org>
31
32 * gdbarch.sh (deprecated_extract_return_value)
33 (deprecated_store_return_value): Remove.
34 (extract_return_value, store_return_value): Remove default values.
35 * gdbarch.c, gdbarch.h: Regenerate.
36 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
37 (legacy_store_return_value): Remove.
38 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
39 Remove.
40
41 * mi/mi-main.c: Remove obsolete comment.
42
43 * regcache.c, regcache.h (deprecated_register_bytes)
44 (deprecated_read_register_bytes)
45 (deprecated_write_register_bytes): Remove.
46
47 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
48 Don't forget to move destination pointer.
49
50 2007-01-01 Mark Kettenis <kettenis@gnu.org>
51
52 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
53
54 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
55
56 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
57 past entry function with recent newlib.
58
59 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
60
61 * gdb.texinfo (GDB/MI Variable Objects): Improve the
62 introduction. Specify -var-update more exactly.
63
64 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
65
66 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
67
68 2007-01-10 Jim Blandy <jimb@codesourcery.com>
69
70 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
71 the Global Maintainers' invitation to be a global maintainer.
72
73 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
74
75 * infrun.c (singlestep_pc): New variable.
76 (resume): Set singlestep_pc.
77 (context_switch): Add a debugging message. Flush the frame cache.
78 (handle_inferior_event): Add debugging messages. Handle thread
79 hops when a software single step has completed. Let context_switch
80 handle flushing the frame cache.
81
82 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
83
84 * NEWS: Mention target descriptions, "set tdesc filename",
85 "unset tdesc filename", "show tdesc filename", and
86 qXfer:features:read.
87 * arch-utils.c (choose_architecture_for_target): New function.
88 (gdbarch_info_fill): Call it.
89 * target-descriptions.c (struct property): Make members non-const.
90 (struct target_desc): Add arch member.
91 (target_description_filename): New variable.
92 (target_find_description): Try via XML first.
93 (tdesc_architecture): New.
94 (free_target_description, make_cleanup_free_target_description): New.
95 (set_tdesc_property): Call xstrdup.
96 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
97 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
98 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
99 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
100 * target-descriptions.h (tdesc_architecture)
101 (make_cleanup_free_target_description, set_tdesc_architecture): New
102 prototypes.
103 * Makefile.in (SFILES): Add xml-tdesc.c.
104 (COMMON_OBS): Add xml-tdesc.o.
105 (target-descriptions.o): Update.
106 (xml-tdesc.o): New rule.
107 * xml-tdesc.c, xml-tdesc.h: New files.
108 * remote.c (PACKET_qXfer_features): New enum.
109 (remote_protocol_features): Add qXfer:features:read.
110 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
111 (_initialize_remote): Register qXfer:features:read.
112 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
113 * features/gdb-target.dtd: New file.
114
115 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
116
117 * copyright.sh: Clarify error.
118
119 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
120
121 * symtab.c (matching_bfd_sections): Fix VMA matching for
122 prelinked objects.
123
124 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
125
126 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
127 nested symbols.
128
129 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
130
131 Updated copyright notices for most files.
132
133 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
134
135 * copyright.sh (prunes): Add step-line.inp and step-line.c.
136
137 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
138
139 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
140 exec_prefix.
141 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
142 '${prefix}'.
143 * configure, config.in: Regenerate.
144 * defs.h (debug_file_directory): Declare.
145 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
146 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
147 relocate it if DEBUGDIR_RELOCATABLE.
148 * symfile.c (debug_file_directory): Make non-static.
149 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
150 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
151 (_initialize_symfile): Don't initialize debug_file_directory here.
152
153 2007-01-09 Jim Blandy <jimb@codesourcery.com>
154
155 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
156 statements.
157
158 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
159
160 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
161 frame_unwind_register to recurse.
162 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
163 (alpha_heuristic_frame_prev_register): Likewise.
164 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
165 * m32c-tdep.c (m32c_prev_register): Likewise.
166 * frame.c (frame_register_unwind_location): Remove FIXME.
167
168 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
169 Eli Zaretskii <eliz@gnu.org>
170
171 * copyright.sh: New file.
172
173 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
174
175 * configure.ac: Check for XML_StopParser.
176 * xml-support.c (gdb_xml_body_text): Check for an error.
177 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
178 (gdb_xml_end_element_wrapper): Likewise.
179 * config.in, configure: Regenerated.
180
181 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
182
183 * varobj.c (install_new_value): Always update print_value.
184 (value_get_print_value): Immediately return NULL for missing
185 values.
186
187 2007-01-08 Jim Blandy <jimb@codesourcery.com>
188
189 * configure.ac: Tighten pattern for extracting value of
190 DEPRECATED_TM_FILE from the target makefile fragment.
191 * configure: Regenerated.
192
193 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
194
195 * linux-nat.c (struct simple_pid_list): Add status.
196 (add_to_pid_list): Record the PID's status.
197 (linux_record_stopped_pid): Likewise. Make static.
198 (pull_pid_from_list): Return the saved status.
199 (linux_nat_handle_extended): Deleted.
200 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
201 Make static. Handle non-SIGSTOP for a new thread's first signal.
202 (flush_callback): Handle unexpected pending signals.
203 (linux_nat_wait): Update calls to changed functions.
204 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
205 Remove prototypes for newly static functions.
206
207 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
208
209 * gdbarch.sh (value_from_register): New gdbarch function.
210 * gdbarch.c, gdbarch.h: Regenerate.
211 * findvar.c (default_value_from_register): New function.
212 (value_from_register): Use gdbarch_value_from_register.
213 * value.h (default_value_from_register): Declare.
214 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
215 spu_value_to_register): Remove.
216 (spu_value_from_register): New function.
217 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
218 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
219 Call set_gdbarch_value_from_register.
220 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
221 s390_value_to_register): Remove.
222 (s390_value_from_register): New function.
223 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
224 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
225 Call set_gdbarch_value_from_register.
226
227 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
228
229 * NEWS: Add "set sysroot" and "show sysroot".
230 * solib.c (solib_absolute_prefix): Delete. Replace
231 all uses with gdb_sysroot.
232 (_initialize_solib): Add "set sysroot" and "show sysroot".
233 Make "solib-absolute-prefix" an alias to it.
234
235 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
236
237 * frame.c (get_frame_register_bytes): New function.
238 (put_frame_register_bytes): Likewise.
239 * frame.h (get_frame_register_bytes): Declare.
240 (put_frame_register_bytes): Likewise.
241 * findvar.c (value_from_register): Always construct lval_register
242 values. Use get_frame_register_bytes.
243 * valops.c (value_assign): Use get_frame_register_bytes and
244 put_frame_register_bytes.
245
246 2007-01-08 Jim Blandy <jimb@codesourcery.com>
247
248 * MAINTAINERS: Update Stan Shebs' email address.
249
250 2007-01-07 Joel Brobecker <brobecker@adacore.com>
251
252 * ada-lang.c (is_known_support_routine): Improve the implementation.
253
254 2007-01-06 Joel Brobecker <brobecker@adacore.com>
255
256 * ada-lang.c: Add include of source.h.
257 (is_known_support_routine): Improve the check verifying that the file
258 associated to this frame exists.
259 * Makefile.in (ada-lang.o): Add dependency on source.h.
260
261 2007-01-07 Jim Blandy <jimb@codesourcery.com>
262
263 * ax-general.c (ax_const_l): Select proper opcode for the given
264 value.
265
266 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
267
268 * varobj.c (c_value_of_root): Don't select frame if variable
269 object is out of scope.
270
271 2007-01-06 Nick Roberts <nickrob@snap.net.nz>
272
273 * varobj.c (struct varobj): New member print_value.
274 (install_new_value): Compare last printed value with current one
275 instead of contents.
276 (new_variable): Initialize var->print_value to NULL.
277 (free_variable): Free var->print_value.
278 (value_get_print_value): New function derived from
279 c_value_of_variable.
280 (c_value_of_variable): Use value_get_print_value.
281
282 2007-01-05 Joel Brobecker <brobecker@adacore.com>
283
284 * i386-tdep.c (i386_analyze_stack_align): Add comment.
285
286 2007-01-05 Joel Brobecker <brobecker@adacore.com>
287
288 * NEWS: Add entries for new catch commands.
289
290 2006-02-05 Joel Brobecker <brobecker@adacore.com>
291
292 * dwarf2read.c (partial_die_info): Add field has_byte_size.
293 (add_partial_symbol): Correct identification of external references.
294 (process_structure_scope): Likewise.
295 (read_partial_die): Handle DW_AT_byte_size attribute.
296
297 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
298
299 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
300
301 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
302
303 * varobj.c (get_type_deref): Fix variable objects for references to
304 pointers.
305
306 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
307
308 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
309 with no symbols.
310
311 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
312
313 * memory-map.c (struct_memory_map_parsing_data): Remove most
314 members. Make property_name an array.
315 (free_memory_map_parsing_data, memory_map_start_element)
316 (memory_map_end_element, memory_map_character_data): Delete.
317 (memory_map_start_memory, memory_map_end_memory)
318 (memory_map_start_property, memory_map_end_property): New functions.
319 (property_attributes, memory_children, memory_type_enum)
320 (memory_attributes, memory_map_children, memory_map_elements): New.
321 (parse_memory_map): Rewrite.
322 * xml-support.c (debug_xml): New.
323 (xml_get_required_attribute, xml_get_integer_attribute)
324 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
325 Delete.
326 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
327 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
328 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
329 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
330 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
331 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
332 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
333 New.
334 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
335 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
336 (enum gdb_xml_element_flag, struct gdb_xml_element)
337 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
338 (struct gdb_xml_enum): New.
339 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
340 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
341 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
342 (xml_get_required_attribute, xml_get_integer_attribute)
343 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
344 * Makefile.in (xml_support_h, xml-support.o): Update.
345
346 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
347
348 * Makefile.in (eval.o): Update dependencies.
349 * eval.c: Include "ui-out.h" and "exceptions.h".
350 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
351 Use value_zero if an error occurs when avoiding side effects.
352 * varobj.c (c_value_of_root): Initialize new_val.
353
354 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
355
356 * varobj.c (varobj_list_children): Stop if the number of children is
357 unknown.
358 (c_number_of_children):
359
360 2007-01-04 Mark Kettenis <kettenis@gnu.org>
361
362 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
363 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
364 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
365 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
366 sizeof, instead of hardcoded constants.
367
368 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
369
370 * CONTRIBUTE: Use sourceware.org.
371
372 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
373
374 * buildsym.c (start_subfile): Handle producer.
375 (record_producer): New function.
376 * buildsym.h (struct subfile): Include producer.
377 (record_producer): New prototype.
378 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
379 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
380 armcc_cfa_offsets_reversed.
381 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
382 (dwarf2_frame_find_quirks): New function.
383 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
384 (decode_frame_entry_1): Record the CIE version. Record the
385 augmentation. Skip armcc augmentations.
386 * dwarf2read.c (read_file_scope): Save the producer.
387 * symtab.h (struct symtab): Rename unused version member to
388 producer.
389
390 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
391
392 * configure.ac (build_warnings): Use -Wall and
393 -Wdeclaration-after-statement.
394 * configure: Regenerated.
395
396 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
397
398 Simplify access to variours properties of child
399 variable objects in C.
400 * varobj.c (value_struct_element_index): New function.
401 (c_describe_child): New function.
402 (c_name_of_child, c_value_of_child)
403 (c_type_of_child): Rewrite to use c_describe_child.
404
405 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
406
407 gdb/
408 * varobj.c: Include "vec.h".
409 (varobj_p): New typedef, declare vector of those.
410 (struct varobj): Use vector for the 'children' member.
411 (child_exists): Remove.
412 (save_child_in_parent): Remove.
413 (remove_child_from_parent): Remove.
414 (struct varobj_child): Remove.
415 (struct vstack): Remove.
416 (vpush, vpop): Remove.
417 (varobj_list_children): Adjust to work work vector.
418 (varobj_update): Likewise. Use vectors for
419 working stack and result.
420 (delete_variable_1): Likewise.
421 * Makefile.in (varobj.o): Update dependencies.
422
423 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
424
425 Port from Apple's version.
426 gdb/
427 * varobj.c (type_changeable): Rename to...
428 (varobj_value_is_changeable_p): ...this. Adjust all callers.
429 (is_root_p): New function. Use it everywhere.
430
431 2007-01-04 Jim Blandy <jimb@codesourcery.com>
432
433 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
434 then plain 'fixup'.
435
436 2007-01-04 Joel Brobecker <brobecker@adacore.com>
437
438 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
439
440 2007-01-04 Joel Brobecker <brobecker@adacore.com>
441
442 * hpread.c (hpread_type_lookup): Fix compilation failure.
443
444 2007-01-04 Qinwei <qinwei@sunnorth.com.cn>
445
446 * NEWS: New port to S+core.
447 * MAINTAINERS (Write After Approval, Responsible Maintainers):
448 Add myself.
449
450 * Makefile.in: Add dependencies for S+core files.
451 * configure.tgt (score*, score-*-*): Add S+core target.
452 * config/score/embed.mt: New file.
453 * score-tdep.c: New file.
454 * score-tdep.h: New file.
455
456 2007-01-04 Joel Brobecker <brobecker@adacore.com>
457
458 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
459 the appropriate type rather than a bogus void type.
460
461 2007-01-04 Joel Brobecker <brobecker@adacore.com>
462
463 * ada-lang.h (ada_find_printable_frame): Remove.
464 (ada_exception_catchpoint_p, ada_decode_exception_location)
465 (ada_decode_assert_location): Add declaration.
466 * ada-lang.c: Add include of annotate.h and valprint.h.
467 (exception_catchpoint_kind): New enum.
468 (function_name_from_pc, is_known_support_routine)
469 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
470 (ada_exception_name_addr_1, ada_exception_name_addr)
471 (print_it_exception, print_one_exception, print_mention_exception)
472 (print_it_catch_exception, print_one_catch_exception)
473 (print_mention_catch_exception, catch_exception_breakpoint_ops)
474 (print_it_catch_exception_unhandled)
475 (print_one_catch_exception_unhandled)
476 (print_mention_catch_exception_unhandled, print_it_catch_assert)
477 (print_one_catch_assert, print_mention_catch_assert)
478 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
479 (ada_get_next_arg, catch_ada_exception_command_split)
480 (ada_exception_sym_name, ada_exception_sym_name)
481 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
482 (ada_parse_catchpoint_condition, ada_exception_sal)
483 (ada_decode_exception_location)
484 (ada_decode_assert_location): New function.
485 (catch_exception_unhandled_breakpoint_ops): New global variable.
486 (catch_assert_breakpoint_ops): New global variable.
487 * breakpoint.c: Add include of ada-lang.h.
488 (print_one_breakpoint): Do not print the condition for Ada
489 exception catchpoints.
490 (create_ada_exception_breakpoint): New function.
491 (catch_ada_exception_command, catch_assert_command): New function.
492 (catch_command_1): Add support for the new "catch exception" and
493 "catch assert" commands.
494 (_initialize_breakpoint): Add help description for the new catch
495 commands.
496 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
497 valprint.h.
498 (breakpoint.o): Add dependency on ada-lang.h.
499
500 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
501
502 * coffread.c (cs_to_section): If bfd_section is found, always
503 return its section index.
504 (coff_symtab_read): Determine the minimal_symbol_type using the
505 bfd_section flags.
506
507 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
508 Daniel Jacobowitz <dan@codesourcery.com>
509
510 * Makefile.in (top.o): Update.
511 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
512 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
513 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
514 New.
515 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
516
517 2007-01-03 Mark Kettenis <kettenis@gnu.org>
518
519 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
520 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
521
522 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
523
524 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
525 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
526 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
527 greater than or equal to zero.
528 * m2-typeprint.c (m2_array): Likewise.
529 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
530 * gdbtypes.c (copy_type_recursive): Correct == typo.
531 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
532 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
533 greater than zero.
534 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
535 (default_macro_scope): Remove unused variable.
536 * prologue-value.h (pv_area_find_reg): Don't name an argument
537 "register".
538 * remote-fileio.c (remote_fio_func_map): Add missing braces.
539 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
540 type.
541 (cleanup_sigint_signal_handler): Remove casts.
542 * valprint.c (val_print): Use a volatile local for the modified
543 argument.
544 * varobj.c (languages): Remove extra array dimension.
545 (varobj_create): Correct access to languages array.
546 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
547 missing braces.
548 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
549 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
550 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
551 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
552 (mi_cmd_data_write_memory): Likewise.
553 * signals/signals.c (target_signal_to_string): Cast to int before
554 comparing.
555 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
556 Update all callers.
557
558 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
559
560 * NEWS: Mention pointer to member improvements.
561 * Makefile.in (gnu-v3-abi.o): Delete special rule.
562 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
563 * ada-valprint.c (ada_print_scalar): Update for new type codes.
564 * c-typeprint.c (c_print_type): Update for new type codes.
565 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
566 (c_type_print_base): Likewise.
567 (c_type_print_args): Rewrite.
568 * c-valprint.c (c_val_print): Update for new type codes. Remove
569 support for references to members. Treat methods like functions.
570 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
571 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
572 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
573 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
574 (struct cp_abi_ops): Add corresponding members.
575 * cp-valprint.c (cp_print_class_method): Delete.
576 (cp_find_class_member): New function.
577 (cp_print_class_member): Use it. Simplify support for bogus
578 member pointers.
579 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
580 lookup_methodptr_type.
581 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
582 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
583 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
584 pointer support.
585 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
586 references returned by user defined operators.
587 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
588 (f_type_print_varspec_suffix): Remove support for member pointers.
589 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
590 and adjusted.
591 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
592 (lookup_methodptr_type): New.
593 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
594 (recursive_dump_type): Update for new types.
595 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
596 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
597 (lookup_memberptr_type, lookup_methodptr_type)
598 (smash_to_memberptr_type): New prototypes.
599 (smash_to_method_type): Formatting fix.
600 (lookup_member_type, smash_to_member_type): Delete prototypes.
601 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
602 Do not rely on debug information for the vptr or the method's
603 enclosing type. Handle function descriptors for IA64.
604 (gnuv3_virtual_fn_field): Rewrite using the new functions.
605 (gnuv3_find_method_in, gnuv3_print_method_ptr)
606 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
607 (gnuv3_method_ptr_to_value): New.
608 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
609 * hpread.c (hpread_type_lookup): Update for new types.
610 * infcall.c (value_arg_coerce): Likewise.
611 * m2-typeprint.c (m2_print_type): Remove explicit support
612 for member pointers.
613 * m2-valprint.c (m2_val_print): Likewise.
614 * p-typeprint.c (pascal_type_print_varspec_prefix)
615 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
616 * p-valprint.c (pascal_val_print): Likewise.
617 (pascal_object_print_class_method, pascal_object_print_class_member):
618 Delete.
619 * p-lang.h (pascal_object_print_class_method)
620 (pascal_object_print_class_member): Delete prototypes.
621 * stabsread.c (read_type): Update for new types.
622 * typeprint.c (print_type_scalar): Likewise.
623 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
624 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
625 argument. Construct a pointer to member if the address of a
626 function or data member is requested.
627 (value_cast_pointers): Don't modify the input value.
628 (value_cast): Adjust pointer to member handling for new types.
629 Allow null pointer to member constants. Don't modify the input
630 value.
631 (value_ind): Remove pointer to member check. Handle function
632 descriptors for function pointers.
633 (value_struct_elt, value_find_oload_method_list, check_field):
634 Remove pointer to member checks.
635 * value.c (unpack_long): Allow pointers to data members.
636 (value_from_longest): Allow member pointers.
637 * value.h (value_aggregate_elt): Add want_address.
638 * varobj.c (c_variable_editable): Remove check for members.
639 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
640 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
641 in virtual tables.
642 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
643 * c-lang.h (cp_print_class_method): Delete prototype.
644 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
645 * mips-tdep.c (mips_gdbarch_init): Likewise.
646 * gdbarch.c, gdbarch.h: Regenerated.
647
648 2007-01-01 Mark Kettenis <kettenis@gnu.org>
649
650 * rs6000-tdep.c (rs6000_use_struct_convention)
651 (rs6000_extract_return_value, rs6000_store_return_value)
652 (rs6000_extract_struct_value_address): Remove.
653 (rs6000_return_value): New function.
654 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
655 store_return_value, deprecated_extract_struct_value_address and
656 deprecated_use_struct_convention. Use rs6000_return_value
657 instead.
658
659 2007-01-02 Nick Roberts <nickrob@snap.net.nz>
660
661 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
662 -display-disable, -display-enable, -display-insert and
663 -display-list.
664
665 2006-01-01 Joel Brobecker <brobecker@adacore.com>
666
667 * breakpoint.c (remove_breakpoint): Remove dead code.
668
669 2007-01-01 Nick Roberts <nickrob@snap.net.nz>
670
671 * varobj.c: Include block.h.
672 (c_value_of_root): Check scope within nested statements.
673
674 2007-01-01 Mark Kettenis <kettenis@gnu.org>
675
676 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
677 regcache_cooked_write_signed instead of
678 deprecated_write_register_bytes.
679
680 2007-01-01 Joel Brobecker <brobecker@adacore.com>
681
682 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
683
684 2007-01-01 Joel Brobecker <brobecker@adacore.com>
685
686 Followed the Start of New Year Procedure:
687 * ChangeLog-2006: New file, containing all the entries for 2006.
688 * ChangeLog: Removed all 2006 entries, and changed the reference
689 to the previous ChangeLog to point to ChangeLog 2006.
690 * top.c (print_gdb_version): Update copyright year.
691
692 2007-01-01 Mark Kettenis <kettenis@gnu.org>
693
694 * Makefile.in (remote-sds.o): Remove.
695 * remote-sds.c: Delete.
696
697 For older changes see ChangeLog-2006.
698 \f
699 Local Variables:
700 mode: change-log
701 left-margin: 8
702 fill-column: 74
703 version-control: never
704 End:
This page took 0.043202 seconds and 4 git commands to generate.