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