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