]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
* mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
9ecf7166
MR
12007-04-18 Maciej W. Rozycki <macro@mips.com>
2
3 * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
4 change to rearrange some brackets.
5 (mips_n32n64_push_dummy_call): Likewise.
6 (mips_o32_push_dummy_call): Likewise.
7 (mips_o64_push_dummy_call): Likewise.
8
b79599ff
DP
92007-04-18 Denis Pilat <denis.pilat@st.com>
10
11 * infcmd.c (post_create_inferior): Start with a call to
12 target_terminal_ours().
13
06f9a1af
MR
142007-04-17 Maciej W. Rozycki <macro@mips.com>
15
16 * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
17 brackets.
18 (mips_n32n64_push_dummy_call): Likewise. Reformat some
19 expressions.
20 (mips_o32_push_dummy_call): Likewise.
21 (mips_o64_push_dummy_call): Likewise.
22
ad018eee
MR
232007-04-17 Maciej W. Rozycki <macro@mips.com>
24
25 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
26 comment.
27
e914cb17
MR
282007-04-17 Maciej W. Rozycki <macro@mips.com>
29
30 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
31 comment.
32 (mips_o32_push_dummy_call): Likewise.
33
91934273
AS
342007-04-17 Andreas Schwab <schwab@suse.de>
35
36 * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
37 sal to be bigger than the end of the function.
38
968b5391
MR
392007-04-17 Maciej W. Rozycki <macro@mips.com>
40 Nigel Stephens <nigel@mips.com>
41
42 * mips-tdep.c (mips_o32_push_dummy_call): Take account of
43 argument alignment requirements when calculating stack space
44 required. When aligning an arg register to eight bytes
45 boundary, align stack_offset too. Write floating-point
46 arguments to the appropriate integer register if need go there.
47 (mips_o64_push_dummy_call): Likewise.
48
e0cd558a
UW
492007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
50
51 * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
52 "sig" arguments, add "regcache" argument.
53 * gdbarch.c, gdbarch.h: Regenerate.
54
55 * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
56 (handle_inferior_event): Call remove_single_step_breakpoints directly
57 instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
58
59 * alpha-tdep.c (alpha_software_single_step): Update argument list.
60 Remove handling of !insert_breakpoints_p case.
61 * arm-tdep.c (arm_software_single_step): Likewise.
62 * cris-tdep.c (cris_software_single_step): Likewise.
63 * mips-tdep.c (mips_software_single_step): Likewise.
64 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
65 * sparc-tdep.c (sparc_software_single_step): Likewise.
66 * spu-tdep.c (spu_software_single_step): Likewise.
67
68 * alpha-tdep.h (alpha_software_single_step): Update prototype.
69 * mips-tdep.h (mips_software_single_step): Likewise.
70 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
71 * sparc-tdep.h (sparc_software_single_step): Likewise.
72
06a86285
UW
732007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
74
75 * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
76 when removing single-step breakpoints.
77
25d5ea92
VP
782007-04-14 Vladimir Prus <vladimir@codesourcery.com>
79
80 * varobj.h (varobj_set_frozen): New
81 (varobj_get_frozen): New.
82 (varobj_update): New parameter explicit.
83 * varobj.c (struct varobj): New fields frozen
84 and not_fetched.
85 (varobj_set_frozen, varobj_get_frozen): New.
86 (install_new_value): Don't fetch values for
87 frozen variable object, or children thereof. Allow
88 a frozen variable object to have non-fetched value.
89 (varobj_update): Allow updating child variables.
90 Don't traverse frozen children.
91 (new_variable): Initialize the frozen field.
92 (c_value_of_variable): Return NULL for frozen
93 variable without any value yet.
94 * mi/mi-cmd-var.c (varobj_update_one): New parameter
95 'explicit'.
96 (mi_cmd_var_create): Output the 'frozen' field,
97 as soon as testsuite is adjusted to expect that field.
98 (mi_cmd_var_set_frozen): New.
99 (mi_cmd_var_update): Pass the 'explicit' parameter to
100 varobj_update_one.
101 * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
102 * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
103
6e3bbd1a
PB
1042007-04-13 Paul Brook <paul@codesourcery.com>
105
106 * target-descriptions.c (tdesc_named_type): Add ieee_single and
107 ieee_double.
108 * doc/gdb.texinfo: Document ieee_single and ieee_double target types.
109
ea35711c
DJ
1102007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
111
112 * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
113 remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
114 scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
115 ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
116 * Makefile.in: Remove references to deleted files.
117 * README: Do not mention deleted ROM monitor interfaces.
118 * defs.h (enum language): Delete language_scm.
119 * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
120 (dump_subexp_body_standard): Likewise.
121 * parse.c (operator_length_standard): Likewise.
122 * expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
123 * remote-mips.c: Do not include remote-utils.h.
124 * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
125 throughout.
126 * value.c: Do not include scm-lang.h.
127 (unpack_long): Delete scm_unpack call.
128 * config/h8300/h8300.mt, config/mips/embed.mt,
129 config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
130 config/sh/embed.mt, config/sh/linux.mt: Remove references to
131 deleted files.
132 * NEWS: Mention removed files.
133
058b9c07
DJ
1342007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
135
136 * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
137 * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
138
54d61198
DJ
1392007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
140
141 * NEWS: Mention removal of HP aCC support.
142
e499d0f1
DJ
1432007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
144
145 * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
146 first entry for static executables.
147 (breakpoint_addr): Delete unused variable.
148 (elf_locate_base): Search for _r_debug in static executables.
149 (enable_break): Do not set breakpoint_addr. Scan solib_break_names
150 also.
151
4d5b2cd7
DJ
1522007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
153
154 * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
155 (bpstat_what, print_one_breakpoint, allocate_bp_location)
156 (mention): Remove bp_through_sigtramp support.
157 * breakpoint.h (enum bptype): Remove bp_through_sigtramp.
158
46d57086
DJ
1592007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
160
161 * breakpoint.c (bpstat_what): Give step-resume higher priority than
162 shlib events.
163
d3169d93
DJ
1642007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
165
166 * infrun.c: Doc fixes.
167 (handle_inferior_event): Clarify debug message.
168 (insert_step_resume_breakpoint_at_sal): Print a debug message.
169
8c9e4384
UW
1702007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
171
172 * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
173
9418f048
UW
1742007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
175
176 * config/m68k/tm-monitor.h: Delete file.
177 * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
178 * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
179 call moved to ...
180 * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
181 * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
182
e6590a1b
UW
1832007-04-12 Luis Machado <luisgpm@br.ibm.com>
184
185 * gdbarch.sh (software_single_step): Change the return type
186 from void to int and reformatted some comments to <= 80
187 columns.
188 * gdbarch.c, gdbarch.h: Regenerated.
189 * alpha-tdep.c (alpha_software_single_step): Likewise.
190 * alpha-tdep.h (alpha_software_single_step): Likewise.
191 * arm-tdep.c (arm_software_single_step): Likewise.
192 * cris-tdep.c (cris_software_single_step): Likewise.
193 * mips-tdep.c (mips_software_single_step): Likewise.
194 * mips-tdep.h (mips_software_single_step): Likewise.
195 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
196 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
197 * sparc-tdep.c (sparc_software_single_step): Likewise.
198 * sparc-tdep.h (sparc_software_single_step): Likewise.
199 * spu-tdep.c (spu_software_single_step): Likewise.
200 * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
201 and act accordingly.
202
58b38ee2
SE
2032007-04-11 Steve Ellcey <sje@cup.hp.com>
204
205 * configure.ac (build_warnings): Add -Wno-char-subscripts.
206 * configure: Regenerate.
207 * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
208
70f575cc
JK
2092007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
210
211 * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
212
d77b6808
JK
2132007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
214
215 * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
216 macros.
217 (TYPE_IS_OPAQUE): Empty vs. opaque structures are now
218 distinct on the TYPE_STUB_SUPPORTED debug targets.
219 * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
220
b0b92586
JB
2212007-04-11 Joel Brobecker <brobecker@adacore.com>
222
223 * sparc-tdep.c (X_RS2): New macro.
224 (sparc_skip_stack_check): New function.
225 (sparc_analyze_prologue): Adjust PC past stack probing
226 sequence if necessary.
227
a489f789
AS
2282007-04-10 Andreas Schwab <schwab@suse.de>
229
230 * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
231 register.
232
b0b13bb4
DJ
2332007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
234
235 * breakpoint.c (gdb_breakpoint_query): Really return an
236 enum gdb_rc.
237 (gdb_breakpoint): Likewise.
3f11755e
DJ
238 * thread.c (gdb_list_thread_ids): Likewise.
239 (gdb_thread_select): Likewise.
b0b13bb4
DJ
240 * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
241 (mi_cmd_thread_list_ids): Remove bogus initialization.
242
1a92f856
DJ
2432007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
244
245 * Makefile.in (SFILES): Remove hpacc-abi.c.
246 (COMMON_OBS): Remove hpacc-abi.o.
247 (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
248 (hpacc-abi.o, hpread.o): Delete rules.
249 * somread.c: Delete extern declarations from hpread.c.
250 (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
251 (som_symfile_finish): Do not call hpread_symfile_finish.
252 (som_symfile_init): Do not call hpread_symfile_init.
253 * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
254 * config/pa/hppahpux.mt (TDEPFILES): Likewise.
255 * hpacc-abi.c, hpread.c: Deleted.
256
542c95c2
DJ
2572007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
258
259 * solib-svr4.c (enable_break): Simplify return value.
260 (svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
261
cfaefc65
AS
2622007-04-10 Andreas Schwab <schwab@suse.de>
263
264 * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
265 l_ld_size, l_next_size, l_prev_size, l_name_size.
266
267 * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
268 to extract addresses from link map.
269 (LM_DYNAMIC_FROM_LINK_MAP): Likewise.
270 (LM_NEXT): Likewise.
271 (LM_NAME): Likewise.
272 (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
273 (elf_locate_base): Likewise.
274 (open_symbol_file_object): Likewise.
275 (svr4_fetch_objfile_link_map): Likewise.
276 (SOLIB_EXTRACT_ADDRESS): Remove unused macro.
277 (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
278 l_ld_size.
279 (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
280 (svr4_lp64_fetch_link_map_offsets): Likewise.
281
282 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
283 removed members. Set l_ld_offset to -1 if not present.
284
65cc4390
VP
2852007-04-08 Vladimir Prus <vladimir@codesourcery.com>
286
287 Pass stderr of program run with "target remote |"
288 via gdb_stderr.
289 * serial.c (serial_open): Set error_fd to -1.
290 * serial.h (struct serial): New field error_fd.
291 (struct serial_opts): New field avail.
292 * ser-pipe.c (pipe_open): Create another pair
293 of sockets. Pass stderr to gdb.
294 * ser-mingw.c (pipe_windows_open): Pass
295 PEX_STDERR_TO_PIPE to pex_run. Initialize
296 sd->error_fd.
297 (pipe_avail): New.
298 (_initialize_ser_windows): Hook pipe_avail.
299 * ser-base.c (generic_readchar): Check if there's
300 anything in stderr channel and route that to gdb_stderr.
301
e9112110
PA
3022007-04-03 Pedro Alves <pedro_alves@portugalmail.pt>
303
304 * dbxread.c (read_ofile_symtab): Move current_objfile
305 clearing to after end_stabs.
306
7f68ac27
AS
3072007-04-01 Andreas Schwab <schwab@suse.de>
308
309 * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
310 gdbarch instead of current_gdbarch.
311
e55dccf0
VP
3122007-04-01 Vladimir Prus <vladimir@codesourcery.com>
313
314 * varobj.c (varobj_create): Keep varobj value
315 NULL when evaluating the type.
316
7c963485
PA
3172007-03-31 Pedro Alves <pedro_alves@portugalmail.pt>
318
319 * NEWS: Mention new Windows CE support.
320
ad527d2e
PA
3212007-03-30 Pedro Alves <pedro_alves@portugalmail.pt>
322
323 * configure.tgt: Move mips*-*-pe and sh*-*-pe to
324 the obsoletion stanza.
325 * NEWS: Mention deleted targets.
326
327 * config/sh/tm-wince.h: Remove.
328 * config/sh/wince.mt: Remove.
329 * config/mips/tm-wince.h: Remove.
330 * config/mips/wince.mt: Remove.
331
332 * wince.c: Remove.
333 * wince-stub.c: Remove.
334 * wince-stub.h: Remove.
335 * Makefile.in (wince.o): Remove rule.
336 (wince-stub.o): Likewise.
337
338 * mips-tdep.c (mips_next_pc): Make static.
339 * mips-tdep.h (mips_next_pc): Remove declaration.
340 * arm-tdep.c (arm_pc_is_thumb): Make static.
341 (thumb_get_next_pc): Likewise.
342 (arm_get_next_pc): Likewise.
343 * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
344 (arm_pc_is_thumb): Likewise.
345 (thumb_get_next_pc): Likewise.
346 (arm_get_next_pc): Likewise.
347
7ce59000
DJ
3482007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
349
350 * MAINTAINERS: Remove d10v entry.
351 * Makefile.in (SFILES): Remove dwarfread.c.
352 (COMMON_OBS): Remove dwarfread.o.
353 (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
354 (remote-est.o, rom68k-rom.o): Delete.
355 * NEWS: Mention removal of d10v, target abug, target cpu32bug,
356 target est, target rom68k, and DWARF 1.
357 * configure.tgt: Mark d10v as removed.
358 * dwarf2read.c: Doc update.
359 * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
360 and lnsize.
361 (elf_locate_sections): Do not set them.
362 (elf_symfile_read): Do not call dwarf_build_psymtabs.
363 * symfile.h (dwarf_build_psymtabs): Delete prototype.
364 * config/m68k/monitor.mt (TDEPFILES): Prune.
365 * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
366 remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
367
20389057
DJ
3682007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
369
370 * doublest.c (convert_floatformat_to_doublest): Use
371 floatformat_classify.
372 (floatformat_is_nan): Rename to...
373 (floatformat_classify): ...this. Return more information.
374 * doublest.h (enum float_kind): New.
375 (floatformat_is_nan): Replace prototype...
376 (floatformat_classify): ...with this one.
377 * valprint.c (print_floating): Use floatformat_classify. Handle
378 infinity.
379
30b50213
DJ
3802007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
381
382 * README: Mention ISO C library requirement.
383
8807d78b
DJ
3842007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
385
386 * Makefile.in (SFILES): Remove nlmread.c.
387 (COMMON_OBS): Remove nlmread.o.
388 (nlmread.o): Delete rule.
389 * README: Delete reference to remote-st.c.
390 * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
391 * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
392 GDB_OSABI_LYNXOS.
393 * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
394 (_initialize_i386_tdep): Do not reference them.
395 * nlmread.c: Delete file.
396 * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
397 * target.c: Doc update.
398 * thread.c: Delete commented include.
399 * config/alpha/tm-alpha.h: Doc update.
400
ced572fe
MR
4012007-03-30 Chris Dearman <chris@mips.com>
402
403 * utils.c (string_to_core_addr): Comment typo.
404
8a9fc081
MR
4052007-03-30 Chris Dearman <chris@mips.com>
406
407 * mips-tdep.c: Comment typo.
408
5f402660
UW
4092007-03-29 Ulrich Weigand <uweigand@de.ibm.com>
410
411 * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
412 * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
413 * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
414 * config/powerpc/nm-ppc64-linux.h: Remove file.
415 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
416 * inferior.h (PTRACE_ARG3_TYPE): Do not define.
417 (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
418 * infptrace.c (call_ptrace): Likewise.
419 * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
420 (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
421 and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
422 (store_register): Likewise.
423
bbf90c81
JB
4242007-03-29 Joel Brobecker <brobecker@adacore.com>
425
426 * Makefile.in (varobj.o): Add missing dependency.
427
243c053b
MS
4282007-03-29 Michael Snyder <msnyder@access-company.com>
429
430 * MAINTAINERS: Update my email address.
431
0259addd
JB
4322007-03-29 Joel Brobecker <brobecker@adacore.com>
433
434 Add support for exception handling with multiple versions of
435 the Ada runtime:
436 * ada-lang.c: Update general comments on how Ada exception catchpoints
437 are implemented.
438 (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
439 (__gnat_raise_nodefer_with_msg): Delete.
440 (ada_unhandled_exception_name_addr_ftype): New type.
441 (exception_support_info): New type.
442 (ada_unhandled_exception_name_addr): Add forward declaration.
443 (ada_unhandled_exception_name_addr_from_raise): Likewise.
444 (default_exception_support_info): New constant.
445 (exception_support_info_fallback): Likewise.
446 (exception_info): New global variable.
447 (ada_exception_support_info_sniffer): New function.
448 (ada_executable_changed_observer): Likewise.
449 (ada_unhandled_exception_name_addr_from_raise): Renamed from
450 ada_unhandled_exception_name_addr.
451 (ada_unhandled_exception_name_addr): Reimplement to match the
452 latest Ada runtime implementation.
453 (error_breakpoint_runtime_sym_not_found): Delete.
454 (ada_exception_sym_name): Get the exception sym name from
455 exception_info rather than hardcoding it.
456 (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
457 Update error handling.
458 * Makefile.in (ada-lang.o): Add dependency on observer.h.
459
483367ee
DJ
4602007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
461
462 * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
463 (remote-st.o, uw-thread.o): Delete.
464 (HFILES_NO_SRCDIR, ALLDEPFILES): Update.
465 * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
466 i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
467 i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
468 i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
469 i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
470 rs6000-*-lynxos* to an obsoletion stanza.
471 * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
472 i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
473 and rs6000-*-lynxos* to an obsoletion stanza. Do not mention
474 i[34567]86-*-netware*.
475 * NEWS: Mention deleted targets.
476
477 * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
478 uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
479 config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
480 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
481 config/i386/ncr3000.mh, config/i386/ncr3000.mt,
482 config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
483 config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
484 config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
485 config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
486 config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
487 config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
488 config/rs6000/tm-rs6000ly.h: Delete files.
489
3adda9d8
DJ
4902007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
491
492 * defs.h (deprecated_registers_changed_hook): Delete declaration.
493 * interps.c (clear_interpreter_hooks): Do not clear
494 deprecated_registers_changed_hook.
495 * regcache.c (registers_changed): Do not call it.
496 * top.c (deprecated_registers_changed_hook): Do not define it.
497 * mi/mi-interp.c (mi_command_loop): Do not clear it.
498 * tui/tui-hooks.c (tui_install_hooks): Do not install it.
499 (tui_remove_hooks): Do not remove it.
500 (tui_selected_frame_level_changed_hook): Check for negative level.
501 Use get_selected_frame.
502 (tui_registers_changed_hook): Deleted.
503
bf362611
JB
5042007-03-29 Joel Brobecker <brobecker@adacore.com>
505
506 * stabsread.c (add_undefined_type): Add extra parameter.
507 Now handles nameless types separately.
508 (struct nat): New type.
509 (noname_undefs, noname_undefs_allocated, noname_undefs_length):
510 New static variables.
511 (read_type): Update calls to add_undefined_type.
512 (add_undefined_type_noname): New function.
513 (add_undefined_type_1): Renames from add_undefined_type.
514 (cleanup_undefined_types_noname): New function.
515 (cleanup_undefined_types_1): Renames cleanup_undefined_types.
516 (cleanup_undefined_types): New handles nameless types separately.
517 (_initialize_stabsread): Initialize our new static constants.
518
436868fb
DP
5192007-03-29 Denis Pilat <denis.pilat@st.com>
520
521 * configure.ac: Test for signal.h.
522 * configure, config.in: Regenerate.
523
aaf9e9fd
DP
5242007-03-29 Denis Pilat <denis.pilat@st.com>
525
526 * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
527 * infrun.c (normal_stop): Remove MI specific frame printing treatment.
528
68070c10
PA
5292007-03-29 Pedro Alves <pedro_alves@portugalmail.pt>
530
531 * arm-wince-tdep.c: New.
532 * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
533 (MT_CFLAGS): Delete.
534 (TM_CLIBS): Delete.
535 (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
536 solib-legacy.o, solib-svr4.o, and remove wince.o.
537 * configure.tgt (arm*-*-mingw32ce*): Add.
538 * signals/signals.c [HAVE_SIGNAL_H]: Check.
539 (do_target_signal_to_host): Silence 'not used' warning.
540 * config/arm/tm-wince.h: Remove.
541
74174d2e
UW
5422007-03-28 Ulrich Weigand <uweigand@de.ibm.com>
543
544 * arch-utils.c (legacy_pc_in_sigtramp): Remove.
545 * arch-utils.h (legacy_pc_in_sigtramp): Remove.
546
547 * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
548 * config/ia64/tm-linux.h: Remove file.
549 * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
550 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
551 legacy_pc_in_sigtramp.
552 (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
553 * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
554 Remove func_name argument.
555 (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
556
557 * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
558 * target.c (update_current_target): Add to_have_steppable_watchpoint.
559 * target.h (struct target_ops): Add to_have_steppable_watchpoint.
560 (HAVE_STEPPABLE_WATCHPOINT): Define.
561
562 * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
563 * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
564 CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
565 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
566 STOPPED_BY_WATCHPOINT, target_stopped_data_address,
567 target_insert_watchpoint, target_remove_watchpoint): Remove.
568 (FETCH_INFERIOR_REGISTERS): Define.
569 * ia64-linux-nat.c (ia64_register_addr): Make static.
570 (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
571 (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument.
572 (ia64_linux_remove_watchpoint): Likewise. Add type argument.
573 (ia64_linux_stopped_data_address): Make static. Add target_ops.
574 (ia64_linux_stopped_by_watchpoint): Make static.
575 (ia64_linux_can_use_hw_breakpoint): New function.
576 (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
577 (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
578 (_initialize_ia64_linux_nat): Install register and watchpoint ops.
579
53c5240f
PA
5802007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
581
582 * linespec.c: Include language.h.
583 (find_methods): Add language parameter. Call
584 lookup_symbol_in_language. Pass language down.
585 (add_matching_methods): Likewise. Call
586 lookup_symbol_in_language.
587 (add_constructors): Likewise.
588 (find_method): Pass sym_class to collect_methods.
589 (collect_methods): Add sym_class parameter. Pass language
590 down.
591 * symtab.c (lookup_symbol): Rename to ...
592 (lookup_symbol_in_language): ... this. Add language
593 parameter. Use passed language instead of current_language.
594 (lookup_symbol): New as wrapper around
595 lookup_symbol_in_language.
596 (lookup_symbol_aux): Add language parameter. Use passed
597 language instead of current_language.
598 (search_symbols): Indent.
599 * symtab.h (enum language): Forward declare.
600 (lookup_symbol_in_language): Declare.
601 (lookup_symbol): Update description.
602 * ada-lang.h (lookup_symbol_in_language): Remove declaration.
603 * ada-lang.c (restore_language): Remove.
604 (lookup_symbol_in_language): Remove.
605
8671a17b
PA
6062007-03-27 Pedro Alves <pedro_alves@portugalmail.pt>
607
608 * breakpoint.c (bpstat_num): Add int *num parameter.
609 * breakpoint.h (bpstat_num): Likewise.
610 * infcmd.c (continue_command): Adjust to new bpstat_num
611 interface.
612 (program_info): Likewise.
613
214197f9
UW
6142007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
615
616 * config/sh/tm-sh.h: Remove file.
617 * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
618 * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
619 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
620 * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
621
bac718a6
UW
6222007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
623
624 * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
625 DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
626 * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
627 DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
628 * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
629 sequence if target_shortname is "remote".
630
de6a76fd
DJ
6312007-03-27 Anton Blanchard <anton@samba.org>
632
633 * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
634 instead of wordsize when looking for the LR in a stack frame.
635
4fc771b8
DJ
6362007-03-27 Andreas Schwab <schwab@suse.de>
637 Daniel Jacobowitz <dan@codesourcery.com>
638
639 * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
640 (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p
641 argument. Update all callers.
642 (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
643 (dwarf2_frame_set_eh_frame_regnum): Rename to...
644 (dwarf2_frame_set_adjust_regnum): ...this. Update argument type.
645 * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
646 (dwarf2_frame_set_adjust_regnum): ...this.
647 (dwarf2_frame_eh_frame_regnum): Delete prototype.
648 * rs6000-tdep.c: Include "dwarf2-frame.h".
649 (rs6000_adjust_frame_regnum): Define.
650 (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
651 Register rs6000_adjust_frame_regnum.
652
653 * Makefile.in (rs6000-tdep.o): Update dependencies.
654
9453113a
DJ
6552007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
656
657 * Makefile.in: Add support for a "pdf" target.
658
d2449ee8
DJ
6592007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
660
661 * amd64-tdep.c (amd64_init_frame_cache): New function.
662 (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
663
a72d8a8e
MR
6642007-03-26 Nigel Stephens <nigel@mips.com>
665 Maciej W. Rozycki <macro@mips.com>
666
667 * ui-out.c (ui_out_field_core_addr): Truncate address to
668 TARGET_ADDR_BIT size before printing.
669
5200c3f3 6702007-03-22 Nigel Stephens <nigel@mips.com>
a72d8a8e 671 Maciej W. Rozycki <macro@mips.com>
5200c3f3
L
672
673 * remote-mips.c (mips_xfer_memory): Update prototype.
674
16708cba
JB
6752007-03-22 Joel Brobecker <brobecker@adacore.com>
676
677 * symfile.h: #include "symtab.h"
678
0fe514e3
DP
6792007-03-22 Denis Pilat <denis.pilat@st.com>
680
681 * utils.c (pagination_on_command, pagination_off_command):
682 Remove useless prototypes.
683
4a52dc15
PM
6842007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
685
686 Fix PR pascal/2232.
687 * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
688 instead of TYPE_NAME for object base class name.
689
690
1c86fa97
KB
6912007-03-19 Kevin Buettner <kevinb@redhat.com>
692
693 * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
694 Specify frame type in calls to frame_func_unwind().
695
4e463ff5
DJ
6962007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
697
698 * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
699 (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
700 (refine_prologue_limit): Delete.
701 (skip_prologue): Don't call it. Use extract_unsigned_integer.
702 Assume lim_pc is set. Correct check for incomplete prologues.
703 Do not skip clobbers of the frame pointer.
704 * symtab.c (skip_prologue_using_sal): Fail if there is only one
705 sal.
706
348473d5
NF
7072007-03-13 Nathan Froyd <froydnj@codesourcery.com>
708
709 * frame.c (frame_pop): Check to see whether there's a frame to
710 which we can pop first.
711
a2f9cf0d
NF
7122007-03-13 Nathan Froyd <froydnj@codesourcery.com>
713
714 * MAINTAINERS (Write After Approval): Add myself.
715
569631c6
UW
7162007-03-09 Markus Deuling <deuling@de.ibm.com>
717
718 * infrun.c (breakpoints_failed): Remove unnecessary variable.
719 (handle_inferior_event): Remove unnecessary braces.
720 * breakpoint.c (bpstat_what): Remove wrong comment.
721
fe5febed
UW
7222007-03-09 Ulrich Weigand <uweigand@de.ibm.com>
723
724 * spu-tdep.c (spu_in_function_epilogue_p): New function.
725 (spu_gdbarch_init): Install it.
726
9dea8ca2
UW
7272007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
728
729 * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
730 object types, not 0.
731
7b3dc0b7
UW
7322007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
733
734 * spu-tdep.c (spu_frame_align): New function.
735 (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
736
118dfbaf
UW
7372007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
738
739 * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
740 (spu_software_single_step): Likewise.
741 (spu_read_pc, spu_write_pc): New functions.
742 (spu_gdbarch_init): Install them.
743
29e4017d
UW
7442007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
745
746 * cli/cli-dump.c (struct callback_data): load_offset needs to
747 have signed long type.
748
6de5b849
JB
7492007-03-07 Joel Brobecker <brobecker@adacore.com>
750
751 * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
752 Revert the previous change that had some unexpected side-effects
753 on mips32.
754 (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
755 function to get the address of the calling instruction.
756
7490ba4f
DP
7572007-03-07 Denis Pilat <denis.pilat@st.com>
758
759 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
760 get_selected_frame by deprecated_safe_get_selected_frame.
761
861fb77c
MK
7622007-03-02 Mark Kettenis <kettenis@gnu.org>
763
764 * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
765 "gdb_string.h". Don't include "nbsd-tdep.h".
766 (SIZEOF_STRUCT_REG): Remove.
767 (SHNBSD_SIZEOF_GREGS): New.
768 (shnbsd_supply_gregset, shnbsd_collect_gregset)
769 (shnbsd_regset_from_core_section): New functions.
770 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
771 (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
772 shnbsd_supply_gregset, shnbsd_collect_gregset.
773 (shnbsd_gregset): New variable.
774 (shnbsd_init_abi): Set regset_from_core_section.
775 (GDB_OSABI_NETBSD_CORE): New define.
776 (shnbsd_core_osabi_sniffer): New function.
777 (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
778 * Makefile.in (shnbsd-tdep.o): Update dependencies.
779 * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
780 nbsd-tdep.o.
781 * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
782
787cbe14
JB
7832007-02-28 Joel Brobecker <brobecker@adacore.com>
784
785 * gdbtypes.c (replace_type): Fix typo that caused us to not update
786 length of the types referenced by the new type CV ring.
787
35f196d9
DJ
7882007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
789
790 * frame.c (frame_pop, frame_observer_target_changed): Call
791 reinit_frame_cache.
792 (flush_cached_frames): Rename to reinit_frame_cache and delete
793 old implementation.
794 * frame.h (flush_cached_frames): Delete prototype and update comment.
795
796 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
797 reinit_frame_cache instead of flush_cached_frames. Do not call
798 select_frame after reinit_frame_cache.
799 * corelow.c (core_open): Likewise.
800 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
801 * infrun.c (prepare_to_proceed, context_switch)
802 (handle_inferior_event): Likewise.
803 * linux-fork.c (fork_load_infrun_state): Likewise.
804 * ocd.c (ocd_start_remote): Likewise.
805 * remote-e7000.c (e7000_start_remote): Likewise.
806 * remote-mips.c (device): Likewise.
807 * thread.c (switch_to_thread): Likewise.
808 * tracepoint.c (finish_tfind_command): Likewise.
809 * gdbarch.c: Regenerated.
810
c26f2453
JB
8112007-02-28 Jerome Guitton <guitton@adacore.com>
812 Joel Brobecker <brobecker@adacore.com>
813
814 * gdbtypes.c (check_typedef): Do not replace stub type if
815 the resolved type is not defined in the same objfile.
816
7d900f1a
DJ
8172007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
818
819 * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
820
76038652 8212007-02-28 Joel Brobecker <brobecker@adacore.com>
52eea4ce
JB
822
823 * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
824 symbol for Ada units when the symbol is defined using 't' rather
825 than 'Tt' as symbol descriptor.
826
d74fb156 8272007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
1344afe0
UW
828
829 * config/mips/tm-nbsd.h: Delete file.
830 * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
831 * config/sh/tm-nbsd.h: Delete file.
832 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
833
f8d225db
JB
8342007-02-28 Joel Brobecker <brobecker@adacore.com>
835
836 * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
837 unused WRONG_PARAM value since it was recently deleted.
838
1bbfb19a
NR
8392007-02-28 Vladimir Prus <vladimir@codesourcery.com>
840
841 * varobj.c (varobj_update): Free temporary vectors.
842
6f7f3f0d
UW
8432007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
844
845 * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
846 * config/powerpc/tm-linux.h: Delete file.
847 * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
848 (PROCESS_LINENUMBER_HOOK): Do not undefine.
849 (TEXT_SEGMENT_BASE): Do not redefine.
850 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
851 from config/rs6000/tm-rs6000.h.
852 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
853 * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
854 (TEXT_SEGMENT_BASE): Remove.
855 (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
856 (rs6000_in_solib_return_trampoline): Remove.
857 (SKIP_TRAMPOLINE_CODE): Remove.
858 (rs6000_skip_trampoline_code): Remove.
859 (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
860 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
861 (FP0_REGNUM): Remove.
862 (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
863 (rs6000_set_host_arch_hook): Remove.
864 * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
865 (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
866 * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
867 * rs6000-aix-tdep.c: Include "ppc-tdep.h".
868 (rs6000_aix_init_osabi): Set text_segment_base tdep field.
869 * rs6000-nat.c: Include "rs6000-tdep.h".
870 (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
871 (set_host_arch): Rename to ...
872 (rs6000_create_inferior): ... this. Make public.
873 (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
874 * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
875 (rs6000_create_inferior): Remove.
876 (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
877 (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
878 set_gdbarch_in_solib_return_trampoline, and
879 set_gdbarch_skip_trampoline_code.
880 * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
881 from config/rs6000/tm-rs6000.h.
882
63050a44 8832007-02-27 Joel Brobecker <brobecker@adacore.com>
05279ca0
JB
884
885 * buildsym.c (record_producer): Do nothing if no producer is provided.
886
63050a44 8872007-02-27 Nick Roberts <nickrob@snap.net.nz>
e0b75a46
NR
888
889 * varobj.c (varobj_update): Remove unused local. Use gdb_assert
890 to check changelist is non-NULL. Call error if the frontend tries
891 to update a non-root variable.
892
893 * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
894
93d42b30
DJ
8952007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
896
897 * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
898 (dwarf2_frame_sniffer): Update.
899 (dwarf2_signal_frame_this_id): New function.
900 (dwarf2_signal_frame_unwind): Use it.
901 (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
902 * frame.c (frame_func_unwind): Add this_type argument.
903 (get_frame_func): Update.
904 (frame_unwind_address_in_block): Add this_type argument and check it.
905 Fix a typo.
906 (get_frame_address_in_block): Update.
907 * frame.h (enum frame_type): Move higher in the file.
908 (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
909 argument.
910
911 * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
912 arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
913 hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
914 libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
915 m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
916 mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
917 score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
918 sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
919 xstormy16-tdep.c, xtensa-tdep.c: Update calls to
920 frame_func_unwind and frame_unwind_address_in_block to specify
921 the frame type. Use frame_unwind_address_in_block instead of
922 frame_pc_unwind in sniffers.
923
206415a3
DJ
9242007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
925
926 * frame.c (deprecated_selected_frame): Rename to...
927 (selected_frame): ...this. Make static.
928 (get_selected_frame, select_frame): Update.
929 * frame.h (deprected_select_frame): Delete.
930 (deprecated_safe_get_selected_frame): Update comments.
931
932 * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
933 infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
934 tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
935 parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
936 tui/tui.c: Replace references to deprecated_selected_frame.
937
7313566f
FF
9382007-02-27 Fred Fish <fnf@specifix.com>
939
940 * rs6000-tdep.c (skip_prologue): Recognize addi instructions that
941 directly decrement the stack pointer, accumulate their operand into
942 the stack offset, and mark the function as not being frameless.
943
b6d373df
DJ
9442007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
945
946 * arch-utils.c (selected_byte_order): New.
947 * arch-utils.h (selected_byte_order): New prototype.
948 * remote-sim.c (gdbsim_open): Use selected_byte_order.
949
2711e456
DJ
9502007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
951
952 * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
953 (default_symfile_offsets): Check VMA here. Update section VMAs.
954
baef701f
DJ
9552007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
956
957 * remote.c (init_remote_state): Add special handling for placeholder
958 registers.
959
05a4558a
DJ
9602007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
961
962 * Makefile.in (XMLFILES): Include $(TDEP_XML).
963 (filenames_h): New variable.
964 (clean): Clean up xml-builtin.c and stamp-xml.
965 (arm-linux-nat.o): Update.
966 * config/arm/linux.mh (TDEP_XML): Define.
967 * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
968 (arm_linux_has_wmmx_registers): New.
969 (GET_THREAD_ID): Fix typo.
970 (IWMMXT_REGS_SIZE): Define.
971 (fetch_wmmx_regs, store_wmmx_regs): New.
972 (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
973 (arm_linux_store_inferior_registers): Use store_wmmx_regs.
974 (super_xfer_partial, arm_linux_xfer_partial): New.
975 (_initialize_arm_linux_nat): Use them.
976 * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
977 (xml_builtin_xfer_partial): New function.
978 * xml-support.h (xml_builtin_xfer_partial): New prototype.
979 * NEWS: Update mention of iWMMXt support.
980
ff6f572f
DJ
9812007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
982
983 * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
984 if there are no FPA registers.
985 (arm_dwarf_reg_to_regnum): New function.
986 (arm_register_type, arm_register_name): Return minimal values for
987 unsupported registers.
988 (arm_register_sim_regno): Handle iWMMXt registers.
989 (arm_gdbarch_init): Record missing FPA registers if indicated by
990 a target description. Recognize iWMMXt registers. Only register
991 "info float" for FPA. Use ARM_NUM_REGS. Register
992 arm_dwarf_reg_to_regnum.
993 * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
994 constants.
995 (struct gdbarch_tdep): Add have_fpa_registers.
996 * features/xscale-iwmmxt.xml: Update capitalization.
997 * regformats/arm-with-iwmmxt.dat: Regenerated.
998
c077150c
KB
9992007-02-24 Kevin Buettner <kevinb@redhat.com>
1000
1001 * NEWS (New targets): Add entry for the Toshiba Media Processor.
1002
01c996c1
KB
10032007-02-23 Kevin Buettner <kevinb@redhat.com>
1004
1005 * MAINTAINERS (mep): New target.
1006
aeb43123
KB
10072007-02-23 Kevin Buettner <kevinb@redhat.com>
1008
1009 From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
1010 Richard Sandiford:
1011 * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
1012 (mep-tdep.o): New rule.
1013 * configure.tgt (mep-*-*): New target.
1014 * mep-tdep.c: New file.
1015 * config/mep/mep.mt: New file.
1016
115d86cf
UW
10172007-02-22 Markus Deuling <deuling@de.ibm.com>
1018
1019 * infrun.c (inferior_stop_reason, print_stop_reason): Remove
1020 BREAKPOINT_HIT and STOP_UNKNOWN.
1021
fef862e5
UW
10222007-02-22 Markus Deuling <deuling@de.ibm.com>
1023
1024 * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
1025
9a7d5afb
JB
10262007-02-20 Joel Brobecker <brobecker@adacore.com>
1027
1028 * gdb_expat.h (XMLCALL): Define if not already defined.
1029
81de920d
AS
10302007-02-20 Andreas Schwab <schwab@suse.de>
1031
1032 * Makefile.in (symfile.o): Update dependencies.
1033
cb5c8c39
DJ
10342007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
1035
1036 * MAINTAINERS: Disable -Werror for cris simulator. Build
1037 sparc64-solaris2.10 instead of the broken sparc-elf.
1038 * solib-frv.c: Include "solib.h".
1039 * Makefile.in (solib-frv.o): Update.
1040 * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
1041 * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
1042 (xtensa_frame_this_id, xtensa_frame_prev_register)
1043 (xtensa_push_dummy_call): Use %p.
1044
e6bb342a
DJ
10452007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1046
1047 * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
1048 ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
1049 sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
1050 * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
1051 (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
1052 (sparc-linux-tdep.o): Update.
1053
ff7a4c00
MG
10542007-02-15 Maxim Grigoriev <maxim2405@gmail.com>
1055
1056 * xtensa-tdep.h (xtensa_reg_mask_t): New.
1057 (xtensa_mask_t): Change mask field to be a separate array.
1058 * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
1059 (xtensa_pseudo_register_write, xtensa_unwind_pc)
1060 (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
1061 (xtensa_breakpoint_from_pc): Remove implicit type casting.
1062 * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
1063 (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
1064 (mask14, mask15): Rename to
1065 (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
1066 (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
1067 (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
1068 (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
1069 (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
1070 (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
1071 (xtensa_submask8, xtensa_submask9, xtensa_submask10)
1072 (xtensa_submask11, xtensa_submask12, xtensa_submask13)
1073 (xtensa_submask14, xtensa_submask15): New.
1074 (rmap): Follow strict aliasing rules doing static initialization.
1075
d9cc5895
DJ
10762007-02-13 Daniel Jacobowitz <dan@codesourcery.com>
1077
1078 * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
1079 handling from here...
1080 (tdesc_register_type): ...to here.
1081 * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
1082 * features/arm-core.xml: Use code_ptr and data_ptr.
1083
8756216b
DP
10842007-02-13 Denis Pilat <denis.pilat@st.com>
1085
1086 * varobj.h (enum varobj_update_error): New enum.
1087 * varobj.c (struct varobj_root): Add is_valid member.
1088 (varobj_get_type): Check for invalid varobj.
1089 (varobj_get_attributes): Likewise.
1090 (variable_editable):Likewise.
1091 (varobj_update): Likewise. Use varobj_update_error.
1092 (new_root_variable): Set root varobj as valid by default.
1093 (varobj_invalidate): New function.
1094 * symfile.c (clear_symtab_users): Use varobj_invalidate.
1095 * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
1096 Use varobj_update_error.
1097
fe8e67fd
PM
10982007-02-12 Pierre Muller <muller@ics.u-strasbg.fr>
1099
1100 Fix PR pascal/2223.
1101 * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
1102 Pascal language marker.
1103 * dwarf2read.c (set_cu_language): Likewise.
1104
c44537cf
CV
11052007-02-12 Corinna Vinschen <vinschen@redhat.com>
1106
1107 * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
1108 (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
1109 instead of target_terminal_init since inferior_ptid isn't set yet.
1110
20dad8ea
PA
11112007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
1112
1113 * MAINTAINERS (Write After Approval): Add myself.
1114
4ac94eda
FF
11152007-02-09 Fred Fish <fnf@specifix.com>
1116
1117 Based on work by Apple Computer, Inc.
1118 * event-top.c (async_request_quit): Call quit() whenever either
1119 quit_flag is set or immediate_quit is set.
1120
b260b6c1
GDR
11212007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
1122
1123 * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
1124 type to a pointer to const struct block.
1125 (ada_lookup_symbol_list): Don't cast away constness when calling
1126 remove_out_of_scope_renamings.
1127
11282007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
1129
1130 * linux-nat.c (linux_nat_find_memory_regions): Don't check the
1131 address of 'filename'; it is always non null.
1132
0f5d55d8
JB
11332007-02-09 Joel Brobecker <brobecker@adacore.com>
1134
1135 * exec.c (add_to_section_table): Do not discard empty sections.
1136
fb1e4ffc
DJ
11372007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1138
1139 * features/Makefile, features/arm-with-iwmmxt.xml,
1140 features/gdbserver-regs.xsl, features/number-regs.xsl,
1141 features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
1142 * regformats/arm-with-iwmmxt.dat: Generate.
1143 * NEWS: Mention iWMMXt.
1144
123dc839
DJ
11452007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1146
1147 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
1148 (xml-tdesc.o): Update.
1149 * xml-support.c: Add a comment.
1150 (gdb_xml_enums_boolean): New variable.
1151 (gdb_xml_parse_attr_enum): Use strcasecmp.
1152 * xml-support.h (gdb_xml_enums_boolean): Declare.
1153 * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
1154 next_regnum, and current_union.
1155 (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
1156 (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
1157 (field_attributes, union_children, reg_attributes, union_attributes)
1158 (vector_attributes, feature_attributes, feature_children): New.
1159 (target_children): Make static. Add <feature>.
1160 (tdesc_elements): Make static.
1161 * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
1162 (struct tdesc_feature, tdesc_feature_p): New types.
1163 (struct target_desc): Add features member.
1164 (struct tdesc_arch_data, tdesc_data): New.
1165 (target_find_description): Clarify error message. Warn about
1166 ignored register descriptions.
1167 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
1168 (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
1169 (tdesc_data_cleanup, tdesc_numbered_register)
1170 (tdesc_numbered_register_choices, tdesc_find_register)
1171 (tdesc_register_name, tdesc_register_type)
1172 (tdesc_remote_register_number, tdesc_register_reggroup_p)
1173 (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
1174 (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
1175 (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
1176 (tdesc_create_feature, tdesc_record_type): New.
1177 (free_target_description): Free features.
1178 (_initialize_target_descriptions): Initialize tdesc_data.
1179 * arch-utils.c (default_remote_register_number): New.
1180 * arch-utils.h (default_remote_register_number): New prototype.
1181 * target-descriptions.h (set_tdesc_pseudo_register_name)
1182 (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
1183 (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
1184 (tdesc_numbered_register, tdesc_numbered_register_choices)
1185 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
1186 (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
1187 (tdesc_create_reg): Declare.
1188 * gdbarch.sh (remote_register_number): New entry.
1189 * gdbarch.c, gdbarch.h: Regenerate.
1190 * remote.c (init_remote_state): Use gdbarch_remote_register_number.
1191 * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
1192
1193 * arm-tdep.c (arm_register_aliases): New.
1194 (arm_register_name_strings): Rename to...
1195 (arm_register_names): ...this. Make const. Delete the old version.
1196 (current_option, arm_register_byte): Delete.
1197 (set_disassembly_style): Simplify. Do not adjust arm_register_names.
1198 (value_of_arm_user_reg): New.
1199 (arm_gdbarch_init): Verify any described registers. Call
1200 tdesc_use_registers. Don't use arm_register_byte. Create aliases
1201 for standard register names.
1202 (_initialize_arm_tdep): Do not adjust arm_register_names.
1203 * user-regs.c (struct user_reg): Add baton member.
1204 (append_user_reg, user_reg_add_builtin, user_regs_init)
1205 (user_reg_add, value_of_user_reg): Use a baton for user
1206 register functions.
1207 * std-regs.c: Update.
1208 * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
1209 (user_reg_add): Add baton argument.
1210 * NEWS: Mention target description register support.
1211 * features/arm-core.xml, features/arm-fpa.xml: New.
1212 * eval.c (evaluate_subexp_standard): Allow ptype $register
1213 when the program is not running.
1214
87604222
NR
12152007-02-09 Nick Roberts <nickrob@snap.net.nz>
1216
1217 * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
1218
ee4f0f76
DJ
12192007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
1220
1221 * rs6000-tdep.c (gdb_print_insn_powerpc): Set
1222 info->disassembler_options to "any".
1223
7af9851d
DJ
12242007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1225
1226 * varobj.c (install_new_value): Only call value_get_print_value
1227 if changeable.
1228
8944021f
DJ
12292007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1230
1231 Reported by timeless@gmail.com:
1232 * gdb/target.c (target_flash_erase): Do not return void value.
1233 (target_flash_done): Likewise.
1234 * gdb/cli/cli-cmds.c (source_command): Likewise.
1235
12362007-02-08 Fred Fish <fnf@specifix.com>
5f960e00 1237
4ac94eda 1238 Based on work by Apple Computer, Inc.
5f960e00
FF
1239 * event-top.c (handle_sigint): Set quit_flag.
1240 (async_request_quit): Don't set quit_flag. Avoid calling quit()
1241 if quit_flag has already been reset.
1242
4998c1df
DJ
12432007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1244
1245 * ser-mingw.c (pipe_windows_close): Move variable initialization back
1246 up.
1247
79da184e
FF
12482007-02-08 Fred Fish <fnf@specifix.com>
1249
1250 * defs.h (request_quit): Remove declaration.
1251 * utils.c (request_quit): Remove definition.
1252
3c77c82a
DJ
12532007-02-08 Joel Brobecker <brobecker@gnat.com>
1254 Jan Kratochvil <jan.kratochvil@redhat.com>
1255 Daniel Jacobowitz <dan@codesourcery.com>
1256
1257 * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
1258 (skip_prologue): Allow bl->blrl used by PIC code.
1259
c1b6e682
DJ
12602007-02-08 Mark Kettenis <kettenis@gnu.org>
1261 Daniel Jacobowitz <dan@codesourcery.com>
1262
1263 * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
1264 initialize tmp_obstack.
1265 * p-valprint.c (pascal_object_print_value_fields)
1266 (pascal_object_print_value): Likewise.
1267
fe5dedf4
DJ
12682007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1269
1270 * features/feature_to_c.sh: Use %s to avoid problems with nawk.
1271
3e461478
MK
12722007-02-08 Mark Kettenis <kettenis@gnu.org>
1273
1274 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
1275 * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
1276
fc6e0168
DJ
12772007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
1278
1279 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
1280 (xml_cache): New.
1281 (tdesc_parse_xml): Cache expanded descriptions.
1282
108546a0
DJ
12832007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
1284
1285 * Makefile.in (XMLFILES): New.
1286 (COMMON_OBS): Add xml-builtin.o.
1287 (xml-builtin.c, stamp-xml): New rules.
1288 (xml-tdesc.o): Update.
1289 * features/feature_to_c.sh: New file.
1290 * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
1291 (struct gdb_xml_parser): Add dtd_name and is_xinclude.
1292 (gdb_xml_start_element): Initialize scope after possibly reallocating
1293 scopes. Move cleanup later. Handle the XInclude description
1294 specially.
1295 (gdb_xml_end_element): Only parse the body if there is a current element.
1296 Call XML_DefaultCurrent if there is no element.
1297 (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
1298 (struct xinclude_parsing_data, xinclude_start_include)
1299 (xinclude_end_include, xml_xinclude_default)
1300 (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
1301 (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
1302 (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
1303 * xml-support.h (xml_fetch_another, xml_process_xincludes)
1304 (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
1305 * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
1306 XInclude directives. Use the compiled in DTD.
1307 (fetch_xml_from_file): Add baton argument. Treat it as a containing
1308 directory name. Do not warn here.
1309 (file_read_description_xml): Update call. Warn here instead. Pass
1310 a dirname as baton.
1311 (fetch_available_features_from_target): New.
1312 (target_read_description_xml): Use it.
1313 * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
1314 to handle XInclude.
1315 * features/xinclude.dtd: New file.
1316
b5057acd
DJ
13172007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
1318
1319 * linux-thread-db.c (check_for_thread_db): Return early if we have
1320 no libthread_db support.
1321
6a089cf2
DJ
13222007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
1323
1324 * mi/mi-parse.h: Include <sys/time.h>.
1325
9fbcbb40
NR
13262007-02-05 Nick Roberts <nickrob@snap.net.nz>
1327
1328 * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
1329 instead of print_variable_value to print values.
1330
b3d2152a
NR
13312007-02-03 Nick Roberts <nickrob@snap.net.nz>
1332
1333 * mi/mi-main.c: Numerous formatting changes.
1334 (mi_cmd_data_write_register_values): Replace clause inadvertantly
1335 removed in my previous change.
1336
79f0a97a
NR
13372007-02-03 Eli Zaretskii <eliz@gnu.org>
1338
1339 * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
1340 Use 1000000L instead of 1000000.
1341
95a98c01 13422007-02-03 Nick Roberts <nickrob@snap.net.nz>
cd375699
NR
1343
1344 Based on work by Apple Computer, Inc.
1345
1346 * configure.ac: Test for sys/resource.h and getrusage.
1347 * configure, config.in: Regenerate.
1348
1349 * mi/mi-main.c: Include <sys/resource.h> if present.
1350 (rusage): Declare if HAVE_GETRUSAGE.
1351 (current_command_ts, do_timings): New static variables.
1352 (timestamp, print_diff_now, print_diff, timeval_diff):
1353 New static timing functions.
1354 (mi_cmd_enable_timings): New function for new MI command.
1355 (captured_mi_execute_command, mi_execute_async_cli_command):
1356 Call timing functions.
1357
1358 * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
1359 -enable-timings.
1360
1361 * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
1362
1363 * mi/mi-parse.h: (mi_timestamp): New structure.
1364 (mi_parse): Add mi_timestamp* member.
1365
99b3d574
DP
13662007-02-02 Denis Pilat <denis.pilat@st.com>
1367
1368 * thread.c (make_cleanup_restore_current_thread): New function.
1369 (info_threads_command): Use of make_cleanup_restore_current_thread
1370 to restore the current thread and the selected frame.
1371 (restore_selected_frame): New function.
1372 (struct current_thread_cleanup): Add frame_id field.
1373 (do_restore_current_thread_cleanup): Add restoring of the selected
1374 frame.
1375 (make_cleanup_restore_current_thread): Likewise.
1376 (thread_apply_all_command): backup the selected frame while
1377 entering the function and restore it at exit.
1378 (thread_apply_command): Likewise.
1379
d3c598de
DP
13802007-02-02 Denis Pilat <denis.pilat@st.com>
1381
1382 * MAINTAINERS (Write After Approval): Add myself to the list.
1383
b69733ab 13842007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3e41d55f
KI
1385
1386 * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
1387 (m32r_store_register): Ditto.
1388
b69733ab 13892007-01-30 Vladimir Prus <vladimir@codesourcery.com>
ef7723eb
VP
1390
1391 * ser-mingw.c (pipe_windows_open)
1392 (pipe_windows_read, pipe_windows_write): Declare
1393 variables at the top of the function.
1394
8da61cc4
DJ
13952007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
1396
1397 * doublest.c (floatformat_from_length): Use the right element from
1398 gdbarch floatformats.
1399 (floatformat_from_type, extract_typed_floating)
1400 (store_typed_floating): Likewise.
1401 * doublest.h: Remove declarations for undefined floatformat arrays.
1402 * gdbarch.sh (float_format, double_format, long_double_format): Change
1403 to pairs.
1404 (pformat): Update for pairs.
1405 * gdbarch.c, gdbarch.h: Regenerated.
1406 * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
1407 (floatformats_ieee_double_littlebyte_bigword)
1408 (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
1409 (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
1410 (floatformats_vax_d): New variables.
1411 (builtin_type_ieee_single, builtin_type_ieee_double)
1412 (builtin_type_arm_ext, builtin_type_ia64_spill)
1413 (builtin_type_ia64_quad): Replace arrays with individual types.
1414 (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
1415 (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
1416 (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
1417 (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
1418 (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
1419 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
1420 (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
1421 unused and endian-specific types.
1422 (recursive_dump_type): Update for floatformat pairs.
1423 (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
1424 (build_gdbtypes): Use build_flt.
1425 (_initialize_gdbtypes): Update set of initialized types.
1426 * gdbtypes.h: Update declarations to match gdbtypes.c.
1427 (struct main_type): Store a pointer to two floatformats.
1428 * arch-utils.c (default_float_format, default_double_format): Delete.
1429 * arch-utils.h (default_float_format, default_double_format): Delete.
1430
1431 * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
1432 ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
1433 mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
1434 sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
1435 vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
1436
87680a14
JB
14372007-01-29 Joel Brobecker <brobecker@adacore.com>
1438
1439 * target.c (maintenance_print_target_stack): New function.
1440 (initialize_targets): Add new "maintenance print target-stack"
1441 command.
1442
1c3d648d
MK
14432007-01-28 Mark Kettenis <kettenis@gnu.org>
1444
1445 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
1446
607269ae
DJ
14472007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
1448
1449 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
1450 (struct dwarf2_loclist_baton): Likewise.
1451
40c03ae8
EZ
14522007-01-27 Eli Zaretskii <eliz@gnu.org>
1453
1454 * cli/cli-script.c: Include breakpoint.h.
1455 (build_command_line): Require arguments only for if and while
1456 commands.
1457 (get_command_line, execute_user_command, execute_control_command):
1458 Fix wording of warning messages.
1459 (print_command_lines): Print breakpoint commands.
1460 (execute_control_command): Call commands_from_control_command to
1461 handle the `commands' command inside a body of a flow-control
1462 command.
1463 (read_next_line): Recognize the `commands' command and build a
1464 command line structure for it.
1465 (recurse_read_control_structure, read_command_lines): Handle
1466 `commands' similarly to `if' and `while'.
1467
1468 * breakpoint.c (get_number_trailer): Document the special meaning
1469 of NULL as the first argument PP.
1470 (commands_from_control_command): New function.
1471
1472 * breakpoint.h (commands_from_control_command): Add prototype.
1473
1474 * defs.h (commands_control): New enumerated value for enum
1475 command_control_type.
1476
4b9eee8c
JB
14772007-01-26 Joel Brobecker <brobecker@adacore.com>
1478
1479 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
1480 (ada_exception_sal): Update accordingly.
1481
e1f48ead
JK
14822007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1483
1484 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
1485 * NEWS: Describe CHAR array vs. string identifcation rules.
1486
e150acc7
PB
14872007-01-25 Paul Brook <paul@codesourcery.com>
1488
1489 * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
1490
10fb19b6
JB
14912007-01-24 Jim Blandy <jimb@codesourcery.com>
1492
1493 * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
1494 expression is empty, bother to return the 'optimized out' value we
1495 construct. (Thanks to Carl Burch.)
1496
85d93f1d
VP
14972007-01-24 Vladimir Prus <vladimir@codesourcery.com>
1498
1499 * varobj.c (c_value_of_root, c_value_of_child)
1500 (cplus_describe_child): Don't call release_value.
1501
fcbd8a5c
TS
15022007-01-24 Thiemo Seufer <ths@mips.com>
1503
1504 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
1505 initialization.
1506
2024f65a
VP
15072007-01-24 Vladimir Prus <vladimir@codesourcery.com>
1508
1509 Refactor getting children name, value and type access
1510 for varobjs in C++.
1511 * varobj.c (get_type_deref): Remove.
1512 (adjust_value_for_child_access): New.
1513 (c_number_of_children): Use the above.
1514 (c_describe_child): Likewise.
1515 (enum accessibility): New.
1516 (match_accessibility): New function.
1517 (cplus_describe_child): New function.
1518 (cplus_name_of_child, cplus_value_of_child)
1519 (cplus_type_of_child): Reimplement in terms
1520 of cplus_describe_child.
1521 (cplus_number_of_children): Use
1522 adjust_value_for_child_access.
1523
6e2a9270
VP
15242007-01-24 Vladimir Prus <vladimir@codesourcery.com>
1525
1526 Fix computation of the 'editable' attribute and
1527 value changeability for for references.
1528 * varobj.c (get_value_type): New function.
1529 (c_variable_editable): Use get_value_type.
1530 (varobj_value_is_changeable): Likewise.
1531
56163ce1
JB
15322007-01-24 Joel Brobecker <brobecker@adacore.com>
1533
1534 * source.c (find_and_open_source): Try rewriting the source
1535 path inside filename if dirname is NULL.
1536
8c6860bb
JB
15372007-01-24 Joel Brobecker <brobecker@adacore.com>
1538
1539 * dwarf2read.c (add_partial_symbol): Create an extra partial
1540 symbol in the VAR_DOMAIN for Ada structures, unions or enums.
1541 (new_symbol): Likewise for symbols.
1542
6db6d2ca
NR
15432007-01-24 Nick Roberts <nickrob@snap.net.nz>
1544
1545 * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
1546
7d85ee02
VP
15472007-01-23 Vladimir Prus <vladimir@codesourcery.com>
1548
1549 * value.c (value_primitive_field): Copy the full 'location'
1550 contents, instead of assuming that copying ADDRESS will
1551 bring over everything in the union. Remove obsolete comment.
1552
f79b9530
DJ
15532007-01-23 Masaki Muranaka <monaka@monami-software.com>
1554
1555 * m32c-tdep.c (make_regs, m32c_analyze_prologue)
1556 (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
1557 (m32c_m16c_pointer_to_address): Separate code from declarations.
1558
08d8bcd7
DJ
15592007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
1560
1561 * target.c (update_current_target): Correct typo.
1562
57fdbbbe
CV
15632007-01-22 Masaki Muranaka <monaka@monami-software.com>
1564
1565 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
1566 declaration.
1567
58894217
JK
15682007-01-11 Andrew Cagney <cagney@redhat.com>
1569 Daniel Jacobowitz <dan@codesourcery.com>
1570 Jan Kratochvil <jan.kratochvil@redhat.com>
1571
1572 * dwarf2-frame.c (execute_cfa_program): New support of
1573 `DW_CFA_GNU_negative_offset_extended'.
1574
9ebce043
DJ
15752007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
1576
1577 * NEWS: Mention flash support for "load" and new remote packets.
1578
973d738b
DJ
15792007-01-21 Markus Deuling <deuling@de.ibm.com>
1580
1581 * breakpoint.c (delete_command): Skip redundant loop iterations.
1582
7b9ee6a8
DJ
15832007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
1584
1585 * gdbarch.sh (register_type): Update comment.
1586 * gdbarch.h: Regenerated.
1587 * arch-utils.c (generic_register_size): Call register_type.
1588 * ia64-tdep.c (ia64_extract_return_value): Likewise.
1589 * m32c-tdep.c (check_for_saved): Likewise.
1590 * mips-tdep.c (mips_print_register, print_gp_register_row)
1591 (mips_print_registers_info): Likewise.
1592 * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
1593 Likewise.
1594 * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
1595 (sh64_do_register, sh64_print_register)
1596 (sh64_media_print_registers_info): Likewise.
1597 * tui/tui-regs.c (tui_register_format): Likewise.
1598
11309657
DJ
15992007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
1600
1601 * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
1602
1603 * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
1604 (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
1605 * cp-support.c (make_symbol_overload_list_qualified): Likewise.
1606 * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
1607 (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
1608 (make_symbol_completion_list): Likewise.
1609
cb1df416
DJ
16102007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1611 Daniel Jacobowitz <dan@codesourcery.com>
1612
1613 * buildsym.c (end_symtab): Use preallocated symtab if available.
1614 Fill in SYMBOL_SYMTAB.
1615 * buildsym.h (struct subfile): Add symtab member.
1616 * dwarf2read.c (struct dwarf2_cu): Add line_header.
1617 (struct file_entry): Add symtab.
1618 (free_cu_line_header): New function.
1619 (read_file_scope): Use it. Save line_header in the cu. Process
1620 lines before DIEs.
1621 (add_file_name): Initialize new symtab member.
1622 (dwarf_decode_lines): Create symtabs for included files.
1623 (new_symbol): Set SYMBOL_SYMTAB.
1624 * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
1625 (search_symbols): Likewise.
1626 * symtab.h (struct symbol): Add symtab member.
1627 (SYMBOL_SYMTAB): Define.
1628
727da900
DJ
16292007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1630
1631 * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
1632
7b6b9e83
DJ
16332007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1634
1635 * arch-utils.c (show_endian): Correct reversed condition.
1636
e767400c
JK
16372007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1638
1639 * MAINTAINERS (Write After Approval): Add myself.
1640
b20d8971
VP
16412007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
1642 Vladimir Prus <vladimir@codesourcery.com>
1643
1644 Fix 'selected frame' varobjs.
1645 * varobj.c (struct varobj): Remove the error field.
1646 (varobj_set_value): Don't check var->error.
1647 (install_new_value): Don't set var->error.
1648 (varobj_update): Always pass the new value
1649 of the root via install_new_value.
1650 (create_child): Don't set error field.
1651 (new_variable): Likewise.
1652 (c_value_of_root): Always reevaluate the value
1653 of selected frame varobjs in the selected frame.
1654 Don't call reinit_frame_cache.
1655
7ef2b397
JB
16562007-01-15 Joel Brobecker <brobecker@adacore.com>
1657
1658 * source.c (_initialize_source): Improve the help text of
1659 the substitute-path commands.
1660
1208538e
MK
16612007-01-14 Mark Kettenis <kettenis@gnu.org>
1662
1663 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
1664 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
1665 (frv_skip_prologue): Remove prototypes.
1666 (frv_adjust_breakpoint_address): Renamed from
1667 frv_gdbarch_adjust_breakpoint_address.
1668 (frv_gdbarch_init): Adjust.
1669
765f065a
MK
16702007-01-13 Mark Kettenis <kettenis@gnu.org>
1671
5e66aab2
MK
1672 * gdbarch.sh (deprecated_extract_return_value)
1673 (deprecated_store_return_value): Remove.
1674 (extract_return_value, store_return_value): Remove default values.
1675 * gdbarch.c, gdbarch.h: Regenerate.
1676 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
1677 (legacy_store_return_value): Remove.
1678 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
1679 Remove.
1680
56178203
MK
1681 * mi/mi-main.c: Remove obsolete comment.
1682
23303b2e
MK
1683 * regcache.c, regcache.h (deprecated_register_bytes)
1684 (deprecated_read_register_bytes)
1685 (deprecated_write_register_bytes): Remove.
1686
765f065a
MK
1687 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
1688 Don't forget to move destination pointer.
1689
610acfff
MK
16902007-01-01 Mark Kettenis <kettenis@gnu.org>
1691
1692 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
1693
12102450
UW
16942007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
1695
1696 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
1697 past entry function with recent newlib.
1698
c8b2f53c
VP
16992007-01-11 Vladimir Prus <vladimir@codesourcery.com>
1700
1701 * gdb.texinfo (GDB/MI Variable Objects): Improve the
1702 introduction. Specify -var-update more exactly.
1703
d57df5e4
DJ
17042007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
1705
1706 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
1707
03f597d5
JB
17082007-01-10 Jim Blandy <jimb@codesourcery.com>
1709
1710 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
1711 the Global Maintainers' invitation to be a global maintainer.
1712
fd48f117
DJ
17132007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
1714
1715 * infrun.c (singlestep_pc): New variable.
1716 (resume): Set singlestep_pc.
1717 (context_switch): Add a debugging message. Flush the frame cache.
1718 (handle_inferior_event): Add debugging messages. Handle thread
1719 hops when a software single step has completed. Let context_switch
1720 handle flushing the frame cache.
1721
23181151
DJ
17222007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1723
1724 * NEWS: Mention target descriptions, "set tdesc filename",
1725 "unset tdesc filename", "show tdesc filename", and
1726 qXfer:features:read.
1727 * arch-utils.c (choose_architecture_for_target): New function.
1728 (gdbarch_info_fill): Call it.
1729 * target-descriptions.c (struct property): Make members non-const.
1730 (struct target_desc): Add arch member.
1731 (target_description_filename): New variable.
1732 (target_find_description): Try via XML first.
1733 (tdesc_architecture): New.
1734 (free_target_description, make_cleanup_free_target_description): New.
1735 (set_tdesc_property): Call xstrdup.
1736 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
1737 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
1738 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
1739 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
1740 * target-descriptions.h (tdesc_architecture)
1741 (make_cleanup_free_target_description, set_tdesc_architecture): New
1742 prototypes.
1743 * Makefile.in (SFILES): Add xml-tdesc.c.
1744 (COMMON_OBS): Add xml-tdesc.o.
1745 (target-descriptions.o): Update.
1746 (xml-tdesc.o): New rule.
1747 * xml-tdesc.c, xml-tdesc.h: New files.
1748 * remote.c (PACKET_qXfer_features): New enum.
1749 (remote_protocol_features): Add qXfer:features:read.
1750 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
1751 (_initialize_remote): Register qXfer:features:read.
1752 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
1753 * features/gdb-target.dtd: New file.
1754
3e9cb5f4
DJ
17552007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1756
1757 * copyright.sh: Clarify error.
1758
818f79f6
DJ
17592007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1760
1761 * symtab.c (matching_bfd_sections): Fix VMA matching for
1762 prelinked objects.
1763
f7a6bb70
DJ
17642007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1765
1766 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
1767 nested symbols.
1768
20ac0504
DJ
17692007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1770
1771 Updated copyright notices for most files.
1772
85bb0718
DJ
17732007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1774
1775 * copyright.sh (prunes): Add step-line.inp and step-line.c.
1776
aa28a74e
DJ
17772007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1778
1779 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
1780 exec_prefix.
1781 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
1782 '${prefix}'.
1783 * configure, config.in: Regenerate.
1784 * defs.h (debug_file_directory): Declare.
1785 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
1786 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
1787 relocate it if DEBUGDIR_RELOCATABLE.
1788 * symfile.c (debug_file_directory): Make non-static.
1789 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
1790 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
1791 (_initialize_symfile): Don't initialize debug_file_directory here.
1792
1cfd2c3e
JB
17932007-01-09 Jim Blandy <jimb@codesourcery.com>
1794
1795 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
1796 statements.
1797
5efde112
DJ
17982007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1799
1800 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
1801 frame_unwind_register to recurse.
1802 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
1803 (alpha_heuristic_frame_prev_register): Likewise.
1804 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
1805 * m32c-tdep.c (m32c_prev_register): Likewise.
1806 * frame.c (frame_register_unwind_location): Remove FIXME.
1807
4de1f557
DJ
18082007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1809 Eli Zaretskii <eliz@gnu.org>
1810
1811 * copyright.sh: New file.
1812
ca4ca11e
DJ
18132007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1814
1815 * configure.ac: Check for XML_StopParser.
1816 * xml-support.c (gdb_xml_body_text): Check for an error.
1817 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
1818 (gdb_xml_end_element_wrapper): Likewise.
1819 * config.in, configure: Regenerated.
1820
57e66780
DJ
18212007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1822
1823 * varobj.c (install_new_value): Always update print_value.
1824 (value_get_print_value): Immediately return NULL for missing
1825 values.
1826
b523a1fd
JB
18272007-01-08 Jim Blandy <jimb@codesourcery.com>
1828
1829 * configure.ac: Tighten pattern for extracting value of
1830 DEPRECATED_TM_FILE from the target makefile fragment.
1831 * configure: Regenerated.
1832
3d799a95
DJ
18332007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1834
1835 * linux-nat.c (struct simple_pid_list): Add status.
1836 (add_to_pid_list): Record the PID's status.
1837 (linux_record_stopped_pid): Likewise. Make static.
1838 (pull_pid_from_list): Return the saved status.
1839 (linux_nat_handle_extended): Deleted.
1840 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
1841 Make static. Handle non-SIGSTOP for a new thread's first signal.
1842 (flush_callback): Handle unexpected pending signals.
1843 (linux_nat_wait): Update calls to changed functions.
1844 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
1845 Remove prototypes for newly static functions.
1846
9acbedc0
UW
18472007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1848
1849 * gdbarch.sh (value_from_register): New gdbarch function.
1850 * gdbarch.c, gdbarch.h: Regenerate.
1851 * findvar.c (default_value_from_register): New function.
1852 (value_from_register): Use gdbarch_value_from_register.
1853 * value.h (default_value_from_register): Declare.
1854 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
1855 spu_value_to_register): Remove.
1856 (spu_value_from_register): New function.
1857 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
1858 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
1859 Call set_gdbarch_value_from_register.
1860 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
1861 s390_value_to_register): Remove.
1862 (s390_value_from_register): New function.
1863 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
1864 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
1865 Call set_gdbarch_value_from_register.
1866
f822c95b
DJ
18672007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1868
1869 * NEWS: Add "set sysroot" and "show sysroot".
1870 * solib.c (solib_absolute_prefix): Delete. Replace
1871 all uses with gdb_sysroot.
1872 (_initialize_solib): Add "set sysroot" and "show sysroot".
1873 Make "solib-absolute-prefix" an alias to it.
1874
00fa51f6
UW
18752007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1876
1877 * frame.c (get_frame_register_bytes): New function.
1878 (put_frame_register_bytes): Likewise.
1879 * frame.h (get_frame_register_bytes): Declare.
1880 (put_frame_register_bytes): Likewise.
1881 * findvar.c (value_from_register): Always construct lval_register
1882 values. Use get_frame_register_bytes.
1883 * valops.c (value_assign): Use get_frame_register_bytes and
1884 put_frame_register_bytes.
1885
a95c9d06
JB
18862007-01-08 Jim Blandy <jimb@codesourcery.com>
1887
1888 * MAINTAINERS: Update Stan Shebs' email address.
1889
4ed6b5be
JB
18902007-01-07 Joel Brobecker <brobecker@adacore.com>
1891
1892 * ada-lang.c (is_known_support_routine): Improve the implementation.
1893
9bbc9174
JB
18942007-01-06 Joel Brobecker <brobecker@adacore.com>
1895
1896 * ada-lang.c: Add include of source.h.
1897 (is_known_support_routine): Improve the check verifying that the file
1898 associated to this frame exists.
1899 * Makefile.in (ada-lang.o): Add dependency on source.h.
1900
44a81774
JB
19012007-01-07 Jim Blandy <jimb@codesourcery.com>
1902
1903 * ax-general.c (ax_const_l): Select proper opcode for the given
1904 value.
1905
fcd19eb1 19062007-01-05 Vladimir Prus <vladimir@codesourcery.com>
6fe1a487
NR
1907
1908 * varobj.c (c_value_of_root): Don't select frame if variable
1909 object is out of scope.
1910
fcd19eb1 19112007-01-05 Nick Roberts <nickrob@snap.net.nz>
3fa6deb5
NR
1912
1913 * varobj.c (struct varobj): New member print_value.
1914 (install_new_value): Compare last printed value with current one
1915 instead of contents.
1916 (new_variable): Initialize var->print_value to NULL.
1917 (free_variable): Free var->print_value.
1918 (value_get_print_value): New function derived from
1919 c_value_of_variable.
1920 (c_value_of_variable): Use value_get_print_value.
1921
92a56b20
JB
19222007-01-05 Joel Brobecker <brobecker@adacore.com>
1923
1924 * i386-tdep.c (i386_analyze_stack_align): Add comment.
1925
0e420bd8
JB
19262007-01-05 Joel Brobecker <brobecker@adacore.com>
1927
1928 * NEWS: Add entries for new catch commands.
1929
b69733ab 19302007-01-05 Joel Brobecker <brobecker@adacore.com>
fa4028e9
JB
1931
1932 * dwarf2read.c (partial_die_info): Add field has_byte_size.
1933 (add_partial_symbol): Correct identification of external references.
1934 (process_structure_scope): Likewise.
1935 (read_partial_die): Handle DW_AT_byte_size attribute.
1936
19372007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
d097fa3e
DJ
1938
1939 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
1940
8e38af42
NR
19412007-01-05 Nick Roberts <nickrob@snap.net.nz>
1942
1943 * varobj.c (get_type_deref): Fix variable objects for references to
1944 pointers.
1945
d1c79ecd
DJ
19462007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1947
1948 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
1949 with no symbols.
1950
e776119f
DJ
19512007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1952
1953 * memory-map.c (struct_memory_map_parsing_data): Remove most
1954 members. Make property_name an array.
1955 (free_memory_map_parsing_data, memory_map_start_element)
1956 (memory_map_end_element, memory_map_character_data): Delete.
1957 (memory_map_start_memory, memory_map_end_memory)
1958 (memory_map_start_property, memory_map_end_property): New functions.
1959 (property_attributes, memory_children, memory_type_enum)
1960 (memory_attributes, memory_map_children, memory_map_elements): New.
1961 (parse_memory_map): Rewrite.
1962 * xml-support.c (debug_xml): New.
1963 (xml_get_required_attribute, xml_get_integer_attribute)
1964 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
1965 Delete.
1966 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
1967 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
1968 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
1969 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
1970 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
1971 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
1972 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
1973 New.
1974 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
1975 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
1976 (enum gdb_xml_element_flag, struct gdb_xml_element)
1977 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
1978 (struct gdb_xml_enum): New.
1979 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
1980 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
1981 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
1982 (xml_get_required_attribute, xml_get_integer_attribute)
1983 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
1984 * Makefile.in (xml_support_h, xml-support.o): Update.
1985
5e572bb4
DJ
19862007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1987
1988 * Makefile.in (eval.o): Update dependencies.
1989 * eval.c: Include "ui-out.h" and "exceptions.h".
1990 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
1991 Use value_zero if an error occurs when avoiding side effects.
1992 * varobj.c (c_value_of_root): Initialize new_val.
1993
74a44383
DJ
19942007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1995
1996 * varobj.c (varobj_list_children): Stop if the number of children is
1997 unknown.
1998 (c_number_of_children):
1999
e8d2d628
MK
20002007-01-04 Mark Kettenis <kettenis@gnu.org>
2001
2002 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
2003 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
2004 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
2005 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
2006 sizeof, instead of hardcoded constants.
2007
c941839d
DJ
20082007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2009
2010 * CONTRIBUTE: Use sourceware.org.
2011
303b6f5d 20122007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2d0720d9 2013
303b6f5d
DJ
2014 * buildsym.c (start_subfile): Handle producer.
2015 (record_producer): New function.
2016 * buildsym.h (struct subfile): Include producer.
2017 (record_producer): New prototype.
2018 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
2019 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
2020 armcc_cfa_offsets_reversed.
2021 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
2022 (dwarf2_frame_find_quirks): New function.
2023 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
2024 (decode_frame_entry_1): Record the CIE version. Record the
2025 augmentation. Skip armcc augmentations.
2026 * dwarf2read.c (read_file_scope): Save the producer.
2027 * symtab.h (struct symtab): Rename unused version member to
2028 producer.
2d0720d9 2029
aa79a185
DJ
20302007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2031
2032 * configure.ac (build_warnings): Use -Wall and
2033 -Wdeclaration-after-statement.
2034 * configure: Regenerated.
2035
bbec2603
VP
20362007-01-04 Vladimir Prus <vladimir@codesourcery.com>
2037
2038 Simplify access to variours properties of child
2039 variable objects in C.
2040 * varobj.c (value_struct_element_index): New function.
2041 (c_describe_child): New function.
2042 (c_name_of_child, c_value_of_child)
2043 (c_type_of_child): Rewrite to use c_describe_child.
2044
28335dcc
VP
20452007-01-04 Vladimir Prus <vladimir@codesourcery.com>
2046
2047 gdb/
2048 * varobj.c: Include "vec.h".
2049 (varobj_p): New typedef, declare vector of those.
2050 (struct varobj): Use vector for the 'children' member.
2051 (child_exists): Remove.
2052 (save_child_in_parent): Remove.
2053 (remove_child_from_parent): Remove.
2054 (struct varobj_child): Remove.
2055 (struct vstack): Remove.
2056 (vpush, vpop): Remove.
2057 (varobj_list_children): Adjust to work work vector.
2058 (varobj_update): Likewise. Use vectors for
2059 working stack and result.
2060 (delete_variable_1): Likewise.
2061 * Makefile.in (varobj.o): Update dependencies.
2062
b2c2bd75
VP
20632007-01-04 Vladimir Prus <vladimir@codesourcery.com>
2064
2065 Port from Apple's version.
2066 gdb/
2067 * varobj.c (type_changeable): Rename to...
2068 (varobj_value_is_changeable_p): ...this. Adjust all callers.
2069 (is_root_p): New function. Use it everywhere.
2070
bdfb3870
JB
20712007-01-04 Jim Blandy <jimb@codesourcery.com>
2072
2073 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
2074 then plain 'fixup'.
2075
5d15052e
JB
20762007-01-04 Joel Brobecker <brobecker@adacore.com>
2077
2078 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
2079
53103997
JB
20802007-01-04 Joel Brobecker <brobecker@adacore.com>
2081
2082 * hpread.c (hpread_type_lookup): Fix compilation failure.
2083
27fd2f50
Q
20842007-01-04 Qinwei <qinwei@sunnorth.com.cn>
2085
2086 * NEWS: New port to S+core.
2087 * MAINTAINERS (Write After Approval, Responsible Maintainers):
2088 Add myself.
2089
2090 * Makefile.in: Add dependencies for S+core files.
2091 * configure.tgt (score*, score-*-*): Add S+core target.
2092 * config/score/embed.mt: New file.
2093 * score-tdep.c: New file.
2094 * score-tdep.h: New file.
2095
a6cfbe68
JB
20962007-01-04 Joel Brobecker <brobecker@adacore.com>
2097
2098 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
2099 the appropriate type rather than a bogus void type.
2100
67cf15b7 21012007-01-04 Joel Brobecker <brobecker@adacore.com>
f7f9143b
JB
2102
2103 * ada-lang.h (ada_find_printable_frame): Remove.
2104 (ada_exception_catchpoint_p, ada_decode_exception_location)
2105 (ada_decode_assert_location): Add declaration.
2106 * ada-lang.c: Add include of annotate.h and valprint.h.
2107 (exception_catchpoint_kind): New enum.
2108 (function_name_from_pc, is_known_support_routine)
2109 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
2110 (ada_exception_name_addr_1, ada_exception_name_addr)
2111 (print_it_exception, print_one_exception, print_mention_exception)
2112 (print_it_catch_exception, print_one_catch_exception)
2113 (print_mention_catch_exception, catch_exception_breakpoint_ops)
2114 (print_it_catch_exception_unhandled)
2115 (print_one_catch_exception_unhandled)
2116 (print_mention_catch_exception_unhandled, print_it_catch_assert)
2117 (print_one_catch_assert, print_mention_catch_assert)
2118 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
2119 (ada_get_next_arg, catch_ada_exception_command_split)
2120 (ada_exception_sym_name, ada_exception_sym_name)
2121 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
2122 (ada_parse_catchpoint_condition, ada_exception_sal)
2123 (ada_decode_exception_location)
2124 (ada_decode_assert_location): New function.
2125 (catch_exception_unhandled_breakpoint_ops): New global variable.
2126 (catch_assert_breakpoint_ops): New global variable.
2127 * breakpoint.c: Add include of ada-lang.h.
2128 (print_one_breakpoint): Do not print the condition for Ada
2129 exception catchpoints.
2130 (create_ada_exception_breakpoint): New function.
2131 (catch_ada_exception_command, catch_assert_command): New function.
2132 (catch_command_1): Add support for the new "catch exception" and
2133 "catch assert" commands.
2134 (_initialize_breakpoint): Add help description for the new catch
2135 commands.
2136 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
2137 valprint.h.
2138 (breakpoint.o): Add dependency on ada-lang.h.
2139
05cfdb42
DJ
21402007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
2141
2142 * coffread.c (cs_to_section): If bfd_section is found, always
2143 return its section index.
2144 (coff_symtab_read): Determine the minimal_symbol_type using the
2145 bfd_section flags.
2146
2e03ee74
DJ
21472007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2148 Daniel Jacobowitz <dan@codesourcery.com>
2149
2150 * Makefile.in (top.o): Update.
2151 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
2152 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
2153 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
2154 New.
2155 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
2156
1c63d086
MK
21572007-01-03 Mark Kettenis <kettenis@gnu.org>
2158
2159 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
2160 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
2161
d5d6fca5
DJ
21622007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
2163
2164 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
2165 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
2166 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
2167 greater than or equal to zero.
2168 * m2-typeprint.c (m2_array): Likewise.
2169 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
2170 * gdbtypes.c (copy_type_recursive): Correct == typo.
2171 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
2172 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
2173 greater than zero.
2174 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
2175 (default_macro_scope): Remove unused variable.
2176 * prologue-value.h (pv_area_find_reg): Don't name an argument
2177 "register".
2178 * remote-fileio.c (remote_fio_func_map): Add missing braces.
2179 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
2180 type.
2181 (cleanup_sigint_signal_handler): Remove casts.
2182 * valprint.c (val_print): Use a volatile local for the modified
2183 argument.
2184 * varobj.c (languages): Remove extra array dimension.
2185 (varobj_create): Correct access to languages array.
2186 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
2187 missing braces.
2188 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
2189 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
2190 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
2191 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
2192 (mi_cmd_data_write_memory): Likewise.
2193 * signals/signals.c (target_signal_to_string): Cast to int before
2194 comparing.
2195 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
2196 Update all callers.
2197
0d5de010
DJ
21982007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
2199
2200 * NEWS: Mention pointer to member improvements.
2201 * Makefile.in (gnu-v3-abi.o): Delete special rule.
2202 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
2203 * ada-valprint.c (ada_print_scalar): Update for new type codes.
2204 * c-typeprint.c (c_print_type): Update for new type codes.
2205 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
2206 (c_type_print_base): Likewise.
2207 (c_type_print_args): Rewrite.
2208 * c-valprint.c (c_val_print): Update for new type codes. Remove
2209 support for references to members. Treat methods like functions.
2210 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
2211 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
2212 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
2213 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
2214 (struct cp_abi_ops): Add corresponding members.
2215 * cp-valprint.c (cp_print_class_method): Delete.
2216 (cp_find_class_member): New function.
2217 (cp_print_class_member): Use it. Simplify support for bogus
2218 member pointers.
2219 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
2220 lookup_methodptr_type.
2221 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
2222 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
2223 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
2224 pointer support.
2225 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
2226 references returned by user defined operators.
2227 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
2228 (f_type_print_varspec_suffix): Remove support for member pointers.
2229 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
2230 and adjusted.
2231 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
2232 (lookup_methodptr_type): New.
2233 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
2234 (recursive_dump_type): Update for new types.
2235 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
2236 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
2237 (lookup_memberptr_type, lookup_methodptr_type)
2238 (smash_to_memberptr_type): New prototypes.
2239 (smash_to_method_type): Formatting fix.
2240 (lookup_member_type, smash_to_member_type): Delete prototypes.
2241 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
2242 Do not rely on debug information for the vptr or the method's
2243 enclosing type. Handle function descriptors for IA64.
2244 (gnuv3_virtual_fn_field): Rewrite using the new functions.
2245 (gnuv3_find_method_in, gnuv3_print_method_ptr)
2246 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
2247 (gnuv3_method_ptr_to_value): New.
2248 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
2249 * hpread.c (hpread_type_lookup): Update for new types.
2250 * infcall.c (value_arg_coerce): Likewise.
2251 * m2-typeprint.c (m2_print_type): Remove explicit support
2252 for member pointers.
2253 * m2-valprint.c (m2_val_print): Likewise.
2254 * p-typeprint.c (pascal_type_print_varspec_prefix)
2255 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
2256 * p-valprint.c (pascal_val_print): Likewise.
2257 (pascal_object_print_class_method, pascal_object_print_class_member):
2258 Delete.
2259 * p-lang.h (pascal_object_print_class_method)
2260 (pascal_object_print_class_member): Delete prototypes.
2261 * stabsread.c (read_type): Update for new types.
2262 * typeprint.c (print_type_scalar): Likewise.
2263 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
2264 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
2265 argument. Construct a pointer to member if the address of a
2266 function or data member is requested.
2267 (value_cast_pointers): Don't modify the input value.
2268 (value_cast): Adjust pointer to member handling for new types.
2269 Allow null pointer to member constants. Don't modify the input
2270 value.
2271 (value_ind): Remove pointer to member check. Handle function
2272 descriptors for function pointers.
2273 (value_struct_elt, value_find_oload_method_list, check_field):
2274 Remove pointer to member checks.
2275 * value.c (unpack_long): Allow pointers to data members.
2276 (value_from_longest): Allow member pointers.
2277 * value.h (value_aggregate_elt): Add want_address.
2278 * varobj.c (c_variable_editable): Remove check for members.
2279 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
2280 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
2281 in virtual tables.
2282 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
2283 * c-lang.h (cp_print_class_method): Delete prototype.
2284 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
2285 * mips-tdep.c (mips_gdbarch_init): Likewise.
2286 * gdbarch.c, gdbarch.h: Regenerated.
2287
d217aaed
MK
22882007-01-01 Mark Kettenis <kettenis@gnu.org>
2289
2290 * rs6000-tdep.c (rs6000_use_struct_convention)
2291 (rs6000_extract_return_value, rs6000_store_return_value)
2292 (rs6000_extract_struct_value_address): Remove.
2293 (rs6000_return_value): New function.
2294 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
2295 store_return_value, deprecated_extract_struct_value_address and
2296 deprecated_use_struct_convention. Use rs6000_return_value
2297 instead.
2298
02296b29
NR
22992007-01-02 Nick Roberts <nickrob@snap.net.nz>
2300
2301 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
2302 -display-disable, -display-enable, -display-insert and
2303 -display-list.
2304
b69733ab 23052007-01-01 Joel Brobecker <brobecker@adacore.com>
ce186b30
JB
2306
2307 * breakpoint.c (remove_breakpoint): Remove dead code.
2308
23092007-01-01 Nick Roberts <nickrob@snap.net.nz>
ab9245ed
NR
2310
2311 * varobj.c: Include block.h.
2312 (c_value_of_root): Check scope within nested statements.
2313
9f3a1602
MK
23142007-01-01 Mark Kettenis <kettenis@gnu.org>
2315
2316 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
2317 regcache_cooked_write_signed instead of
2318 deprecated_write_register_bytes.
2319
12349ccd
JB
23202007-01-01 Joel Brobecker <brobecker@adacore.com>
2321
2322 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
2323
8c48ebcf
JB
23242007-01-01 Joel Brobecker <brobecker@adacore.com>
2325
2326 Followed the Start of New Year Procedure:
2327 * ChangeLog-2006: New file, containing all the entries for 2006.
2328 * ChangeLog: Removed all 2006 entries, and changed the reference
2329 to the previous ChangeLog to point to ChangeLog 2006.
2330 * top.c (print_gdb_version): Update copyright year.
2331
154927ff
MK
23322007-01-01 Mark Kettenis <kettenis@gnu.org>
2333
2334 * Makefile.in (remote-sds.o): Remove.
2335 * remote-sds.c: Delete.
2336
8c48ebcf 2337For older changes see ChangeLog-2006.
c906108c
SS
2338\f
2339Local Variables:
2340mode: change-log
2341left-margin: 8
2342fill-column: 74
2343version-control: never
2344End: