* gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2007-02-28 Jerome Guitton <guitton@adacore.com>
2 Joel Brobecker <brobecker@adacore.com>
3
4 * gdbtypes.c (check_typedef): Do not replace stub type if
5 the resolved type is not defined in the same objfile.
6
7 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8
9 * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
10
11 2007-02-28 Joel Brobecker <brobecker@adacore.com>
12
13 * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
14 symbol for Ada units when the symbol is defined using 't' rather
15 than 'Tt' as symbol descriptor.
16
17 2007-02-28 Vladimir Prus <vladimir@codesourcery.com>
18
19 * config/mips/tm-nbsd.h: Delete file.
20 * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
21 * config/sh/tm-nbsd.h: Delete file.
22 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
23
24 2007-02-28 Joel Brobecker <brobecker@adacore.com>
25
26 * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
27 unused WRONG_PARAM value since it was recently deleted.
28
29 2007-02-28 Vladimir Prus <vladimir@codesourcery.com>
30
31 * varobj.c (varobj_update): Free temporary vectors.
32
33 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
34
35 * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
36 * config/powerpc/tm-linux.h: Delete file.
37 * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
38 (PROCESS_LINENUMBER_HOOK): Do not undefine.
39 (TEXT_SEGMENT_BASE): Do not redefine.
40 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
41 from config/rs6000/tm-rs6000.h.
42 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
43 * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
44 (TEXT_SEGMENT_BASE): Remove.
45 (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
46 (rs6000_in_solib_return_trampoline): Remove.
47 (SKIP_TRAMPOLINE_CODE): Remove.
48 (rs6000_skip_trampoline_code): Remove.
49 (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
50 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
51 (FP0_REGNUM): Remove.
52 (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
53 (rs6000_set_host_arch_hook): Remove.
54 * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
55 (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
56 * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
57 * rs6000-aix-tdep.c: Include "ppc-tdep.h".
58 (rs6000_aix_init_osabi): Set text_segment_base tdep field.
59 * rs6000-nat.c: Include "rs6000-tdep.h".
60 (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
61 (set_host_arch): Rename to ...
62 (rs6000_create_inferior): ... this. Make public.
63 (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
64 * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
65 (rs6000_create_inferior): Remove.
66 (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
67 (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
68 set_gdbarch_in_solib_return_trampoline, and
69 set_gdbarch_skip_trampoline_code.
70 * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
71 from config/rs6000/tm-rs6000.h.
72
73 2007-02-27 Joel Brobecker <brobecker@adacore.com>
74
75 * buildsym.c (record_producer): Do nothing if no producer is provided.
76
77 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
78
79 * varobj.c (varobj_update): Remove unused local. Use gdb_assert
80 to check changelist is non-NULL. Call error if the frontend tries
81 to update a non-root variable.
82
83 * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
84
85 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
86
87 * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
88 (dwarf2_frame_sniffer): Update.
89 (dwarf2_signal_frame_this_id): New function.
90 (dwarf2_signal_frame_unwind): Use it.
91 (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
92 * frame.c (frame_func_unwind): Add this_type argument.
93 (get_frame_func): Update.
94 (frame_unwind_address_in_block): Add this_type argument and check it.
95 Fix a typo.
96 (get_frame_address_in_block): Update.
97 * frame.h (enum frame_type): Move higher in the file.
98 (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
99 argument.
100
101 * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
102 arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
103 hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
104 libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
105 m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
106 mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
107 score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
108 sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
109 xstormy16-tdep.c, xtensa-tdep.c: Update calls to
110 frame_func_unwind and frame_unwind_address_in_block to specify
111 the frame type. Use frame_unwind_address_in_block instead of
112 frame_pc_unwind in sniffers.
113
114 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
115
116 * frame.c (deprecated_selected_frame): Rename to...
117 (selected_frame): ...this. Make static.
118 (get_selected_frame, select_frame): Update.
119 * frame.h (deprected_select_frame): Delete.
120 (deprecated_safe_get_selected_frame): Update comments.
121
122 * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
123 infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
124 tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
125 parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
126 tui/tui.c: Replace references to deprecated_selected_frame.
127
128 2007-02-27 Fred Fish <fnf@specifix.com>
129
130 * rs6000-tdep.c (skip_prologue): Recognize addi instructions that
131 directly decrement the stack pointer, accumulate their operand into
132 the stack offset, and mark the function as not being frameless.
133
134 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
135
136 * arch-utils.c (selected_byte_order): New.
137 * arch-utils.h (selected_byte_order): New prototype.
138 * remote-sim.c (gdbsim_open): Use selected_byte_order.
139
140 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
141
142 * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
143 (default_symfile_offsets): Check VMA here. Update section VMAs.
144
145 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
146
147 * remote.c (init_remote_state): Add special handling for placeholder
148 registers.
149
150 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
151
152 * Makefile.in (XMLFILES): Include $(TDEP_XML).
153 (filenames_h): New variable.
154 (clean): Clean up xml-builtin.c and stamp-xml.
155 (arm-linux-nat.o): Update.
156 * config/arm/linux.mh (TDEP_XML): Define.
157 * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
158 (arm_linux_has_wmmx_registers): New.
159 (GET_THREAD_ID): Fix typo.
160 (IWMMXT_REGS_SIZE): Define.
161 (fetch_wmmx_regs, store_wmmx_regs): New.
162 (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
163 (arm_linux_store_inferior_registers): Use store_wmmx_regs.
164 (super_xfer_partial, arm_linux_xfer_partial): New.
165 (_initialize_arm_linux_nat): Use them.
166 * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
167 (xml_builtin_xfer_partial): New function.
168 * xml-support.h (xml_builtin_xfer_partial): New prototype.
169 * NEWS: Update mention of iWMMXt support.
170
171 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
172
173 * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
174 if there are no FPA registers.
175 (arm_dwarf_reg_to_regnum): New function.
176 (arm_register_type, arm_register_name): Return minimal values for
177 unsupported registers.
178 (arm_register_sim_regno): Handle iWMMXt registers.
179 (arm_gdbarch_init): Record missing FPA registers if indicated by
180 a target description. Recognize iWMMXt registers. Only register
181 "info float" for FPA. Use ARM_NUM_REGS. Register
182 arm_dwarf_reg_to_regnum.
183 * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
184 constants.
185 (struct gdbarch_tdep): Add have_fpa_registers.
186 * features/xscale-iwmmxt.xml: Update capitalization.
187 * regformats/arm-with-iwmmxt.dat: Regenerated.
188
189 2007-02-24 Kevin Buettner <kevinb@redhat.com>
190
191 * NEWS (New targets): Add entry for the Toshiba Media Processor.
192
193 2007-02-23 Kevin Buettner <kevinb@redhat.com>
194
195 * MAINTAINERS (mep): New target.
196
197 2007-02-23 Kevin Buettner <kevinb@redhat.com>
198
199 From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
200 Richard Sandiford:
201 * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
202 (mep-tdep.o): New rule.
203 * configure.tgt (mep-*-*): New target.
204 * mep-tdep.c: New file.
205 * config/mep/mep.mt: New file.
206
207 2007-02-22 Markus Deuling <deuling@de.ibm.com>
208
209 * infrun.c (inferior_stop_reason, print_stop_reason): Remove
210 BREAKPOINT_HIT and STOP_UNKNOWN.
211
212 2007-02-22 Markus Deuling <deuling@de.ibm.com>
213
214 * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
215
216 2007-02-20 Joel Brobecker <brobecker@adacore.com>
217
218 * gdb_expat.h (XMLCALL): Define if not already defined.
219
220 2007-02-20 Andreas Schwab <schwab@suse.de>
221
222 * Makefile.in (symfile.o): Update dependencies.
223
224 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
225
226 * MAINTAINERS: Disable -Werror for cris simulator. Build
227 sparc64-solaris2.10 instead of the broken sparc-elf.
228 * solib-frv.c: Include "solib.h".
229 * Makefile.in (solib-frv.o): Update.
230 * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
231 * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
232 (xtensa_frame_this_id, xtensa_frame_prev_register)
233 (xtensa_push_dummy_call): Use %p.
234
235 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
236
237 * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
238 ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
239 sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
240 * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
241 (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
242 (sparc-linux-tdep.o): Update.
243
244 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com>
245
246 * xtensa-tdep.h (xtensa_reg_mask_t): New.
247 (xtensa_mask_t): Change mask field to be a separate array.
248 * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
249 (xtensa_pseudo_register_write, xtensa_unwind_pc)
250 (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
251 (xtensa_breakpoint_from_pc): Remove implicit type casting.
252 * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
253 (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
254 (mask14, mask15): Rename to
255 (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
256 (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
257 (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
258 (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
259 (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
260 (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
261 (xtensa_submask8, xtensa_submask9, xtensa_submask10)
262 (xtensa_submask11, xtensa_submask12, xtensa_submask13)
263 (xtensa_submask14, xtensa_submask15): New.
264 (rmap): Follow strict aliasing rules doing static initialization.
265
266 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com>
267
268 * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
269 handling from here...
270 (tdesc_register_type): ...to here.
271 * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
272 * features/arm-core.xml: Use code_ptr and data_ptr.
273
274 2007-02-13 Denis Pilat <denis.pilat@st.com>
275
276 * varobj.h (enum varobj_update_error): New enum.
277 * varobj.c (struct varobj_root): Add is_valid member.
278 (varobj_get_type): Check for invalid varobj.
279 (varobj_get_attributes): Likewise.
280 (variable_editable):Likewise.
281 (varobj_update): Likewise. Use varobj_update_error.
282 (new_root_variable): Set root varobj as valid by default.
283 (varobj_invalidate): New function.
284 * symfile.c (clear_symtab_users): Use varobj_invalidate.
285 * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
286 Use varobj_update_error.
287
288 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr>
289
290 Fix PR pascal/2223.
291 * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
292 Pascal language marker.
293 * dwarf2read.c (set_cu_language): Likewise.
294
295 2007-02-12 Corinna Vinschen <vinschen@redhat.com>
296
297 * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
298 (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
299 instead of target_terminal_init since inferior_ptid isn't set yet.
300
301 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
302
303 * MAINTAINERS (Write After Approval): Add myself.
304
305 2007-02-09 Fred Fish <fnf@specifix.com>
306
307 Based on work by Apple Computer, Inc.
308 * event-top.c (async_request_quit): Call quit() whenever either
309 quit_flag is set or immediate_quit is set.
310
311 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
312
313 * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
314 type to a pointer to const struct block.
315 (ada_lookup_symbol_list): Don't cast away constness when calling
316 remove_out_of_scope_renamings.
317
318 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
319
320 * linux-nat.c (linux_nat_find_memory_regions): Don't check the
321 address of 'filename'; it is always non null.
322
323 2007-02-09 Joel Brobecker <brobecker@adacore.com>
324
325 * exec.c (add_to_section_table): Do not discard empty sections.
326
327 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
328
329 * features/Makefile, features/arm-with-iwmmxt.xml,
330 features/gdbserver-regs.xsl, features/number-regs.xsl,
331 features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
332 * regformats/arm-with-iwmmxt.dat: Generate.
333 * NEWS: Mention iWMMXt.
334
335 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
336
337 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
338 (xml-tdesc.o): Update.
339 * xml-support.c: Add a comment.
340 (gdb_xml_enums_boolean): New variable.
341 (gdb_xml_parse_attr_enum): Use strcasecmp.
342 * xml-support.h (gdb_xml_enums_boolean): Declare.
343 * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
344 next_regnum, and current_union.
345 (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
346 (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
347 (field_attributes, union_children, reg_attributes, union_attributes)
348 (vector_attributes, feature_attributes, feature_children): New.
349 (target_children): Make static. Add <feature>.
350 (tdesc_elements): Make static.
351 * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
352 (struct tdesc_feature, tdesc_feature_p): New types.
353 (struct target_desc): Add features member.
354 (struct tdesc_arch_data, tdesc_data): New.
355 (target_find_description): Clarify error message. Warn about
356 ignored register descriptions.
357 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
358 (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
359 (tdesc_data_cleanup, tdesc_numbered_register)
360 (tdesc_numbered_register_choices, tdesc_find_register)
361 (tdesc_register_name, tdesc_register_type)
362 (tdesc_remote_register_number, tdesc_register_reggroup_p)
363 (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
364 (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
365 (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
366 (tdesc_create_feature, tdesc_record_type): New.
367 (free_target_description): Free features.
368 (_initialize_target_descriptions): Initialize tdesc_data.
369 * arch-utils.c (default_remote_register_number): New.
370 * arch-utils.h (default_remote_register_number): New prototype.
371 * target-descriptions.h (set_tdesc_pseudo_register_name)
372 (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
373 (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
374 (tdesc_numbered_register, tdesc_numbered_register_choices)
375 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
376 (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
377 (tdesc_create_reg): Declare.
378 * gdbarch.sh (remote_register_number): New entry.
379 * gdbarch.c, gdbarch.h: Regenerate.
380 * remote.c (init_remote_state): Use gdbarch_remote_register_number.
381 * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
382
383 * arm-tdep.c (arm_register_aliases): New.
384 (arm_register_name_strings): Rename to...
385 (arm_register_names): ...this. Make const. Delete the old version.
386 (current_option, arm_register_byte): Delete.
387 (set_disassembly_style): Simplify. Do not adjust arm_register_names.
388 (value_of_arm_user_reg): New.
389 (arm_gdbarch_init): Verify any described registers. Call
390 tdesc_use_registers. Don't use arm_register_byte. Create aliases
391 for standard register names.
392 (_initialize_arm_tdep): Do not adjust arm_register_names.
393 * user-regs.c (struct user_reg): Add baton member.
394 (append_user_reg, user_reg_add_builtin, user_regs_init)
395 (user_reg_add, value_of_user_reg): Use a baton for user
396 register functions.
397 * std-regs.c: Update.
398 * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
399 (user_reg_add): Add baton argument.
400 * NEWS: Mention target description register support.
401 * features/arm-core.xml, features/arm-fpa.xml: New.
402 * eval.c (evaluate_subexp_standard): Allow ptype $register
403 when the program is not running.
404
405 2007-02-09 Nick Roberts <nickrob@snap.net.nz>
406
407 * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
408
409 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
410
411 * rs6000-tdep.c (gdb_print_insn_powerpc): Set
412 info->disassembler_options to "any".
413
414 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
415
416 * varobj.c (install_new_value): Only call value_get_print_value
417 if changeable.
418
419 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
420
421 Reported by timeless@gmail.com:
422 * gdb/target.c (target_flash_erase): Do not return void value.
423 (target_flash_done): Likewise.
424 * gdb/cli/cli-cmds.c (source_command): Likewise.
425
426 2007-02-08 Fred Fish <fnf@specifix.com>
427
428 Based on work by Apple Computer, Inc.
429 * event-top.c (handle_sigint): Set quit_flag.
430 (async_request_quit): Don't set quit_flag. Avoid calling quit()
431 if quit_flag has already been reset.
432
433 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
434
435 * ser-mingw.c (pipe_windows_close): Move variable initialization back
436 up.
437
438 2007-02-08 Fred Fish <fnf@specifix.com>
439
440 * defs.h (request_quit): Remove declaration.
441 * utils.c (request_quit): Remove definition.
442
443 2007-02-08 Joel Brobecker <brobecker@gnat.com>
444 Jan Kratochvil <jan.kratochvil@redhat.com>
445 Daniel Jacobowitz <dan@codesourcery.com>
446
447 * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
448 (skip_prologue): Allow bl->blrl used by PIC code.
449
450 2007-02-08 Mark Kettenis <kettenis@gnu.org>
451 Daniel Jacobowitz <dan@codesourcery.com>
452
453 * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
454 initialize tmp_obstack.
455 * p-valprint.c (pascal_object_print_value_fields)
456 (pascal_object_print_value): Likewise.
457
458 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
459
460 * features/feature_to_c.sh: Use %s to avoid problems with nawk.
461
462 2007-02-08 Mark Kettenis <kettenis@gnu.org>
463
464 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
465 * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
466
467 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
468
469 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
470 (xml_cache): New.
471 (tdesc_parse_xml): Cache expanded descriptions.
472
473 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
474
475 * Makefile.in (XMLFILES): New.
476 (COMMON_OBS): Add xml-builtin.o.
477 (xml-builtin.c, stamp-xml): New rules.
478 (xml-tdesc.o): Update.
479 * features/feature_to_c.sh: New file.
480 * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
481 (struct gdb_xml_parser): Add dtd_name and is_xinclude.
482 (gdb_xml_start_element): Initialize scope after possibly reallocating
483 scopes. Move cleanup later. Handle the XInclude description
484 specially.
485 (gdb_xml_end_element): Only parse the body if there is a current element.
486 Call XML_DefaultCurrent if there is no element.
487 (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
488 (struct xinclude_parsing_data, xinclude_start_include)
489 (xinclude_end_include, xml_xinclude_default)
490 (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
491 (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
492 (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
493 * xml-support.h (xml_fetch_another, xml_process_xincludes)
494 (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
495 * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
496 XInclude directives. Use the compiled in DTD.
497 (fetch_xml_from_file): Add baton argument. Treat it as a containing
498 directory name. Do not warn here.
499 (file_read_description_xml): Update call. Warn here instead. Pass
500 a dirname as baton.
501 (fetch_available_features_from_target): New.
502 (target_read_description_xml): Use it.
503 * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
504 to handle XInclude.
505 * features/xinclude.dtd: New file.
506
507 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
508
509 * linux-thread-db.c (check_for_thread_db): Return early if we have
510 no libthread_db support.
511
512 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
513
514 * mi/mi-parse.h: Include <sys/time.h>.
515
516 2007-02-05 Nick Roberts <nickrob@snap.net.nz>
517
518 * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
519 instead of print_variable_value to print values.
520
521 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
522
523 * mi/mi-main.c: Numerous formatting changes.
524 (mi_cmd_data_write_register_values): Replace clause inadvertantly
525 removed in my previous change.
526
527 2007-02-03 Eli Zaretskii <eliz@gnu.org>
528
529 * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
530 Use 1000000L instead of 1000000.
531
532 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
533
534 Based on work by Apple Computer, Inc.
535
536 * configure.ac: Test for sys/resource.h and getrusage.
537 * configure, config.in: Regenerate.
538
539 * mi/mi-main.c: Include <sys/resource.h> if present.
540 (rusage): Declare if HAVE_GETRUSAGE.
541 (current_command_ts, do_timings): New static variables.
542 (timestamp, print_diff_now, print_diff, timeval_diff):
543 New static timing functions.
544 (mi_cmd_enable_timings): New function for new MI command.
545 (captured_mi_execute_command, mi_execute_async_cli_command):
546 Call timing functions.
547
548 * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
549 -enable-timings.
550
551 * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
552
553 * mi/mi-parse.h: (mi_timestamp): New structure.
554 (mi_parse): Add mi_timestamp* member.
555
556 2007-02-02 Denis Pilat <denis.pilat@st.com>
557
558 * thread.c (make_cleanup_restore_current_thread): New function.
559 (info_threads_command): Use of make_cleanup_restore_current_thread
560 to restore the current thread and the selected frame.
561 (restore_selected_frame): New function.
562 (struct current_thread_cleanup): Add frame_id field.
563 (do_restore_current_thread_cleanup): Add restoring of the selected
564 frame.
565 (make_cleanup_restore_current_thread): Likewise.
566 (thread_apply_all_command): backup the selected frame while
567 entering the function and restore it at exit.
568 (thread_apply_command): Likewise.
569
570 2007-02-02 Denis Pilat <denis.pilat@st.com>
571
572 * MAINTAINERS (Write After Approval): Add myself to the list.
573
574 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
575
576 * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
577 (m32r_store_register): Ditto.
578
579 2007-01-30 Vladimir Prus <vladimir@codesourcery.com>
580
581 * ser-mingw.c (pipe_windows_open)
582 (pipe_windows_read, pipe_windows_write): Declare
583 variables at the top of the function.
584
585 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
586
587 * doublest.c (floatformat_from_length): Use the right element from
588 gdbarch floatformats.
589 (floatformat_from_type, extract_typed_floating)
590 (store_typed_floating): Likewise.
591 * doublest.h: Remove declarations for undefined floatformat arrays.
592 * gdbarch.sh (float_format, double_format, long_double_format): Change
593 to pairs.
594 (pformat): Update for pairs.
595 * gdbarch.c, gdbarch.h: Regenerated.
596 * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
597 (floatformats_ieee_double_littlebyte_bigword)
598 (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
599 (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
600 (floatformats_vax_d): New variables.
601 (builtin_type_ieee_single, builtin_type_ieee_double)
602 (builtin_type_arm_ext, builtin_type_ia64_spill)
603 (builtin_type_ia64_quad): Replace arrays with individual types.
604 (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
605 (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
606 (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
607 (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
608 (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
609 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
610 (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
611 unused and endian-specific types.
612 (recursive_dump_type): Update for floatformat pairs.
613 (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
614 (build_gdbtypes): Use build_flt.
615 (_initialize_gdbtypes): Update set of initialized types.
616 * gdbtypes.h: Update declarations to match gdbtypes.c.
617 (struct main_type): Store a pointer to two floatformats.
618 * arch-utils.c (default_float_format, default_double_format): Delete.
619 * arch-utils.h (default_float_format, default_double_format): Delete.
620
621 * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
622 ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
623 mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
624 sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
625 vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
626
627 2007-01-29 Joel Brobecker <brobecker@adacore.com>
628
629 * target.c (maintenance_print_target_stack): New function.
630 (initialize_targets): Add new "maintenance print target-stack"
631 command.
632
633 2007-01-28 Mark Kettenis <kettenis@gnu.org>
634
635 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
636
637 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
638
639 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
640 (struct dwarf2_loclist_baton): Likewise.
641
642 2007-01-27 Eli Zaretskii <eliz@gnu.org>
643
644 * cli/cli-script.c: Include breakpoint.h.
645 (build_command_line): Require arguments only for if and while
646 commands.
647 (get_command_line, execute_user_command, execute_control_command):
648 Fix wording of warning messages.
649 (print_command_lines): Print breakpoint commands.
650 (execute_control_command): Call commands_from_control_command to
651 handle the `commands' command inside a body of a flow-control
652 command.
653 (read_next_line): Recognize the `commands' command and build a
654 command line structure for it.
655 (recurse_read_control_structure, read_command_lines): Handle
656 `commands' similarly to `if' and `while'.
657
658 * breakpoint.c (get_number_trailer): Document the special meaning
659 of NULL as the first argument PP.
660 (commands_from_control_command): New function.
661
662 * breakpoint.h (commands_from_control_command): Add prototype.
663
664 * defs.h (commands_control): New enumerated value for enum
665 command_control_type.
666
667 2007-01-26 Joel Brobecker <brobecker@adacore.com>
668
669 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
670 (ada_exception_sal): Update accordingly.
671
672 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
673
674 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
675 * NEWS: Describe CHAR array vs. string identifcation rules.
676
677 2007-01-25 Paul Brook <paul@codesourcery.com>
678
679 * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
680
681 2007-01-24 Jim Blandy <jimb@codesourcery.com>
682
683 * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
684 expression is empty, bother to return the 'optimized out' value we
685 construct. (Thanks to Carl Burch.)
686
687 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
688
689 * varobj.c (c_value_of_root, c_value_of_child)
690 (cplus_describe_child): Don't call release_value.
691
692 2007-01-24 Thiemo Seufer <ths@mips.com>
693
694 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
695 initialization.
696
697 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
698
699 Refactor getting children name, value and type access
700 for varobjs in C++.
701 * varobj.c (get_type_deref): Remove.
702 (adjust_value_for_child_access): New.
703 (c_number_of_children): Use the above.
704 (c_describe_child): Likewise.
705 (enum accessibility): New.
706 (match_accessibility): New function.
707 (cplus_describe_child): New function.
708 (cplus_name_of_child, cplus_value_of_child)
709 (cplus_type_of_child): Reimplement in terms
710 of cplus_describe_child.
711 (cplus_number_of_children): Use
712 adjust_value_for_child_access.
713
714 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
715
716 Fix computation of the 'editable' attribute and
717 value changeability for for references.
718 * varobj.c (get_value_type): New function.
719 (c_variable_editable): Use get_value_type.
720 (varobj_value_is_changeable): Likewise.
721
722 2007-01-24 Joel Brobecker <brobecker@adacore.com>
723
724 * source.c (find_and_open_source): Try rewriting the source
725 path inside filename if dirname is NULL.
726
727 2007-01-24 Joel Brobecker <brobecker@adacore.com>
728
729 * dwarf2read.c (add_partial_symbol): Create an extra partial
730 symbol in the VAR_DOMAIN for Ada structures, unions or enums.
731 (new_symbol): Likewise for symbols.
732
733 2007-01-24 Nick Roberts <nickrob@snap.net.nz>
734
735 * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
736
737 2007-01-23 Vladimir Prus <vladimir@codesourcery.com>
738
739 * value.c (value_primitive_field): Copy the full 'location'
740 contents, instead of assuming that copying ADDRESS will
741 bring over everything in the union. Remove obsolete comment.
742
743 2007-01-23 Masaki Muranaka <monaka@monami-software.com>
744
745 * m32c-tdep.c (make_regs, m32c_analyze_prologue)
746 (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
747 (m32c_m16c_pointer_to_address): Separate code from declarations.
748
749 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
750
751 * target.c (update_current_target): Correct typo.
752
753 2007-01-22 Masaki Muranaka <monaka@monami-software.com>
754
755 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
756 declaration.
757
758 2007-01-11 Andrew Cagney <cagney@redhat.com>
759 Daniel Jacobowitz <dan@codesourcery.com>
760 Jan Kratochvil <jan.kratochvil@redhat.com>
761
762 * dwarf2-frame.c (execute_cfa_program): New support of
763 `DW_CFA_GNU_negative_offset_extended'.
764
765 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
766
767 * NEWS: Mention flash support for "load" and new remote packets.
768
769 2007-01-21 Markus Deuling <deuling@de.ibm.com>
770
771 * breakpoint.c (delete_command): Skip redundant loop iterations.
772
773 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
774
775 * gdbarch.sh (register_type): Update comment.
776 * gdbarch.h: Regenerated.
777 * arch-utils.c (generic_register_size): Call register_type.
778 * ia64-tdep.c (ia64_extract_return_value): Likewise.
779 * m32c-tdep.c (check_for_saved): Likewise.
780 * mips-tdep.c (mips_print_register, print_gp_register_row)
781 (mips_print_registers_info): Likewise.
782 * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
783 Likewise.
784 * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
785 (sh64_do_register, sh64_print_register)
786 (sh64_media_print_registers_info): Likewise.
787 * tui/tui-regs.c (tui_register_format): Likewise.
788
789 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
790
791 * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
792
793 * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
794 (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
795 * cp-support.c (make_symbol_overload_list_qualified): Likewise.
796 * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
797 (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
798 (make_symbol_completion_list): Likewise.
799
800 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
801 Daniel Jacobowitz <dan@codesourcery.com>
802
803 * buildsym.c (end_symtab): Use preallocated symtab if available.
804 Fill in SYMBOL_SYMTAB.
805 * buildsym.h (struct subfile): Add symtab member.
806 * dwarf2read.c (struct dwarf2_cu): Add line_header.
807 (struct file_entry): Add symtab.
808 (free_cu_line_header): New function.
809 (read_file_scope): Use it. Save line_header in the cu. Process
810 lines before DIEs.
811 (add_file_name): Initialize new symtab member.
812 (dwarf_decode_lines): Create symtabs for included files.
813 (new_symbol): Set SYMBOL_SYMTAB.
814 * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
815 (search_symbols): Likewise.
816 * symtab.h (struct symbol): Add symtab member.
817 (SYMBOL_SYMTAB): Define.
818
819 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
820
821 * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
822
823 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
824
825 * arch-utils.c (show_endian): Correct reversed condition.
826
827 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
828
829 * MAINTAINERS (Write After Approval): Add myself.
830
831 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
832 Vladimir Prus <vladimir@codesourcery.com>
833
834 Fix 'selected frame' varobjs.
835 * varobj.c (struct varobj): Remove the error field.
836 (varobj_set_value): Don't check var->error.
837 (install_new_value): Don't set var->error.
838 (varobj_update): Always pass the new value
839 of the root via install_new_value.
840 (create_child): Don't set error field.
841 (new_variable): Likewise.
842 (c_value_of_root): Always reevaluate the value
843 of selected frame varobjs in the selected frame.
844 Don't call reinit_frame_cache.
845
846 2007-01-15 Joel Brobecker <brobecker@adacore.com>
847
848 * source.c (_initialize_source): Improve the help text of
849 the substitute-path commands.
850
851 2007-01-14 Mark Kettenis <kettenis@gnu.org>
852
853 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
854 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
855 (frv_skip_prologue): Remove prototypes.
856 (frv_adjust_breakpoint_address): Renamed from
857 frv_gdbarch_adjust_breakpoint_address.
858 (frv_gdbarch_init): Adjust.
859
860 2007-01-13 Mark Kettenis <kettenis@gnu.org>
861
862 * gdbarch.sh (deprecated_extract_return_value)
863 (deprecated_store_return_value): Remove.
864 (extract_return_value, store_return_value): Remove default values.
865 * gdbarch.c, gdbarch.h: Regenerate.
866 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
867 (legacy_store_return_value): Remove.
868 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
869 Remove.
870
871 * mi/mi-main.c: Remove obsolete comment.
872
873 * regcache.c, regcache.h (deprecated_register_bytes)
874 (deprecated_read_register_bytes)
875 (deprecated_write_register_bytes): Remove.
876
877 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
878 Don't forget to move destination pointer.
879
880 2007-01-01 Mark Kettenis <kettenis@gnu.org>
881
882 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
883
884 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
885
886 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
887 past entry function with recent newlib.
888
889 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
890
891 * gdb.texinfo (GDB/MI Variable Objects): Improve the
892 introduction. Specify -var-update more exactly.
893
894 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
895
896 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
897
898 2007-01-10 Jim Blandy <jimb@codesourcery.com>
899
900 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
901 the Global Maintainers' invitation to be a global maintainer.
902
903 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
904
905 * infrun.c (singlestep_pc): New variable.
906 (resume): Set singlestep_pc.
907 (context_switch): Add a debugging message. Flush the frame cache.
908 (handle_inferior_event): Add debugging messages. Handle thread
909 hops when a software single step has completed. Let context_switch
910 handle flushing the frame cache.
911
912 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
913
914 * NEWS: Mention target descriptions, "set tdesc filename",
915 "unset tdesc filename", "show tdesc filename", and
916 qXfer:features:read.
917 * arch-utils.c (choose_architecture_for_target): New function.
918 (gdbarch_info_fill): Call it.
919 * target-descriptions.c (struct property): Make members non-const.
920 (struct target_desc): Add arch member.
921 (target_description_filename): New variable.
922 (target_find_description): Try via XML first.
923 (tdesc_architecture): New.
924 (free_target_description, make_cleanup_free_target_description): New.
925 (set_tdesc_property): Call xstrdup.
926 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
927 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
928 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
929 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
930 * target-descriptions.h (tdesc_architecture)
931 (make_cleanup_free_target_description, set_tdesc_architecture): New
932 prototypes.
933 * Makefile.in (SFILES): Add xml-tdesc.c.
934 (COMMON_OBS): Add xml-tdesc.o.
935 (target-descriptions.o): Update.
936 (xml-tdesc.o): New rule.
937 * xml-tdesc.c, xml-tdesc.h: New files.
938 * remote.c (PACKET_qXfer_features): New enum.
939 (remote_protocol_features): Add qXfer:features:read.
940 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
941 (_initialize_remote): Register qXfer:features:read.
942 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
943 * features/gdb-target.dtd: New file.
944
945 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
946
947 * copyright.sh: Clarify error.
948
949 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
950
951 * symtab.c (matching_bfd_sections): Fix VMA matching for
952 prelinked objects.
953
954 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
955
956 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
957 nested symbols.
958
959 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
960
961 Updated copyright notices for most files.
962
963 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
964
965 * copyright.sh (prunes): Add step-line.inp and step-line.c.
966
967 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
968
969 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
970 exec_prefix.
971 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
972 '${prefix}'.
973 * configure, config.in: Regenerate.
974 * defs.h (debug_file_directory): Declare.
975 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
976 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
977 relocate it if DEBUGDIR_RELOCATABLE.
978 * symfile.c (debug_file_directory): Make non-static.
979 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
980 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
981 (_initialize_symfile): Don't initialize debug_file_directory here.
982
983 2007-01-09 Jim Blandy <jimb@codesourcery.com>
984
985 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
986 statements.
987
988 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
989
990 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
991 frame_unwind_register to recurse.
992 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
993 (alpha_heuristic_frame_prev_register): Likewise.
994 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
995 * m32c-tdep.c (m32c_prev_register): Likewise.
996 * frame.c (frame_register_unwind_location): Remove FIXME.
997
998 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
999 Eli Zaretskii <eliz@gnu.org>
1000
1001 * copyright.sh: New file.
1002
1003 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1004
1005 * configure.ac: Check for XML_StopParser.
1006 * xml-support.c (gdb_xml_body_text): Check for an error.
1007 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
1008 (gdb_xml_end_element_wrapper): Likewise.
1009 * config.in, configure: Regenerated.
1010
1011 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1012
1013 * varobj.c (install_new_value): Always update print_value.
1014 (value_get_print_value): Immediately return NULL for missing
1015 values.
1016
1017 2007-01-08 Jim Blandy <jimb@codesourcery.com>
1018
1019 * configure.ac: Tighten pattern for extracting value of
1020 DEPRECATED_TM_FILE from the target makefile fragment.
1021 * configure: Regenerated.
1022
1023 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1024
1025 * linux-nat.c (struct simple_pid_list): Add status.
1026 (add_to_pid_list): Record the PID's status.
1027 (linux_record_stopped_pid): Likewise. Make static.
1028 (pull_pid_from_list): Return the saved status.
1029 (linux_nat_handle_extended): Deleted.
1030 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
1031 Make static. Handle non-SIGSTOP for a new thread's first signal.
1032 (flush_callback): Handle unexpected pending signals.
1033 (linux_nat_wait): Update calls to changed functions.
1034 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
1035 Remove prototypes for newly static functions.
1036
1037 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1038
1039 * gdbarch.sh (value_from_register): New gdbarch function.
1040 * gdbarch.c, gdbarch.h: Regenerate.
1041 * findvar.c (default_value_from_register): New function.
1042 (value_from_register): Use gdbarch_value_from_register.
1043 * value.h (default_value_from_register): Declare.
1044 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
1045 spu_value_to_register): Remove.
1046 (spu_value_from_register): New function.
1047 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
1048 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
1049 Call set_gdbarch_value_from_register.
1050 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
1051 s390_value_to_register): Remove.
1052 (s390_value_from_register): New function.
1053 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
1054 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
1055 Call set_gdbarch_value_from_register.
1056
1057 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1058
1059 * NEWS: Add "set sysroot" and "show sysroot".
1060 * solib.c (solib_absolute_prefix): Delete. Replace
1061 all uses with gdb_sysroot.
1062 (_initialize_solib): Add "set sysroot" and "show sysroot".
1063 Make "solib-absolute-prefix" an alias to it.
1064
1065 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1066
1067 * frame.c (get_frame_register_bytes): New function.
1068 (put_frame_register_bytes): Likewise.
1069 * frame.h (get_frame_register_bytes): Declare.
1070 (put_frame_register_bytes): Likewise.
1071 * findvar.c (value_from_register): Always construct lval_register
1072 values. Use get_frame_register_bytes.
1073 * valops.c (value_assign): Use get_frame_register_bytes and
1074 put_frame_register_bytes.
1075
1076 2007-01-08 Jim Blandy <jimb@codesourcery.com>
1077
1078 * MAINTAINERS: Update Stan Shebs' email address.
1079
1080 2007-01-07 Joel Brobecker <brobecker@adacore.com>
1081
1082 * ada-lang.c (is_known_support_routine): Improve the implementation.
1083
1084 2007-01-06 Joel Brobecker <brobecker@adacore.com>
1085
1086 * ada-lang.c: Add include of source.h.
1087 (is_known_support_routine): Improve the check verifying that the file
1088 associated to this frame exists.
1089 * Makefile.in (ada-lang.o): Add dependency on source.h.
1090
1091 2007-01-07 Jim Blandy <jimb@codesourcery.com>
1092
1093 * ax-general.c (ax_const_l): Select proper opcode for the given
1094 value.
1095
1096 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
1097
1098 * varobj.c (c_value_of_root): Don't select frame if variable
1099 object is out of scope.
1100
1101 2007-01-06 Nick Roberts <nickrob@snap.net.nz>
1102
1103 * varobj.c (struct varobj): New member print_value.
1104 (install_new_value): Compare last printed value with current one
1105 instead of contents.
1106 (new_variable): Initialize var->print_value to NULL.
1107 (free_variable): Free var->print_value.
1108 (value_get_print_value): New function derived from
1109 c_value_of_variable.
1110 (c_value_of_variable): Use value_get_print_value.
1111
1112 2007-01-05 Joel Brobecker <brobecker@adacore.com>
1113
1114 * i386-tdep.c (i386_analyze_stack_align): Add comment.
1115
1116 2007-01-05 Joel Brobecker <brobecker@adacore.com>
1117
1118 * NEWS: Add entries for new catch commands.
1119
1120 2007-01-05 Joel Brobecker <brobecker@adacore.com>
1121
1122 * dwarf2read.c (partial_die_info): Add field has_byte_size.
1123 (add_partial_symbol): Correct identification of external references.
1124 (process_structure_scope): Likewise.
1125 (read_partial_die): Handle DW_AT_byte_size attribute.
1126
1127 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
1128
1129 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
1130
1131 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
1132
1133 * varobj.c (get_type_deref): Fix variable objects for references to
1134 pointers.
1135
1136 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1137
1138 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
1139 with no symbols.
1140
1141 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1142
1143 * memory-map.c (struct_memory_map_parsing_data): Remove most
1144 members. Make property_name an array.
1145 (free_memory_map_parsing_data, memory_map_start_element)
1146 (memory_map_end_element, memory_map_character_data): Delete.
1147 (memory_map_start_memory, memory_map_end_memory)
1148 (memory_map_start_property, memory_map_end_property): New functions.
1149 (property_attributes, memory_children, memory_type_enum)
1150 (memory_attributes, memory_map_children, memory_map_elements): New.
1151 (parse_memory_map): Rewrite.
1152 * xml-support.c (debug_xml): New.
1153 (xml_get_required_attribute, xml_get_integer_attribute)
1154 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
1155 Delete.
1156 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
1157 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
1158 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
1159 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
1160 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
1161 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
1162 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
1163 New.
1164 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
1165 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
1166 (enum gdb_xml_element_flag, struct gdb_xml_element)
1167 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
1168 (struct gdb_xml_enum): New.
1169 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
1170 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
1171 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
1172 (xml_get_required_attribute, xml_get_integer_attribute)
1173 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
1174 * Makefile.in (xml_support_h, xml-support.o): Update.
1175
1176 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1177
1178 * Makefile.in (eval.o): Update dependencies.
1179 * eval.c: Include "ui-out.h" and "exceptions.h".
1180 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
1181 Use value_zero if an error occurs when avoiding side effects.
1182 * varobj.c (c_value_of_root): Initialize new_val.
1183
1184 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1185
1186 * varobj.c (varobj_list_children): Stop if the number of children is
1187 unknown.
1188 (c_number_of_children):
1189
1190 2007-01-04 Mark Kettenis <kettenis@gnu.org>
1191
1192 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
1193 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
1194 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
1195 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
1196 sizeof, instead of hardcoded constants.
1197
1198 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1199
1200 * CONTRIBUTE: Use sourceware.org.
1201
1202 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1203
1204 * buildsym.c (start_subfile): Handle producer.
1205 (record_producer): New function.
1206 * buildsym.h (struct subfile): Include producer.
1207 (record_producer): New prototype.
1208 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
1209 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
1210 armcc_cfa_offsets_reversed.
1211 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
1212 (dwarf2_frame_find_quirks): New function.
1213 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
1214 (decode_frame_entry_1): Record the CIE version. Record the
1215 augmentation. Skip armcc augmentations.
1216 * dwarf2read.c (read_file_scope): Save the producer.
1217 * symtab.h (struct symtab): Rename unused version member to
1218 producer.
1219
1220 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1221
1222 * configure.ac (build_warnings): Use -Wall and
1223 -Wdeclaration-after-statement.
1224 * configure: Regenerated.
1225
1226 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
1227
1228 Simplify access to variours properties of child
1229 variable objects in C.
1230 * varobj.c (value_struct_element_index): New function.
1231 (c_describe_child): New function.
1232 (c_name_of_child, c_value_of_child)
1233 (c_type_of_child): Rewrite to use c_describe_child.
1234
1235 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
1236
1237 gdb/
1238 * varobj.c: Include "vec.h".
1239 (varobj_p): New typedef, declare vector of those.
1240 (struct varobj): Use vector for the 'children' member.
1241 (child_exists): Remove.
1242 (save_child_in_parent): Remove.
1243 (remove_child_from_parent): Remove.
1244 (struct varobj_child): Remove.
1245 (struct vstack): Remove.
1246 (vpush, vpop): Remove.
1247 (varobj_list_children): Adjust to work work vector.
1248 (varobj_update): Likewise. Use vectors for
1249 working stack and result.
1250 (delete_variable_1): Likewise.
1251 * Makefile.in (varobj.o): Update dependencies.
1252
1253 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
1254
1255 Port from Apple's version.
1256 gdb/
1257 * varobj.c (type_changeable): Rename to...
1258 (varobj_value_is_changeable_p): ...this. Adjust all callers.
1259 (is_root_p): New function. Use it everywhere.
1260
1261 2007-01-04 Jim Blandy <jimb@codesourcery.com>
1262
1263 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
1264 then plain 'fixup'.
1265
1266 2007-01-04 Joel Brobecker <brobecker@adacore.com>
1267
1268 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
1269
1270 2007-01-04 Joel Brobecker <brobecker@adacore.com>
1271
1272 * hpread.c (hpread_type_lookup): Fix compilation failure.
1273
1274 2007-01-04 Qinwei <qinwei@sunnorth.com.cn>
1275
1276 * NEWS: New port to S+core.
1277 * MAINTAINERS (Write After Approval, Responsible Maintainers):
1278 Add myself.
1279
1280 * Makefile.in: Add dependencies for S+core files.
1281 * configure.tgt (score*, score-*-*): Add S+core target.
1282 * config/score/embed.mt: New file.
1283 * score-tdep.c: New file.
1284 * score-tdep.h: New file.
1285
1286 2007-01-04 Joel Brobecker <brobecker@adacore.com>
1287
1288 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
1289 the appropriate type rather than a bogus void type.
1290
1291 2007-01-04 Joel Brobecker <brobecker@adacore.com>
1292
1293 * ada-lang.h (ada_find_printable_frame): Remove.
1294 (ada_exception_catchpoint_p, ada_decode_exception_location)
1295 (ada_decode_assert_location): Add declaration.
1296 * ada-lang.c: Add include of annotate.h and valprint.h.
1297 (exception_catchpoint_kind): New enum.
1298 (function_name_from_pc, is_known_support_routine)
1299 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
1300 (ada_exception_name_addr_1, ada_exception_name_addr)
1301 (print_it_exception, print_one_exception, print_mention_exception)
1302 (print_it_catch_exception, print_one_catch_exception)
1303 (print_mention_catch_exception, catch_exception_breakpoint_ops)
1304 (print_it_catch_exception_unhandled)
1305 (print_one_catch_exception_unhandled)
1306 (print_mention_catch_exception_unhandled, print_it_catch_assert)
1307 (print_one_catch_assert, print_mention_catch_assert)
1308 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
1309 (ada_get_next_arg, catch_ada_exception_command_split)
1310 (ada_exception_sym_name, ada_exception_sym_name)
1311 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
1312 (ada_parse_catchpoint_condition, ada_exception_sal)
1313 (ada_decode_exception_location)
1314 (ada_decode_assert_location): New function.
1315 (catch_exception_unhandled_breakpoint_ops): New global variable.
1316 (catch_assert_breakpoint_ops): New global variable.
1317 * breakpoint.c: Add include of ada-lang.h.
1318 (print_one_breakpoint): Do not print the condition for Ada
1319 exception catchpoints.
1320 (create_ada_exception_breakpoint): New function.
1321 (catch_ada_exception_command, catch_assert_command): New function.
1322 (catch_command_1): Add support for the new "catch exception" and
1323 "catch assert" commands.
1324 (_initialize_breakpoint): Add help description for the new catch
1325 commands.
1326 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
1327 valprint.h.
1328 (breakpoint.o): Add dependency on ada-lang.h.
1329
1330 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
1331
1332 * coffread.c (cs_to_section): If bfd_section is found, always
1333 return its section index.
1334 (coff_symtab_read): Determine the minimal_symbol_type using the
1335 bfd_section flags.
1336
1337 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1338 Daniel Jacobowitz <dan@codesourcery.com>
1339
1340 * Makefile.in (top.o): Update.
1341 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
1342 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
1343 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
1344 New.
1345 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
1346
1347 2007-01-03 Mark Kettenis <kettenis@gnu.org>
1348
1349 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
1350 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
1351
1352 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
1353
1354 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
1355 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
1356 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
1357 greater than or equal to zero.
1358 * m2-typeprint.c (m2_array): Likewise.
1359 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
1360 * gdbtypes.c (copy_type_recursive): Correct == typo.
1361 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
1362 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
1363 greater than zero.
1364 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
1365 (default_macro_scope): Remove unused variable.
1366 * prologue-value.h (pv_area_find_reg): Don't name an argument
1367 "register".
1368 * remote-fileio.c (remote_fio_func_map): Add missing braces.
1369 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
1370 type.
1371 (cleanup_sigint_signal_handler): Remove casts.
1372 * valprint.c (val_print): Use a volatile local for the modified
1373 argument.
1374 * varobj.c (languages): Remove extra array dimension.
1375 (varobj_create): Correct access to languages array.
1376 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
1377 missing braces.
1378 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
1379 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
1380 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
1381 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
1382 (mi_cmd_data_write_memory): Likewise.
1383 * signals/signals.c (target_signal_to_string): Cast to int before
1384 comparing.
1385 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
1386 Update all callers.
1387
1388 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
1389
1390 * NEWS: Mention pointer to member improvements.
1391 * Makefile.in (gnu-v3-abi.o): Delete special rule.
1392 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
1393 * ada-valprint.c (ada_print_scalar): Update for new type codes.
1394 * c-typeprint.c (c_print_type): Update for new type codes.
1395 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
1396 (c_type_print_base): Likewise.
1397 (c_type_print_args): Rewrite.
1398 * c-valprint.c (c_val_print): Update for new type codes. Remove
1399 support for references to members. Treat methods like functions.
1400 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
1401 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
1402 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
1403 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
1404 (struct cp_abi_ops): Add corresponding members.
1405 * cp-valprint.c (cp_print_class_method): Delete.
1406 (cp_find_class_member): New function.
1407 (cp_print_class_member): Use it. Simplify support for bogus
1408 member pointers.
1409 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
1410 lookup_methodptr_type.
1411 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
1412 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
1413 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
1414 pointer support.
1415 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
1416 references returned by user defined operators.
1417 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
1418 (f_type_print_varspec_suffix): Remove support for member pointers.
1419 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
1420 and adjusted.
1421 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
1422 (lookup_methodptr_type): New.
1423 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
1424 (recursive_dump_type): Update for new types.
1425 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
1426 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
1427 (lookup_memberptr_type, lookup_methodptr_type)
1428 (smash_to_memberptr_type): New prototypes.
1429 (smash_to_method_type): Formatting fix.
1430 (lookup_member_type, smash_to_member_type): Delete prototypes.
1431 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
1432 Do not rely on debug information for the vptr or the method's
1433 enclosing type. Handle function descriptors for IA64.
1434 (gnuv3_virtual_fn_field): Rewrite using the new functions.
1435 (gnuv3_find_method_in, gnuv3_print_method_ptr)
1436 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
1437 (gnuv3_method_ptr_to_value): New.
1438 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
1439 * hpread.c (hpread_type_lookup): Update for new types.
1440 * infcall.c (value_arg_coerce): Likewise.
1441 * m2-typeprint.c (m2_print_type): Remove explicit support
1442 for member pointers.
1443 * m2-valprint.c (m2_val_print): Likewise.
1444 * p-typeprint.c (pascal_type_print_varspec_prefix)
1445 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
1446 * p-valprint.c (pascal_val_print): Likewise.
1447 (pascal_object_print_class_method, pascal_object_print_class_member):
1448 Delete.
1449 * p-lang.h (pascal_object_print_class_method)
1450 (pascal_object_print_class_member): Delete prototypes.
1451 * stabsread.c (read_type): Update for new types.
1452 * typeprint.c (print_type_scalar): Likewise.
1453 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
1454 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
1455 argument. Construct a pointer to member if the address of a
1456 function or data member is requested.
1457 (value_cast_pointers): Don't modify the input value.
1458 (value_cast): Adjust pointer to member handling for new types.
1459 Allow null pointer to member constants. Don't modify the input
1460 value.
1461 (value_ind): Remove pointer to member check. Handle function
1462 descriptors for function pointers.
1463 (value_struct_elt, value_find_oload_method_list, check_field):
1464 Remove pointer to member checks.
1465 * value.c (unpack_long): Allow pointers to data members.
1466 (value_from_longest): Allow member pointers.
1467 * value.h (value_aggregate_elt): Add want_address.
1468 * varobj.c (c_variable_editable): Remove check for members.
1469 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
1470 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
1471 in virtual tables.
1472 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
1473 * c-lang.h (cp_print_class_method): Delete prototype.
1474 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
1475 * mips-tdep.c (mips_gdbarch_init): Likewise.
1476 * gdbarch.c, gdbarch.h: Regenerated.
1477
1478 2007-01-01 Mark Kettenis <kettenis@gnu.org>
1479
1480 * rs6000-tdep.c (rs6000_use_struct_convention)
1481 (rs6000_extract_return_value, rs6000_store_return_value)
1482 (rs6000_extract_struct_value_address): Remove.
1483 (rs6000_return_value): New function.
1484 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
1485 store_return_value, deprecated_extract_struct_value_address and
1486 deprecated_use_struct_convention. Use rs6000_return_value
1487 instead.
1488
1489 2007-01-02 Nick Roberts <nickrob@snap.net.nz>
1490
1491 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
1492 -display-disable, -display-enable, -display-insert and
1493 -display-list.
1494
1495 2007-01-01 Joel Brobecker <brobecker@adacore.com>
1496
1497 * breakpoint.c (remove_breakpoint): Remove dead code.
1498
1499 2007-01-01 Nick Roberts <nickrob@snap.net.nz>
1500
1501 * varobj.c: Include block.h.
1502 (c_value_of_root): Check scope within nested statements.
1503
1504 2007-01-01 Mark Kettenis <kettenis@gnu.org>
1505
1506 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
1507 regcache_cooked_write_signed instead of
1508 deprecated_write_register_bytes.
1509
1510 2007-01-01 Joel Brobecker <brobecker@adacore.com>
1511
1512 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
1513
1514 2007-01-01 Joel Brobecker <brobecker@adacore.com>
1515
1516 Followed the Start of New Year Procedure:
1517 * ChangeLog-2006: New file, containing all the entries for 2006.
1518 * ChangeLog: Removed all 2006 entries, and changed the reference
1519 to the previous ChangeLog to point to ChangeLog 2006.
1520 * top.c (print_gdb_version): Update copyright year.
1521
1522 2007-01-01 Mark Kettenis <kettenis@gnu.org>
1523
1524 * Makefile.in (remote-sds.o): Remove.
1525 * remote-sds.c: Delete.
1526
1527 For older changes see ChangeLog-2006.
1528 \f
1529 Local Variables:
1530 mode: change-log
1531 left-margin: 8
1532 fill-column: 74
1533 version-control: never
1534 End:
This page took 0.090281 seconds and 4 git commands to generate.