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