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