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