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