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