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