* sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
3e461478
MK
12007-02-08 Mark Kettenis <kettenis@gnu.org>
2
3 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
4 * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
5
fc6e0168
DJ
62007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
7
8 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
9 (xml_cache): New.
10 (tdesc_parse_xml): Cache expanded descriptions.
11
108546a0
DJ
122007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
13
14 * Makefile.in (XMLFILES): New.
15 (COMMON_OBS): Add xml-builtin.o.
16 (xml-builtin.c, stamp-xml): New rules.
17 (xml-tdesc.o): Update.
18 * features/feature_to_c.sh: New file.
19 * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
20 (struct gdb_xml_parser): Add dtd_name and is_xinclude.
21 (gdb_xml_start_element): Initialize scope after possibly reallocating
22 scopes. Move cleanup later. Handle the XInclude description
23 specially.
24 (gdb_xml_end_element): Only parse the body if there is a current element.
25 Call XML_DefaultCurrent if there is no element.
26 (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
27 (struct xinclude_parsing_data, xinclude_start_include)
28 (xinclude_end_include, xml_xinclude_default)
29 (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
30 (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
31 (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
32 * xml-support.h (xml_fetch_another, xml_process_xincludes)
33 (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
34 * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
35 XInclude directives. Use the compiled in DTD.
36 (fetch_xml_from_file): Add baton argument. Treat it as a containing
37 directory name. Do not warn here.
38 (file_read_description_xml): Update call. Warn here instead. Pass
39 a dirname as baton.
40 (fetch_available_features_from_target): New.
41 (target_read_description_xml): Use it.
42 * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
43 to handle XInclude.
44 * features/xinclude.dtd: New file.
45
b5057acd
DJ
462007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
47
48 * linux-thread-db.c (check_for_thread_db): Return early if we have
49 no libthread_db support.
50
6a089cf2
DJ
512007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
52
53 * mi/mi-parse.h: Include <sys/time.h>.
54
9fbcbb40
NR
552007-02-05 Nick Roberts <nickrob@snap.net.nz>
56
57 * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
58 instead of print_variable_value to print values.
59
b3d2152a
NR
602007-02-03 Nick Roberts <nickrob@snap.net.nz>
61
62 * mi/mi-main.c: Numerous formatting changes.
63 (mi_cmd_data_write_register_values): Replace clause inadvertantly
64 removed in my previous change.
65
79f0a97a
NR
662007-02-03 Eli Zaretskii <eliz@gnu.org>
67
68 * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
69 Use 1000000L instead of 1000000.
70
95a98c01 712007-02-03 Nick Roberts <nickrob@snap.net.nz>
cd375699
NR
72
73 Based on work by Apple Computer, Inc.
74
75 * configure.ac: Test for sys/resource.h and getrusage.
76 * configure, config.in: Regenerate.
77
78 * mi/mi-main.c: Include <sys/resource.h> if present.
79 (rusage): Declare if HAVE_GETRUSAGE.
80 (current_command_ts, do_timings): New static variables.
81 (timestamp, print_diff_now, print_diff, timeval_diff):
82 New static timing functions.
83 (mi_cmd_enable_timings): New function for new MI command.
84 (captured_mi_execute_command, mi_execute_async_cli_command):
85 Call timing functions.
86
87 * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
88 -enable-timings.
89
90 * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
91
92 * mi/mi-parse.h: (mi_timestamp): New structure.
93 (mi_parse): Add mi_timestamp* member.
94
99b3d574
DP
952007-02-02 Denis Pilat <denis.pilat@st.com>
96
97 * thread.c (make_cleanup_restore_current_thread): New function.
98 (info_threads_command): Use of make_cleanup_restore_current_thread
99 to restore the current thread and the selected frame.
100 (restore_selected_frame): New function.
101 (struct current_thread_cleanup): Add frame_id field.
102 (do_restore_current_thread_cleanup): Add restoring of the selected
103 frame.
104 (make_cleanup_restore_current_thread): Likewise.
105 (thread_apply_all_command): backup the selected frame while
106 entering the function and restore it at exit.
107 (thread_apply_command): Likewise.
108
d3c598de
DP
1092007-02-02 Denis Pilat <denis.pilat@st.com>
110
111 * MAINTAINERS (Write After Approval): Add myself to the list.
112
3e41d55f
KI
1132006-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
114
115 * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
116 (m32r_store_register): Ditto.
117
ef7723eb
VP
1182006-01-30 Vladimir Prus <vladimir@codesourcery.com>
119
120 * ser-mingw.c (pipe_windows_open)
121 (pipe_windows_read, pipe_windows_write): Declare
122 variables at the top of the function.
123
8da61cc4
DJ
1242007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
125
126 * doublest.c (floatformat_from_length): Use the right element from
127 gdbarch floatformats.
128 (floatformat_from_type, extract_typed_floating)
129 (store_typed_floating): Likewise.
130 * doublest.h: Remove declarations for undefined floatformat arrays.
131 * gdbarch.sh (float_format, double_format, long_double_format): Change
132 to pairs.
133 (pformat): Update for pairs.
134 * gdbarch.c, gdbarch.h: Regenerated.
135 * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
136 (floatformats_ieee_double_littlebyte_bigword)
137 (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
138 (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
139 (floatformats_vax_d): New variables.
140 (builtin_type_ieee_single, builtin_type_ieee_double)
141 (builtin_type_arm_ext, builtin_type_ia64_spill)
142 (builtin_type_ia64_quad): Replace arrays with individual types.
143 (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
144 (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
145 (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
146 (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
147 (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
148 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
149 (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
150 unused and endian-specific types.
151 (recursive_dump_type): Update for floatformat pairs.
152 (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
153 (build_gdbtypes): Use build_flt.
154 (_initialize_gdbtypes): Update set of initialized types.
155 * gdbtypes.h: Update declarations to match gdbtypes.c.
156 (struct main_type): Store a pointer to two floatformats.
157 * arch-utils.c (default_float_format, default_double_format): Delete.
158 * arch-utils.h (default_float_format, default_double_format): Delete.
159
160 * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
161 ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
162 mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
163 sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
164 vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
165
87680a14
JB
1662007-01-29 Joel Brobecker <brobecker@adacore.com>
167
168 * target.c (maintenance_print_target_stack): New function.
169 (initialize_targets): Add new "maintenance print target-stack"
170 command.
171
1c3d648d
MK
1722007-01-28 Mark Kettenis <kettenis@gnu.org>
173
174 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
175
607269ae
DJ
1762007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
177
178 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
179 (struct dwarf2_loclist_baton): Likewise.
180
40c03ae8
EZ
1812007-01-27 Eli Zaretskii <eliz@gnu.org>
182
183 * cli/cli-script.c: Include breakpoint.h.
184 (build_command_line): Require arguments only for if and while
185 commands.
186 (get_command_line, execute_user_command, execute_control_command):
187 Fix wording of warning messages.
188 (print_command_lines): Print breakpoint commands.
189 (execute_control_command): Call commands_from_control_command to
190 handle the `commands' command inside a body of a flow-control
191 command.
192 (read_next_line): Recognize the `commands' command and build a
193 command line structure for it.
194 (recurse_read_control_structure, read_command_lines): Handle
195 `commands' similarly to `if' and `while'.
196
197 * breakpoint.c (get_number_trailer): Document the special meaning
198 of NULL as the first argument PP.
199 (commands_from_control_command): New function.
200
201 * breakpoint.h (commands_from_control_command): Add prototype.
202
203 * defs.h (commands_control): New enumerated value for enum
204 command_control_type.
205
4b9eee8c
JB
2062007-01-26 Joel Brobecker <brobecker@adacore.com>
207
208 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
209 (ada_exception_sal): Update accordingly.
210
e1f48ead
JK
2112007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
212
213 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
214 * NEWS: Describe CHAR array vs. string identifcation rules.
215
e150acc7
PB
2162007-01-25 Paul Brook <paul@codesourcery.com>
217
218 * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
219
10fb19b6
JB
2202007-01-24 Jim Blandy <jimb@codesourcery.com>
221
222 * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
223 expression is empty, bother to return the 'optimized out' value we
224 construct. (Thanks to Carl Burch.)
225
85d93f1d
VP
2262007-01-24 Vladimir Prus <vladimir@codesourcery.com>
227
228 * varobj.c (c_value_of_root, c_value_of_child)
229 (cplus_describe_child): Don't call release_value.
230
fcbd8a5c
TS
2312007-01-24 Thiemo Seufer <ths@mips.com>
232
233 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
234 initialization.
235
2024f65a
VP
2362007-01-24 Vladimir Prus <vladimir@codesourcery.com>
237
238 Refactor getting children name, value and type access
239 for varobjs in C++.
240 * varobj.c (get_type_deref): Remove.
241 (adjust_value_for_child_access): New.
242 (c_number_of_children): Use the above.
243 (c_describe_child): Likewise.
244 (enum accessibility): New.
245 (match_accessibility): New function.
246 (cplus_describe_child): New function.
247 (cplus_name_of_child, cplus_value_of_child)
248 (cplus_type_of_child): Reimplement in terms
249 of cplus_describe_child.
250 (cplus_number_of_children): Use
251 adjust_value_for_child_access.
252
6e2a9270
VP
2532007-01-24 Vladimir Prus <vladimir@codesourcery.com>
254
255 Fix computation of the 'editable' attribute and
256 value changeability for for references.
257 * varobj.c (get_value_type): New function.
258 (c_variable_editable): Use get_value_type.
259 (varobj_value_is_changeable): Likewise.
260
56163ce1
JB
2612007-01-24 Joel Brobecker <brobecker@adacore.com>
262
263 * source.c (find_and_open_source): Try rewriting the source
264 path inside filename if dirname is NULL.
265
8c6860bb
JB
2662007-01-24 Joel Brobecker <brobecker@adacore.com>
267
268 * dwarf2read.c (add_partial_symbol): Create an extra partial
269 symbol in the VAR_DOMAIN for Ada structures, unions or enums.
270 (new_symbol): Likewise for symbols.
271
6db6d2ca
NR
2722007-01-24 Nick Roberts <nickrob@snap.net.nz>
273
274 * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
275
7d85ee02
VP
2762007-01-23 Vladimir Prus <vladimir@codesourcery.com>
277
278 * value.c (value_primitive_field): Copy the full 'location'
279 contents, instead of assuming that copying ADDRESS will
280 bring over everything in the union. Remove obsolete comment.
281
f79b9530
DJ
2822007-01-23 Masaki Muranaka <monaka@monami-software.com>
283
284 * m32c-tdep.c (make_regs, m32c_analyze_prologue)
285 (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
286 (m32c_m16c_pointer_to_address): Separate code from declarations.
287
08d8bcd7
DJ
2882007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
289
290 * target.c (update_current_target): Correct typo.
291
57fdbbbe
CV
2922007-01-22 Masaki Muranaka <monaka@monami-software.com>
293
294 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
295 declaration.
296
58894217
JK
2972007-01-11 Andrew Cagney <cagney@redhat.com>
298 Daniel Jacobowitz <dan@codesourcery.com>
299 Jan Kratochvil <jan.kratochvil@redhat.com>
300
301 * dwarf2-frame.c (execute_cfa_program): New support of
302 `DW_CFA_GNU_negative_offset_extended'.
303
9ebce043
DJ
3042007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
305
306 * NEWS: Mention flash support for "load" and new remote packets.
307
973d738b
DJ
3082007-01-21 Markus Deuling <deuling@de.ibm.com>
309
310 * breakpoint.c (delete_command): Skip redundant loop iterations.
311
7b9ee6a8
DJ
3122007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
313
314 * gdbarch.sh (register_type): Update comment.
315 * gdbarch.h: Regenerated.
316 * arch-utils.c (generic_register_size): Call register_type.
317 * ia64-tdep.c (ia64_extract_return_value): Likewise.
318 * m32c-tdep.c (check_for_saved): Likewise.
319 * mips-tdep.c (mips_print_register, print_gp_register_row)
320 (mips_print_registers_info): Likewise.
321 * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
322 Likewise.
323 * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
324 (sh64_do_register, sh64_print_register)
325 (sh64_media_print_registers_info): Likewise.
326 * tui/tui-regs.c (tui_register_format): Likewise.
327
11309657
DJ
3282007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
329
330 * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
331
332 * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
333 (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
334 * cp-support.c (make_symbol_overload_list_qualified): Likewise.
335 * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
336 (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
337 (make_symbol_completion_list): Likewise.
338
cb1df416
DJ
3392007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
340 Daniel Jacobowitz <dan@codesourcery.com>
341
342 * buildsym.c (end_symtab): Use preallocated symtab if available.
343 Fill in SYMBOL_SYMTAB.
344 * buildsym.h (struct subfile): Add symtab member.
345 * dwarf2read.c (struct dwarf2_cu): Add line_header.
346 (struct file_entry): Add symtab.
347 (free_cu_line_header): New function.
348 (read_file_scope): Use it. Save line_header in the cu. Process
349 lines before DIEs.
350 (add_file_name): Initialize new symtab member.
351 (dwarf_decode_lines): Create symtabs for included files.
352 (new_symbol): Set SYMBOL_SYMTAB.
353 * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
354 (search_symbols): Likewise.
355 * symtab.h (struct symbol): Add symtab member.
356 (SYMBOL_SYMTAB): Define.
357
727da900
DJ
3582007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
359
360 * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
361
7b6b9e83
DJ
3622007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
363
364 * arch-utils.c (show_endian): Correct reversed condition.
365
e767400c
JK
3662007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
367
368 * MAINTAINERS (Write After Approval): Add myself.
369
b20d8971
VP
3702007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
371 Vladimir Prus <vladimir@codesourcery.com>
372
373 Fix 'selected frame' varobjs.
374 * varobj.c (struct varobj): Remove the error field.
375 (varobj_set_value): Don't check var->error.
376 (install_new_value): Don't set var->error.
377 (varobj_update): Always pass the new value
378 of the root via install_new_value.
379 (create_child): Don't set error field.
380 (new_variable): Likewise.
381 (c_value_of_root): Always reevaluate the value
382 of selected frame varobjs in the selected frame.
383 Don't call reinit_frame_cache.
384
7ef2b397
JB
3852007-01-15 Joel Brobecker <brobecker@adacore.com>
386
387 * source.c (_initialize_source): Improve the help text of
388 the substitute-path commands.
389
1208538e
MK
3902007-01-14 Mark Kettenis <kettenis@gnu.org>
391
392 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
393 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
394 (frv_skip_prologue): Remove prototypes.
395 (frv_adjust_breakpoint_address): Renamed from
396 frv_gdbarch_adjust_breakpoint_address.
397 (frv_gdbarch_init): Adjust.
398
765f065a
MK
3992007-01-13 Mark Kettenis <kettenis@gnu.org>
400
5e66aab2
MK
401 * gdbarch.sh (deprecated_extract_return_value)
402 (deprecated_store_return_value): Remove.
403 (extract_return_value, store_return_value): Remove default values.
404 * gdbarch.c, gdbarch.h: Regenerate.
405 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
406 (legacy_store_return_value): Remove.
407 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
408 Remove.
409
56178203
MK
410 * mi/mi-main.c: Remove obsolete comment.
411
23303b2e
MK
412 * regcache.c, regcache.h (deprecated_register_bytes)
413 (deprecated_read_register_bytes)
414 (deprecated_write_register_bytes): Remove.
415
765f065a
MK
416 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
417 Don't forget to move destination pointer.
418
610acfff
MK
4192007-01-01 Mark Kettenis <kettenis@gnu.org>
420
421 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
422
12102450
UW
4232007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
424
425 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
426 past entry function with recent newlib.
427
c8b2f53c
VP
4282007-01-11 Vladimir Prus <vladimir@codesourcery.com>
429
430 * gdb.texinfo (GDB/MI Variable Objects): Improve the
431 introduction. Specify -var-update more exactly.
432
d57df5e4
DJ
4332007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
434
435 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
436
03f597d5
JB
4372007-01-10 Jim Blandy <jimb@codesourcery.com>
438
439 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
440 the Global Maintainers' invitation to be a global maintainer.
441
fd48f117
DJ
4422007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
443
444 * infrun.c (singlestep_pc): New variable.
445 (resume): Set singlestep_pc.
446 (context_switch): Add a debugging message. Flush the frame cache.
447 (handle_inferior_event): Add debugging messages. Handle thread
448 hops when a software single step has completed. Let context_switch
449 handle flushing the frame cache.
450
23181151
DJ
4512007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
452
453 * NEWS: Mention target descriptions, "set tdesc filename",
454 "unset tdesc filename", "show tdesc filename", and
455 qXfer:features:read.
456 * arch-utils.c (choose_architecture_for_target): New function.
457 (gdbarch_info_fill): Call it.
458 * target-descriptions.c (struct property): Make members non-const.
459 (struct target_desc): Add arch member.
460 (target_description_filename): New variable.
461 (target_find_description): Try via XML first.
462 (tdesc_architecture): New.
463 (free_target_description, make_cleanup_free_target_description): New.
464 (set_tdesc_property): Call xstrdup.
465 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
466 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
467 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
468 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
469 * target-descriptions.h (tdesc_architecture)
470 (make_cleanup_free_target_description, set_tdesc_architecture): New
471 prototypes.
472 * Makefile.in (SFILES): Add xml-tdesc.c.
473 (COMMON_OBS): Add xml-tdesc.o.
474 (target-descriptions.o): Update.
475 (xml-tdesc.o): New rule.
476 * xml-tdesc.c, xml-tdesc.h: New files.
477 * remote.c (PACKET_qXfer_features): New enum.
478 (remote_protocol_features): Add qXfer:features:read.
479 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
480 (_initialize_remote): Register qXfer:features:read.
481 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
482 * features/gdb-target.dtd: New file.
483
3e9cb5f4
DJ
4842007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
485
486 * copyright.sh: Clarify error.
487
818f79f6
DJ
4882007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
489
490 * symtab.c (matching_bfd_sections): Fix VMA matching for
491 prelinked objects.
492
f7a6bb70
DJ
4932007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
494
495 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
496 nested symbols.
497
20ac0504
DJ
4982007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
499
500 Updated copyright notices for most files.
501
85bb0718
DJ
5022007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
503
504 * copyright.sh (prunes): Add step-line.inp and step-line.c.
505
aa28a74e
DJ
5062007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
507
508 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
509 exec_prefix.
510 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
511 '${prefix}'.
512 * configure, config.in: Regenerate.
513 * defs.h (debug_file_directory): Declare.
514 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
515 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
516 relocate it if DEBUGDIR_RELOCATABLE.
517 * symfile.c (debug_file_directory): Make non-static.
518 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
519 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
520 (_initialize_symfile): Don't initialize debug_file_directory here.
521
1cfd2c3e
JB
5222007-01-09 Jim Blandy <jimb@codesourcery.com>
523
524 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
525 statements.
526
5efde112
DJ
5272007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
528
529 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
530 frame_unwind_register to recurse.
531 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
532 (alpha_heuristic_frame_prev_register): Likewise.
533 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
534 * m32c-tdep.c (m32c_prev_register): Likewise.
535 * frame.c (frame_register_unwind_location): Remove FIXME.
536
4de1f557
DJ
5372007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
538 Eli Zaretskii <eliz@gnu.org>
539
540 * copyright.sh: New file.
541
ca4ca11e
DJ
5422007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
543
544 * configure.ac: Check for XML_StopParser.
545 * xml-support.c (gdb_xml_body_text): Check for an error.
546 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
547 (gdb_xml_end_element_wrapper): Likewise.
548 * config.in, configure: Regenerated.
549
57e66780
DJ
5502007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
551
552 * varobj.c (install_new_value): Always update print_value.
553 (value_get_print_value): Immediately return NULL for missing
554 values.
555
b523a1fd
JB
5562007-01-08 Jim Blandy <jimb@codesourcery.com>
557
558 * configure.ac: Tighten pattern for extracting value of
559 DEPRECATED_TM_FILE from the target makefile fragment.
560 * configure: Regenerated.
561
3d799a95
DJ
5622007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
563
564 * linux-nat.c (struct simple_pid_list): Add status.
565 (add_to_pid_list): Record the PID's status.
566 (linux_record_stopped_pid): Likewise. Make static.
567 (pull_pid_from_list): Return the saved status.
568 (linux_nat_handle_extended): Deleted.
569 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
570 Make static. Handle non-SIGSTOP for a new thread's first signal.
571 (flush_callback): Handle unexpected pending signals.
572 (linux_nat_wait): Update calls to changed functions.
573 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
574 Remove prototypes for newly static functions.
575
9acbedc0
UW
5762007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
577
578 * gdbarch.sh (value_from_register): New gdbarch function.
579 * gdbarch.c, gdbarch.h: Regenerate.
580 * findvar.c (default_value_from_register): New function.
581 (value_from_register): Use gdbarch_value_from_register.
582 * value.h (default_value_from_register): Declare.
583 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
584 spu_value_to_register): Remove.
585 (spu_value_from_register): New function.
586 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
587 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
588 Call set_gdbarch_value_from_register.
589 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
590 s390_value_to_register): Remove.
591 (s390_value_from_register): New function.
592 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
593 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
594 Call set_gdbarch_value_from_register.
595
f822c95b
DJ
5962007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
597
598 * NEWS: Add "set sysroot" and "show sysroot".
599 * solib.c (solib_absolute_prefix): Delete. Replace
600 all uses with gdb_sysroot.
601 (_initialize_solib): Add "set sysroot" and "show sysroot".
602 Make "solib-absolute-prefix" an alias to it.
603
00fa51f6
UW
6042007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
605
606 * frame.c (get_frame_register_bytes): New function.
607 (put_frame_register_bytes): Likewise.
608 * frame.h (get_frame_register_bytes): Declare.
609 (put_frame_register_bytes): Likewise.
610 * findvar.c (value_from_register): Always construct lval_register
611 values. Use get_frame_register_bytes.
612 * valops.c (value_assign): Use get_frame_register_bytes and
613 put_frame_register_bytes.
614
a95c9d06
JB
6152007-01-08 Jim Blandy <jimb@codesourcery.com>
616
617 * MAINTAINERS: Update Stan Shebs' email address.
618
4ed6b5be
JB
6192007-01-07 Joel Brobecker <brobecker@adacore.com>
620
621 * ada-lang.c (is_known_support_routine): Improve the implementation.
622
9bbc9174
JB
6232007-01-06 Joel Brobecker <brobecker@adacore.com>
624
625 * ada-lang.c: Add include of source.h.
626 (is_known_support_routine): Improve the check verifying that the file
627 associated to this frame exists.
628 * Makefile.in (ada-lang.o): Add dependency on source.h.
629
44a81774
JB
6302007-01-07 Jim Blandy <jimb@codesourcery.com>
631
632 * ax-general.c (ax_const_l): Select proper opcode for the given
633 value.
634
6fe1a487
NR
6352007-01-04 Vladimir Prus <vladimir@codesourcery.com>
636
637 * varobj.c (c_value_of_root): Don't select frame if variable
638 object is out of scope.
639
3fa6deb5
NR
6402007-01-06 Nick Roberts <nickrob@snap.net.nz>
641
642 * varobj.c (struct varobj): New member print_value.
643 (install_new_value): Compare last printed value with current one
644 instead of contents.
645 (new_variable): Initialize var->print_value to NULL.
646 (free_variable): Free var->print_value.
647 (value_get_print_value): New function derived from
648 c_value_of_variable.
649 (c_value_of_variable): Use value_get_print_value.
650
92a56b20
JB
6512007-01-05 Joel Brobecker <brobecker@adacore.com>
652
653 * i386-tdep.c (i386_analyze_stack_align): Add comment.
654
0e420bd8
JB
6552007-01-05 Joel Brobecker <brobecker@adacore.com>
656
657 * NEWS: Add entries for new catch commands.
658
fa4028e9
JB
6592006-02-05 Joel Brobecker <brobecker@adacore.com>
660
661 * dwarf2read.c (partial_die_info): Add field has_byte_size.
662 (add_partial_symbol): Correct identification of external references.
663 (process_structure_scope): Likewise.
664 (read_partial_die): Handle DW_AT_byte_size attribute.
665
6662007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
d097fa3e
DJ
667
668 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
669
8e38af42
NR
6702007-01-05 Nick Roberts <nickrob@snap.net.nz>
671
672 * varobj.c (get_type_deref): Fix variable objects for references to
673 pointers.
674
d1c79ecd
DJ
6752007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
676
677 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
678 with no symbols.
679
e776119f
DJ
6802007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
681
682 * memory-map.c (struct_memory_map_parsing_data): Remove most
683 members. Make property_name an array.
684 (free_memory_map_parsing_data, memory_map_start_element)
685 (memory_map_end_element, memory_map_character_data): Delete.
686 (memory_map_start_memory, memory_map_end_memory)
687 (memory_map_start_property, memory_map_end_property): New functions.
688 (property_attributes, memory_children, memory_type_enum)
689 (memory_attributes, memory_map_children, memory_map_elements): New.
690 (parse_memory_map): Rewrite.
691 * xml-support.c (debug_xml): New.
692 (xml_get_required_attribute, xml_get_integer_attribute)
693 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
694 Delete.
695 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
696 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
697 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
698 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
699 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
700 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
701 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
702 New.
703 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
704 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
705 (enum gdb_xml_element_flag, struct gdb_xml_element)
706 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
707 (struct gdb_xml_enum): New.
708 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
709 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
710 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
711 (xml_get_required_attribute, xml_get_integer_attribute)
712 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
713 * Makefile.in (xml_support_h, xml-support.o): Update.
714
5e572bb4
DJ
7152007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
716
717 * Makefile.in (eval.o): Update dependencies.
718 * eval.c: Include "ui-out.h" and "exceptions.h".
719 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
720 Use value_zero if an error occurs when avoiding side effects.
721 * varobj.c (c_value_of_root): Initialize new_val.
722
74a44383
DJ
7232007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
724
725 * varobj.c (varobj_list_children): Stop if the number of children is
726 unknown.
727 (c_number_of_children):
728
e8d2d628
MK
7292007-01-04 Mark Kettenis <kettenis@gnu.org>
730
731 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
732 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
733 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
734 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
735 sizeof, instead of hardcoded constants.
736
c941839d
DJ
7372007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
738
739 * CONTRIBUTE: Use sourceware.org.
740
303b6f5d 7412007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2d0720d9 742
303b6f5d
DJ
743 * buildsym.c (start_subfile): Handle producer.
744 (record_producer): New function.
745 * buildsym.h (struct subfile): Include producer.
746 (record_producer): New prototype.
747 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
748 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
749 armcc_cfa_offsets_reversed.
750 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
751 (dwarf2_frame_find_quirks): New function.
752 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
753 (decode_frame_entry_1): Record the CIE version. Record the
754 augmentation. Skip armcc augmentations.
755 * dwarf2read.c (read_file_scope): Save the producer.
756 * symtab.h (struct symtab): Rename unused version member to
757 producer.
2d0720d9 758
aa79a185
DJ
7592007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
760
761 * configure.ac (build_warnings): Use -Wall and
762 -Wdeclaration-after-statement.
763 * configure: Regenerated.
764
bbec2603
VP
7652007-01-04 Vladimir Prus <vladimir@codesourcery.com>
766
767 Simplify access to variours properties of child
768 variable objects in C.
769 * varobj.c (value_struct_element_index): New function.
770 (c_describe_child): New function.
771 (c_name_of_child, c_value_of_child)
772 (c_type_of_child): Rewrite to use c_describe_child.
773
28335dcc
VP
7742007-01-04 Vladimir Prus <vladimir@codesourcery.com>
775
776 gdb/
777 * varobj.c: Include "vec.h".
778 (varobj_p): New typedef, declare vector of those.
779 (struct varobj): Use vector for the 'children' member.
780 (child_exists): Remove.
781 (save_child_in_parent): Remove.
782 (remove_child_from_parent): Remove.
783 (struct varobj_child): Remove.
784 (struct vstack): Remove.
785 (vpush, vpop): Remove.
786 (varobj_list_children): Adjust to work work vector.
787 (varobj_update): Likewise. Use vectors for
788 working stack and result.
789 (delete_variable_1): Likewise.
790 * Makefile.in (varobj.o): Update dependencies.
791
b2c2bd75
VP
7922007-01-04 Vladimir Prus <vladimir@codesourcery.com>
793
794 Port from Apple's version.
795 gdb/
796 * varobj.c (type_changeable): Rename to...
797 (varobj_value_is_changeable_p): ...this. Adjust all callers.
798 (is_root_p): New function. Use it everywhere.
799
bdfb3870
JB
8002007-01-04 Jim Blandy <jimb@codesourcery.com>
801
802 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
803 then plain 'fixup'.
804
5d15052e
JB
8052007-01-04 Joel Brobecker <brobecker@adacore.com>
806
807 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
808
53103997
JB
8092007-01-04 Joel Brobecker <brobecker@adacore.com>
810
811 * hpread.c (hpread_type_lookup): Fix compilation failure.
812
27fd2f50
Q
8132007-01-04 Qinwei <qinwei@sunnorth.com.cn>
814
815 * NEWS: New port to S+core.
816 * MAINTAINERS (Write After Approval, Responsible Maintainers):
817 Add myself.
818
819 * Makefile.in: Add dependencies for S+core files.
820 * configure.tgt (score*, score-*-*): Add S+core target.
821 * config/score/embed.mt: New file.
822 * score-tdep.c: New file.
823 * score-tdep.h: New file.
824
a6cfbe68
JB
8252007-01-04 Joel Brobecker <brobecker@adacore.com>
826
827 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
828 the appropriate type rather than a bogus void type.
829
67cf15b7 8302007-01-04 Joel Brobecker <brobecker@adacore.com>
f7f9143b
JB
831
832 * ada-lang.h (ada_find_printable_frame): Remove.
833 (ada_exception_catchpoint_p, ada_decode_exception_location)
834 (ada_decode_assert_location): Add declaration.
835 * ada-lang.c: Add include of annotate.h and valprint.h.
836 (exception_catchpoint_kind): New enum.
837 (function_name_from_pc, is_known_support_routine)
838 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
839 (ada_exception_name_addr_1, ada_exception_name_addr)
840 (print_it_exception, print_one_exception, print_mention_exception)
841 (print_it_catch_exception, print_one_catch_exception)
842 (print_mention_catch_exception, catch_exception_breakpoint_ops)
843 (print_it_catch_exception_unhandled)
844 (print_one_catch_exception_unhandled)
845 (print_mention_catch_exception_unhandled, print_it_catch_assert)
846 (print_one_catch_assert, print_mention_catch_assert)
847 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
848 (ada_get_next_arg, catch_ada_exception_command_split)
849 (ada_exception_sym_name, ada_exception_sym_name)
850 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
851 (ada_parse_catchpoint_condition, ada_exception_sal)
852 (ada_decode_exception_location)
853 (ada_decode_assert_location): New function.
854 (catch_exception_unhandled_breakpoint_ops): New global variable.
855 (catch_assert_breakpoint_ops): New global variable.
856 * breakpoint.c: Add include of ada-lang.h.
857 (print_one_breakpoint): Do not print the condition for Ada
858 exception catchpoints.
859 (create_ada_exception_breakpoint): New function.
860 (catch_ada_exception_command, catch_assert_command): New function.
861 (catch_command_1): Add support for the new "catch exception" and
862 "catch assert" commands.
863 (_initialize_breakpoint): Add help description for the new catch
864 commands.
865 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
866 valprint.h.
867 (breakpoint.o): Add dependency on ada-lang.h.
868
05cfdb42
DJ
8692007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
870
871 * coffread.c (cs_to_section): If bfd_section is found, always
872 return its section index.
873 (coff_symtab_read): Determine the minimal_symbol_type using the
874 bfd_section flags.
875
2e03ee74
DJ
8762007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
877 Daniel Jacobowitz <dan@codesourcery.com>
878
879 * Makefile.in (top.o): Update.
880 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
881 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
882 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
883 New.
884 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
885
1c63d086
MK
8862007-01-03 Mark Kettenis <kettenis@gnu.org>
887
888 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
889 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
890
d5d6fca5
DJ
8912007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
892
893 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
894 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
895 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
896 greater than or equal to zero.
897 * m2-typeprint.c (m2_array): Likewise.
898 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
899 * gdbtypes.c (copy_type_recursive): Correct == typo.
900 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
901 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
902 greater than zero.
903 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
904 (default_macro_scope): Remove unused variable.
905 * prologue-value.h (pv_area_find_reg): Don't name an argument
906 "register".
907 * remote-fileio.c (remote_fio_func_map): Add missing braces.
908 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
909 type.
910 (cleanup_sigint_signal_handler): Remove casts.
911 * valprint.c (val_print): Use a volatile local for the modified
912 argument.
913 * varobj.c (languages): Remove extra array dimension.
914 (varobj_create): Correct access to languages array.
915 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
916 missing braces.
917 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
918 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
919 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
920 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
921 (mi_cmd_data_write_memory): Likewise.
922 * signals/signals.c (target_signal_to_string): Cast to int before
923 comparing.
924 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
925 Update all callers.
926
0d5de010
DJ
9272007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
928
929 * NEWS: Mention pointer to member improvements.
930 * Makefile.in (gnu-v3-abi.o): Delete special rule.
931 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
932 * ada-valprint.c (ada_print_scalar): Update for new type codes.
933 * c-typeprint.c (c_print_type): Update for new type codes.
934 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
935 (c_type_print_base): Likewise.
936 (c_type_print_args): Rewrite.
937 * c-valprint.c (c_val_print): Update for new type codes. Remove
938 support for references to members. Treat methods like functions.
939 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
940 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
941 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
942 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
943 (struct cp_abi_ops): Add corresponding members.
944 * cp-valprint.c (cp_print_class_method): Delete.
945 (cp_find_class_member): New function.
946 (cp_print_class_member): Use it. Simplify support for bogus
947 member pointers.
948 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
949 lookup_methodptr_type.
950 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
951 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
952 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
953 pointer support.
954 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
955 references returned by user defined operators.
956 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
957 (f_type_print_varspec_suffix): Remove support for member pointers.
958 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
959 and adjusted.
960 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
961 (lookup_methodptr_type): New.
962 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
963 (recursive_dump_type): Update for new types.
964 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
965 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
966 (lookup_memberptr_type, lookup_methodptr_type)
967 (smash_to_memberptr_type): New prototypes.
968 (smash_to_method_type): Formatting fix.
969 (lookup_member_type, smash_to_member_type): Delete prototypes.
970 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
971 Do not rely on debug information for the vptr or the method's
972 enclosing type. Handle function descriptors for IA64.
973 (gnuv3_virtual_fn_field): Rewrite using the new functions.
974 (gnuv3_find_method_in, gnuv3_print_method_ptr)
975 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
976 (gnuv3_method_ptr_to_value): New.
977 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
978 * hpread.c (hpread_type_lookup): Update for new types.
979 * infcall.c (value_arg_coerce): Likewise.
980 * m2-typeprint.c (m2_print_type): Remove explicit support
981 for member pointers.
982 * m2-valprint.c (m2_val_print): Likewise.
983 * p-typeprint.c (pascal_type_print_varspec_prefix)
984 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
985 * p-valprint.c (pascal_val_print): Likewise.
986 (pascal_object_print_class_method, pascal_object_print_class_member):
987 Delete.
988 * p-lang.h (pascal_object_print_class_method)
989 (pascal_object_print_class_member): Delete prototypes.
990 * stabsread.c (read_type): Update for new types.
991 * typeprint.c (print_type_scalar): Likewise.
992 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
993 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
994 argument. Construct a pointer to member if the address of a
995 function or data member is requested.
996 (value_cast_pointers): Don't modify the input value.
997 (value_cast): Adjust pointer to member handling for new types.
998 Allow null pointer to member constants. Don't modify the input
999 value.
1000 (value_ind): Remove pointer to member check. Handle function
1001 descriptors for function pointers.
1002 (value_struct_elt, value_find_oload_method_list, check_field):
1003 Remove pointer to member checks.
1004 * value.c (unpack_long): Allow pointers to data members.
1005 (value_from_longest): Allow member pointers.
1006 * value.h (value_aggregate_elt): Add want_address.
1007 * varobj.c (c_variable_editable): Remove check for members.
1008 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
1009 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
1010 in virtual tables.
1011 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
1012 * c-lang.h (cp_print_class_method): Delete prototype.
1013 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
1014 * mips-tdep.c (mips_gdbarch_init): Likewise.
1015 * gdbarch.c, gdbarch.h: Regenerated.
1016
d217aaed
MK
10172007-01-01 Mark Kettenis <kettenis@gnu.org>
1018
1019 * rs6000-tdep.c (rs6000_use_struct_convention)
1020 (rs6000_extract_return_value, rs6000_store_return_value)
1021 (rs6000_extract_struct_value_address): Remove.
1022 (rs6000_return_value): New function.
1023 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
1024 store_return_value, deprecated_extract_struct_value_address and
1025 deprecated_use_struct_convention. Use rs6000_return_value
1026 instead.
1027
02296b29
NR
10282007-01-02 Nick Roberts <nickrob@snap.net.nz>
1029
1030 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
1031 -display-disable, -display-enable, -display-insert and
1032 -display-list.
1033
ce186b30
JB
10342006-01-01 Joel Brobecker <brobecker@adacore.com>
1035
1036 * breakpoint.c (remove_breakpoint): Remove dead code.
1037
10382007-01-01 Nick Roberts <nickrob@snap.net.nz>
ab9245ed
NR
1039
1040 * varobj.c: Include block.h.
1041 (c_value_of_root): Check scope within nested statements.
1042
9f3a1602
MK
10432007-01-01 Mark Kettenis <kettenis@gnu.org>
1044
1045 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
1046 regcache_cooked_write_signed instead of
1047 deprecated_write_register_bytes.
1048
12349ccd
JB
10492007-01-01 Joel Brobecker <brobecker@adacore.com>
1050
1051 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
1052
8c48ebcf
JB
10532007-01-01 Joel Brobecker <brobecker@adacore.com>
1054
1055 Followed the Start of New Year Procedure:
1056 * ChangeLog-2006: New file, containing all the entries for 2006.
1057 * ChangeLog: Removed all 2006 entries, and changed the reference
1058 to the previous ChangeLog to point to ChangeLog 2006.
1059 * top.c (print_gdb_version): Update copyright year.
1060
154927ff
MK
10612007-01-01 Mark Kettenis <kettenis@gnu.org>
1062
1063 * Makefile.in (remote-sds.o): Remove.
1064 * remote-sds.c: Delete.
1065
8c48ebcf 1066For older changes see ChangeLog-2006.
c906108c
SS
1067\f
1068Local Variables:
1069mode: change-log
1070left-margin: 8
1071fill-column: 74
1072version-control: never
1073End:
This page took 1.056242 seconds and 4 git commands to generate.