*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
90225438
AS
12005-09-29 Andreas Schwab <schwab@suse.de>
2
3 PR threads/2015
4 * infrun.c (adjust_pc_after_break): Don't use the state from a
5 non-matching thread context.
6
e10b1c4c
DJ
72005-09-29 Daniel Jacobowitz <dan@codesourcery.com>
8
9 * rs6000-tdep.c (rs6000_frame_cache): Handle misdetected frameless
10 functions.
11
11ee9940
NR
122005-09-29 Nick Roberts <nickrob@snap.net.nz>
13
14 * annotate.c (breakpoints_changed, annotate_frames_invalid)
15 (_initialize_annotate): Print breakpoints-invalid and
16 frames-invalid for level 2 annotations only.
17
6ad80df0
DJ
182005-09-28 Daniel Jacobowitz <dan@codesourcery.com>
19
20 * infrun.c (init_execution_control_state): Initialize
21 ecs->another_trap.
22
5e58133c
NR
232005-09-28 Nick Roberts <nickrob@snap.net.nz>
24
25 * Makefile.in (TAGS): Put DEPFILES back and add as a dependency.
26
2a331440
NR
272005-09-26 Nick Roberts <nickrob@snap.net.nz>
28
29 * Makefile.in (HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h.
30 (ALLDEPFILES) Correct typo amdfbsd-nat.c -> amd64fbsd-nat.c.
31 Remove irix4-nat.c, m3-nat.c, mipsm3-nat.c, ns32k-tdep.c
32 symm-tdep.c and symm-nat.c.
33 (TAGFILES_NO_SRCDIR): Add CONFIG_SRCS.
34 (DEPFILES): Remove CONFIG_OBS and include it explicitly where
35 needed.
36
ae2a31bf
JB
372005-09-26 Jan Beulich <jbeulich@novell.com>
38
39 * MAINTAINERS (Write After Approval): Add myself.
40
c6f4c129
JB
412005-09-26 Jan Beulich <jbeulich@novell.com>
42
43 * amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM,
44 AMD64_MXCSR_REGNUM): New.
45 * amd64-tdep.c (amd64_dwarf_regmap): Add eflags, selector regs,
46 mxcsr, fp control and status words.
47 * i386-tdep.c (): Add selector regs, mxcsr, fp control and status
48 words.
49
2af48f68
PB
502005-09-26 Paul Brook <paul@codesourcery.com>
51
52 * arm-tdep.c (arm_type_align): New function.
53 (arm_push_dummy_call): Use it. Ensure proper argument alignment.
54 (arm_extract_struct_value_address): Remove.
55 (arm_use_struct_convention): Rename...
56 (arm_return_in_memory): ... To this. Return nonzero for all small
57 aggregates under the EABI.
58 (arm_return_value): New function.
59 (arm_gdbarch_init): Default for VFP float model for EABI binaries.
60 Use set_gdbarch_return_value instead of obsolete functions.
2af48f68 61
2244f671
MK
622005-09-21 Mark Kettenis <kettenis@gnu.org>
63
64 * mips-tdep.c (n32n64_floatformat_always_valid): Use 'const void
65 *' for second argument instead of 'const char *'.
66
1260befa
PG
672005-09-20 Paul Gilliam <pgilliam@us.ibm.com>
68
69 * gdb.arch/altivec-abi.exp: Elide the 'in' from what's expected
70 after a 'finish' command.
71
42969d33
WZ
722005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
73
74 * c-exp.y (parse-number): Modify the float parsing logic to let it
75 recognize a suffix.
76
c3e308a8
WZ
772005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
78
79 * expression.h (enum exp_opcode): Fix a format error of a comment.
80
0b4e1325
WZ
812005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
82
83 * expression.h (enum exp_opcode): Add a new operator for F90
84 subrange.
85 * f-lang.h (enum f90_range_type): New enumeration type to identify
86 F90 subrange type.
87 * f-exp.y (yyparse): Add support for parsing F90 subrange and
88 change substring parsing to subrange parsing.
89 * parse.c (operator_length_standard): Set the operator length
90 and args number for OP_F90_RANGE.
91 * eval.c (evaluate_subexp_standard): Add code to evaluate F90
92 array section and substring.
93 (value_f90_subarray): New function to evaluate F90 array section.
94 (evaluate_subexp_standard): Delete label op_f77_substr and its code
95 because the logic is implemented by function value_f90_subarray now.
96
561d7a1d
PG
972005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
98
99 * rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
100 'info powerpc' command prefix.
101
fd7979d1
UW
1022005-09-11 Ulrich Weigand <uweigand@de.ibm.com>
103
104 * config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
105 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Likewise.
106 (s390_stopped_by_watchpoint, s390_insert_watchpoint,
107 s390_remove_watchpoint, TARGET_CAN_USE_HARDWARE_WATCHPOINT,
108 TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
109 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
110 target_remove_watchpoint): Likewise.
111 * s390-nat.c: Remove include of <sys/user.h>.
112 (kernel_u_size): Remove.
113 (s390_stopped_by_watchpoint): Make static.
114 (s390_insert_watchpoint, s390_remove_watchpoint): Likewise.
115 (s390_can_use_hw_breakpoint): New function.
116 (s390_region_size_ok_for_hw_watchpoint): Likewise.
117 (_initialize_s390_nat): Add watchpoint methods to target.
118
10d6c8cd
DJ
1192005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
120 Ulrich Weigand <uweigand@de.ibm.com>
121
122 * Makefile.in (ALLDEPFILES): Update.
123 (alpha-linux-nat.o, sparc-linux-nat.o): New rules.
124 (amd64-linux-nat.o, arm-linux-nat.o, hppa-linux-nat.o)
125 (i386-linux-nat.o, ia64-linux-nat.o, linux-nat.o, m32r-linux-nat.o)
126 (m68klinux-nat.o, mips-linux-nat.o, ppc-linux-nat.o, s390-nat.o)
127 (sparc64-linux-nat.o): Update dependencies.
128 * alpha-linux-nat.c, sparc-linux-nat.c: New files.
129 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Renamed
130 from fetch_inferior_registers and made static.
131 (amd64_linux_store_inferior_registers): Renamed from
132 store_inferior_registers and made static.
133 (amd64_linux_child_post_start_inferior): Renamed from
134 child_post_startup_inferior and made static. Call
135 super_post_startup_inferior.
136 (super_post_startup_inferior): New.
137 (_initialize_amd64_linux_nat): Set it. Call linux_target and
138 add_target.
139 * arm-linux-nat.c (arm_linux_fetch_inferior_registers): Renamed
140 from fetch_inferior_registers and made static.
141 (arm_linux_store_inferior_registers): Renamed from
142 store_inferior_registers and made static.
143 (_initialize_arm_linux_nat): Add a prototype. Use linux_target and
144 add_target.
145 * hppa-linux-nat.c (hppa_linux_fetch_inferior_registers): Renamed
146 from fetch_inferior_registers and made static.
147 (hppa_linux_store_inferior_registers): Renamed from
148 store_inferior_registers and made static.
149 (_initialize_hppa_linux_nat): New function.
150 * i386-linux-nat.c (i386_linux_fetch_inferior_registers): Renamed
151 from fetch_inferior_registers and made static.
152 (i386_linux_store_inferior_registers): Renamed from
153 store_inferior_registers and made static.
154 (i386_linux_resume): Renamed from child_resume and made static.
155 (i386_linux_child_post_start_inferior): Renamed from
156 child_post_startup_inferior and made static. Call
157 super_post_startup_inferior.
158 (super_post_startup_inferior): New.
159 (_initialize_i386_linux_nat): New function.
160 * i386-nat.c: Remove LINUX_CHILD_POST_STARTUP_INFERIOR #ifndef.
161 * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): Remove.
162 (super_xfer_partial): New.
163 (ia64_linux_xfer_partial): New function. Use it.
164 (_initialize_ia64_linux_nat): New function.
165 * ia64-tdep.c (getunwind_table): Revert 2005-06-08 change; use
166 target_read_partial and document the problem.
167 * inf-ptrace.c (inf_ptrace_fetch_register): Use
168 CANNOT_FETCH_REGISTER. Fix some comments.
169 (inf_ptrace_store_register): Use CANNOT_STORE_REGISTER. Fix some
170 comments.
171 * linux-nat.c: Include "inf-ptrace.h" and "auxv.h".
172 (linux_ops, super_xfer_partial): New variables.
173 (linux_child_post_startup_inferior): Make static.
174 (child_post_startup_inferior): Delete.
175 (linux_nat_attach, linux_nat_detach, resume_callback)
176 (linux_nat_resume, linux_nat_wait, linux_nat_create_inferior)
177 (linux_nat_mourn_inferior): Use linux_ops instead of
178 deprecated_child_ops.
179 (child_wait): Do not depend on CHILD_WAIT.
180 (linux_nat_xfer_memory): Remove, replace by ...
181 (linux_nat_xfer_partial): ... this. Use linux_ops->to_xfer_partial
182 instead of linux_proc_xfer_memory and child_xfer_memory.
183 (linux_nat_fetch_registers, linux_nat_store_registers)
184 (linux_nat_child_post_startup_inferior): New functions.
185 (init_linux_nat_ops): Use the new functions.
186 (linux_proc_xfer_memory): Remove, replace by ...
187 (linux_proc_xfer_partial): ... this. Make static.
188 (linux_xfer_partial, linux_register_u_offset, linux_target): New
189 functions.
190 (_initialize_linux_nat): Do not modify deprecated_child_ops.
191 * linux-nat.h (linux_proc_xfer_memory): Remove prototype.
192 (struct mem_attrib, struct target_ops): Remove forward declarations.
193 (linux_child_post_startup_inferior): Remove prototype.
194 (linux_target): Add prototype.
195 * linux-thread-db.c (thread_db_xfer_memory): Remove, replace by ...
196 (thread_db_xfer_partial): ... this.
197 (init_thread_db_ops): Set to_xfer_partial instead of
198 deprecated_xfer_memory.
199 * m32r-linux-nat.c (m32r_linux_fetch_inferior_registers): Renamed
200 from fetch_inferior_registers and made static.
201 (m32r_linux_store_inferior_registers): Renamed from
202 store_inferior_registers and made static.
203 (_initialize_m32r_linux_nat): New function.
204 * m68klinux-nat.c (m68k_linux_fetch_inferior_registers): Renamed
205 from fetch_inferior_registers and made static.
206 (m68k_linux_store_inferior_registers): Renamed from
207 store_inferior_registers and made static.
208 (old_fetch_inferior_registers, old_store_inferior_registers): Made
209 static.
210 (_initialize_m68k_linux_nat): Use linux_target and add_target.
211 * mips-linux-nat.c (_initialize_mips_linux_nat): New function.
212 * ppc-linux-nat.c (ppc_linux_fetch_inferior_registers): Renamed
213 from fetch_inferior_registers and made static.
214 (ppc_linux_store_inferior_registers): Renamed from
215 store_inferior_registers and made static.
216 (_initialize_ppc_linux_nat): New function.
217 * s390-nat.c (s390_linux_fetch_inferior_registers): Renamed
218 from fetch_inferior_registers and made static.
219 (s390_linux_store_inferior_registers): Renamed from
220 store_inferior_registers and made static.
221 (_initialize_s390_nat): New function.
222 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Use
223 linux_target and add_target.
224 * config/nm-linux.h: Don't include "auxv.h".
225 (struct target_waitstatus, child_wait, CHILD_WAIT)
226 (CHILD_PID_TO_EXEC_FILE, CHILD_INSERT_FORK_CATCHPOINT)
227 (CHILD_INSERT_VFORK_CATCHPOINT, CHILD_INSERT_EXEC_CATCHPOINT)
228 (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH, CHILD_FOLLOW_FORK)
229 (DEPRECATED_KILL_INFERIOR, NATIVE_XFER_AUXV): Delete.
230 * config/alpha/alpha-linux.mh (NATDEPFILES): Replace infptrace.o
231 and inftarg.o with inf-ptrace.o and alpha-linux-nat.o.
232 * config/sparc/linux.mh (NATDEPFILES): Replace infptrace.o and
233 inftarg.o with sparc-linux-nat.o.
234 * config/sparc/linux64.mh (NATDEPFILES): Remove infptrace.o and
235 inftarg.o.
236 * config/arm/linux.mh (NATDEPFILES): Replace infptrace.o and
237 inftarg.o with inf-ptrace.o.
238 * config/i386/linux.mh (NATDEPFILES): Likewise.
239 * config/i386/linux64.mh (NATDEPFILES): Likewise.
240 * config/ia64/linux.mh (NATDEPFILES): Likewise.
241 * config/m32r/linux.mh (NATDEPFILES): Likewise.
242 * config/m68k/linux.mh (NATDEPFILES): Likewise.
243 * config/mips/linux.mh (NATDEPFILES): Likewise.
244 * config/pa/linux.mh (NATDEPFILES): Likewise.
245 * config/powerpc/linux.mh (NATDEPFILES): Likewise.
246 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
247 * config/s390/s390.mh (NATDEPFILES): Likewise.
248 * config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Don't define.
249 (LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define.
250 * config/i386/nm-linux64.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
251 Don't define.
252 * config/ia64/nm-linux.h: Don't include "target.h".
253 (NATIVE_XFER_UNWIND_TABLE, ia64_linux_xfer_unwind_table): Remove.
254 * config/djgpp/fnchange.lst: Add alpha-linux-tdep.c,
255 alpha-linux-nat.c, sparc-linux-tdep.c, and sparc-linux-nat.c.
256
4640dd91
KB
2572005-09-08 Kevin Buettner <kevinb@redhat.com>
258
259 From Kevin Buettner, Andrew Cagney, Jackie Smith Cashion, and
260 Alexandre Oliva:
261 * mn10300-tdep.c (am33_2_register_name): New function.
262 (my_frame_is_in_sp, my_frame_is_in_fp, my_frame_is_last)
263 (set_my_stack_size): Delete.
264 (set_movm_offsets, set_reg_offsets): Rename the former to the
265 latter. Update for handling am33.
266 (mn10300_analyze_prologue): Update for handling am33. Also, make
267 minor improvements in quality of prologue analysis.
268 (mn10300_gdbarch_init): Add am33 support.
269 * mn10300-tdep.h (E_NUM_REGS): Delete.
270
cf1f553f
KB
2712005-09-06 Kevin Buettner <kevinb@redhat.com>
272
273 * mn10300-linux-tdep.c (mn10300_linux_svr4_fetch_link_map_offsets):
274 Delete.
275 (am33_linux_init_osabi): Register svr4_ilp32_fetch_link_map_offsets
276 instead.
277
696cc4a6
KB
2782005-09-06 Kevin Buettner <kevinb@redhat.com>
279
280 * mn10300-linux-tdep.c (solib-svr4.h): Include.
281 (mn10300_linux_svr4_fetch_link_map_offsets): New function.
282 (am33_linux_init_osabi): Register it.
283 * Makefile.in (mn10300-linux-tdep.o): Update dependencies.
284
bfc1906f
KB
2852005-09-06 Kevin Buettner <kevinb@redhat.com>
286
287 * mn10300-tdep.c (mn10300_analyze_prologue): Delete code disabled
288 via "#if 0".
289
f2c8bc43
KB
2902005-09-06 Kevin Buettner <kevinb@redhat.com>
291
292 * mn10300-tdep.c (mn10300_analyze_prologue): Use
293 safe_frame_unwind_memory() in place of deprecated_read_memory_nobpt().
294
a875c996 2952005-09-04 Daniel Jacobowitz <dan@codesourcery.com>
ee057212
DJ
296
297 * inf-child.c (inf_child_follow_fork): Add OPS argument.
298 * inf-ptrace.c (inf_ptrace_follow_fork): Likewise.
299 * inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
300 * inftarg.c (child_follow_fork): Likewise.
301 * linux-nat.c (child_follow_fork): Likewise. Use ops instead of
302 &deprecated_child_ops.
303 * target.c (update_current_target): Do not inherit to_follow_fork.
304 (target_follow_fork): New function.
305 (debug_to_follow_fork): Remove.
306 (setup_target_debug): Don't set to_follow_fork.
307 * target.h (struct target_ops): Add struct target_ops * to
308 to_follow_fork.
309 (child_follow_fork): Add struct target_ops * argument.
310 (target_follow_fork): Replace macro with prototype.
311
52f0b832
KB
3122005-09-02 Kevin Buettner <kevinb@redhat.com>
313
314 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Use ARRAY_SIZE.
315 Change internal error to warning. Add i18n markup to warning
316 string.
317
336c28c5
KB
3182005-09-02 Kevin Buettner <kevinb@redhat.com>
319
320 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
321 (mn10300_gdbarch_init): Register mn10300_dwarf2_reg_to_regnum().
322
2247615a
KB
3232005-09-02 Kevin Buettner <kevinb@redhat.com>
324
325 * mn10300-tdep.c (is_my_frame_in_sp, is_my_frame_in_fp)
326 (is_my_frame_last): Delete these unused functions.
327
3e6b1689
KB
3282005-09-02 Kevin Buettner <kevinb@redhat.com>
329
330 * mn10300-tdep.c (mn10300_frame_prev_register): Change type of
331 ``bufferp'' from ``void *'' to ``gdb_byte *''.
332
99fe5f9d
KB
3332005-09-02 Kevin Buettner <kevinb@redhat.com>
334
335 * mn10300-tdep.c (mn10300_use_struct_convention): Delete parameter
336 ``gcc_p''. Adjust all callers.
337 (mn10300_store_return_value, mn10300_extract_return_value): Add new
338 parameter ``gdbarch''.
339 (mn10300_return_value): New function.
340 (mn10300_gdbarch_init): Delete old-style return value code calls.
341 Add call to set_gdbarch_return_value().
342
af6a629e
KB
3432005-09-02 Kevin Buettner <kevinb@redhat.com>
344
345 * mn10300-tdep.c (regcache.h): Delete duplicate include.
346 * Makefile.in (mn10300-tdep.o): Update dependencies.
347
697e3bc9
KB
3482005-09-02 Kevin Buettner <kevinb@redhat.com>
349
350 * mn10300-tdep.c (osabi.h): Include.
351 (mn10300_gdbarch_init): Invoke gdbarch_init_osabi().
352 * Makefile.in (mn10300-tdep.o): Update dependencies.
353
45090ce3 3542005-09-02 Michael Snyder <msnyder@redhat.com>
611889b1
KB
355 Kevin Buettner <kevinb@redhat.com>
356
357 * mn10300-linux-tdep.c: New file.
358 * Makefile.in (mn10300-linux-tdep.o): New Makefile target.
359 * config/mn10300/linux.mt (TDEPFILES): Add mn10300-linux-tdep.o and
360 corelow.o.
361 * mn10300-tdep.h (E_E8_REGNUM, E_E9_REGNUM, E_E10_REGNUM)
362 (E_FPCR_REGNUM, E_FS0_REGNUM): New constants.
363
a86c5fc9
MK
3642005-09-02 Mark Kettenis <kettenis@gnu.org>
365
366 * infcall.c (call_function_by_hand): Remove code handling
367 deprecated_push_arguments. Bail out early if push_dummy_call
368 isn't available.
369 * gdbarch.sh (deprecated_push_arguments): Delete. Adjust a few
370 comments accordingly.
371 * gdbarch.h, gdbarch.c: Regenerate.
372
c66a62d3 3732005-09-01 Paul Gilliam <pgilliam@us.ibm.com>
826d5376
PG
374
375 * ppc-tdep.h (struct gdbarch_tdep): Better explanation of using
376 -1 for nonexistant registers.
377 * rs6000-tdep.c (rs6000_register_reggroup_p): Don't assume that
378 tdep->ppc_vr0_regnum and tdep->ppc_ev0_regnum are not -1.
379
84320456
RE
3802005-09-01 Richard Earnshaw <richard.earnshaw@arm.com>
381
382 * arm-linux-tdep.c (arm_linux_push_arguments): Delete.
383 (arm_linux_init_abi): Don't register it.
384
07652652
MK
3852005-08-31 Mark Kettenis <kettenis@gnu.org>
386
cb2f3a29
MK
387 * symfile.c (symbol_file_command, set_initial_language)
388 (symfile_bfd_open, get_section_index, add_symtab_fns)
389 (find_sym_fns): Reformat code and comments. Tweak comments.
390
07652652
MK
391 * m68k-tdep.c (m68k_register_name): Use ARRAY_SIZE.
392
abfcdd21
JW
3932005-08-31 Jim Wilson <wilson@specifix.com>
394
395 * i386fbsd-tdep.c (i386fbsd_sc_reg_offset): Make it non-static.
396
f4456994
MK
3972005-08-29 Mark Kettenis <kettenis@gnu.org>
398
591e78ff
MK
399 * environ.c (unset_in_environ): Use strncmp instead of
400 DEPRECATED_STREQN.
401 * exec.c (exec_file_attach): Remove DEPRECATED_HPUX_TEXT_END.
402 * language.c (set_case_command, language_enum): Use strcmp instead
403 of DEPRECATED_STREQ.
404 * source.c (select_source_symtab): Sprinkle a few consts. Use
405 strcmp instead of DEPRECATED_STREQ.
406
f4456994
MK
407 * solib-svr4.c (svr4_current_sos, svr4_fetch_objfile_link_map):
408 Use XZALLOC and xzalloc instead of xmalloc where appropriate.
409
a94ab193
EZ
4102005-08-27 Eli Zaretskii <eliz@gnu.org>
411
412 * main.c (print_gdb_help): Don't advertise the (long non-existent)
413 option --mapped.
414
d067a990
MK
4152005-08-21 Mark Kettenis <kettenis@gnu.org>
416
27df76f3
MK
417 * doublest.c (floatformat_mantissa): Use xsnprintf instead of
418 sprintf.
419
cfaf379b
MK
420 * vaxobsd-tdep.c: New file.
421 * config/vax/obsd.mt (TDEPFILES): Add vaxobsd-tdep.o.
422 * Makefile.in (vaxobsd-tdep.o): New dependency.
423
0dbe1904
MK
424 * ppcobsd-tdep.c: Include "frame.h" and "frame-unwind.h". Don't
425 include "tramp-frame.h".
426 (ppcobsd_sigtramp_cache_init): Remove function.
427 (ppcobsd_sigtramp): Remove variable.
428 (ppcobsd_page_size, ppcobsd_sigreturn_offset): New variables.
429 (ppcobsd_sigtramp_p): New function.
430 (ppcobsd_sigtramp_frame_cache, ppcobsd_sigtramp_frame_this_id)
431 (ppcobsd_sigtramp_frame_prev_register): New functions.
432 (ppcobsd_sigtramp_frame_unwind): New variable.
433 (ppcobsd_sigtramp_frame_sniffer): New function.
434 (ppcobsd_init_abi): Adjust to register new sigtramp sniffer
435 instead of the old one.
436 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
437
1a4d7a36
MK
438 * infcall.c (call_function_by_hand): For
439 RETURN_VALUE_ABI_RETURNS_ADDRESS and
440 RETURN_VALUE_ABI_PRESERVES_ADDRESS, use gdbarch_return_value to
441 get return value.
442
d067a990
MK
443 * valarith.c (value_equal, value_less): Avoid compiler bug on
444 systems where `long double' values are returned in static storage.
445
033a42c2
MK
4462005-08-18 Mark Kettenis <kettenis@gnu.org>
447
448 * stack.c: Reformat. Improve comments. Include "valprint.h".
449 (args_info, locals_info, backtrace_command, backtrace_command_1)
450 (backtrace_full_command, frame_info, frame_command, down_command)
451 (down_silently_base, down_silently_command, up_command)
452 (up_silently_base, up_silently_command, parse_frame_specification)
453 (current_frame_command, print_frame_args_vars, catch_info)
454 (args_plus_locals_info), print_frame_label_vars)
455 (print_block_frame_labels, print_block_frame_locals)
456 (func_command): Remove prototypes.
457 (print_stack_frame, backtrace_command_stub, backtrace_command,
458 backtrace_full_command, print_frame_args, print_frame_arg_vars,
459 print_args_stub, func_command): Remove redundant casts.
460 (addressprint): Remove extern declaration.
461 (frame_command): Make static.
462 (struct print_stack_frame_args, struct print_args_args): Rename
463 `fi' member to `frame'.
464 (print_stack_frame, print_frame_nameless_args, print_frame_args)
465 (set_current_sal_from_frame, print_frame_info, print_frame)
466 (show_stack_frame, print_block_frame_locals)
467 (print_frame_local_vars, print_frame_label_vars)
468 (print_frame_arg_vars, select_and_print_frame): Rename `fi'
469 argument to `frame'.
470 (func_command): Rename `fp' variable to `frame'.
471 (get_language): Restructure.
472 * Makefile.in (stack.o): Update dependencies.
473
d64a6579
KB
4742005-08-17 Kevin Buettner <kevinb@redhat.com>
475
476 * NEWS (ms1-elf): New target.
477
61bf9ae0
MK
4782005-08-17 Mark Kettenis <kettenis@gnu.org>
479
1c845060
MK
480 * m68k-tdep.c (m68k_return_value): Properly return contents of
481 structures passed in memory.
482
181fc57c
MK
483 * infcmd.c (print_return_value): Move CHECK_TYPEDEF up. Deal with
484 RETURN_VALUE_ABI_PRESERVED_ADDRESS.
485
61bf9ae0
MK
486 * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
487 deals with the broken GCC convention.
488
65ada037
MK
4892005-08-16 Mark Kettenis <kettenis@gnu.org>
490
491 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Set condition
492 register appropriately for varargs functions.
493
37ebea84
KB
4942005-08-15 Kevin Buettner <kevinb@redhat.com>
495
496 * MAINTAINERS (ms1): New target ISA entry. List myself as
497 maintainer.
498
61def6bd
KB
4992005-08-15 Michael Snyder <msnyder@redhat.com>
500 Kevin Buettner <kevinb@redhat.com>
501
502 * Makefile.in (ms1-tdep.o): Add dependencies.
503 * configure.tgt: Add ms1-*-* target.
504 * ms1-tdep.c: New file.
505 * config/ms1/ms1.mt: New file.
506
44878bae
MK
5072005-08-15 Mark Kettenis <kettenis@gnu.org>
508
509 * Makefile.in (m68kbsd-tdep.o): Ad missing space.
510
00ce08ef
UW
5112005-08-15 Ulrich Weigand <uweigand@de.ibm.com>
512
513 * s390-tdep.c (op1_lgfi, op2_lgfi, op1_agfi, op2_agfi,
514 op1_afi, op2_afi, op1_algfi, op2_algfi, op1_alfi, op2_alfi,
515 op1_slgfi, op2_slgfi, op1_slfi, op2_slfi): New opcode enums.
516 (s390_analyze_prologue): Recognize new z9-109 instructions.
517
0c318c49
MK
5182005-08-14 Mark Kettenis <kettenis@gnu.org>
519
fbdbf38b
MK
520 * solib-som.c (som_current_sos): Cast to 'gdb_byte *' where
521 appropriate.
522
e4ef629d
MK
523 * inf-ptrace.c (inf_ptrace_him) [PT_GET_PROCESS_STATE]: Move
524 code...
525 (inf_ptrace_post_startup_inferior): ...here. New function.
526 (inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Move code...
527 (inf_ptrace_post_attach): ...here.
528 (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set
529 to_post_startup_inferior and to_post_attch.
530
864a1a37
MK
531 * sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.
532
0c318c49
MK
533 * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Check for
534 "__sighndlr".
535
31828840
MK
5362005-08-13 Mark Kettenis <kettenis@gnu.org>
537
538 * i386-linux-nat.c (fetch_register, store_register)
539 (supply_gregset, fill_gregset): Remove redundant casts.
540
42e9a5a0
KW
5412005-08-12 Kris Warkentin <kewarken@qnx.com>
542
543 * i386-nto-tdep.c (i386nto_init_abi): Don't set gdbarch skip
544 trampoline code hook.
545 * nto-procfs.c (procfs_post_attach): Call solib_create_inferior_hook
546 instead of SOLIB_CREATE_INFERIOR_HOOK.
547 (procfs_create_inferior): Ditto.
548 * config/tm-nto.h: Don't define SKIP_TRAMPOLINE_CODE.
549
0d059fca
AS
5502005-08-11 Andreas Schwab <schwab@suse.de>
551
552 PR exp/1978
553 * valarith.c (value_binop): Fix result type for the shift
554 operators.
555
47b4f830
MK
5562005-08-09 Mark Kettenis <kettenis@gnu.org>
557
558 * sparc64obsd-tdep.c: Tweak comments.
559 (sparc64obsd_sigreturn_offset): Add offset for new OpenBSD 3.8
560 signal trampoline.
561
8e70166d
AC
5622005-08-09 Andrew Cagney <cagney@gnu.org>
563
564 * linux-nat.h (linux_proc_xfer_memory): Change type of "myaddr" a
565 "gdb_byte" pointer.
566 * linux-nat.c (linux_proc_xfer_memory): Update.
567 (get_signo): Cast signo to a "gdb_byte" pointer.
568 * i386-linux-nat.c (child_resume): Make "buf" a gdb_byte, delete
569 redundant casts.
570 (child_resume): Cast eflags to a "gdb_byte" pointer.
571
059cb7d2
MK
5722005-08-08 Mark Kettenis <kettenis@gnu.org>
573
574 * tramp-frame.h (struct tramp_frame): Allow for 16 instructions
575 instead of 8.
576 * m68kbsd-tdep.c: Include "frame.h", "trad-frame.h" and
577 "tramp-frame.h".
578 (m68kobsd_sigtramp_cache_init): New function.
579 (m68kbsd_aout_init_abi): Prepend m68kobsd_sigtramp unwinder.
580
9c833c82
FF
5812005-08-02 Fred Fish <fnf@specifix.com>
582
583 * defs.h (parse_frame_specification): Remove prototype.
584 * stack.c (parse_frame_specification): Add prototype and
585 make function static.
586 (frame_info): Move common code outside if..then..else.
587
fc0c53a0
DJ
5882005-08-01 Daniel Jacobowitz <dan@codesourcery.com>
589
590 * value.c (value_contents_writeable): Use value_contents_raw.
591
2b71414d
DJ
5922005-08-01 Daniel Jacobowitz <dan@codesourcery.com>
593
594 Suggested by Shaun Jackman <sjackman@gmail.com>:
595 * defs.h (print_transfer_performance): Update prototype.
596 * m32r-rom.c (m32r_load, m32r_upload_command): Use gettimeofday
597 for print_transfer_performance.
598 * remote-m32r-sdi.c (m32r_load): Likewise.
599 * symfile.c (generic_load): Likewise.
600 (report_transfer_performance): Create a dummy struct timeval.
601 (print_transfer_performance): Use a more accurate measure
602 of performance.
603
53fbdf7d
FF
6042005-08-01 Fred Fish <fnf@specifix.com>
605
606 * stack.c (parse_frame_specification_1): Remove use of obsolete
607 SETUP_ARBITRARY_FRAME macro.
608
77e0b926
DJ
6092005-08-01 Daniel Jacobowitz <dan@codesourcery.com>
610
611 * dwarf2-frame.c (read_signed_leb128): Handle values that do not
612 fit in 32 bits.
613 * dwarf2read.c (read_signed_leb128): Likewise.
614
3ffbc0a5
DJ
6152005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
616
617 From Josef Ezra <jezra@emc.com>:
618 * tracepoint.c (stringify_collection_list): Correct pointer
619 arithmetic.
620
7ed0fe66
DJ
6212005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
622
623 Suggested by Vladimir Prus <ghost@cs.msu.su>:
624 * infrun.c (handle_inferior_event): Check for line information in
625 undebuggable functions.
626
bee0189a
DJ
6272005-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
628
629 * cli-out.c (cli_field_fmt, cli_message, out_field_fmt): Add
630 ATTR_FORMAT or ATTRIBUTE_FPTR_PRINTF.
631 * complaints.c (vcomplaint): Likewise.
632 * defs.h (xvasprintf, xstrvprintf, verror, vfatal)
633 (internal_verror, internal_vwarning, vwarning)
634 (deprecated_query_hook, deprecated_warning_hook)
635 (deprecated_readline_begin_hook): Likewise.
636 * disasm.c (fprintf_disasm): Likewise.
637 * exceptions.c (throw_it): Likewise.
638 * exceptions.h (throw_verror, throw_vfatal): Likewise.
639 * mi/mi-interp.c (mi_interp_query_hook): Likewise.
640 * mi/mi-out.c (mi_field_fmt, mi_message): Likewise.
641 * tui/tui-hooks.c (tui_query_hook): Likewise.
642 * tui/tui-out.c (tui_field_fmt, tui_message, out_field_fmt):
643 Likewise.
644 * ui-out.c (default_field_fmt, default_message, uo_field_fmt)
645 (uo_message): Likewise.
646 * ui-out.h (ui_out_field_fmt, ui_out_message, field_fmt_ftype)
647 (message_ftype): Likewise.
648 * utils.c (vfprintf_maybe_filtered, internal_vproblem)
649 (defaulted_query, printchar): Likewise.
650
3ed85247
MK
6512005-07-26 Mark Kettenis <kettenis@gnu.org>
652
653 * i386obsd-tdep.c (i386obsd_sigreturn_offset): New variable.
654 (i386obsd_sigtramp_p): Deal with an arbitrary number of possible
655 offsets.
656 (i386obsd_aout_supply_regset): Avoid bogus cast.
657
735f54b4
MK
6582005-07-25 Mark Kettenis <kettenis@gnu.org>
659
660 * inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):
661 New function.
662 (inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set
663 PTRACE_FORK event flag.
664 (inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK
665 event.
666 (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.
667
4b8a1a28
MK
6682005-07-25 Mark Kettenis <kettenis@gnu.org>
669
670 * gdb_ptrace.h (PT_TRACE_ME): Define to zero if not already
671 defined.
672 * inf-ptrace.c: Tweak comments.
673 (inf_ptrace_me): Use PT_TRACE_ME instead of hardcoded zero.
674 (inf_ptrace_mourn_inferior): Call waitpid.
675 (inf_ptrace_attach): Use pid_t, Remove unnecessary cast.
676 (inf_ptrace_detach): Use pid_t. Use ptid_get_pid instead of
677 PIDGET.
678 (inf_ptrace_kill): Rename from inf_ptrace_kill_inferior. Use
679 pid_t. Use ptid_get_pid instead of PIDGET.
680 (inf_ptrace_kill): Call waitpid instead of wait.
681 (inf_ptrace_resume): Use pid_t. Use ptid_get_pid instead of
682 PIDGET.
683 (inf_ptrace_wait): Use waitpid instead wait. Use pid_t. Don't
684 call target_has_exited or target_thread_alive. Properly ignore
685 terminated detached child processes.
686 (inf_ptrace_has_exited): Remove function.
687 (inf_ptrace_xfer_partial): Use pid_t. Use ptid_get_pid instead of
688 PIDGET. Use gdb_byte instead of `unsigned char'.
689 (inf_ptrace_thread_alive): Use ptid_get_pid instead of PIDGET.
690 (inf_ptrace_pid_to_str): Remove function.
691 (inf_ptrace_target): Use inf_ptrace_kill instead of
692 inf_ptrace_kill_inferior. Use normal_pid_to_str instead of
693 inf_ptrace_pid_to_str. Don't set to_has_exited.
694 (inf_ptrace_fetch_register, inf_ptrace_store_register): Reformat
695 long lines.
696
c7c14b96
MK
6972005-07-25 Mark Kettenis <kettenis@gnu.org>
698
699 * inf-ptrace.c: Reorder functions.
700 (inf_ptrace_open, inf_ptrace_reported_exec_events_per_call)
701 (inf_ptrace_can_run, inf_ptrace_post_attach): Removed.
702 (inf_ptrace_target): Don't set to_open,
703 to_reported_exec_events_per_call, to_can_run, to_post_attach,
704 to_stratum, to_has_all_memory, to_has_memory, to_has_stack,
705 to_has_registers, to_has_execution, to_magic. Reorder remaining
706 initializations.
707
7ef34f2c
MM
7082005-07-25 Mark Mitchell <mark@codesourcery.com>
709
710 * configure.ac: On MinGW, do not require a termcap library, and
711 use win32-termcap.c.
712 * configure: Regenerated.
713 * win32-termcap.c: New file.
714
056d7646
MM
7152005-07-24 Mark Mitchell <mark@codesourcery.com>
716
717 * ser-tcp.c (close): Define as a function-like macro on MinGW.
718
e04e8f8a
EC
7192005-07-21 Eric Christopher <echristo@apple.com>
720
721 * MAINTAINERS (Misc): Update affiliation.
722
5d426ff1
MK
7232005-07-21 Mark Kettenis <kettenis@gnu.org>
724
725 * inf-ttrace.c (inf_ttrace_wait): Properly report TTEVT_EXEC
726 events as TARGET_WAITKIND_EXECD.
727 (inf_ttrace_detach): Reorder local variables.
728
b2a4db28
MK
7292005-07-20 Mark Kettenis <kettenis@gnu.org>
730
731 * inf-ttrace.c (inf_ttrace_vfork_ppid): New variable.
732 (inf_ttrace_follow_fork): New function.
733 (inf_ttrace_him, inf_ttrace_attach): Ask for TTEVT_FORK and
734 TTEVT_VFORK events. Replace TTEO_NOSTRCHLD option with
735 TTEO_PROC_INHERIT.
736 (inf_ttrace_create_inferior, inf_ttrace_attach): Add checks for
737 inf_ttrace_vfork_ppid.
738 (inf_ttrace_kill_inferior, inf_ttrace_detach): Detach from waiting
739 parent if appropriate.
740 (inf_ttrace_wait): Handle TTEVT_FORK and TTEVT_VFORK.
741 (inf_ttrace_target): Set to_follow_fork.
742
6c76e4a1
WZ
7432005-07-20 Wu Zhou <woodzltc@cn.ibm.com>
744
745 * remote.c (remote_pid_to_str): Use xsnprintf instead of snprintf.
746
a7aad9aa
MK
7472005-07-18 Mark Kettenis <kettenis@gnu.org>
748
5fff8fc0
MK
749 * target.c (normal_pid_to_str): Use xsnprintf instead of snprintf.
750 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
751 * inf-ttrace.c (inf_ttrace_pid_to_str): Likewise.
752
a7aad9aa
MK
753 * hppa-tdep.h (hppa_frame_prev_register_helper): Change types of
754 last argument to `gdb_byte *'.
755 * hppa-tdep.c (hppa32_convert_from_func_ptr_addr): Rewrite.
756 (hppa_frame_prev_register_helper): Change types of last argument
757 to `gdb_byte *'.
758 * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_prev_register):
759 Change types of last argument to `gdb_byte *'.
e04e8f8a 760
613e8135
MK
7612005-07-18 Mark Kettenis <kettenis@gnu.org>
762 Jason Molenda <jmolenda@apple.com>
763
764 * i386-tdep.c (i386_match_insn): Match complete instruction
765 pattern.
766
9edde48e
MK
7672005-07-18 Mark Kettenis <kettenis@gnu.org>
768
769 * i386-tdep.c (i386_reg_struct_return_p): Handle structures with a
770 single 'long double' member correctly.
771 (i386_return_value): Tweak comment.
772
05747abb
NR
7732005-07-16 Nick Roberts <nickrob@snap.net.nz>
774
775 * mi/gdb-mi.el: Update for changes in Emacs 22.0.50. Bring more
776 features over from gdb-ui.el. Use "-var-update --all-values" for
777 faster re-display of watch expressions.
778
37191c9c
MK
7792005-07-15 Mark Kettenis <kettenis@gnu.org>
780 Marcel Moolenaar <marcel@xcllnt.net>
781
782 * sparc64fbsd-nat.c: Include "regcache.h", <sys/types.h>,
783 <machine/pcb.h> and "bsd-kvm.h".
784 (sparc64fbsd_kvm_supply_pcb): New function.
785 (_initialize_sparc64fbsd_nat): Enable libkvm interface.
786 * config/sparc/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
787 (LOADLIBES): New variable.
788 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
789
1ecb4ee0
DJ
7902005-07-15 Nick Roberts <nickrob@snap.net.nz>
791 Daniel Jacobowitz <dan@codesourcery.com>
792
793 * mi/mi-cmds.h (mi_no_values, mi_simple_values, mi_all_values): New
794 declarations.
795 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Use string
796 constants instead of literals for MI command options.
797 * mi/mi-cmd-var.c (mi_no_values, mi_simple_values, mi_all_values):
798 New variables.
799 (mi_parse_values_option, mi_print_value_p): New functions.
800 (mi_cmd_var_list_children): Use mi_parse_values_option and
801 mi_print_value_p.
802 (mi_cmd_var_update): Support a PRINT_VALUES option. Update calls
803 to varobj_update_one.
804 (varobj_update_one): Take a print_values argument. Call
805 mi_print_value_p.
806 * varobj.c (varobj_get_gdb_type): New function.
807 * varobj.h (varobj_get_gdb_type): New prototype.
808
fb318ff7
DJ
8092005-07-13 Daniel Jacobowitz <dan@codesourcery.com>
810
811 * ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets.
812
4dc4436d 8132005-07-12 Mark Kettenis <kettenis@gnu.org>
852483bc
MK
814
815 * dwarf2expr.h: Tweak comment.
816 (struct dwarf_expr_context): Use `gdb_byte *' in read_mem and
817 get_frame_base function pointers.
818 (read_uleb128, read_sleb128): Change return type and types of
819 first two arguments to `gdb_byte *'.
820 (dwarf2_read_address): Change types of first two arguments to
821 `gdb_byte *'.
822 * dwarf2expr.c: Tweak comment.
823 (dwarf_expr_eval): Change type of second argument to `gdb_byte *'.
824 (read_uleb128, read_sleb128): Change return type and types of
825 first two arguments to `gdb_byte *'.
826 (dwarf2_read_address): Change types of first two arguments to
827 `gdb_byte *'.
828 (execute_stack_op): Change types of last two arguments to
829 `gdb_byte *'. Use `gdb_byte *' for byte buffers.
830 * dwarf2loc.h: Tweak comment.
831 (struct dwarf2_locexpr_baton, struct dwarf2_loclist_baton): Use
832 `gdb_byte *' for byte buffers.
833 * dwarf2loc.c (find_location_expression): Change return type to
834 `gdb_byte *'. Use `gdb_byte *' for byte buffers. Change length
835 to `unsigned int'.
836 (dwarf_expr_read_reg): Use `gdb_byte *' for byte buffer. Remove
837 bogus cast.
838 (dwarf_expr_read_mem): Change type of second argument to
839 `gdb_byte *'.
840 (dwarf_expr_frame_base): Change type of second argument to
841 `gdb_byte **'.
842 (dwarf2_evaluate_loc_desc): Change type of third argument to
843 `gdb_byte *'.
844 (needs_frame_read_mem): Change type of second argument to
845 `gdb_byte *'.
846 (needs_frame_frame_base): Change type of second argument
847 `gdb_byte **'. Use gdb_byte for lit0.
848 (dwarf2_tracepoint_var_ref): Change type of fourth argument to
849 `gdb_byte *'. Use `gdb_byte *' for byte buffer.
850 (loclist_read_variable, loclist_tracepoint_var_ref): Use `gdb_byte
851 *' for byte buffer.
852 * dwarf2-frame.c (struct dwarf2_cie, struct dwarf2_fde)
853 (struct dwarf2_frame_state): Use gdb_byte instead of `unsigned
854 char'.
855 (read_reg): Use `gdb_byte *' for byte buffers. Remove redundant
856 cast.
857 (read_mem): Change second argument to `gdb_byte *'.
858 (no_get_frame_base): Change second argument to `gdb_byte **'.
859 (execute_stack_op): Change first argument to `gdb_byte *'.
860 (execute_cfa_program): Change first two arguments to `gdb_byte *'.
861 Use gdb_byte instead of `unsigned int'. Use temprorary variable
862 to store result of read_uleb128.
863 (struct comp_unit): Use `gdb_byte *' for byte buffers.
864 (read_1_byte, read_4_bytes, read_8_bytes): Change last argument to
865 `gdb_byte *'.
866 (read_unsigned_leb128, read_signed_leb128): Change second argument
867 to `gdb_byte *'. Use gdb_byte instead of `unsigned char'.
868 (read_initial_length): Change second argument to `gdb_byte *'.
869 Remove redundant casts.
870 (read_encoded_value): Use gdb_byte instead of `unsigned char'.
871 Remove bogus casts.
872 (decode_frame_entry_1): Change return type and second argument to
873 `gdb_byte *'. Use `gdb_byte *' for byte buffers. Use gdb_byte
874 instead of `unsigned char'.
875 (decode_frame_entry): Change return type and second argument to
876 `gdb_byte *'. Use `gdb_byte *' for byte buffers.
877 (dwarf2_build_frame_info): Use `gdb_byte *' for byte buffers.
878
22a44745
MK
8792005-07-12 Mark Kettenis <kettenis@gnu.org>
880
881 * objc-lang.c (print_object_command): Use gdb_byte for c.
882 * arch-utils.c (legacy_extract_return_value): Use 'gdb_byte *' for
883 registers.
884
2e5a5020
MK
8852005-07-11 Mark Kettenis <kettenis@gnu.org>
886
887 * bsd-kvm.c: Include <paths.h>.
888 (bsd_kvm_corefile): New variable.
889 (core_kd, bsd_kvm_paddr, bsd_kvm_supply_pcb, bsd_kvm_ops): Make
890 static.
891 (bsd_kvm_open): Set bsd_kvm_corefile.
892 (bsd_kvm_files_info): New function.
893 (bsd_kvm_add_target): Set to_files_info.
894
99efcb59
AS
8952005-07-07 Andreas Schwab <schwab@suse.de>
896
897 * observer.sh: Use different temporary file name depending on mode
898 of operation to avoid clash during parallel build.
899
3cb3b8df
BR
9002005-07-06 Bob Rossi <bob@brasko.net>
901
902 * fork-child.c (fork-inferior): Use accessor function for
903 inferior_io_terminal.
904 * infcmd.c (inferior_io_terminal): Make static.
905 (set_inferior_io_terminal): New function.
906 (get_inferior_io_terminal): Ditto.
907 (tty_command): Use accessor function.
908 (_initialize_infcmd): Add inferior_tty setshow variable.
909 (_initialize_infcmd): Remove tty command.
910 (_initialize_infcmd): Add a tty command that is an alias.
911 * inferior.h (set_inferior_io_terminal): New prototype.
912 (get_inferior_io_terminal): Ditto.
913 (new_tty_prefork): Add const qualifier to parameter.
914 * inflow.c (inferior_thisrun_terminal): Add const qualifier.
915 (new_tty_prefork): Add const qualifier to parameter.
916 * nto-procfs (procfs_create_inferior): Use accessor function.
917 (procfs_create_inferior): Add const qualifier to locals.
918 * win32-nat.c (child_create_inferior): Ditto.
919 * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
920 (mi_cmd_inferior_tty_set): Ditto.
921 * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
922 * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
923 (mi_cmd_inferior_tty_show): Ditto.
924
ec502284
WZ
9252005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
926
927 * tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalid
928 scroll command.
929
bd49c137
WZ
9302005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
931
932 * f-exp.y (yyparse): Add code to support exponentiation expression.
933 (yylex): Add code to scan exponentiation operator.
934 * eval.c (evaluate_subexp_standard): Add support for BINOP_EXP.
935 * valarith.c (value_binop): Reset errno to 0 before calling pow
936 to do exponentiation operation.
937
b4ad899f
MK
9382005-07-04 Mark Kettenis <kettenis@gnu.org>
939
df80278b
MK
940 * i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
941 read_memory call.
942 * bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer.
943
1754f103
MK
944 * bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
945 * coffread.c (patch_type, process_coff_symbol): Likewise.
e04e8f8a
EC
946 * corelow.c (core_open): Likewise.
947 * dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile):
948 * language.c (set_lang_str, set_type_str, set_range_str)
1754f103
MK
949 (set_case_str): Likewise.
950 * source.c (add_path, openp): Likewise.
951 * stabsread.c: Likewise.
952 * top.c (init_history): Likewise.
953 * utils.c (xfullpath): Likewise.
954 * value.c (lookup_internalvar): Likewise.
955 * cli/cli-cmds.c (cd_command): Likewise.
956 * cli/cli-dump.c (add_dump_command): Likewise.
957
b4ad899f
MK
958 * i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): Change
959 type of first argument to `const gdb_byte *'.
960 (i387_print_float_info, i387_register_to_value)
961 (i387_value_to_register, i387_supply_fsave, i387_collect_fsave)
962 (i387_supply_fxsave, i387_collect_fxsave): Use gdb_byte for byte
963 buffers.
964
eb2dec72
BE
9652005-07-04 Ben Elliston <bje@gnu.org>
966
967 * Makefile.in (RUNTEST): Set to runtest.
968
2f4535c7
DJ
9692005-07-03 Richard Henderson <rth@redhat.com>
970
e04e8f8a 971 * amd64-tdep.c (amd64_sse_type): New.
2f4535c7
DJ
972 (amd64_register_info): Use it for xmm registers. Constify.
973 (amd64_register_type): Initialize amd64_sse_type as needed.
974
60ca704f
SE
9752005-07-03 Steve Ellcey <sje@cup.hp.com>
976
977 * configure.ac: Add arguments to AC_DEFINE calls.
978 * acconfig.h: Remove file.
979 * acinclude.m4 (AC_GNU_SOURCE): Remove definition.
980 * configure: Regenerate.
981 * config.in: Regenerate.
982
a8a0fc4c
MK
9832005-07-01 Mark Kettenis <kettenis@gnu.org>
984
985 * mips-tdep.c (mips_insn16_frame_prev_register)
986 (mips_insn32_frame_prev_register, mips_stub_frame_prev_register):
987 Change type of last argument to `gdb_byte *'.
988
3ad97651
SE
9892005-07-01 Steve Ellcey <sje@cup.hp.com>
990
991 * MAINTAINERS (Write After Approval): Add myself.
992
bba93f6c
MK
9932005-07-01 Mark Kettenis <kettenis@gnu.org>
994
995 * solib-svr4.c: Include "solib.h".
996 * Makefile.in (solib-svr4.o): Update dependencies.
997
edf8c5a3
MK
9982005-06-28 Mark Kettenis <kettenis@gnu.org>
999
1000 * eval.c (evaluate_struct_tuple): Use strcmp instead of
1001 DEPRECATED_STREQ.
1002
63a09be5
MS
10032005-06-27 Michael Snyder <msnyder@redhat.com>
1004
1005 * config/mn10300/linux.mt: New file.
1006 * configure.tgt: Add rule for am33 / mn10300-linux.
1007 * mn10300-tdep.c, mn10300-tdep.h: Bump copyright year.
1008
c54d24cb
WZ
10092005-06-27 Wu Zhou <woodzltc@cn.ibm.com>
1010
1011 * gdbtypes.c (get_discrete_bounds): Fix a comment typo.
1012
870cd05e
MK
10132005-06-25 Mark Kettenis <kettenis@gnu.org>
1014
b6958cfb
MK
1015 * sol-thread.c (sol_thread_xfer_memory): Change type of second
1016 argument to `gdb_byte *'.
1017 (sol_thread_xfer_partial): Change type of readbuf and writebuf
1018 arguments to `gdb_byte *'.
1019
e04e8f8a 1020 * mips-tdep.c (mips_xfer_register, mips_o32_return_value)
870cd05e
MK
1021 (mips_integer_to_address): Use gdb_byte instead of bfd_byte.
1022
0ae4f2cb
MK
10232005-06-24 Mark Kettenis <kettenis@gnu.org>
1024
1025 * ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
1026 <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
1027 (ppcobsd_supply_pcb): New function.
1028 (_initialize_ppcobsd_nat): Enable libkvm interface.
1029 * Makefile.in (ppcobsd-nat.o): Update dependencies.
c32adc78
MK
1030 * config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
1031 (LOADLIBES): New variable.
0ae4f2cb 1032
772562f8
CV
10332005-06-24 Corinna Vinschen <vinschen@redhat.com>
1034
1035 * i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST.
1036
4247cafd
AS
10372005-06-23 Andreas Schwab <schwab@suse.de>
1038
1039 * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported
1040 by Chad Harrington <harrington.chad@gmail.com>.
1041
c8d511af
MK
10422005-06-22 Mark Kettenis <kettenis@gnu.org>
1043
1044 * remote.c (extended_remote_restart): Pass buffer in call to
1045 xsnprintf instead of a pointer to the buffer.
1046
e990a46e
AC
10472005-06-21 Andrew Cagney <cagney@gnu.org>
1048
1049 * MAINTAINERS: List GDB's Steering Committee as responsible for
1050 GDB's maintenance.
1051
7a4609f7
MK
10522005-06-21 Mark Kettenis <kettenis@gnu.org>
1053
1054 * inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
1055 and writebuf arguments to `gdb_byte *'.
1056
72429025
WZ
10572005-06-21 Wu Zhou <woodzltc@cn.ibm.com>
1058
1059 * MAINTAINERS (Write After Approval): Add myself.
1060
dc28f363
MK
10612005-06-20 Mark Kettenis <kettenis@gnu.org>
1062
1063 * hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
1064 "value.h" and "elf/common.h".
1065 (hppabsd_supply_gregset): Use `gdb_byte *' for byte buffer.
1066 (hppabsd_find_global_pointer): New function.
1067 (hppabsd_init_abi): Set TDEP->find_global_pointer to
1068 hppabsd_find_global_pointer.
1069 * Makefile.in (hppabsd-tdep.o): Update dependencies.
1070
99d64d77
MK
10712005-06-12 Mark Kettenis <kettenis@gnu.org>
1072
1073 * hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
1074 (unwind_command): Use %lx to print pointer.
1075
8d7337bf
MK
10762005-06-19 Mark Kettenis <kettenis@gnu.org>
1077
1078 * remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
1079 Change type of second argument to`gdb_byte *'.
1080
29629dcf
NR
10812005-06-19 Nick Roberts <nickrob@snap.net.nz>
1082
1083 * mi/mi-cmd-stack.c (mi_cmd_stack_info_frame): New function.
1084
1085 * mi/mi-cmds.c (mi_cmds): Replace entry for -stack-info-frame.
1086 Make it use mi_cmd_stack_info_frame
1087
1088 * mi/mi-cmds.h (mi_cmd_stack_info_frame): New declaration.
1089
6618125d
MK
10902005-06-18 Mark Kettenis <kettenis@gnu.org>
1091
4ba6a975
MK
1092 * hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
1093 can't find the bounds of the current function. Wrap some long
1094 lines in the process.
1095
6618125d
MK
1096 * regcache.c (regcache_raw_supply, regcache_raw_collect): Change
1097 type of last argument back to `void *'.
1098 * regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.
1099
74f6deaa
NR
11002005-06-18 Nick Roberts <nickrob@snap.net.nz>
1101
1102 * mi/mi-cmds.c (mi_cmds): Remove entry for -stack-info-frame.
1103
1104 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
1105 (mi_cmd_stack_info_depth): Don't test for stack.
1106 (mi_cmd_stack_select_frame): Make the argument mandatory.
1107 Don't test for stack.
1108
39be5530
WZ
11092005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
1110
1111 * remote.c (set_thread, remote_thread_alive): Replace sprintf
1112 call with xsnprintf.
1113 (remote_threads_extra_info, extended_remote_restart)
1114 (remote_check_symbols, store_register_using_P)
1115 (compare_sections_command): Ditto.
1116
f56c189d
DU
11172005-06-16 David Ung <davidu@mips.com>
1118
1119 * MAINTAINERS (Write After Approval): Add self.
1120
3ab8e615 11212005-06-15 Mark Kettenis <kettenis@gnu.org>
0d559b99
MK
1122
1123 * hppa-hpux-nat.c (hppa_hpux_fetch_register)
1124 (hppa_hpux_store_register): Add casts in extract_unsigned_integer
1125 and store_usigned_integer calls.
1126
c2009901
NR
11272005-06-14 Nick Roberts <nickrob@snap.net.nz>
1128
1129 * mi/mi-main.c (mi_cmd_data_list_register_values): Remove test for
1130 registers now that mi_execute_command rewinds after an error.
1131
f9f87d2c
MK
11322005-06-13 Mark Kettenis <kettenis@gnu.org>
1133
3be60c3d
MK
1134 * configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
1135 * configure, config.in: Regenerate.
1136
45e11c33 1137 * ser-tcp.c: Tweak comment.
f9f87d2c
MK
1138 [!HAVE_SOCKLEN_T]: Typedef socklen_t.
1139 * configure.ac: Add check for socklen_t.
1140 * configure, config.in: Regenerate.
1141
43259571
L
11422005-06-13 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 * config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o.
1145
d738fe6d
RS
11462005-06-13 Richard Sandiford <richard@codesourcery.com>
1147
1148 * MAINTAINERS: Update my email address.
1149
9f76c2cd
MM
11502005-06-13 Mark Mitchell <mark@codesourcery.com>
1151
1152 * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
1153 * exec.c (exec_file_attach): Likewise.
1154 * solib-frv.c (enable_break2): Likewise.
1155 * solib-svr4.c (enable_break): Likewise.
1156 * solib.c (solib_map_sections): Likewise.
1157 * symfile.c (symfile_bfd_open): Likewise.
1158
c1bd25fd
DJ
11592005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1160
1161 * Makefile.in (symfile.o): Add $(exec_h).
1162 * exec.h (exec_set_section_address): Add prototype.
1163 * exec.c (exec_set_section_address): New function.
1164 * symfile.c: Include "exec.h".
1165 (struct place_section_arg, place_section): New.
1166 (default_symfile_offsets): Call place_section for each
1167 section of a relocatable file.
1168
7b5c6b52
JB
11692005-06-13 Joel Brobecker <brobecker@adacore.com>
1170
1171 * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
1172 bits of top byte in address.
1173
df0ca547
WZ
11742005-06-13 Wu Zhou <woodzltc@cn.ibm.com>
1175
1176 * eval.c (evaluate_subexp_standard): Add code to check the target
1177 type of a TYPE_CODE_PTR value when we encounter a f77 undetermined
1178 arglist. If it is array, string or function, work on the target
1179 value instead.
1180
589e074d
DJ
11812005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
1182 Nick Roberts <nickrob@snap.net.nz>
1183
1184 * mi/mi-main.c (register_changed_p, get_register): Use
1185 get_selected_frame.
1186 (mi_execute_command): Call mi_out_rewind after an error.
1187
5323dd1d
MK
11882005-06-12 Mark Kettenis <kettenis@gnu.org>
1189
e127f0db
MK
1190 * hppa-tdep.c (hppa_frame_prev_register)
1191 (hppa_fallback_frame_prev_register)
1192 (hppa_stub_frame_prev_register): Change type of last argument to
1193 `gdb_byte *'.
1194 (hppa_fetch_pointer_argument): Tweak comment. Use
1195 get_frame_register_unsigned instead of get_frame_register.
1196 (hppa32_return_value, hppa64_return_value): Change type of readbuf
1197 and writebuf arguments to `gdb_byte *'. Remove unecessary casts
1198 and local variables.
1199 (hppa_pseudo_register_read): Change type of last argument to
1200 `gdb_byte *'.
1201
60b04da5
MK
1202 * m68k-tdep.c (m68k_frame_prev_register): Change type of last
1203 argument to `gdb_byte *'.
1204
4bd7b427
MK
1205 * arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
1206 Consitify regnames.
1207
5b819568
MK
1208 * alpha-tdep.c (alpha_sigtramp_frame_prev_register)
1209 (alpha_heuristic_frame_prev_register): Change type of last
1210 argument to `gdb_byte *'.
e04e8f8a 1211 (alpha_register_to_value, alpha_value_to_register)
5b819568
MK
1212 (alpha_extract_return_value, alpha_store_return_value): Likewise.
1213 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
1214
9af75ef6
MK
1215 * arm-tdep.c (arm_prologue_prev_register)
1216 (arm_sigtramp_prev_register): Change type of last argument to
1217 `gdb_byte *'.
1218
2c7ff8e1
MK
1219 * m88k-tdep.c (m88k_frame_prev_register): Change type of last
1220 argument to `gdb_byte *'.
1221
81e51e70
MK
1222 * vax-tdep.c (vax_frame_prev_register): Change type of last
1223 argument to `gdb_byte *'.
1224
47ef841b
MK
1225 * sparc-tdep.c (sparc32_frame_prev_register): Change type of last
1226 argument to `gdb_byte *'.
1227 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
1228 Likewise.
1229 * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise.
1230 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
1231 Likewise.
1232 * sparc64-tdep.c (sparc64_frame_prev_register): Likewise.
1233 * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
1234 Likewise.
1235 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
1236 Likewise.
1237 * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise.
1238 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind):
1239 Likewise.
1240
5323dd1d
MK
1241 * amd64-tdep.c (amd64_frame_prev_register)
1242 (amd64_sigtramp_frame_prev_register): Change type of last argument
1243 to `gdb_byte *'.
1244
ab533587
MK
12452005-06-11 Mark Kettenis <kettenis@gnu.org>
1246
1247 * i386-tdep.c (i386_register_type): Return
1248 builtin_type_void_func_ptr for %eip and builtin_type_void_data_ptr
1249 for %ebp and %esp.
1250
c41b8590
BE
12512005-06-10 Ben Elliston <bje@au.ibm.com>
1252
1253 * valprint.c (print_floating): Fix comment typo.
1254
88d82102
JJ
12552005-06-09 Jeff Johnston <jjohnstn@redhat.com>
1256
1257 * ia64-tdep.c (ia64_pseudo_register_read): Use gdb_byte and
1258 protect libunwind references with HAVE_LIBUNWIND_IA64_H flag.
a345bcaa
JJ
1259 (ia64_pseudo_register_write): Use gdb_byte to remove warning.
1260 (ia64_register_to_value, ia64_value_to_register): Ditto.
1261 (ia64_frame_prev_register): Ditto.
1262 (ia64_libunwind_frame_prev_register): Ditto.
1263 (ia64_sigtramp_frame_prev_register): Ditto.
1264 (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
1265 (ia64_store_return_value): Ditto.
1266
c5a27d9c
JJ
12672005-06-08 Jeff Johnston <jjohnstn@redhat.com>
1268 David Mosberger <davidm@hpl.hp.com>
1269
1270 * ia64-tdep.c (KERNEL_START): New macro.
1271 (ia64_pseudo_register_read): Fix code to use libunwind to properly
1272 get the rse registers.
1273 (ia64_frame_this_id): Mark outermost frame with null frame id.
1274 (ia64_sigtramp_frame_prev_register): Fix up debug output.
1275 (ia64_access_rse_reg): New accessor function.
1276 (ia64_access_mem): Add special logic for accessing the
1277 kernel's unwind table.
1278 (getunwind_table): Fix for corefiles.
1279 (get_kernel_table): Fix to handle vDSO.
1280 (ia64_libunwind_frame_this_id): Check for null frame id and
1281 don't unwind past pc value of 0. Fix debugging output.
1282 (ia64_libunwind_sigtramp_frame_this_id): New function.
1283 (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
1284 (ia64_libunwind_sigtramp_frame_sniffer): Ditto.
1285 (ia64_libunwind_sigtramp_frame_unwind): New unwinder.
1286 (ia64_unw_rse_accessors): New libunwind accessors.
1287 (ia64_libunwind_descr): Add ia64_unw_rse_accessors.
e04e8f8a
EC
1288 (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Use
1289 ia64_libunwind_sigtramp_frame_sniffer instead of
c5a27d9c
JJ
1290 ia64_sigtramp_frame_sniffer.
1291 * libunwind-frame.c (libunwind_frame_set_descr): Add
1292 special register accessors.
1293 (libunwind_frame_cache): Add special logic to check for
1294 0 pc value. Check for a signal trampoline frame.
1295 (libunwind_frame_this_id): Check if libunwind_frame_cache
1296 returns NULL.
1297 (libunwind_frame_prev_register): Check for NULL cache.
1298 (libunwind_frame_base_address): Ditto.
1299 (libunwind_sigtramp_frame_sniffer): New function.
1300 (libunwind_get_reg_special): Ditto.
1301 (libunwind_load): Add unw_is_signal_frame support.
1302 * libunwind-frame.h (struct libunwind_descr): Add special_accessors
1303 field.
1304 (libunwind_sigtramp_frame_sniffer): New prototype.
1305 (libunwind_get_reg_special): Ditto.
e04e8f8a 1306
d18157a7
WZ
13072005-06-08 Wu Zhou <woodzltc@cn.ibm.com>
1308
1309 * expression.h (enum exp_opcode): Fix a comment typo.
1310
4066fc10
MI
13112005-06-06 Manoj Iyer <manjo@austin.ibm.com>
1312
9039b344 1313 * solib-svr4.c (struct lm_info): Change type of 'lm' to gdb_byte.
4066fc10
MI
1314 (elf_locate_base): Converted types of buf, bufend, pbuf, to gdb_byte.
1315 (first_link_map_member): Converted type of r_map_buf to gdb_byte.
1316 (open_symbol_file_object): Converted type of l_name_buf to gdb_byte.
1317 (svr4_fetch_objfile_link_map): Converted type of l_name_buf to
1318 gdb_byte.
1319
a5c380b8
RS
13202005-06-04 Richard Sandiford <rsandifo@nildram.co.uk>
1321
1322 * MAINTAINERS: Update my email address.
1323
44b164c5
JB
13242005-06-03 Joel Brobecker <brobecker@adacore.com>
1325
1326 * symmisc.c (dump_symtab_1): Renamed from dump_symtab.
1327 (dump_symtab): New function.
1328
e74e72b4
JB
13292005-04-02 Joel Brobecker <brobecker@adacore.com>
1330
1331 * exceptions.h: Include ui-out.h.
1332 (ui_out): Remove declaration.
1333 * Makefile.in (exceptions_h): Add dependency on ui-out.h.
1334
67e27301
AC
13352005-05-30 Andrew Cagney <cagney@gnu.org>
1336
a60a53c5
AC
1337 * MAINTAINERS (Can Commit Without Approval): New section,
1338 previously burried under "Target Instruction Set Architectures".
1339 Note that cagney "can commit" changes to powerpc-linux.
e04e8f8a 1340
67e27301
AC
1341 * MAINTAINERS: Drop architecture and target vectors.
1342
c2416238
EZ
13432005-05-29 Eli Zaretskii <eliz@gnu.org>
1344
1345 * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
1346 linux-ppc64-low.c.
1347
034dad6f
BR
13482005-05-28 Bob Rossi <bob@brasko.net>
1349 * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS): Add mi-common.
1350 (gdb/mi/ headers): Add mi_common_h.
1351 (breakpoint.o, infrun.o): Add dependencies mi_common_h.
1352 * breakpoint.c (include): Add include 'mi/mi-common.h'.
1353 (print_it_typical): Use async_reason_lookup.
1354 (watchpoint_check): Ditto.
1355 * infrun.c (include): Add include 'mi/mi-common.h'.
1356 (print_stop_reason): Use async_reason_lookup.
1357 * mi/mi-common.h: New file.
1358 * mi/mi-common.c: Ditto.
1359
551e4f2e
JB
13602005-05-29 Joel Brobecker <brobecker@adacore.com>
1361
1362 * alpha-tdep.c (alpha_next_pc): Use correct register number
1363 for floating-point branch instructions.
1364
4a5e53e8
DJ
13652005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
1366 Jonathan Larmour <jifl@eCosCentric.com>
1367
1368 PR backtrace/1760
1369 * frame.c (backtrace_limit): Change type to int.
1370 (get_prev_frame): Update backtrace limit support.
1371 (_initialize_frame): Use add_setshow_integer_cmd for backtrace_limit.
1372
eee84df1
DJ
13732005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
1374
1375 * configure.tgt (powerpc64-*-linux*): Enable gdbserver.
1376 * regformats/reg-ppc64.dat: New file.
1377
cedea757
DJ
13782005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
1379
1380 From Wu Zhou <woodzltc@cn.ibm.com>:
1381 * remote.c (struct gdb_ext_thread_info): Fix a comment typo.
1382 (remote_unpack_thread_info_response): Likewise.
1383
3b113db7
DJ
13842005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
1385
1386 * cli/cli-setshow.c (do_setshow_command): Partially revert previous
1387 change. Cast to "char **" for var_string.
1388
03f4d4c7
DJ
13892005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
1390
1391 * cp-name-parser.y (parse_escape): Revert previous change. Return
1392 the input character by default.
1393
c6826062
DJ
13942005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
1395
1396 * dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.
1397 * i386-linux-nat.c (fetch_register, store_register, supply_gregset)
1398 (fill_gregset): Likewise.
1399 * i386-tdep.c (i386_frame_prev_register)
1400 (i386_sigtramp_frame_prev_register): Likewise.
1401 * linux-nat.c (linux_nat_xfer_memory, linux_nat_make_corefile_notes):
1402 Likewise.
1403 * linux-thread-db.c (thread_db_xfer_memory): Likewise.
1404 * remote.c (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint):
1405 Likewise.
1406 * target.c (debug_to_insert_hw_breakpoint)
1407 (debug_to_remove_hw_breakpoint, update_current_target): Likewise.
1408
4a72630a
HPN
14092005-05-28 Hans-Peter Nilsson <hp@axis.com>
1410
1411 * MAINTAINERS: Change cris-elf state to non-broken.
1412 * cp-name-parser.y (parse_escape): Initialize target_char to zero.
1413
5114e29d
OF
14142005-05-27 Orjan Friberg <orjanf@axis.com>
1415
1416 * cris-tdep.c (crisv32_scan_prologue): Add.
e04e8f8a 1417 (cris_frame_unwind_cache, cris_skip_prologue): Call
5114e29d
OF
1418 crisv32_scan_prologue when debugging CRISv32.
1419
fafb59f1 14202005-05-27 Orjan Friberg <orjanf@axis.com>
e2a2a3e8 1421
e04e8f8a 1422 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
e2a2a3e8
OF
1423 (cris_frame_prev_register, cris_sigtramp_frame_prev_register)
1424 (cris_return_value): Use gdb_byte for byte buffers.
1425 (struct cris_frame_unwind, struct cris_frame_base): Fix formatting.
1426
79524e05
CD
14272005-05-26 Chris Demetriou <cgd@netbsd.org>
1428
1429 * MAINTAINERS (Write After Approval): Remove myself.
1430
c68a6671
AC
14312005-05-27 Andrew Cagney <cagney@gnu.org>
1432
1433 * jv-lang.c (get_java_utf8_name): Add cast.
1434 (evaluate_subexp_java): Use gdb_byte for buffers.
1435 * jv-valprint.c (java_value_print, java_value_print): Use gdb_byte
1436 for buffers.
1437 * scm-lang.c (scm_get_field, scm_unpack)
1438 (scm_evaluate_string): Use gdb_byte for buffers.
1439 (scm_lookup_name): Add cast.
1440 * scm-valprint.c (scm_scmval_print, scm_scmval_print): Use
1441 gdb_byte for buffers.
1442 * tui/tui.h (tui_get_command_dimension): Make parameters unsigned.
1443 * tui/tui.c (tui_get_command_dimension): Make parameters unsigned.
1444 * value.h (check_field): Change "name" to a string.
1445 * valops.c (check_field): Change "name" to a string.
1446 * scm-lang.h (scm_parse): Use gdb_byte for buffers.
1447 * source.c (get_current_source_symtab_and_line)
1448 (set_current_source_symtab_and_line): Initialize all fields of sal
1449 structures.
1450 * cli/cli-cmds.c (list_command): Use gdb_byte for buffers.
1451
47b667de
AC
14522005-05-26 Andrew Cagney <cagney@gnu.org>
1453
1454 * command.h (add_setshow_integer_cmd): Make VAR an integer.
1455 * cli/cli-decode.c (add_setshow_integer_cmd): Update to match.
1456 * valops.c (value_string): Add a cast.
1457 * eval.c (evaluate_subexp_standard): Use gdb_byte for byte buffers.
1458 * breakpoint.c (re_enable_breakpoints_in_shlibs): Use gdb_byte for
1459 byte buffers.
1460 * target.h (struct target_ops): For to_insert_hw_breakpoint and
1461 to_remove_hw_breakpoint use gdb_byte for byte buffer parameters.
1462 * breakpoint.h (struct bp_location): Make shadow_contents a
1463 gdb_byte buffer.
1464 * cli/cli-setshow.c (do_setshow_command): Fix cast.
1465 * cli/cli-dump.c (restore_section_callback)
1466 (restore_binary_file): Use gdb_byte for byte buffers.
1467 * proc-service.c (ps_ptwrite, ps_ptread, ps_pdwrite): Fix casts.
1468 (ps_xfer_memory): Use gdb_byte for byte buffers.
1469 * tracepoint.c (mem2hex): Use gdb_byte for byte buffers, and char
1470 for string buffers.
1471 * ser-tcp.c (net_open): Make len a socklen_t.
1472
50fd1280
AC
14732005-05-24 Andrew Cagney <cagney@gnu.org>
1474
1475 * rs6000-tdep.c (ppc_supply_reg, ppc_collect_reg): Use gdb_byte
1476 for byte buffers.
1477 (rs6000_fetch_pointer_argument): Use get_frame_register_unsigned.
e04e8f8a
EC
1478 (rs6000_software_single_step, sstep_breaks, skip_prologue)
1479 (rs6000_push_dummy_call, rs6000_push_dummy_call)
1480 (rs6000_push_dummy_call, rs6000_push_dummy_call)
1481 (rs6000_register_to_value, e500_pseudo_register_read)
1482 (rs6000_store_return_value, e500_pseudo_register_write)
50fd1280
AC
1483 (rs6000_frame_prev_register, rs6000_extract_return_value): Ditto.
1484 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
1485 (ppc_sysv_abi_push_dummy_call, do_ppc_sysv_return_value)
1486 (do_ppc_sysv_return_value, ppc_sysv_abi_return_value)
1487 (ppc_sysv_abi_broken_return_value)
1488 (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_push_dummy_call)
1489 (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_return_value)
1490 (ppc64_sysv_abi_return_value, ppc64_sysv_abi_return_value): Ditto.
1491 * ppc-linux-tdep.c (ppc_linux_in_sigtramp)
1492 (ppc_linux_at_sigtramp_return_path)
1493 (ppc_linux_skip_trampoline_code)
1494 (ppc_linux_memory_remove_breakpoint, ppc_linux_return_value):
1495 * rs6000-tdep.c (rs6000_value_to_register)
1496 (rs6000_register_to_value): Ditto.
1497 * ppc-tdep.h (ppc_sysv_abi_return_value)
1498 (ppc64_sysv_abi_return_value, ppc_sysv_abi_broken_return_value)
1499 (ppc_linux_memory_remove_breakpoint): Ditto.
1500
f127898a
UW
15012005-05-24 Ulrich Weigand <uweigand@de.ibm.com>
1502
1503 * s390-tdep.c (s390_frame_prev_register): Change type of last
1504 argument to 'gdb_byte *'.
1505 (s390_stub_frame_prev_register): Likewise.
1506 (s390_sigtramp_frame_prev_register): Likewise.
1507
42d99eab
KW
15082005-05-24 Kris Warkentin <kewarken@qnx.com>
1509
1510 * config/i386/nto.mt: Remove remote-nto.o.
1511
cc1285c7
OF
15122005-05-24 Orjan Friberg <orjanf@axis.com>
1513
e04e8f8a 1514 * config/djgpp/fnchange.lst: Add mappings for
cc1285c7
OF
1515 gdbserver/linux-cris-low.c and gdbserver/linux-crisv32-low.c.
1516
2e14c2ea
MS
15172005-05-23 Michael Snyder <msnyder@redhat.com>
1518 From Nora Pan <qpan@mvista.com>
1519 * linux-nat.c (read_mapping): Don't stumble over entries in
1520 mapping that have name but zero inode.
1521
36aa5e41
AC
15222005-05-23 Andrew Cagney <cagney@gnu.org>
1523
6c932e54
AC
1524 * target.h (child_xfer_memory): Use gdb_byte for byte buffer
1525 parameters.
1526 * inftarg.c (child_xfer_partial): Update.
1527 * wince.c (child_xfer_memory): Update.
1528 * win32-nat.c (child_xfer_memory): Update.
1529 * rs6000-nat.c (child_xfer_memory): Update.
1530 * infptrace.c (child_xfer_memory): Update.
1531 * dcache.c (struct dcache_block): Use gdb_byte for the byte
1532 buffers.
e04e8f8a 1533 (dcache_read_line, dcache_xfer_memory, dcache_poke_byte)
6c932e54
AC
1534 (dcache_peek_byte, dcache_write_line): Ditto.
1535
36aa5e41
AC
1536 * auxv.h (target_auxv_read, procfs_xfer_auxv)
1537 (target_auxv_parse): Use gdb_byte for byte buffer parameters.
e04e8f8a 1538 * auxv.c (target_auxv_read, procfs_xfer_auxv, target_auxv_parse)
36aa5e41
AC
1539 (target_auxv_search, fprint_target_auxv): Update.
1540
41922353
OF
15412005-05-23 Orjan Friberg <orjanf@axis.com>
1542
64c5f205 1543 * cris-tdep.c: Tweak values for cris-mode.
41922353 1544
1f9872de
JB
15452004-05-23 Joel Brobecker <brobecker@adacore.com>
1546
1547 * mdebugread.c (record_minimal_symbol): New procedure.
1548 (parse_partial_symbols): Use record_minimal_symbol to record
1549 the new minimal symbols instead of prim_record_minimal_symbol
1550 and prim_record_minimal_symbol_and_info.
1551
872544e5
MK
15522005-05-22 Mark Kettenis <kettenis@gnu.org>
1553
02a677ac
MK
1554 * NEWS: Mention OpenBSD/arm as a new native configuration.
1555
2b73aeb1
MK
1556 * armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h".
1557 Reorder includes. Don't require FETCH_INFERIOR_REGISTERS to be
1558 defined.
1559 (armnbsd_fetch_registers): Rename from armnbsd_fetch_registers.
1560 Make static.
1561 (armnbsd_store_registers): Rename from armnbsd_store_registers.
1562 Make static.
1563 (_initialize_arm_netbsd_nat): Construct and add target vector.
1564 * Makefile.in (armnbsd-nat.o): Update dependencies.
1565 * config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
1566 intarg.o, add inf-ptrace.o.
1567 (NAT_FILE): Set to solib.h.
1568 * config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
1569 inftarg.o, add inf-ptrace.o.
1570 (NAT_FILE): Remove.
1571
5238cf52
MK
1572 * arm-tdep.c (arm_extract_return_value, arm_store_return_value):
1573 Change type of last argument to `gdb_byte *'.
1574
872544e5
MK
1575 * configure.host: Add arm*-*-openbsd*.
1576 * configure.tgt: Add arm*-*-openbsd*.
1577
10c42a71
AC
15782005-05-22 Andrew Cagney <cagney@gnu.org>
1579
1580 * frame.h (frame_register_unwind, frame_unwind_register)
1581 (get_frame_register, frame_register, put_frame_register)
1582 (get_frame_memory, safe_frame_unwind_memory)
1583 (frame_register_read): Use gdb_byte for byte buffer parameters.
1584 * trad-frame.h (trad_frame_get_register)
1585 (frame_get_prev_register): Ditto.
1586 * frame-unwind.h (frame_prev_register_ftype): Ditto.
e04e8f8a
EC
1587 * frame.c (frame_pop, frame_register, frame_unwind_register)
1588 (get_frame_register, frame_unwind_register_signed)
1589 (frame_unwind_register_unsigned, frame_unwind_unsigned_register)
10c42a71
AC
1590 (frame_register_read, get_frame_memory): Update.
1591 * trad-frame.c (trad_frame_get_prev_register): Update.
1592 (trad_frame_get_register): Update.
1593 * gdbcore.h (deprecated_read_memory_nobpt, read_memory): Ditto.
1594 * breakpoint.c (deprecated_read_memory_nobpt): Update.
1595 * corefile.c (read_memory): Update.
1596 * tramp-frame.c (tramp_frame_prev_register): Update.
1597 * valops.c (value_assign): Update.
1598 * sentinel-frame.c (sentinel_frame_prev_register): Update.
1599 * std-regs.c (value_of_builtin_frame_fp_reg)
1600 (value_of_builtin_frame_pc_reg): Update.
1601 * infcmd.c (default_print_registers_info): Update
1602 * dummy-frame.c (dummy_frame_prev_register): Update.
1603 * findvar.c (value_of_register, value_from_register): Update.
1604 * tui/tui-regs.c (tui_register_format, tui_get_register): Update.
1605 * mi/mi-main.c (register_changed_p, get_register): Update.
1606
194134a1
EZ
16072005-05-20 Eli Zaretskii <eliz@gnu.org>
1608
ba1e897e
EZ
1609 * configure.ac: Add snprintf and vsnprintf to AC_CHECK_DECLS. Fix
1610 bad description of _MSE_INT_H that caused each word in config.in
1611 to be enclosed in [].
41721137 1612 * configure, config.in: Regenerate.
194134a1 1613
0de94d4b
JB
16142005-05-20 Joel Brobecker <brobecker@adacore.com>
1615
1616 * alpha-tdep.c (fp_register_zero_p): New function.
1617 (fp_register_sign_bit): New function.
1618 (alpha_next_pc): Add support for floating-point control instructions.
1619
2d522557
AC
16202005-05-19 Andrew Cagney <cagney@gnu.org>
1621
0d509538
AC
1622 * defs.h (extract_signed_integer, extract_unsigned_integer)
1623 (extract_long_unsigned_integer, extract_typed_address)
1624 (store_signed_integer, store_unsigned_integer)
1625 (store_typed_address): Use gdb_byte for byte buffer parameters.
1626 (push_bytes, push_word): Delete declaration.
1627 * valops.c (push_bytes, push_word): Delete function.
e04e8f8a
EC
1628 * findvar.c (extract_signed_integer, extract_unsigned_integer)
1629 (extract_typed_address, store_signed_integer)
0d509538 1630 (store_unsigned_integer): Update.
e04e8f8a 1631
2d522557
AC
1632 * regcache.h (regcache_raw_read, regcache_raw_write)
1633 (regcache_raw_read_part, regcache_raw_write_part)
1634 (regcache_cooked_read_part, regcache_cooked_write_part)
1635 (regcache_cooked_read, regcache_cooked_write)
1636 (regcache_raw_supply, regcache_raw_collect)
1637 (regcache_cooked_read_ftype, regcache_save, regcache_restore)
1638 (deprecated_read_register_gen, deprecated_write_register_gen)
1639 (deprecated_read_register_bytes, deprecated_write_register_bytes)
1640 (deprecated_grub_regcache_for_registers): Use gdb_byte for byte
1641 buffer parameters.
1642 * ia64-tdep.c (ia64_extract_return_value): Update.
1643 * frame.c (do_frame_register_read): Update.
e04e8f8a
EC
1644 * regcache.c (deprecated_grub_regcache_for_registers)
1645 (struct regcache, regcache_save, regcache_restore, regcache_cpy)
1646 (do_cooked_read, regcache_xmalloc, register_buffer)
1647 (deprecated_read_register_bytes, regcache_raw_read)
1648 (regcache_raw_read_signed, regcache_raw_read_unsigned)
1649 (deprecated_read_register_gen, regcache_cooked_read)
1650 (regcache_cooked_read_signed, regcache_cooked_read_unsigned)
1651 (deprecated_write_register_gen, regcache_cooked_write)
1652 (deprecated_write_register_bytes, regcache_raw_read_part)
1653 (regcache_raw_write_part, regcache_cooked_read_part)
1654 (regcache_cooked_write_part, read_register, regcache_raw_supply):
2d522557 1655
181124bc
CV
16562005-05-17 Corinna Vinschen <vinschen@redhat.com>
1657
1658 * MAINTAINERS: Undelete v850.
1659 * Makefile.in: Re-add v850-tdep.o dependencies.
1660 * configure.tgt: Re-add v850.
1661 * v850-tdep.c: Reorder code slightly. Add register number enumerator.
1662 (struct v850_frame_cache): New structure.
1663 (v850_processor_type_table): Remove. Move functionality into
1664 v850_register_name, v850e_register_name and v850_gdbarch_init.
1665 (v850_register_name): New function.
1666 (v850e_register_name): New function.
1667 (struct prologue_info): Remove definition.
1668 (v850_register_type): New function.
1669 (v850_type_is_scalar): New function.
1670 (v850_use_struct_convention): Align to gcc behaviour.
1671 (v850_handle_prepare): Renamed from handle_prepare. Change third
1672 parameter to struct v850_frame_cache *.
1673 (v850_handle_pushm): Renamed from handle_pushm. Change third parameter
1674 to struct v850_frame_cache *.
1675 (v850_is_save_register): New function to evaluate if a register is
1676 caller-save.
1677 (v850_analyze_prologue): Replace v850_scan_prologue. Change to support
1678 new frame code.
1679 (v850_init_extra_frame_info): Remove.
1680 (v850_frame_chain): Remove.
1681 (v850_find_callers_reg): Remove.
1682 (v850_skip_prologue): Make static.
1683 (v850_pop_frame): Remove.
1684 (v850_frame_align): New function.
1685 (v850_push_dummy_call): Replace v850_push_arguments.
1686 (v850_push_return_address): Remove.
1687 (v850_extract_return_value): New function.
1688 (v850_store_return_value): New function.
1689 (v850_return_value): New function.
1690 (v850_frame_saved_pc): Remove.
1691 (v850_breakpoint_from_pc): New function.
1692 (v850_alloc_frame_cache): New function.
1693 (v850_fix_call_dummy): Remove.
1694 (v850_frame_cache): New function.
1695 (v850_target_architecture_hook): Remove.
1696 (v850_frame_prev_register): New function.
1697 (v850_frame_this_id): New function.
1698 (v850_frame_unwind): New structure.
1699 (v850_frame_sniffer): New function.
1700 (v850_unwind_sp): New function.
1701 (v850_unwind_pc): New function.
1702 (v850_unwind_dummy_id): New function.
1703 (v850_frame_base_address): New function.
1704 (v850_frame_base): New structure.
1705 (v850_gdbarch_init): New function.
1706 * config/v850/v850.mt: Undelete. Drop TM_FILE.
1707
76ff342d
DJ
17082005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1709 Dennis Brueni <dennis@slickedit.com>
1710
1711 * stack.c (print_frame): In MI mode, output a fullname attribute
1712 with the stack frame.
1713
d01e66a5
MK
17142005-05-16 Mark Kettenis <kettenis@gnu.org>
1715
961cb7b5
MK
1716 * corelow.c (core_xfer_partial): Change type of readbuf and
1717 writebuf to `gdb_byte *'.
1718 * sparc-nat.c (sparc_xfer_wcookie, sparc_xfer_partial): Change
1719 type of readbuf and writebuf to `gdb_byte *'.
1720 * bsd-uthread.c (bsd_uthread_xfer_partial): Change type of readbuf
1721 and writebuf to `gdb_byte *'.
1722 * inf-ptrace.c (inf_ptrace_xfer_partial): Change type of readbuf
1723 and writebuf to `gdb_byte *'.
1724 * bsd-kvm.c (bsd_kvm_xfer_memory): Replace.
1725 (bsd_kvm_xfer_partial): New function.
1726 (bsd_kvm_add_target): Set to_xfer_partial instead of
1727 to_xfer_memory.
1728 * bfd-target.c (target_bfd_xfer_partial): Change type of readbuf
1729 and writebuf to `gdb_byte *'.
1730 * target.c (deprecated_debug_xfer_memory): Remove prototype.
1731 (deprecated_debug_xfer_memory): Change type of second argument to
1732 `gdb_byte *'.
1733 * remote.c (remote_xfer_memory): Remove prototype.
1734 (remote_xfer_memory): Change type of second argument to `gdb_byte
1735 *'.
1736 (remote_xfer_partial): Change type of readbuf and writebuf to
1737 `gdb_byte *'.
1738
d01e66a5
MK
1739 * config/sparc/fbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
1740 * config/sparc/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
1741 and solib-legacy.o.
1742 (NAT_FILE): Remove.
1743
43af2100
UW
17442005-05-16 Ulrich Weigand <uweigand@de.ibm.com>
1745
1746 * s390-tdep.c (s390_return_value): Remove unnecessary casts.
1747 (s390_breakpoint_from_pc): Change type of return value and
1748 'breakpoint' to const gdb_byte *.
1749
2e82d168
UW
17502005-05-16 Ulrich Weigand <uweigand@de.ibm.com>
1751
1752 * s390-tdep.c (s390_pseudo_register_read, s390_pseudo_register_write):
1753 Change type of 'buf' argument to gdb_byte *.
1754 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
1755 (s390_register_to_value): Change type of 'out' to gdb_byte *, change
1756 type of 'in' to gdb_byte [].
1757 (s390_value_to_register): Change type of 'in' to gdb_byte *, change
1758 type of 'out' to gdb_byte [].
1759 (s390_return_value): Change type of 'out' and 'in' to gdb_byte *.
1760
1b0ba102
AC
17612005-05-16 Andrew Cagney <cagney@gnu.org>
1762
1763 * target.h (target_read_partial, target_write_partial)
1764 (do_xfer_memory, xfer_memory, target_read, target_write)
1765 (get_target_memory): For buffers, change "void*" to gdb_byte.
1766 (struct target_ops): Ditto for to_xfer_partial and
1767 deprecated_xfer_memory.
1768 * dcache.h (dcache_xfer_memory): Ditto.
e04e8f8a
EC
1769 * target.c (default_xfer_partial, target_read_partial)
1770 (target_write_partial, target_read, target_write)
1b0ba102
AC
1771 (do_xfer_memory, update_current_target, get_target_memory): Update.
1772 (target_read_string): Change buf to a gdb_byte.
1773 * dcache.c (dcache_xfer_memory): Update.
1774 * exec.c (xfer_memory): Make buffer type to gdb_byte.
1775 * mem-break.c (default_memory_insert_breakpoint): Remove cast.
1776 * disasm.c (dis_asm_read_memory): Remove cast, use gdb_byte.
1777
f3e25dcb
MK
17782005-05-16 Mark Kettenis <kettenis@gnu.org>
1779
65a19707
MK
1780 * sol-thread.c (ignore): Change last argument to `gdb_byte.'
1781
9aa6bcd8
MK
1782 * config/i386/fbsd.mt (DEPRECATED_TM_FILE): Remove.
1783 * config/i386/fbsd64.mt (DEPRECATED_TM_FILE): Remove.
1784 * config/i386/nbsd.mt (DEPRECATED_TM_FILE): Remove.
1785 * config/i386/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
1786 * config/sparc/nbsd.mt (DEPRECATED_TM_FILE): Remove.
1787 * config/sparc/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
1788
f3e25dcb
MK
1789 * observer.sh: Quote $DJGPP.
1790
42ecbf5e
DJ
17912005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
1792
1793 * Makefile.in (.y.c): Update ylwrap invocation.
1794
58aecb61
DJ
17952005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
1796
1797 * linux-nat.c (child_follow_fork, linux_handle_extended_wait)
1798 (lin_lwp_attach_lwp, linux_nat_attach, wait_lwp, child_wait)
1799 (linux_nat_wait, kill_wait_callback): Use my_waitpid.
1800 (_initialize_linux_nat, lin_thread_get_thread_signals): Use
1801 SA_RESTART.
1802
42835c2b
MK
18032005-05-14 Mark Kettenis <kettenis@gnu.org>
1804
a5bf92c5
MK
1805 * configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.
1806 * config/vax/obsd.mt (TDEPFILES): New file.
1807
156cdbee
MK
1808 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use
1809 gdb_byte instead of bfd_byte.
1810
47a35522
MK
1811 * mips-tdep.c (mips_pseudo_register_read)
1812 (mips_pseudo_register_write): Change type of last argument to
1813 `gdb_byte *'.
1814 (mips_register_to_value, mips_value_to_register): Change type of
1815 last argument to `gdb_byte *'. Remove casts that are no longer
1816 needed.
1817 (mips_fetch_instruction, fetch_mips_16): Use gdb_byte for buf.
1818 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
1819 (mips_o32_push_dummy_call, mips_o32_return_value): Use `const
1820 gdb_byte *' for val and gdb_byte for valbuf. Remove casts that
1821 are no longer needed.
1822 (mips_eabi_return_value, mips_n32n64_return_value)
1823 (mips_o32_return_value, mips_o64_return_value): Change type of
1824 readbuf and writebuf arguments to `gdb_byte *'.
1825 (mips_read_fp_register_single): Change type of last argument to
1826 `gdb_byte *'. Use `gdb_byte *' for raw_buffer.
1827 (mips_read_fp_register_double): Change type of last argument to
1828 `gdb_byte *'.
1829 (mips_print_fp_register): Use `gdb_byte *' for raw_buffer. Remove
1830 casts that are no longer needed.
1831 (mips_print_register, print_gp_register_row): Use gdb_byte for
1832 raw_buffer. Remove casts that are no longer needed.
1833 (mips_single_step_through_delay): Use gdb_byte for buf.
1834 (mips_breakpoint_from_pc): Change return type to `const gdb_byte
1835 *'. Use gdb_byte for mips16_big_breakpoint, big_breakpoint,
1836 pmon_big_breakpoint, idt_big_breakpoint, mips16_little_breakpoint,
1837 little_breakpoint, pmon_little_breakpoint and
1838 idt_little_breakpoint.
1839 (mips_integer_to_address): Use `gdb_byte *' for tmp.
1840
c872b717
MK
1841 * config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.
1842 * config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove.
1843 * config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove.
1844 * config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove.
1845 * config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove.
1846 * config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.
1847
e1613aba
MK
1848 * sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): Use
1849 gdb_byte for buf.
1850 (sparc32_pseudo_register_read, sparc32_pseudo_register_write):
1851 Change type of last argument to `gdb_byte *'. Remove casts that
1852 are no longer needed.
1853 (sparc32_push_dummy_code, sparc32_store_arguments): Use gdb_byte
1854 for buf.
1855 (sparc_breakpoint_from_pc): Change return type to `const gdb_byte
1856 *'. Use gdb_byte for break_insn.
1857 (sparc32_extract_return_value, sparc32_store_return_value): Change
1858 type of last argument to `gdb_byte *'. Use gdb_byte for buf.
1859 (sparc32_return_value): Change type of readbuf and writebuf
1860 arguments to `gdb_byte *'.
1861 (sparc_software_single_step): Use gdb_byte for npc_save and
1862 nnpc_save.
1863 (sparc_supply_rwindow, sparc_collect_rwindow): Use gdb_byte for
1864 buf.
1865 (sparc32_supply_gregset, sparc32_collect_gregset)
1866 (sparc32_supply_fpregset, sparc32_collect_fpregset): Use `gdb_byte
1867 *' for regs.
1868 * sparc64-tdep.c (sparc64_pseudo_register_read)
1869 (sparc64_pseudo_register_write): Change type of last argument to
1870 `gdb_byte *'. Remove casts that are no longer needed.
1871 (sparc64_store_floating_fields, sparc64_extract_floating_fields):
1872 Change type of valbuf argument to `gfd_byte *'.
1873 (sparc64_store_arguments): Use `gdb_byte *' for valbuf. use
1874 gdb_byte for buf.
1875 (sparc64_extract_return_value, sparc64_store_return_value): Change
1876 type of last argument to `gdb_byte *'. Use gdb_byte for buf.
1877 (sparc64_return_value): Change type of readbuf and writebuf
1878 arguments to `gdb_byte *'.
1879 (sparc64_supply_gregset, sparc64_collect_gregset)
1880 (sparc64_supply_fpregset, sparc64_collect_fpregset): Use `gdb_byte
1881 *' for regs.
1882
f5cf7aa1
MK
1883 * m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type
1884 to `const gdb_byte *'. Use gdb_byte for break_insn.
1885 (m68k_register_to_value): Change type of last argument to
1886 `gdb_byte *'. Use gdb_byte for from.
1887 (m68k_value_to_register): Change type of last argument to
1888 `gdb_byte *'. Use gdb_byte for to.
1889 (m68k_extract_return_value): Change type of last argument to
1890 `gdb_byte *'. Use gdb_byte for buf. Remove unnecessary cast.
1891 (m68k_svr4_extract_return_value): Change type of last argument to
1892 `gdb_byte *'. Use gdb_byte for buf.
1893 (m68k_store_return_value): Change type of last argument to
1894 `gdb_byte *'. Remove unnecessary cast.
1895 (m68k_svr4_store_return_value): Change type of last argument to
1896 `gdb_byte *'. Use gdb_byte for buf.
1897 (m68k_return_value, m68k_svr4_return_value): Change type of
1898 readbuf and writebuf arguments to `gdb_byte *'.
e04e8f8a 1899 (m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache)
f5cf7aa1
MK
1900 (m68k_unwind_dummy_id): Use gdb_byte for buf.
1901 (m68k_get_longjmp_target): Use `gdb_byte *' for buf.
e04e8f8a 1902 * m68kbsd-tdep.c (m68kbsd_supply_fpregset)
f5cf7aa1
MK
1903 (m68kbsd_supply_gregset): Use `gdb_byte *' for regs.
1904
8dccaca3
MK
1905 * m88k-tdep.c (m88k_breakpoint_from_pc): Change return type to
1906 `const gdb_byte *'. Use gdb_byte for break_insn.
1907 (m88k_return_value): Change type of readbuf and
1908 writebuf arguments to `gdb_byte *'. Use gdb_byte for buf.
1909 (m88k_supply_gregset): Use `gdb_byte *' for regs.
1910
459f20b9
MK
1911 * vax-tdep.c (vax_return_value): Change type of readbuf and
1912 writebuf arguments to `gdb_byte *'.
1913
42835c2b
MK
1914 * amd64-tdep.c (amd64_return_value): Change type of readbuf and
1915 writebuf arguments to `gdb_byte *'. Remove now redundant casts.
1916 * i386-tdep.c (i386_return_value): Change type of readbuf and
1917 writebuf arguments to `gdb_byte *'.
1918 (i386_pseudo_register_read, i386_pseudo_register_write): Change
1919 type of last argument to `gdb_byte *'.
1920 (i386_register_to_value, i386_value_to_register): Change type of
1921 last argument to `gdb_byte *'. Simplify function a bit.
1922 * i387-tdep.h (i387_value_to_register, i387_register_to_value):
1923 Change type of last argument to `gdb_byte *'.
1924 * i387-tdep.c: Likewise.
1925
b60c417a
AC
19262005-05-13 Andrew Cagney <cagney@gnu.org>
1927
1928 * gdbarch.sh (pseudo_register_read, pseudo_register_write)
1929 (value_to_register, register_to_value, pointer_to_address)
1930 (address_to_pointer, return_value, extract_return_value)
1931 (store_return_value): Instead of a void pointer, use gdb_byte.
1932 * gdbarch.h, gdbarch.c: Regenerate.
1933 * inferior.h (unsigned_address_to_pointer)
1934 (signed_pointer_to_address, address_to_signed_pointer)
1935 (unsigned_pointer_to_address): Update.
e04e8f8a 1936 * arch-utils.h (legacy_return_value):
b60c417a
AC
1937 * arch-utils.c (legacy_extract_return_value)
1938 (legacy_return_value): Update.
e04e8f8a
EC
1939 * findvar.c (unsigned_pointer_to_address)
1940 (signed_pointer_to_address, unsigned_address_to_pointer)
b60c417a
AC
1941 (address_to_signed_pointer): Update.
1942
bdd56253
OF
19432005-05-13 Orjan Friberg <orjanf@axis.com>
1944
1945 * cris-tdep.c (_initialize_cris_tdep): Improve help strings for
1946 cris-version, cris-mode, and cris-dwarf2-cfi settings.
1947
0e6bdb31
OF
19482005-05-13 Orjan Friberg <orjanf@axis.com>
1949
1950 * cris-tdep.c (usr_cmd_cris_version): Change type to int.
1951 (cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add.
1952 (struct gdbarch_tdep): Change type of cris_version to int. Add
1953 cris_mode.
1954 (cris_mode, set_cris_mode): New functions.
1955 (crisv32_single_step_through_delay): Read from NRP register instead
1956 of ERP register in guru mode.
1957 (cris_breakpoint_from_pc): Rename break_insn to break8_insn.
1958 Add break15_insn, returned in guru mode.
e04e8f8a 1959 (_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new
0e6bdb31
OF
1960 cris-mode setting.
1961 (cris_dump_tdep): Add dump of cris_mode.
1962 (cris_gdbarch_init): Add cris_mode to search criteria for architecture.
1963 Register the sigtramp frame sniffer only if not in guru mode.
e04e8f8a 1964
1e872def
EZ
19652005-05-13 Eli Zaretskii <eliz@gnu.org>
1966
1967 * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
1968
1969 * go32-nat.c: Include top.h. Update copyright years.
1970 (init_go32_ops): Override the default value of gdbinit[] with
1971 "gdb.ini".
1972
1973 * cli/cli-cmds.c: Don't define GDBINIT_FILENAME.
1974 (init_cli_cmds): Use gdbinit[] instead of a compile-time literal
1975 string GDBINIT_FILENAME.
1976
1977 * top.c (PATH_MAX): Define if not defined.
1978 (gdbinit): Declare with a constant size PATH_MAX.
1979
1980 * config/i386/go32.mh (XM_FILE): Remove.
1981
1982 * config/i386/xm-go32.h: Remove file.
1983
e0ecbda1
MK
19842005-05-12 Mark Kettenis <kettenis@gnu.org>
1985
d45b6f32
MK
1986 * sol-thread.c: Include "solib.h".
1987 (sol_thread_attach): Use solib_add instead of SOLIB_ADD.
1988 * Makefile.in (sol-thread.o): Update dependencies.
1989
e0ecbda1
MK
1990 * NEWS: Mention OpenBSD/mips64 as a new native configuration.
1991
5711a8b0
EZ
19922005-05-12 Eli Zaretskii <eliz@gnu.org>
1993
1994 * observer.sh (texi) [DJGPP]: If the file name includes a colon,
1995 convert it to the /dev/x/ form.
1996
a77053c2
MK
19972005-05-12 Mark Kettenis <kettenis@gnu.org>
1998
1999 * solib.h (CLEAR_SOLIB, SOLIB_ADD)
2000 (SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK)
2001 (SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART)
2002 (DISABLE_UNSETTABLE_BREAK, PC_SOLIB)
2003 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned
2004 comments.
2005 * breakpoint.c: Include "solib.h".
2006 (insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call
2007 solib_address.
2008 (remove_solib_event_breakpoints, create_solib_event_breakpoint)
2009 (disable_breakpoints_in_shlibs)
2010 (disable_breakpoints_in_unloaded_shlib)
2011 (re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't
2012 defined. If PC_SOLIB isn't defined, call solib_address.
2013 (_initialize_breakpoint): Unconditionally install observer.
2014 * corelow.c: Include "solib.h".
2015 [SOLIB_ADD] (solib_add_stub): Remove prototype.
2016 (core_close) [!CLEAR_SOLIB]: Call clear_solib.
2017 (solib_add_stub) [!SOLIB_ADD] Call solib_add.
2018 (core_open): Unconditionally call solib_add_stub.
2019 * fork-child.c: Include "solib.h".
2020 (fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
2021 solib_create_inferior_hook.
2022 * infcmd.c: Include "solib.h".
2023 (attach_command) [!SOLIB_ADD]: Call shlib_rescan. Unconditionally
2024 call re_enable_breakpoints_in_shlibs.
2025 * infrun.c: Include "solib.h".
2026 (SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already
2027 defined.
2028 (stop_on_solib_events, show_stop_on_solib_events): Include
2029 unconditionally.
2030 (follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
2031 solib_create_inferior_hook.
2032 (handle_inferior_event) [!SOLIB_ADD]: Call shlib_add.
2033 [!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code.
2034 (_initialize_infrun): Unconditionally add "stop_on_solib-events"
2035 command.
2036 * remote.c: Include "solib.h".
2037 (remote_open_1): Unconditionally call no_shared_libraries.
2038 [!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook.
2039 * stack.c: Include "solib.h".
2040 (print_frame) [!PC_SOLIB] Call shlib_for_pc.
2041 * xcoffsolib.c (no_shared_libraries): Remove function.
2042 * Makefile.in (SFILES): Add solib.c.
2043 (ALLDEPFILES): Remove solib.c.
2044 (COMMON_OBS): Add solib.o.
2045 (breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o)
2046 (remote.o, stack.o): Update dependencies.
2047
847f5ce8
DJ
20482005-05-12 Daniel Jacobowitz <dan@codesourcery.com>
2049
2050 * cp-names.y: Renamed to ...
2051 * cp-name-parser.y: ... this.
2052 * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
2053 cp-name-parser.y.
2054 (test-cp-names.o): Renamed to test-cp-name-parser.o.
2055 (test-cp-names): Renamed to test-cp-name-parser.
2056 (clean, local-maintainer-clean): Update.
2057 (cp-names.o): Renamed to cp-name-parser.o.
2058
b41cde44
EZ
20592005-05-12 Eli Zaretskii <eliz@gnu.org>
2060
15c3c5c6
EZ
2061 * observer.sh: Use observer.tmp instead of observer.inc-tmp which
2062 on 8+3 filesystems overwrites observer.inc. Update copyright year
2063 of the resultant file.
2064
358777b0
EZ
2065 * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
2066 is_gnu_v3_mangled_ctor to avoid compiler warnings.
2067
b41cde44
EZ
2068 * config/djgpp/config.sed: Adapt to latest Autoconf.
2069
2070 * config/djgpp/djconfig.sh: Add -Wpointer-arith and
2071 -Wuninitialized to the build warnings.
2072
0d4fc997
EZ
20732005-05-11 Eli Zaretskii <eliz@gnu.org>
2074
6791e1b1
EZ
2075 * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
2076 ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
2077 Fix mappings for hilo-hazard-?.s.
2078
0d4fc997
EZ
2079 * config/djgpp/README: Update GDB versions and my email address.
2080
fc1a4b47
AC
20812005-05-09 Andrew Cagney <cagney@gnu.org>
2082
2083 Use gdb_byte in preference to bfd_byte.
2084 * gdbarch.sh: Update.
2085 * gdbarch.h, gdbarch.c: Re-generate.
2086 * ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update.
2087 * c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update.
2088 * f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update.
2089 * jv-valprint.c, language.c, language.h, m2-lang.c: Update.
2090 * m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update.
2091 * p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update.
2092 * scm-lang.h, scm-valprint.c, target.c, target.h: Update.
2093 * tramp-frame.c, valarith.c, valops.c, valprint.c: Update.
2094 * valprint.h, value.c, value.h: Update.
2095
8b04f8b6
MK
20962005-05-09 Mark Kettenis <kettenis@gnu.org>
2097
8cc49c48
MK
2098 * vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
2099 Use `gdb_byte *' for regs.
2100 * vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs;
2101 (vax_store_arguments, vax_push_dummy_call, vax_return_value): Use
2102 gdb_byte for buf.
2103 (vax_breakpoint_from_pc): Change return type to `const gdb_byte
2104 *'. Use gdb_byte for break_insn.
2105 (vax_skip_prologue): Use gdb_byte for op.
2106
8142f7cb
MK
2107 * i387-tdep.c: Remove outdated comments.
2108
8b04f8b6
MK
2109 * defs.h: Unconditionally include <sys/types.h>.
2110
979b38e0
DJ
21112005-05-08 Daniel Jacobowitz <dan@codesourcery.com>
2112
2113 * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
2114 section like .plt.
2115
9cedd1a6 21162005-05-08 Mark Kettenis <kettenis@gnu.org>
d8de1ef7 2117
4252dc94
MK
2118 * i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):
2119 Change type to `static const gdb_byte'.
e04e8f8a 2120 (i386_linux_sigtramp_start, i386_linux_rt_sigtramp_start)
4252dc94
MK
2121 (i386_linux_sigcontext_addr): Use gdb_byte for buf.
2122 * amd64-linux-tdep.c (linux_sigtramp_code): Change type to `static
2123 const gdb_byte'.
2124 (amd64_linux_sigtramp_start, amd64_linux_sigcontext_addr): Use
2125 gdb_byte for buf.
e04e8f8a 2126 * amd64fbsd-tdep.c (amd64fbsd_supply_uthread)
4252dc94
MK
2127 (amd64fbsd_collect_uthread): Use gdb_byte for buf.
2128
d46bfb5c
MK
2129 * config/ia64/nm-aix.h: Remove file.
2130
d8de1ef7
MK
2131 * amd64-tdep.c (amd64_return_value): Use `gdb_byte *' in casts.
2132 (amd64_push_arguments): Use gdb_byte instead of bfd_byte. Use
2133 gdb_byte for buf.
2134 (amd64_push_dummy_call): Use gdb_byte for buf.
2135 (amd64_analyze_prologue): Use gdb_byte for proto, buf and op.
2136 (amd64_frame_cache, amd64_sigtramp_frame_cache)
2137 (amd64_unwind_dummy_id): Use gdb_byte for buf.
2138 (amd64_supply_fxsave, amd64_collect_fxsave): Use `gdb_byte *' for
2139 regs.
2140 * amd64obsd-tdep.c (amd64obsd_supply_regset): Use `gdb_byte *' in
2141 casts.
2142 (amd64obsd_sigtramp_p): Use gdb_byte for sigreturn and `gdb_byte
2143 *' for buf,
9cedd1a6 2144
63c0089f
MK
2145 * i386-tdep.c (i386_breakpoint_from_pc): Change return type to
2146 `const gdb_byte *'. Use gdb_byte for break_insn.
2147 (i386_follow_jump): Use gdb_byte for op.
2148 (i386_analyze_struct_return): Use gdb_byte for proto1, proto2, buf
2149 and op.
2150 (i386_skip_probe): Use gdb_byte for buf and op.
2151 (struct i386_insn): Use gdb_byte for insn and mask.
2152 (i386_match_insn, i386_analyze_frame_setup)
2153 (i386_analyze_register_saves): Use gdb_byte for op.
2154 (i386_skip_prologue): Use gdb_byte for pic_pat and op;
2155 (i386_unwind_pc, i386_frame_cache, i386_sigtramp_frame_cache)
2156 (i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for
2157 buf.
2158 (i386_extract_return_value, i386_store_return_value): Use
e447028c 2159 `gdb_byte *' instead of `void *' for valbuf argument. Remove now
63c0089f
MK
2160 redundant cast.
2161 (i386_pseudo_register_read, i386_pseudo_register_write): Use
2162 gdb_byte for mmx_buf.
2163 (i386_register_to_value, i386_value_to_register): Use `gdb_byte *'
2164 instead of `char *' for buf.
2165 (i386_supply_gregset, i386_collect_gregset): Use `gdb_byte *'
2166 instead of `char *' for regs.
2167 (i386_svr4_sigcontext_addr): Use gdb_byte for buf.
2168 * i386obsd-tdep.c (i386obsd_sigtramp_p): Use gdb_byte for
2169 sigreturn and `gdb_byte *' for buf.
2170 (i386obsd_aout_supply_regset): Use `const gdb_byte *' in cast.
2171 (i386obsd_supply_uthread, i386obsd_collect_uthread): Use gdb_byte
2172 for buf.
2173 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use gdb_byte for buf.
2174
b57b6c2e
MK
2175 * defs.h (gdb_byte): New typedef. Tweak comments.
2176
9cedd1a6
MK
2177 * target.h (target_link): Remove prototype.
2178 * target.c (target_link): Remove function.
2179 * symfile.c: Remove comment about rombug.
2180
f8736ddf
MK
21812005-05-04 Mark Kettenis <kettenis@gnu.org>
2182
2183 * config/i386/cygwin.mh (XM_FILE): Remove variable.
2184 * config/i386/xm-cygwin.h: Remove file.
2185
8bbde302
BE
21862005-05-03 Ben Elliston <bje@au.ibm.com>
2187
2188 * infrun.c (handle_inferior_event): Update the comment about users
2189 of stepped_after_stopped_by_watchpoint.
2190
079c8cd0
CV
21912005-05-02 Corinna Vinschen <vinschen@redhat.com>
2192
2193 * MAINTAINERS: Remove hint that sh64 doesn't build.
2194 * sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
2195 (sh64_do_fp_register): make raw_buffer unsigned.
2196 (sh64_do_register): Ditto.
2197
5ebc08b0
MK
21982005-05-02 Mark Kettenis <kettenis@gnu.org>
2199
2200 * bsd-uthread.c: Include "solib.h".
2201 * Makefile.in (bsd-uthread.o): Update dependencies.
2202
5dbe23a3
DJ
22032005-05-01 Daniel Jacobowitz <dan@codesourcery.com>
2204
2205 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
2206 cached frames when changing gdbarch.
2207 * gdbarch.c: Regenerated.
2208
5a168c78
AC
22092005-05-01 Andrew Cagney <cagney@gnu.org>
2210
87d088f5
AC
2211 * MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
2212 do not build.
2213
5a168c78
AC
2214 * gdbarch.sh (deprecated_extract_return_value)
2215 (breakpoint_from_pc, deprecated_store_return_value)
2216 (memory_insert_breakpoint, memory_remove_breakpoint): Change type
2217 of buffer to a bfd_byte pointer.
2218 * gdbarch.h, gdbarch.c: Re-generate.
e04e8f8a 2219 * mem-break.c (memory_insert_breakpoint)
5a168c78
AC
2220 (memory_remove_breakpoint, default_memory_insert_breakpoint)
2221 (default_memory_remove_breakpoint): Update.
2222 * target.h (memory_insert_breakpoint)
2223 (memory_remove_breakpoint, default_memory_insert_breakpoint)
2224 (default_memory_remove_breakpoint): Update declarations.
2225 (struct target_ops): Update to_insert_breakpoint and
2226 to_remove_breakpoint.
e04e8f8a 2227 * target.c (debug_to_remove_breakpoint)
5a168c78 2228 (debug_to_insert_breakpoint): Update.
e04e8f8a 2229 * remote-m32r-sdi.c (m32r_remove_breakpoint)
5a168c78 2230 (m32r_insert_breakpoint): Update.
e04e8f8a 2231 * m32r-tdep.c (m32r_memory_insert_breakpoint)
5a168c78 2232 (m32r_memory_remove_breakpoint): Update.
e04e8f8a 2233 * remote-e7000.c (e7000_insert_breakpoint)
5a168c78 2234 (e7000_remove_breakpoint): Update.
e04e8f8a 2235 * remote-rdi.c (arm_rdi_insert_breakpoint)
5a168c78 2236 (arm_rdi_remove_breakpoint): Update.
e04e8f8a 2237 * remote-sim.c (gdbsim_insert_breakpoint)
5a168c78
AC
2238 (gdbsim_remove_breakpoint): Update.
2239 * exec.c (ignore): Update.
2240 * rs6000-tdep.c (rs6000_extract_return_value): Update.
e04e8f8a 2241 * ia64-tdep.c (ia64_memory_insert_breakpoint)
5a168c78 2242 (ia64_memory_remove_breakpoint): Update.
e04e8f8a 2243 * remote-rdp.c (remote_rdp_insert_breakpoint)
5a168c78
AC
2244 (remote_rdp_remove_breakpoint): Update.
2245
68b9939a
MK
22462005-05-01 Mark Kettenis <kettenis@gnu.org>
2247
e908eab4
MK
2248 * somsolib.c, somsolib.h: Remove files.
2249 * Makefile.in (somsolib_h): Remove.
2250 (somsolib.o): Remove dependency.
2251
68b9939a
MK
2252 * fbsd-nat.c: Include <sys/sysctl.h>.
2253 (fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
2254 available. Plug memory leak. Fixes PR gdb/1922.
2255
66aba65d
MK
22562005-04-29 Mark Kettenis <kettenis@gnu.org>
2257
e04e8f8a
EC
2258 * solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
2259 (TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
2260 (TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
66aba65d
MK
2261 (TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
2262 * solib.c (solib_data): New variable.
2263 (solib_init, solib_ops): New functions.
2264 (solib_open, solib_map_sections, free_so, update_solib_list)
2265 (solib_add, clear_solib, solib_create_inferior_hook)
2266 (in_solib_dynsym_resolve_code): Call architecture-dependent code
2267 using solib_ops.
2268 (_initialize_solib): Register SOLIB_DATA.
2269
35e08e03
KB
22702005-04-29 Kevin Buettner <kevinb@redhat.com>
2271
2272 * frv-tdep.c (find_func_descr): Verify that entry point can be
2273 found in symbol table prior to looking up its function descriptor.
2274 * solib-frv.c (find_canonical_descriptor_in_load_object): Add
2275 test for non-NULL link map.
2276
862ba188
CV
22772005-04-29 Corinna Vinschen <vinschen@redhat.com>
2278
2279 * MAINTAINERS: Revert h8300 state to un-deleted.
2280 * Makefile.in: Re-add h8300-tdep.o dependencies.
2281 * h8300-tdep.c: Slightly rearrange type definitions and functions.
2282 (struct frame_extra_info): Remove.
2283 (struct h8300_frame_cache): Replace locals with differently defined
2284 uses_fp member.
2285 (h8300_unwind_pc): Simplify.
2286 (h8300_unwind_sp): New function.
2287 (h8300_unwind_dummy_id): Simplify.
2288 (h8300_init_frame_cache): New function.
2289 (h8300_is_argument_spill): Use reworked defines for opcode scanning.
2290 (h8300_skip_prologue): Rewrite.
2291 (h8300_alloc_frame_cache): Remove.
2292 (h8300_analyze_frame_setup): Remove.
2293 (h8300_analyze_register_saves): Remove.
2294 (h8300_analyze_prologue): Rewrite.
2295 (h8300_frame_cache): Use h8300_init_frame_cache instead of
2296 h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to
2297 accomodate 16 bit mode. Fix saved_sp and register offset evaluation.
2298 (h8300_frame_this_id): Correctly calculate this_id using saved stack
2299 pointer instead of base.
2300 (h8300_frame_prev_register): Drop needless braces.
2301 (h8300_frame_base_address): New function.
2302 (h8300_frame_base): New frame_base.
2303 (h8300_push_dummy_call): Return correct CFA value.
2304 (h8300h_extract_return_value): Fix 8 byte value handling.
2305 (h8300_use_struct_convention): New function.
2306 (h8300h_use_struct_convention): New function.
2307 (h8300h_store_return_value): Fix 8 byte value handling.
2308 (h8300_return_value): New function.
2309 (h8300h_return_value): New function.
2310 (h8300_extract_struct_value_address): Remove deprecated functionality.
2311 (h8300_push_dummy_code): Remove.
2312 (h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and
2313 set_gdbarch_store_return_value calls by set_gdbarch_return_value.
2314 Remove calls to set_gdbarch_deprecated_fp_regnum,
2315 set_gdbarch_deprecated_extract_struct_value_address,
2316 set_gdbarch_deprecated_use_struct_convention and
2317 set_gdbarch_push_dummy_code.
2318 Add calls to set_gdbarch_unwind_sp and frame_base_set_default.
2319 Slightly rearrange code.
2320
3a913e29
JB
23212005-04-28 Jim Blandy <jimb@redhat.com>
2322
2323 * parse.c (namecopy): Change allocation conventions.
2324 (namecopy_size): New variable.
2325 (copy_name): Allocate namecopy using xrealloc, instead of assuming
2326 it has adequate space allocated to it.
2327 (parse_exp_1): Don't try to allocate space for namecopy here.
2328
a955ca71
EZ
23292005-04-28 Eli Zaretskii <eliz@gnu.org>
2330
2331 * cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
2332 set, use symtab_to_fullname, instead of trying to do its job. Use
2333 xstrprintf instead of malloc and sprintf.
2334
46845f5e
KB
23352005-04-28 Kevin Buettner <kevinb@redhat.com>
2336
2337 * remote.c (init_remote_state): Eliminate use of
2338 deprecated_register_bytes().
2339
8929e59d
AC
23402005-04-28 Andrew Cagney <cagney@gnu.org>
2341
2342 * valops.c (check_field): Make buffer a bfd_byte.
e04e8f8a 2343 * value.c (unpack_long, unpack_double, unpack_pointer)
8929e59d
AC
2344 (unpack_field_as_long, modify_field): Ditto.
2345 * value.h: Update declarations.
2346
cade9e54
PB
23472005-04-28 Paul Brook <paul@codesourcery.com>
2348
2349 * exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
2350
4b188b9f
MK
23512005-04-27 Mark Kettenis <kettenis@gnu.org>
2352
ab576d85
MK
2353 * solib-svr4.c (_initialize_svr4_solib)
2354 [SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
2355 svr4_legacy_fetch_link_map_offsets.
2356
ccf00f21
MK
2357 * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
2358 (sh_gdbarch_init): Remove redundant prototype.
2359 * sh-linux-tdep.c: New file.
2360 * config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets):
2361 Remove prototype.
2362 (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define.
2363 * config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove
2364 solib-legacy.o.
2365 * Makefile.in (sh-linux-tdep.o): New.
2366
4b188b9f
MK
2367 * solib-svr4.c: Update copyright year. Include "gdb_assert.h".
2368 (SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already
2369 defined.
2370 (legacy_fetch_link_map_offsets): Remove prototype.
2371 (fetch_link_map_offsets_gdbarch_data): Remove.
2372 (LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY)
2373 (first_link_map_member, open_symbol_file_object, svr4_current_sos)
2374 (svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets
2375 instead of SVR4_FETCH_LINK_MAP_OFFSETS.
2376 (solib_svr4_data): New variable.
2377 (struct solib_svr4_ops): New.
2378 (solib_svr4_init): New fynction.
2379 (legacy_fetch_link_map_offsets, init_fetch_link_map_offsets):
2380 Remove functions.
2381 (svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite
2382 using the new `struct solib_svr4_ops'.
2383 (_initialize_svr4_solib): Replace registration of per-architecture
2384 data. Add temporary hack to set
2385 svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS
2386 is set.
2387 * Makefile.in (solib-svr4.o): Update dependencies.
2388
4fabe3d5
MK
23892005-04-26 Mark Kettenis <kettenis@gnu.org>
2390
2391 * configure.tgt (*-*-freebsd*): Set gdb_osabi to
2392 GDB_OSABI_FREEBSD_ELF. Partial fix for PR gdb/1922.
2393
109c3e39
AC
23942005-04-26 Andrew Cagney <cagney@gnu.org>
2395
2396 * remote.c (remote_open_1): Move "ex"'s declaration to where it is
2397 used.
2398 (remote_get_thread_local_address): Use throw_error, include a
2399 printed string.
2400 * linux-thread-db.c (thread_db_get_thread_local_address): Ditto.
2401 * dwarf2loc.c (dwarf_expr_tls_address): Ditto.
2402 * cli/cli-script.c (script_from_file): Mark up throw_error message.
2403 * linespec.c (symtab_from_filename, decode_variable): Ditto.
2404
71fff37b
AC
24052005-04-26 Andrew Cagney <cagney@gnu.org>
2406
2407 Rename 'struct exception' to 'struct gdb_exception'.
2408 * wrapper.c: Update.
2409 * varobj.c: Update.
2410 * tui/tui-interp.c: Update.
2411 * remote.c: Update.
2412 * mi/mi-main.c: Update.
2413 * mi/mi-interp.c: Update.
2414 * linux-thread-db.c: Update.
2415 * interps.h: Update.
2416 * interps.c: Update.
2417 * exceptions.h: Update.
2418 * exceptions.c: Update.
2419 * dwarf2loc.c: Update.
2420 * cli/cli-interp.c: Update.
2421 * cli/cli-script.c: Update.
2422 * breakpoint.c: Update.
2423
011825f0
MM
24242005-04-25 Mark Mitchell <mark@codesourcery.com>
2425
3aa6b2ca
MM
2426 * event-loop.c (gdb_select): Program defensively.
2427
011825f0
MM
2428 * event-loop.c (gdb_assert.h): Include.
2429 (<windows.h>): Include under Windows.
2430 (<io.h>): Likeiwse.
2431 (gdb_select): New function.
2432 (gdb_wait_for_event): Use it.
2433 * Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
e04e8f8a 2434
02a71ae8
MK
24352005-04-23 Mark Kettenis <kettenis@gnu.org>
2436
2437 * sparc64-tdep.c: Include "dwarf2-frame.h".
2438 (sparc64_dwarf2_frame_init_reg): New function.
2439 * Makefile.in (sparc64-tdep.o): Update dependencies.
2440
20338726
DM
24412005-04-22 David S. Miller <davem@davemloft.net>
2442
2443 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to
2444 sparc64_init_abi().
2445
a07ff70c
MK
24462005-04-22 Mark Kettenis <kettenis@gnu.org>
2447
2448 * ser-base.c: Include "ser-base.h" instead of "ser-unix.h".
2449
248697b2
MM
24502005-04-22 Mark Mitchell <mark@codesourcery.com>
2451
2452 * ser-base.c (<sys/time.h>): Include.
2453
a33e488c
MK
24542005-04-22 Mark Kettenis <kettenis@gnu.org>
2455
a86c5ab2
MK
2456 * ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
2457
70f1dc74
MK
2458 * sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
2459 (LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
2460 (LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
2461 macros.
2462 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
2463 instructions.
2464 * sparc64-linux-tdep.c: Reorder includes. Tweak a few comments.
2465 (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
2466 macros.
2467 (sparc64_linux_rt_sigframe): Hardcode instructions.
2468 * Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
2469 dependencies.
2470
a33e488c
MK
2471 * sparc-linux-tdep.c: Update copyright year.
2472 (sparc32_linux_init_abi): Set skip_trampoline_code and
2473 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
2474 Don't set software_single_step and don't call
2475 sparc32_sol2_init_abi.
2476 * sparc64-linux-tdep.c: Update copyright year.
2477 (sparc64_linux_init_abi): Set skip_trampoline_code and
2478 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
2479 Don't set software_single_step and don't call
2480 sparc64_sol2_init_abi.
2481
24ec834b
EZ
24822005-04-22 Eli Zaretskii <eliz@gnu.org>
2483
2484 * remote-st.c (_initialize_remote_st2000): Remove the extraneous
2485 "<command>" string from the call to add_com.
2486
2487 * remote-sim.c (_initialize_remote_sim): Ditto.
2488
2489 * remote-utils.c (_initialize_sr_support): Ditto.
2490
2491 * remote-mips.c (_initialize_remote_mips): Ditto.
2492
81f726ab
DM
24932005-04-21 David S. Miller <davem@davemloft.net>
2494
2495 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
2496 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames.
2497 (sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start,
2498 sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p,
2499 sparc32_linux_sigtramp_frame_cache,
2500 sparc32_linux_sigtramp_frame_this_id,
2501 sparc32_linux_sigtramp_frame_prev_register,
2502 sparc32_linux_sigtramp_frame_unwind,
2503 sparc32_linux_sigtramp_frame_sniffer): Delete.
2504 (sparc32_linux_init_abi): Register new tramp unwinders. Kill
2505 register of old sigtramp sniffer.
2506 * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New
2507 function.
2508 (sparc64_linux_rt_sigframe): New tramp frame.
2509 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
2510 sparc64_linux_sigtramp_frame_cache,
2511 sparc64_linux_sigtramp_frame_this_id,
2512 sparc64_linux_sigtramp_frame_prev_register,
2513 sparc64_linux_sigtramp_frame_unwind,
2514 sparc64_linux_sigtramp_frame_sniffer): Delete.
2515 (sparc64_linux_init_abi): Register new tramp unwinders. Kill
2516 register of old sigtramp sniffer.
2517 Makefile.in (sparc64-linux-tdep.o): Update dependencies.
2518 (sparc-linux-tdep.o): Likewise.
2519
401e7faf
MK
25202005-04-21 Mark Kettenis <kettenis@gnu.org>
2521
2522 * ser-base.c: Include "gdb_string.h".
2523 * Makefile.in (ser-base.o): Update dependencies.
2524
78a0fd57
DM
25252005-04-20 David S. Miller <davem@davemloft.net>
2526
2527 * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
2528 signal return stub symbol names, __restore and __restore_rt are
2529 the i386 symbol names not the sparc ones.
2530 (sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h
2531 as where the offsets were obtained from.
2532 * sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0,
2533 LINUX64_RT_SIGTRAMP_INSN1): New defines.
2534 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
2535 sparc64_linux_sigtramp_frame_cache,
2536 sparc64_linux_sigtramp_frame_this_id,
2537 sparc64_linux_sigtramp_frame_prev_register,
2538 sparc64_linux_sigtramp_frame_sniffer): New functions.
2539 (sparc64_linux_sigtramp_frame_unwind): New frame unwinder.
2540 (sparc64_linux_init_abi): Register sigtramp frame sniffer.
2541 * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
2542
b4505029
MM
25432005-04-20 Mark Mitchell <mark@codesourcery.com>
2544
2545 * configure.ac: On MinGW, define USE_WIN32API and link with
2546 -lws2_32.
2547 * ser-tcp.c (<winsock2.h>): Include, for Windows.
2548 (ETIMEDOUT): Define, for Windows.
2549 (ioctl): Likewise.
2550 (closesocket): Define, for POSIX.
2551 (net_open): Adjust for differences in socket functions between
2552 Windows and UNIX.
2553 (net_close): Likweise.
2554 (net_read_prim): New function.
2555 (net_write_prim): Likewise.
2556 (_initialize_ser_tcp): Initialize winsock. Fill in read_prim and
2557 write_prim.
2558 * ser-unix.h (ser_unix_readcchar): Remove.
2559 (ser_unix_read_prim): Declare.
2560 (ser_unix_write_prim): Likewise.
2561 * ser-unix.c (generic_readchar): Move to ser-base.c.
2562 (ser_unix_wait_for): Likewise.
2563 (do_unix_readchar): Likewise.
2564 (ser_unix_readchar): Likewise.
2565 (_initialize_ser_hardwire): Initialize read_prim and write_prim.
2566 (ser_unix_read_prim): New function.
2567 (ser_unix_write_prim): Likewise.
2568 * ser-base.h (generic_readchar): Declare.
2569 (ser_base_readchar): Likewise.
2570 * ser-base.c (<winsock2.h>): Include, for windows.
2571 (fd_event): Use the read primitive specified by the serial
2572 interface.
2573 (ser_base_wait_for): Moved from ser-unix.c
2574 (do_ser_base_read_char): Likewise.
2575 (generic_readchar): Likewise.
2576 (ser_base_readchar): Likewise.
2577 (ser_base_write): Use the write primitive specified by the serial
2578 interface.
2579 * ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not
2580 ser_unix_readchar. Initialize read_prim and write_prim.
2581 * serial.c (struct serial_ops): Add read_prim and write_prim.
2582 * configure: Regenerate.
2583
8470e927
BE
25842005-04-19 Ben Elliston <bje@au.ibm.com>
2585
2586 * c-lang.c (c_create_fundamental_type): Comment fix.
2587
9cacebf5
MS
25882005-04-18 Michael Snyder <msnyder@redhat.com>
2589
2590 * mn10300-tdep.c: Assimilate code from mn10300-prologue.c.
2591 * mn10300-prologue.c: Remove.
2592 * mn10300-tdep.h: Add enums from mn10300-prologue.c.
2593 Remove prototypes.
2594 * config/mn10300/mn10300.mt: Remove mn10300-prologue module.
2595
7166c4a9
MS
25962005-04-18 Michael Snyder <msnyder@redhat.com>
2597
0cc748c0 2598 * config/mn10300/mn10300.mt: Add mn10300-prologue module.
7166c4a9
MS
2599 * ia64-tdep.c (ia64_get_dyn_info_list): Fix indent.
2600
57cd0b54
MK
26012005-04-18 Mark Kettenis <kettenis@gnu.org>
2602
235c4ffd
MK
2603 * config/nm-bsd.h: Remove file.
2604
57cd0b54
MK
2605 * hppabsd-nat.c: Update copyright year. Include "target.h" and
2606 "inf-ptrace.h".
2607 (hppabsd_fetch_registers): Renamed from fetch_inferior_registers;
2608 made static.
2609 (hppabsd_store_registers): Renamed from store_inferior_registers;
2610 made static.
2611 (_initialize_hppabsd_nat): New function and prototype.
2612 * config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and
2613 inftarg.o. Add inf-ptrace.o.
2614 (NAT_FILE): Remove.
2615 * Makefile.in (hppabsd-nat.o): Update dependencies.
2616
f17882ad
MK
26172005-04-17 Mark Kettenis <kettenis@gnu.org>
2618
2619 * pa64solib.c, pa64solib.h: Remove files.
2620 * Makefile.in (pa64solib_h): Remove variable
2621 (pa64solib.o): Remove dependency.
2622
5d6210f0
MK
26232005-04-16 Mark Kettenis <kettenis@gnu.org>
2624
65d034bc
MK
2625 * ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".
2626 (ppcobsd_fetch_registers): Renamed from fetch_inferior_registers;
2627 made static.
2628 (ppcobsd_store_registers): Renamed from store_inferior_registers;
2629 made static.
2630 (_initialize_ppcobsd_nat): Construct and add target vector.
2631 * config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and
2632 inftarg.o. Add inf-ptrace.o.
2633 (NAT_FILE): Remove.
2634 * Makefile.in (ppcobsd-nat.o): Update dependencies.
2635
5a49dfd0
MK
2636 * ppcobsd-tdep.c: Include "floatformat.h".
2637 (ppcobsd_init_abi): Set long_double_bit and long_double_format.
2638 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
2639
5d6210f0
MK
2640 * ppcobsd-tdep.c: Fix typo in comment.
2641 (_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
2642 bfd_arch_rs6000 too.
2643
571dd617
KB
26442005-04-15 Kevin Buettner <kevinb@redhat.com>
2645
2646 * remote.c (remote_get_thread_local_address): Throw a more
2647 meaningful exception when remote target doesn't have support
2648 for the qGetTLSAddr packet.
2649
38691318
KB
26502005-04-15 Kevin Buettner <kevinb@redhat.com>
2651
2652 * remote.c (remote_protocol_qGetTLSAddr): New static global variable.
2653 (set_remote_protocol_qGetTLSAddr_packet_cmd)
2654 (show_remote_protocol_qGetTLSAddr_packet_cmd)
2655 (remote_get_thread_local_address): New functions.
2656 (init_all_packet_configs): Initialize remote_protocol_qGetTLSAddr
2657 variable.
2658 (init_remote_ops): Initialize ``to_get_thread_local_address'' in
2659 target vector.
2660 (show_remote_cmd): Call show_remote_protocol_qGetTLS_Addr_packet_cmd().
2661 (_initialize_remote): Register the following commands:
2662 "set remote get-thread-local-storage-address-packet" and
2663 "show remote get-thread-local-address-packet".
2664
3ed07be4
KB
26652005-04-15 Kevin Buettner <kevinb@redhat.com>
2666
2667 * remote.c (add_packet_config_cmd): Delete unused variables.
2668
c9365369
KB
26692005-04-15 Kevin Buettner <kevinb@redhat.com>
2670
2671 * remote.c (show_remote_protocol_vcont_packet_cmd )
2672 (show_remote_protocol_qSymbol_packet_cmd)
2673 (show_remote_protocol_P_packet_cmd)
2674 (show_remote_protocol_Z_software_bp_packet_cmd)
2675 (show_remote_protocol_Z_hardware_bp_packet_cmd)
2676 (show_remote_protocol_Z_write_wp_packet_cmd)
2677 (show_remote_protocol_Z_read_wp_packet_cmd)
2678 (show_remote_protocol_Z_access_wp_packet_cmd)
2679 (show_remote_protocol_binary_download_cmd)
2680 (show_remote_protocol_qPart_auxv_packet_cmd)
2681 (show_remote_protocol_p_packet_cmd ): Delete calls to
2682 deprecated_show_value_hack().
2683
c30dc700
CV
26842005-04-15 Corinna VInschen <vinschen@redhat.com>
2685
2686 * MAINTAINERS: Change sh64-elf state to non-broken.
2687 * Makefile.in: Fix dependencies for sh64-tdep.o.
2688 * configure.tgt: Add sh64-*-elf case.
2689 * sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
2690 * sh64-tdep.c: Rework to replace all deprecated mechanisms with
2691 modern methods.
2692 * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
2693 * config/sh/sh64.mt: Resurrect.
2694
86fc41d1
KI
26952005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com>
2696
2697 * regformats/reg-m32r.dat: New file.
2698
28e97307
DJ
26992005-04-14 Daniel Jacobowitz <dan@codesourcery.com>
2700
2701 * arm-tdep.c (fp_model_strings): Add terminating NULL.
2702 (arm_abi_strings, arm_abi_global, arm_abi_string): New
2703 variables.
2704 (arm_extract_return_value, arm_store_return_value): Don't use
2705 arm_get_fp_model.
2706 (arm_get_fp_model, arm_set_fp): Delete.
2707 (arm_update_current_architecture): New function.
2708 (set_fp_model_sfunc): Call arm_update_current_architecture.
2709 (show_fp_model): Update output messages.
2710 (arm_set_abi, arm_show_abi): New functions.
2711 (arm_elf_osabi_sniffer): Only handle ELFOSABI_ARM.
2712 (arm_gdbarch_init): Infer the object's ABI separately from its
2713 OSABI. Search for a matching architecture. Honor the global
2714 ABI and FPU settings. Set floating point format based on the
2715 architecture.
2716 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs):
2717 Delete.
2718 (_initialize_arm_tdep): Don't call gdbarch_register_osabi.
2719 Create "arm set abi" command.
2720 * arm-tdep.h (arm_get_fp_model): Delete prototype.
2721 (enum arm_abi_kind): New type.
2722 (struct gdbarch_tdep): Add arm_abi field.
2723 * arm-linux-tdep.c (arm_linux_init_abi): Only override
2724 tdep->fp_model if it is ARM_FLOAT_AUTO.
2725 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Likewise.
2726 (arm_netbsd_elf_init_abi): Likewise.
2727 * defs.h (enum gdb_osabi): Delete ARM-specific OSABIs.
2728 * osabi.c (gdb_osabi_name): Likewise.
2729
9494c6a5
DJ
27302005-04-11 Daniel Jacobowitz <dan@codesourcery.com>
2731
2732 * config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
2733
bdbcb8b4
MK
27342005-04-10 Mark Kettenis <kettenis@gnu.org>
2735
2736 * rs6000-tdep.c (ppc_supply_fpregset): Increment offset by 8 for
2737 floating-point registers.
2738 (ppc_collect_fpregset): Likewise. Fix collection of registers.
2739
18b2ae85
MK
27402005-04-09 Mark Kettenis <kettenis@gnu.org>
2741
2742 * ppcobsd-tdep.c: Update copyright year. Include "trad-frame.h"
2743 and "tramp-frame.h".
2744 (ppcobsd_sigtramp_cache_init): New function.
2745 (ppcobsd_sigtramp): New variable.
2746 (ppcobsd_init_abi): Prepend signal trampoline unwinder.
2747 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
2748
06e819e3
AC
27492005-04-08 Andrew Cagney <cagney@gnu.org>
2750
2751 * MAINTAINERS (GDB/MI): Andrew Cagney, Elena Zannoni, and Fernando
2752 Nasser have decided to step back from GDB/MI.
2753
6f8eac0e
DJ
27542005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
2755
2756 * config/fnchange.lst: Add testsuite/gdb.gdbserver entries.
2757
0228dfb9
DJ
27582005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
2759
2760 * dwarf2-frame.c (struct dwarf2_frame_cache): New field
2761 undefined_retaddr.
2762 (dwarf2_frame_cache): Initialize undefined_retaddr.
2763 (dwarf2_frame_this_id): Return an invalid frame ID if
2764 undefined_retaddr.
2765
21b4b2f2
JB
27662005-04-05 Jim Blandy <jimb@redhat.com>
2767
2768 Move construction of IA-32 vector types to i386-tdep.c.
2769 * gdbtypes.c (build_builtin_type_vec64i,
2770 build_builtin_type_vec128i): Delete functions.
2771 (builtin_type_vec64i, builtin_type_vec128i): Delete variables.
2772 (build_gdbtypes): Don't initialize them.
2773 (_initialize_gdbtypes): Don't register GDBARCH swap entries for
2774 them.
2775 * gdbtypes.h (builtin_type_vec64i, builtin_type_vec128i): Delete
2776 declarations.
2777 (builtin_type_v2_float, builtin_type_v2_int32,
2778 builtin_type_v4_int16, builtin_type_v8_int8,
2779 builtin_type_v2_double, builtin_type_v4_float,
2780 builtin_type_v2_int64, builtin_type_v4_int32,
2781 builtin_type_v8_int16, builtin_type_v16_int8): Add extern
2782 declarations.
2783 * i386-tdep.c (i386_mmx_type, i386_sse_type): New variables.
2784 (i386_build_mmx_type, i386_build_sse_type): New functions.
2785 (i386_register_type): Call them, rather than referring to
2786 builtin_type_vec64i and builtin_type_vec128i.
2787
37c4d197
DJ
27882005-04-02 Daniel Jacobowitz <dan@codesourcery.com>
2789
2790 * mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
2791 big-endian correction code to not offset 32-bit registers.
2792 Locate floating point registers correctly.
2793
7509373f
MK
27942005-04-02 Mark Kettenis <kettenis@gnu.org>
2795
2796 * main.c: Update copyright year.
02dfa7de 2797 (captured_main): Avoid using strcpy and strcat.
7509373f 2798
9b3c083c
MS
27992005-04-01 Michael Snyder <msnyder@redhat.com>
2800
0c98cc2b
MS
2801 * dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother
2802 computing this_id if there are no dummy frames on the stack.
e04e8f8a
EC
2803
2804 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use
1fb1ca27
MS
2805 find_partial_func instead of unwind_pc to identify frame.
2806 (mn10300_push_dummy_call): Handle struct args, struct_return.
2807
9b3c083c
MS
2808 * mn10300-prologue.c (set_movm_offsets): Don't test variable
2809 before setting it.
2810 * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue
2811 instead of skip_prologue_using_sal.
e04e8f8a 2812
186993b4
KB
28132005-03-31 Kevin Buettner <kevinb@redhat.com>
2814
2815 * solib-frv.c (struct lm_info): Add new field ``lm_addr''.
2816 (main_lm_addr): New static global.
2817 (frv_current_sos): Retain the link map address for each entry.
2818 (frv_clear_solib): Clear main_lm_addr.
2819 (frv_fetch_objfile_link_map): New function.
2820 * frv-tdep.c (frv_gdbarch_init): Register TLS load module fetcher.
2821 * frv-tdep.h (frv_fetch_objfile_link_map): Declare.
2822
b2756930
KB
28232005-03-31 Kevin Buettner <kevinb@redhat.com>
2824
2825 * gdbarch.sh (fetch_tls_load_module_address): New architecture method.
2826 * gdbarch.c, gdbarch.h: Regenerate.
2827 * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module
2828 address and pass this address, instead of the objfile address, to
2829 target_get_thread_local_address().
2830 * linux-thread-db.c (thread_db_get_thread_local_address): Change
2831 second parameter from type ``struct objfile *'' to CORE_ADDR. Do
2832 not call svr4_fetch_objfile_link_map() to fetch the load module
2833 address.
2834 * target.h (struct target_ops): Change second parameter of
2835 ``to_get_thread_local_address'' from ``struct objfile *'' to
2836 ``CORE_ADDR''.
2837 * alpha-linux-tdep.c (solib-svr4.h): Include.
2838 (alpha_linux_init_abi): Register TLS load module fetcher.
2839 * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
2840 * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
2841 * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
2842 * ia64-linux-tdep.c (solib-svr4.h): Include.
2843 (ia64_linux_init_abi): Register TLS load module fetcher.
2844 * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
2845 * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
2846 * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
2847 * s390-tdep.c (s390_gdbarch_init): Likewise.
2848 * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
2849 * sparc64-linux-tdep.c (solib-svr4.h): Include.
2850 (sparc64_linux_init_abi): Register TLS load module fetcher.
2851 * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
2852 (sparc-linux-tdep.o): Update dependencies.
2853
88750304
DJ
28542005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2855
2856 * c-valprint.c (c_value_print): Fix up some formatting. Use
2857 check_typedef.
2858
adb8a87c
DJ
28592005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2860
2861 * arm-linux-nat.c (store_register, store_regs): Handle
2862 ARM_PS_REGNUM.
2863
498b1f87
DJ
28642005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2865
2866 * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
2867 (arm_linux_thumb_le_breakpoint): New. Update comments.
2868 (arm_linux_init_abi): Set Thumb breakpoints also.
2869
842e1f1e
DJ
28702005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2871
2872 * Makefile.in (arm-tdep.o): Update dependencies.
2873 * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
2874 (arm_gdbarch_init): Register dwarf2_frame_sniffer.
2875
6d1eba4c
JB
28762005-03-28 Joel Brobecker <brobecker@adacore.com>
2877
2878 * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
2879 register value to be incorrectly written in the regcache.
2880 (fill_fpregset): Fix bug that caused the FSR register value
2881 to be incorrectly read from the regcache.
2882
fce5e386
DJ
28832005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
2884
2885 * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
2886 arm_pc_is_thumb_dummy.
2887
f700a364
MK
28882005-03-28 Mark Kettenis <kettenis@gnu.org>
2889
8391b9b1
MK
2890 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
2891 StackGhost.
2892
f700a364
MK
2893 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
2894 Handle StackGhost in 64-bit code.
2895 * sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
2896
8da8e0b3
CF
28972005-03-27 Christopher Faylor <cgf@timesys.com>
2898
2899 * win32-nat.c (handle_exception): Treat win32 routines which check for
2900 valid addresses as "special" and don't stop when a SEGV is detected.
2901 (get_child_debug_event): Properly flag exception as unhandled.
2902
5e5100cb
DJ
29032005-03-26 Daniel Jacobowitz <dan@codesourcery.com>
2904
2905 * cp-support.c (cp_class_name_from_physname): Rewrite.
2906 (unqualified_name_from_comp): New function, broken out from
2907 method_name_from_physname. Correct handling for typed names
2908 and templates.
2909 (method_name_from_physname): Use unqualified_name_from_comp.
2910 (cp_func_name, remove_params): Move earlier in the file. Add
2911 better comments. Use the component tree to parse the name.
2912 (_initialize_cp_support): Remove stray whitespace.
2913
a77f4086
MK
29142005-03-26 Mark Kettenis <kettenis@gnu.org>
2915
dc6a2ca4
MK
2916 * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
2917
59bb1042
MK
2918 * inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.
2919 Callapse HAVE_TERMIO and HAVE_SGTTY.
2920
a77f4086
MK
2921 * dwarf2-frame.c (execute_cfa_program): Implement
2922 DW_CFA_GNU_window_save.
2923
4d6c7108
MK
29242005-03-25 Mark Kettenis <kettenis@gnu.org>
2925
bac6b012
MK
2926 * config/sparc/nbsd64.mh (NAT_FILE): Remove.
2927
4d6c7108
MK
2928 * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
2929
4bf7064c
DJ
29302005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
2931
2932 * arm-tdep.c (target_is_thumb, caller_is_thumb)
2933 (arm_pc_is_thumb_dummy): Remove.
2934 (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
2935
170cd118
AG
29362005-03-25 Anthony Green <green@redhat.com>
2937
2938 * remote.c (remote_store_registers): Fix memset usage.
2939 * std-regs.c (value_of_builtin_frame_reg): Ditto.
2940 (value_of_builtin_frame_fp_reg): Ditto.
2941 (value_of_builtin_frame_reg): Ditto.
2942
3eb25fda
MM
29432005-03-25 Mark Mitchell <mark@codesourcery.com>
2944
dd5da072
MM
2945 * ser-base.c (ser_unix_write): Rename to ...
2946 (ser_base_write): ... this.
2947 (ser_unix_nop_flush_output): Rename to ...
2948 (ser_base_flush_output): ... this.
2949 (ser_unix_flush_input): Rename to ...
2950 (ser_base_flush_input): ... this.
2951 (ser_unix_nop_send_break): Rename to ...
2952 (ser_base_send_break): ... this.
2953 (ser_unix_nop_drain_output): Rename to ...
2954 (ser_base_drain_output): ... this.
2955 (ser_unix_nop_raw): Rename to ...
2956 (ser_base_raw): ... this.
2957 (ser_unix_nop_get_tty_state): Rename to ...
2958 (ser_base_set_tty_state): ... this.
2959 (ser_unix_nop_noflush_set_tty_state): Rename to ...
2960 (ser_base_noflush_set_tty_state): ... this.
2961 (ser_unix_nop_print_tty_state): Rename to ...
2962 (ser_base_print_tty_state): ... this.
2963 (ser_unix_nop_setbaudrate): Rename to ...
2964 (ser_base_setbaudrate): ... this.
2965 (ser_unix_nop_setstopbits): Rename to ...
2966 (ser_base_setstopbits): ... this.
2967 (ser_unix_async): Rename to ...
2968 (ser_base_async): ... this.
2969 * ser-base.h (ser_unix_write): Rename to ...
2970 (ser_base_write): ... this.
2971 (ser_unix_nop_flush_output): Rename to ...
2972 (ser_base_flush_output): ... this.
2973 (ser_unix_flush_input): Rename to ...
2974 (ser_base_flush_input): ... this.
2975 (ser_unix_nop_send_break): Rename to ...
2976 (ser_base_send_break): ... this.
2977 (ser_unix_nop_drain_output): Rename to ...
2978 (ser_base_drain_output): ... this.
2979 (ser_unix_nop_raw): Rename to ...
2980 (ser_base_raw): ... this.
2981 (ser_unix_nop_get_tty_state): Rename to ...
2982 (ser_base_set_tty_state): ... this.
2983 (ser_unix_nop_noflush_set_tty_state): Rename to ...
2984 (ser_base_noflush_set_tty_state): ... this.
2985 (ser_unix_nop_print_tty_state): Rename to ...
2986 (ser_base_print_tty_state): ... this.
2987 (ser_unix_nop_setbaudrate): Rename to ...
2988 (ser_base_setbaudrate): ... this.
2989 (ser_unix_nop_setstopbits): Rename to ...
2990 (ser_base_setstopbits): ... this.
2991 (ser_unix_async): Rename to ...
2992 (ser_base_async): ... this.
2993 * ser-pipe.c (_initialize_ser_pipe): Update accordingly.
2994 * ser-tcp.c (_initialize_ser_tcp): Likewise.
2995 * ser-unix.c (hardwire_flush_input): Likewise.
2996 (_initializer_ser_hardwire): Likewise.
2997
3eb25fda
MM
2998 * Makefile.in (SFILES): Add ser-base.c.
2999 (ser_base_h): New variable.
3000 (ser-base.o): New target.
3001 (ser-pipe.o): Depend on $(ser_base_h).
3002 (ser-tcp.o): Likewise.
3003 (ser-unix.o): Likewise. Do not depend on $(event_loop_h).
3004 * configure.ac (SER_HARDWIRE): Include ser-base.o where
3005 appropriate.
3006 * ser-base.c: New file.
3007 (push_event): Move from ser-unix.c.
3008 (fd_event): Likewise.
3009 (reschedule): Likewise.
3010 (ser_unix_write): Likewise.
3011 (ser_unix_nop_flush_output): Likewise.
3012 (ser_unix_flush_input): Likewise.
3013 (ser_unix_nop_send_break): Likewise.
3014 (ser_unix_nop_drain_output): Likewise.
3015 (ser_unix_nop_raw): Likewise.
3016 (ser_unix_nop_get_tty_state): Likewise.
3017 (ser_unix_nop_set_tty_state): Likewise.
3018 (ser_unix_nop_noflush_set_tty_state): Likewise.
3019 (ser_unix_nop_print_tty_state): Likewise.
3020 (ser_unix_nop_setbaudrate): Likewise.
3021 (ser_unix_nop_setstopbits): Likewise.
3022 (ser_unix_async): Likewise.
3023 * ser-base.h: New file.
3024 * ser-pipe.c (ser-base.h): Include it.
3025 * ser-tcp.c (ser-base.h): Likewise.
3026 * ser-unix.h (ser_unix_nop_flush_output): Remove.
3027 (ser_unix_flush_input): Likewise.
3028 (ser_unix_nop_send_break): Likewise.
3029 (ser_unix_nop_raw): Likewise.
3030 (ser_unix_nop_get_tty_state): Likewise.
3031 (ser_unix_nop_set_tty_state): Likewise.
3032 (ser_unix_nop_print_tty_state): Likewise.
3033 (ser_unix_nop_noflush_set_tty_state): Likewise.
3034 (ser_unix_nop_setbaudrate): Likewise.
3035 (ser_unix_nop_setstopbits): Likewise.
3036 (ser_unix_nop_drain_output): Likewise.
3037 (ser_unix_wait_for): Likewise.
3038 (ser_unix_write): Likewise.
3039 (ser_unix_async): Likewise.
3040 * ser-unix.c (event-loop.h): Do not include it.
3041 (push_event): Move to ser-base.c.
3042 (fd_event): Likewise.
3043 (reschedule): Likewise.
3044 (ser_unix_write): Likewise.
3045 (ser_unix_nop_flush_output): Likewise.
3046 (ser_unix_flush_input): Likewise.
3047 (ser_unix_nop_send_break): Likewise.
3048 (ser_unix_nop_drain_output): Likewise.
3049 (ser_unix_nop_raw): Likewise.
3050 (ser_unix_nop_get_tty_state): Likewise.
3051 (ser_unix_nop_set_tty_state): Likewise.
3052 (ser_unix_nop_noflush_set_tty_state): Likewise.
3053 (ser_unix_nop_print_tty_state): Likewise.
3054 (ser_unix_nop_setbaudrate): Likewise.
3055 (ser_unix_nop_setstopbits): Likewise.
3056 (ser_unix_async): Likewise.
3057 (ser_unix_wait_for): Make it static.
3058 * configure: Regenerated.
e04e8f8a 3059
8d5a9abc
MK
30602005-03-25 Mark Kettenis <kettenis@gnu.org>
3061
3062 * dwarf2-frame.h: Update copyrigh year.
3063 (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
3064 * dwarf2-frame.c: Update copyright year.
3065 (struct dwarf2_frame_cache): Add member `retaddr_reg'.
3066 (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
3067 (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
3068
b3041f52
MH
30692005-03-23 Martin Hunt <hunt@redhat.com>
3070
3071 * configure.ac: Remove -fwritable-strings from CFLAGS.
3072 * configure: Regenerate.
3073
6a069e57
MS
30742005-03-21 Michael Snyder <msnyder@redhat.com>
3075
3076 * mn10300-prologue.c (fix_frame_pointer): Delete.
3077 (set_movm_offsets) Don't return just because movm_args is
3078 zero -- still need to save pc and sp in saved_regs.
3079 (mn10300_analyze_prologue): Don't return prematurely without
3080 calling set_movm_offsets (for pc and sp at minimum).
3081
d3ea6809
MM
30822005-03-21 Mark Mitchell <mark@codesourcery.com>
3083
3084 * configure.ac (stat.st_blksize): Check for it.
3085 (getuid): Likewise.
3086 (getgid): Likewise.
3087 * configure: Regenerated.
3088 * config.in: Likewise.
3089 * remote-fileio.c (remote_fileio_to_fio_stat): Check
e04e8f8a 3090 HAVE_STRUCT_STAT_ST_BLKSIZE.
d3ea6809 3091
d460b7f5
CF
30922005-03-21 Christopher Faylor <cgf@timesys.com>
3093
3094 * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
3095 here.
3096 (do_initial_child_stuff): Move clearing of thread list to a place
3097 before a thread ould be created.
3098 (child_attach): Ditto.
3099
342ee437
MS
31002005-03-21 Michael Snyder <msnyder@redhat.com>
3101
3102 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
3103 instead of pc addr for frame_id. Otherwise "until" won't work.
3104
4f0d78e0
KB
31052005-03-21 Kevin Buettner <kevinb@redhat.com>
3106
3107 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
3108 comment.
3109
80d9c592
MK
31102005-03-20 Mark Kettenis <kettenis@gnu.org>
3111
4dd04433
MK
3112 * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
3113 * varobj.c (my_value_equal): Mark val2 as volatile.
3114
ee426e0f 3115 * cp-names.y: Add prototype for yyparse.
80d9c592 3116
96ce45ca
DJ
31172005-03-19 Daniel Jacobowitz <dan@codesourcery.com>
3118
3119 * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
3120 * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
3121 VALADDR.
3122
93ad78a7
KB
31232005-03-18 Kevin Buettner <kevinb@redhat.com>
3124
3125 * Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
3126 * exceptions.h (TLS_NO_LIBRARY_SUPPORT_ERROR, TLS_GENERIC_ERROR)
3127 (TLS_LOAD_MODULE_NOT_FOUND_ERROR, TLS_NOT_ALLOCATED_YET_ERROR):
3128 New error/exception enums.
3129 * dwarf2loc.c (exceptions.h): Include.
3130 (dwarf_expr_tls_address): Invoke target_get_thread_local_address()
3131 via TRY_CATCH mechanism. Print error messages for TLS related
3132 exceptions.
3133 * linux-thread-db.c (thread_db_get_thread_local_address): Throw
3134 exceptions instead of printing errors.
3135
8cf46f62
MK
31362005-03-18 Mark Kettenis <kettenis@gnu.org>
3137
3138 * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
3139 (decimal2str, octal2str): Change to return a string allocated by
3140 get_cell. Use xsnprint instead of snprintf.
3141 (paddr_u, paddr_d): Adjust for changed calling convention of
3142 decimal2str.
3143 (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
3144 (int_string): Likewise. Adjust for changed calling convention of
3145 decimal2str and octal2str.
3146
f79d2c3c
KB
31472005-03-18 Kevin Buettner <kevinb@redhat.com>
3148
3149 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
3150 Adjust incorrectly computed constant for realtime signal frame.
3151
8cf46f62 31522005-03-18 Mark Kettenis <kettenis@gnu.org>
eb308878
MK
3153
3154 From Ralf Corsepius <ralf.corsepius@rtems.org>
3155 * configure.tgt: Add m68*-*-rtems*.
3156
06648491
MK
31572005-03-17 Mark Kettenis <kettenis@gnu.org>
3158
bde2058d
MK
3159 * defs.h (xsnprintf): New prototype.
3160 * utils.c (xsnprintf): New function.
3161
3ecda457
MK
3162 * corelow.c (get_core_register_section): Replace usage of sprintf
3163 and strcpy with xstrprintf and xstrdup.
3164
06648491
MK
3165 * mips-tdep.c (mips_single_step_through_delay): Put back check for
3166 breakpoint lost with the introduction of this function.
3167
16aff9a6
PB
31682005-03-17 Paul Brook <paul@codesourcery.com>
3169
3170 * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
3171 * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
3172
6d318c73
MM
31732005-03-16 Mark Mitchell <mark@codesourcery.com>
3174
ec442778
MM
3175 * event-top.c (handle_sigquit): Do not define for systems without
3176 SIGQUIT.
3177 (sigquit_token): Likewise.
3178 (async_init_signals): Allow for systems that do not
6d318c73
MM
3179 define SIGQUIT.
3180 * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
3181
9b265ec2
MM
31822005-03-15 Mark Mitchell <mark@codesourcery.com>
3183
e04e8f8a 3184 * utils.c (internal_vproblem): Guard call to fork with
9b265ec2
MM
3185 HAVE_WORKING_FORK.
3186 * cli/cli-cmds.c (shell_escape): Guard call to vfork with
e04e8f8a 3187 HAVE_WORKING_VFORK and HAVE_WORKING_FORK.
9b265ec2
MM
3188
3189 * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
3190 S_IRGRP and related macros.
3191 (remote_fileio_mode_to_target): Likewise.
3192
3ae642fd
BE
31932005-03-14 Ben Elliston <bje@au.ibm.com>
3194
3195 * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
3196 more primitive library.
3197
80d9c592 31982005-03-13 Mark Kettenis <kettenis@gnu.org>
fd0a2a6f
MK
3199
3200 * inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
3201 sprintf.
3202 * target.c (normal_pid_to_str): Likewise.
3203 * remote.c (remote_pid_to_str): Use snprint instead of sprintf.
3204 Change capitalization of "thread". Use ptid_get_pid instead of
3205 GETPID.
049742da
MK
3206
3207 * cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
3208 a combination of xmalloc and sprintf.
3209
ca231fcc
JB
32102005-03-13 Jim Blandy <jimb@redhat.com>
3211
3212 * configure.ac: Use '=', not '=='; the latter is a GNU extension.
3213 * configure: Regenerated.
3214
b80b83f3
MS
32152005-03-11 Michael Snyder <msnyder@redhat.com>
3216
e04e8f8a 3217 * mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
b80b83f3
MS
3218 stub fn with real implementatin mn10300_unwind_dummy_id.
3219 (mn10300_push_dummy_call): Implement. Bare bones version,
3220 does not handle structs or floats.
3221
1f8ca57c
JB
32222005-03-11 Jim Blandy <jimb@redhat.com>
3223
a3b362c4
JB
3224 Avoid warnings due to the use of -Wuninitialized without -O.
3225 * configure.ac (build_warnings): Include -Wuninitialized only if
3226 CFLAGS is unset at configure time, or CFLAGS is set and includes
3227 some -O option other than -O0.
3228 * configure: Regenerated.
3229
1f8ca57c
JB
3230 * mips-tdep.c (show_mips_abi): Change calling conventions to match
3231 those expected by add_setshow_enum_cmd. Use 'file' argument as
3232 appropriate.
3233
fb4c6eba
DJ
32342005-03-10 Daniel Jacobowitz <dan@codesourcery.com>
3235
3236 * Makefile.in (SFILES): Add cp-names.y.
3237 (libiberty_h, safe_ctype_h): New.
3238 (YYFILES): Add cp-names.c.
3239 (YYOBJ): Add cp-names.o.
3240 (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
3241 (clean): Remove test-cp-names$(EXEEXT).
3242 (local-maintainer-clean): Remove cp-names.c.
3243 * cp-names.y: New file.
3244 * cp-support.c (find_last_component): Delete.
3245 (d_left, d_right): Define.
3246 (cp_canonicalize_string, mangled_name_to_comp): New functions.
3247 (cp_class_name_from_physname, method_name_from_physname): Rewrite
3248 to use mangled_name_to_comp.
3249 * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
3250 (cp_comp_to_string): New prototypes.
3251 * config/djgpp/fnchange.lst: Add cp-names.c.
3252
5b93de64
BR
32532005-03-10 Bob Rossi <bob@brasko.net>
3254
fb4c6eba 3255 * main.c (print_gdb_help): Remove the --[no]async help message.
5b93de64 3256
54433e38
MK
32572005-03-10 Mark Kettenis <kettenis@gnu.org>
3258
3259 * proc-api.c: Update copyright year.
3260 (_initialize_proc_api): Revert previous patch, removing spurious
3261 space instead.
3262
d2f0b918
JB
32632005-03-09 Joel Brobecker <brobecker@adacore.com>
3264
3265 * regcache.c: Fix typo in comment.
3266
e9274dd8
DL
32672005-03-09 David Lecomber <david@lecomber.net>
3268
e04e8f8a 3269 * proc-api.c (_initialize_proc_api): Fix invalid multi-line
e9274dd8
DL
3270 i18n text.
3271
5b2d44a0
MK
32722005-03-09 Mark Kettenis <kettenis@gnu.org>
3273
3274 * sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
3275 address for 64-bit code.
3276 (sparc_unwind_dummy_id): Likewise.
3277 * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
3278 frame base address convention.
3279 (sparc64_push_dummy_call): Likewise.
3280 * sparc64nbsd-tdep.c: Update copyright year.
3281 (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
3282 address for 64-bit code.
3283 (sparc64nbsd_init_abi): Tweak comment.
3284 * sparc64obsd-tdep.c: Update copyright year.
3285 (sparc64obsd_frame_cache): Adjust cached frame base address for
3286 64-bit code.
3287 (sparc64obsd_init_abi): Tweak comment.
3288
8d19ca47 32892005-03-09 Corinna Vinschen <vinschen@redhat.com>
5b5464ad 3290
8d19ca47
CV
3291 * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
3292
32932005-03-09 Joel Brobecker <brobecker@adacore.com>
3294
3295 * dwarf2read.c (dwarf_decode_lines): Use the complete filename
3296 when creating include psymtabs.
5b5464ad 3297
1bf1958d
MM
32982005-03-08 Mark Mitchell <mark@codesourcery.com>
3299
3300 * environ.h (struct environ): Rename to ...
3301 (struct gdb_environ): ... this.
3302 (make_environ): Update prototype.
3303 (free_environ): Likewise.
3304 (init_environ): Likewise.
3305 (get_in_environ): Likewise.
3306 (set_in_environ): Likewise.
3307 (unset_in_environ): Likewise.
3308 (environ_vector): Likewise.
3309 * environ.c (make_environ): Replace "struct environ" with "struct
3310 gdb_environ".
3311 (free_environ): Likewise.
3312 (init_environ): Likewise.
3313 (environ_vector): Likewise.
3314 (get_in_environ): Likewise.
3315 (set_in_environ): Likewise.
3316 (unset_in_environ): Likewise.
3317 * infcmd.c (inferior_environ): Likewise.
3318 * inferior.h (inferior_environ): Likewise.
3319
f67a969f
JB
33202005-03-08 Joel Brobecker <brobecker@adacore.com>
3321
3322 * infcmd.c (run_command_1): New function, extracted from
3323 run_command.
3324 (run_command): Replace implementation by call to run_command_1.
3325 (start_command): Use run_command_1 to insert the temporary
3326 breakpoint and run the program. Remove code that's no longer
3327 needed, as already done at the proper time by run_command_1.
3328
c0501be5
DJ
33292005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
3330
3331 * symfile.c (clear_symtab_users): Call
3332 clear_current_source_symtab_and_line first.
3333
549678da
NS
33342005-03-08 Nathan Sidwell <nathan@codesourcery.com>
3335
36e9969c
NS
3336 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
3337 * c-exp.y (exp): Add unary plus.
3338 * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
3339 * valarith.c (value_x_unop): Add UNOP_PLUS case.
3340 (value_pos): New.
3341 * value.h (value_pos): Declare.
3342
3de11b2e
NS
3343 * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
3344 (remote_fetch_registers): Allow uppercase hex when resyncing.
3345 (remote_write_bytes): Only call get_memory_write_packet_size once.
3346 Robustify packet size calculation for very small packets. Check
3347 that at least one byte will be written.
3348
549678da
NS
3349 * tracepoint.c (target_is_remote): Allow extended-remote.
3350 (struct collection_list): Allow 256 registers, like the comment
3351 said.
3352 (add_memrange): Fix comment.
3353 (read_actions): Turn EOF into 'end'.
3354
20be272b
CV
33552005-03-08 Corinna Vinschen <vinschen@redhat.com>
3356
3357 * Makefile.in: Add dependencies for iq2000-tdep.o.
3358 * configure.tgt: Add iq2000-*-* target.
3359 * iq2000-tdep.c: New file.
3360 * config/iq2000/iq2000.mt: New file.
3361
ea53e89f
JB
33622005-03-07 Joel Brobecker <brobecker@adacore.com>
3363
3364 * doc/observer.texi (executable_changed): New observer.
3365 * symtab.c: Include "observer.h".
3366 (find_main_name): New function.
3367 (main_name): If name_of_main is unset, then compute it
3368 using find_main_name.
3369 (symtab_observer_executable_changed): New function.
3370 (_initialize_symtab): Attach executable_changed observer.
3371 * exec.c: Include "observer.h".
3372 (exec_file_attach): Emit executable_changed notification.
3373 * symfile.c: Include "observer.h".
3374 (reread_symbols): Send an executable_changed if appropriate.
3375 * Makefile.in (exec.o): Add dependency on observer.h.
3376 (symfile.o): Likewise.
3377 (symtab.o): Likewise.
3378
bb044262
DJ
33792005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
3380
3381 * findvar.c (read_var_value): Don't allocate V when it will not
3382 be used. Add missing break for LOC_INDIRECT.
3383
9e07977b
MK
33842005-03-06 Mark Kettenis <kettenis@gnu.org>
3385
3386 * sparc64fbsd-tdep.c: Include "solib-svr4.h".
3387 (sparc64fbsd_init_abi): Set skip_trampoline_code and
3388 solib_svr4_fetch_link_map_offsets.
3389 * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
3390
88d7a738 33912005-03-06 Daniel Jacobowitz <dan@codesourcery.com>
f75c00e4
DJ
3392
3393 * linux-nat.c (child_follow_fork): Call target_terminal_ours before
3394 printing output. Use fprintf_unfiltered. Only print output when
3395 debugging.
3396
e5a8e242 33972005-03-05 Mark Kettenis <kettenis@gnu.org>
e219d7ce
MK
3398
3399 * sparc64-tdep.c (sparc64_store_floating_fields): Constify third
3400 argument.
3401 (sparc64_store_arguments): Constify.
3402
dda5f19a
MK
34032005-03-05 Mark Kettenis <kettenis@gnu.org>
3404
0d6e4ad7
MK
3405 * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
3406 (alphabsd_fetch_inferior_registers): Rename from
3407 fetch_inferior_registers. Make static.
3408 (alphabsd_store_inferior_registers): Rename from
3409 store_inferior_registers. Make static.
3410 (_initialize_alphabsd_nat): New function.
3411 * Makefile.in (alphabsd-nat.o): Update dependencies.
3412 * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
3413 inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o.
3414 * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
3415 (NATDEPFILES): Remove infptrace.o and inftarg.o. Add
3416 alphabsd-nat.o.
3417 * config/alpha/nm-fbsd.h: Update copyright year. Don't include
3418 "config/nm-bsd.h" and "elf/common.h".
3419 * config/alpha/nm-nbsd.h: Update copyright year. Don't include
3420 "config/nm-nbsd.h".
3421
dda5f19a
MK
3422 * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
3423 software_single_step.
3424
aac71672
MS
34252005-03-04 Michael Snyder <msnyder@redhat.com>
3426
3427 * mn10300-prologue.c: New file. Prologue analysis.
3428 * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
3429 (mn10300_frame_unwind_cache): Don't call trad_frame_set_id
3430 until after analyze_prologue, and don't call trad_frame_set_base
3431 at all (let analyze_prologue do it).
3432
61e784e7
MS
34332005-03-04 Michael Snyder <msnyder@redhat.com>
3434
3435 * trad-frame.c (trad_frame_set_reg_value): New function.
3436 * trad-frame.h (trad_frame_set_reg_value): Export.
3437
6867ae3e
DJ
34382005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
3439
3440 * Makefile.in (remote.o): Update dependencies.
3441 * remote.c: Include "observer.h".
3442
f90221d3
DJ
34432005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
3444
3445 * target.c (target_read_memory_partial): Always initialize
3446 ERR.
3447 (target_write_memory_partial): Likewise.
3448
e20b4638
DJ
34492005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
3450
3451 * remote.c (remote_open_1): Call observer_notify_inferior_created.
3452
909cf6ea
DJ
34532005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
3454
3455 * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
3456 (arm_stub_unwind, arm_stub_unwind_sniffer): New.
3457 (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
3458
d3587048
DJ
34592005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
3460
3461 * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
3462 Use LWP IDs.
3463
806048c6
DJ
34642005-02-28 Daniel Jacobowitz <dan@codesourcery.com>
3465
3466 * dwarf2loc.c (loclist_read_variable): Set optimized_out
3467 instead of reporting an error.
3468 * valprint.c (value_check_printable): New function.
3469 (common_val_print): New function. Use value_check_printable.
3470 (value_print): Use value_check_printable.
3471 * value.h (common_val_print): Add prototype.
3472
3473 * c-valprint.c (c_val_print): Use common_val_print.
3474 * cp-valprint.c (cp_print_value_fields): Likewise.
3475 (cp_print_hpacc_virtual_table_entries): Likewise.
3476 * f-valprint.c (f_val_print): Likewise.
3477 * jv-valprint.c (java_value_print, java_print_value_fields):
3478 Likewise.
3479 * scm-valprint.c (scm_value_print): Likewise.
3480 * stack.c (print_frame_args): Likewise.
3481 * varobj.c (c_value_of_variable): Likewise.
3482 * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
3483 (pascal_object_print_value_fields): Likewise. Update call to
3484 pascal_object_print_static_field.
3485 (pascal_object_print_static_field): Remove TYPE argument. Use
3486 common_val_print.
3487
dd373385 34882005-02-25 Mark Kettenis <kettenis@gnu.org>
e04e8f8a 3489
dd373385
EZ
3490 Committed by Elena Zannoni <ezannoni@redhat.com>
3491
e04e8f8a 3492 * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
dd373385
EZ
3493 info_ptr before building psymtabs for included files.
3494 (create_all_comp_units): Initailize initial length size of
3495 compilation header to zero.
3496 (read_initial_length): Complain if both 32-bit and 64-bit DWARF
3497 sections are encountered within the same compilation header.
3498 (dwarf_decode_line_header): Pass compilation header in call to
3499 read_initial_length.
e04e8f8a 3500
920d2a44
AC
35012005-02-24 Andrew Cagney <cagney@gnu.org>
3502
3503 Add show_VARIABLE functions, update add_setshow call.
3504 * varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
e04e8f8a
EC
3505 * valprint.c (_initialize_valprint, show_print_max)
3506 (show_stop_print_at_null, show_repeat_count_threshold)
3507 (show_prettyprint_structs, show_unionprint)
3508 (show_prettyprint_arrays, show_addressprint, show_input_radix)
920d2a44
AC
3509 (show_output_radix): Ditto.
3510 * valops.c (_initialize_valops, show_overload_resolution): Ditto.
e04e8f8a
EC
3511 * utils.c (initialize_utils, show_chars_per_line)
3512 (show_lines_per_page, show_demangle, show_pagination_enabled)
920d2a44 3513 (show_sevenbit_strings, show_asm_demangle): Ditto
e04e8f8a 3514 * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
920d2a44 3515 (show_tui_border_mode, show_tui_active_border_mode): Ditto.
e04e8f8a
EC
3516 * top.c (init_main, show_new_async_prompt)
3517 (show_async_command_editing_p, show_write_history_p)
3518 (show_history_size, show_history_filename, show_caution)
920d2a44
AC
3519 (show_annotation_level, init_main): Ditto.
3520 * target.c (initialize_targets, show_targetdebug)
3521 (show_trust_readonly): Ditto.
e04e8f8a
EC
3522 * symfile.c (_initialize_symfile, show_symbol_reloading)
3523 (show_ext_args, show_download_write_size)
920d2a44
AC
3524 (show_debug_file_directory): Ditto.
3525 * source.c (_initialize_source, show_lines_to_list): Ditto.
e04e8f8a 3526 * solib.c (_initialize_solib, show_auto_solib_add)
920d2a44 3527 (show_solib_search_path): Ditto.
e04e8f8a 3528 * p-valprint.c (_initialize_pascal_valprint)
920d2a44 3529 (show_pascal_static_field_print): Ditto.
e04e8f8a 3530 * printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
920d2a44
AC
3531 (show_print_symbol_filename): Add and update.
3532 * parse.c (_initialize_parse, show_expressiondebug): Dito.
3533 * observer.c (_initialize_observer, show_observer_debug): Dito.
e04e8f8a 3534 * maint.c (_initialize_maint_cmds, show_watchdog)
920d2a44
AC
3535 (show_maintenance_profile_p): Dito.
3536 * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
e04e8f8a
EC
3537 * infrun.c (_initialize_infrun, show_debug_infrun)
3538 (show_stop_on_solib_events, show_follow_fork_mode_string)
920d2a44 3539 (show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
e04e8f8a 3540 * infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
920d2a44 3541 (show_unwind_on_signal_p): Ditto.
e04e8f8a 3542 * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
920d2a44
AC
3543 (_initialize_gdbtypes, show_overload_debug): Ditto.
3544 * gdb-events.c, gdb-events.sh (_initialize_gdb_events)
3545 (show_gdb_events_debug): Ditto.
3546 * gdbarch.c, gdbarch.sh (show_gdbarch_debug)
3547 (_initialize_gdbarch): Ditto.
e04e8f8a
EC
3548 * frame.c (_initialize_frame, show_backtrace_past_main)
3549 (show_backtrace_past_entry, show_backtrace_limit)
920d2a44
AC
3550 (show_frame_debug): Ditto.
3551 * exec.c (_initialize_exec, show_write_files): Ditto.
e04e8f8a 3552 * dwarf2read.c (_initialize_dwarf2_read)
920d2a44
AC
3553 (show_dwarf2_max_cache_age): Ditto.
3554 * demangle.c (_initialize_demangler)
3555 (show_demangling_style_names): Ditto.
3556 * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
e04e8f8a 3557 * cp-valprint.c (show_static_field_print)
920d2a44
AC
3558 (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
3559 * corefile.c (_initialize_core, show_gnutarget_string): Ditto.
e04e8f8a
EC
3560 * cli/cli-logging.c (_initialize_cli_logging)
3561 (show_logging_overwrite, show_logging_redirect)
920d2a44 3562 (show_logging_filename): Ditto.
e04e8f8a
EC
3563 * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
3564 (init_cli_cmds, show_baud_rate, show_remote_debug)
920d2a44
AC
3565 (show_remote_timeout, show_max_user_call_depth): Ditto.
3566 * charset.c (show_host_charset_name, show_target_charset_name)
3567 (initialize_charset): Ditto.
3568 * breakpoint.c (show_can_use_hw_watchpoints)
3569 (show_pending_break_support, _initialize_breakpoint): Ditto.
3570
2877b4cc
JB
35712005-02-23 Jim Blandy <jimb@redhat.com>
3572
3573 * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
3574
e9c55a7b
AC
35752005-02-23 Andrew Cagney <cagney@gnu.org>
3576
3577 * cli/cli-dump.c (dump_bfd_file): Replace magic constant with
3578 SEC_XXX flags.
3579
04ac69aa
AC
35802005-02-22 Andrew Cagney <cagney@gnu.org>
3581
3582 * configure.ac: Only enaable insight when itcl is present.
3583 * configure: Re-generate.
e04e8f8a 3584
3470a02f
AC
35852005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3586
3587 Committed by Andrew Cagney.
3588 * infptrace.c (store_register): Fix typo.
3589
b66df561
AC
35902005-02-21 Andrew Cagney <cagney@gnu.org>
3591
3592 * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
3593 * cli/cli-decode.h (add_set_cmd): Delete declaration.
3594 * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
3595 * i386-nat.c (_initialize_i386_nat): Update call.
3596 * valprint.c (_initialize_valprint): Update comment.
3597 * gnu-nat.c (_initialize_gnu_nat): Update call.
3598
85e3476f
AM
35992005-02-21 Alan Modra <amodra@bigpond.net.au>
3600
3601 * elfread.c (elf_symtab_read): Discard section syms.
3602
4d28ad1e
AC
36032005-02-21 Andrew Cagney <cagney@gnu.org>
3604
eefe576e
AC
3605 * cli/cli-decode.c (add_set_enum_cmd): Delete function.
3606 (deprecated_add_show_from_set): Delete function.
3607 * command.h (add_set_enum_cmd): Delete declaration.
3608 (deprecated_add_show_from_set): Delete declaration.
3609 * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
3610 (deprecated_add_show_from_set): Delete declaration.
3611 * arm-tdep.c (_initialize_arm_tdep): Update comment.
3612 * kod.c (kod_set_os): Simplify.
3613 * infrun.c (set_schedlock_func): Simplify.
3614 * cli/cli-dump.c (add_dump_command): Update comment.
3615
525226b5
AC
3616 Replace string variables with a filename completer with
3617 add_setshow_optional_filename_cmd.
3618 * solib.c, symfile.c: Update.
3619 * cli/cli-setshow.c: Do not tidle expand the file.
e04e8f8a 3620
4d28ad1e
AC
3621 Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
3622 and add_setshow_string_noescape_cmd.
3623 * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
3624 NULL command's value.
3625 * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
3626 * remote-sds.c, remote.c, symfile.c, top.c: Update.
3627
942fd9fe
AC
36282005-02-20 Andrew Cagney <cagney@gnu.org>
3629
7ab04401
AC
3630 Use add_setshow_enum_cmd through out.
3631 * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
3632 * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
e04e8f8a 3633
78f5381d
AC
3634 * mi/mi-main.c (captured_mi_execute_command): Use
3635 mi_cmd_interpreter_exec.
3636
b4b4ac0b
AC
3637 * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
3638 function.
e04e8f8a 3639 * cli/cli-setshow.c (deprecated_show_value_hack)
b4b4ac0b
AC
3640 (do_setshow_command): Handle var_optional_filename.
3641 * command.h (enum var_types): Add var_optional_filename.
3642 (add_setshow_optional_filename_cmd): Declare.
3643 * infcmd.c (notice_args_read): Use.
3644
942fd9fe
AC
3645 * symfile-mem.c (symbol_file_add_from_memory): Pass
3646 target_read_memory to bfd_elf_bfd_from_remote_memory.
3647 (do_target_read_memory): Delete.
3648
a6c442d8
MK
36492005-02-16 Mark Kettenis <kettenis@gnu.org>
3650
3651 * value.h (value_contents_equal): New prototype.
3652 * value.c (value_contents_equal): New function.
3653 * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't
3654 include <math.h>.
3655 (varobj_set_value): Initialize error to zero.
3656 (varobj_update): Rename error2 to error and initialize it to zero.
3657 Slightly change the wording of some comments.
3658 (my_value_equal): Reimplement using TRY_CATCH and
3659 value_contents_equal.
3660
5bf193a2
AC
36612005-02-18 Andrew Cagney <cagney@gnu.org>
3662
c0d88b1b
AC
3663 * cli/cli-decode.c (add_setshow_integer_cmd): New function.
3664 * command.h (add_setshow_integer_cmd): Declare.
3665 * cli/cli-cmds.c: Update.
e04e8f8a 3666
35096d9d
AC
3667 Use add_setshow_uinteger_cmd through out.
3668 * printcmd.c, source.c, utils.c, valprint.c: Update.
3669
85c07804
AC
3670 Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
3671 and gdbarch.c.
3672 * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
3673 * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
3674 * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
3675 * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
3676 * varobj.c, cli/cli-cmds.c: Update.
3677 * gdbarch.c, gdb-events.c: Regenerate.
e04e8f8a 3678
5bf193a2
AC
3679 Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
3680 code adding set/show boolean commands.
3681 * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
3682 * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
3683 * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
3684 * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
3685 * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
3686 * cli/cli-cmds.c: Update.
3687
2c5b56ce
AC
36882005-02-17 Andrew Cagney <cagney@gnu.org>
3689
f397e303
AC
3690 * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
3691 to filename_completer.
3692 * solib.c (_initialize_solib, reload_shared_libraries): Use
3693 add_setshow_filename_cmd.
3694 * serial.c (_initialize_serial): Ditto.
3695 * remote-utils.c (_initialize_sr_support): Ditto.
3696
26c41df3
AC
3697 * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
3698 * command.h (add_setshow_string_noescape_cmd): Declare.
3699 * wince.c (_initialize_wince): Use.
3700 * symfile.c (_initialize_symfile): Use.
3701 (set_ext_lang_command): Update declaration.
3702 * corefile.c (_initialize_core): Use.
3703
2c5b56ce
AC
3704 * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
3705 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
3706 (add_setshow_filename_cmd, add_setshow_string_cmd)
3707 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
3708 fprint_setshow parameter.
3709 * command.h (fprint_setshow_ftype): Delete.
3710 (add_setshow_cmd_full, add_setshow_enum_cmd)
3711 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
3712 (add_setshow_filename_cmd, add_setshow_string_cmd)
3713 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
3714 fprint_setshow parameter.
3715 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
3716 * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
3717 * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
3718 * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
3719 * remote.c, target.c, cli/cli-logging.c: Update.
e04e8f8a 3720
08546159
AC
37212005-02-16 Andrew Cagney <cagney@gnu.org>
3722
3723 Merge setshow print and show parameters.
3724 * command.h (show_value_ftype): Define.
3725 (deprecated_show_value_hack): Declare.
3726 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
3727 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
3728 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
3729 (add_setshow_zinteger_cmd): Change type of show_func to
3730 show_value_ftype.
3731 * cli/cli-decode.h (struct cmd_list_element): Replace
3732 fprint_setshow with show_value_func.
3733 * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
3734 parameter. Set show_value_func. Do not set cmd_sfunc.
e04e8f8a
EC
3735 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
3736 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
3737 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
08546159
AC
3738 (add_setshow_zinteger_cmd): Update.
3739 * complaints.c (complaints_show_value): Replace
3740 fprint_setshow_complaints.
3741 (_initialize_complaints): Update.
3742 * mips-tdep.c (show_mask_address): Update.
3743 * arm-tdep.c (show_fp_model): Update.
3744 * cli/cli-setshow.c (do_setshow_command): Call show_value_func
3745 instead of fprint_setshow. Use deprecated_show_value_hack.
3746 (deprecated_show_value_hack): New function.
e04e8f8a
EC
3747 * remote.c (add_packet_config_cmd, show_remote_cmd):
3748 (show_remote_protocol_P_packet_cmd)
3749 (show_remote_protocol_P_packet_cmd)
3750 (show_remote_protocol_Z_access_wp_packet_cmd)
3751 (show_remote_protocol_Z_hardware_bp_packet_cmd)
08546159 3752 (show_remote_protocol_Z_packet_cmd)
e04e8f8a
EC
3753 (show_remote_protocol_Z_read_wp_packet_cmd)
3754 (show_remote_protocol_Z_software_bp_packet_cmd)
3755 (show_remote_protocol_Z_write_wp_packet_cmd)
3756 (show_remote_protocol_binary_download_cmd)
3757 (show_remote_protocol_p_packet_cmd)
3758 (show_remote_protocol_qPart_auxv_packet_cmd)
3759 (show_remote_protocol_qSymbol_packet_cmd)
08546159
AC
3760 (show_remote_protocol_vcont_packet_cmd): Update.
3761
1c7b1e5a
MK
37622005-02-16 Mark Kettenis <kettenis@gnu.org>
3763
3764 * wrapper.h: Update copyright year. Properly wrap a few
3765 prototypes.
3766 (struct gdb_wrapper_arguments): Remove forward declaration.
3767 * wrapper.c: Update copyright year. Include "ui-out.h".
3768 (struct gdb_wrapper_arguments): Remove.
3769 (struct captured_value_struct_elt_args): Remove.
3770 (wrapper_parse_exp_1, wrap_evaluate_expression)
3771 (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
3772 (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
3773 (do_captured_value_struct_elf): Remove functions.
3774 (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
3775 (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
3776 (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
3777 Re-implement using TRY_CATCH.
3778
7124f6fb
YS
37792005-02-16 Yoshinori Sato <ysato@users.sourceforge.jp>
3780
3781 * remote-e7000.c: unuse TM_FILE defined macro.
e04e8f8a 3782 (e7000_fetch_registers)
7124f6fb
YS
3783 (e7000_store_registers)
3784 (e7000_wait): delete NUM_REALREGS.
3785 * remote-hms.c: move TM_FILE macro.
3786 (CCR_REGNO): move define from tm-h8300.h.
e04e8f8a 3787
55e5a6d0
MK
37882005-02-15 Mark Kettenis <kettenis@gnu.org>
3789
3790 * amd64-linux-tdep.c: Update copyright year.
a348ae87
MK
3791 (amd64_linux_sigtramp_start): Use sizeof operator instead of
3792 LINUX_SIGTRAMP_LEN.
55e5a6d0 3793
77ef991d
JB
37942004-02-15 Joel Brobecker <brobecker@gnat.com>
3795
3796 From Paul Hilfinger <hilfinger@gnat.com>
3797 * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
3798 SYMBOL_NATURAL_NAME to set type names.
3799
1bedd215
AC
38002005-02-15 Andrew Cagney <cagney@gnu.org>
3801
3802 Mark up add_com, add_info and add_prefix_cmd.
3803 * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
3804 * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
3805 * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
3806 * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
3807 * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
3808 * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
3809 * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
3810 * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
3811 * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
3812 * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
3813 * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
3814 * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
3815 * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
3816 * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
3817 * tui/tui-stack.c, tui/tui-win.c: Update.
3818
66bf4b3a
AC
38192005-02-14 Andrew Cagney <cagney@gnu.org>
3820
3f325092
AC
3821 * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
3822 * config/h8300/tm-h8300.h: Delete file.
3823
1a966eab
AC
3824 Mark up add_cmd.
3825 * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
3826 * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
3827 * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
3828 * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
3829 * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
3830 * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
3831 * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
3832 * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
3833 * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
3834 * cli/cli-logging.c, tui/tui-regs.c: Update.
3835
7915a72c
AC
3836 Mark up add_setshow functions, replace "PRINT:" comment prefix
3837 with "FIXME: i18n:".
3838 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
3839 * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
3840 * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
3841 * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
3842 * target.c, cli/cli-logging.c: Update.
3843
66bf4b3a
AC
3844 * utils.c (paddress): New function.
3845 * defs.h (paddress): Declare.
3846 * printcmd.c (deprecated_print_address_numeric): Rename
3847 print_address_numeric, call paddress.
3848 * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
3849 * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
3850 * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
3851 * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
3852 * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
3853 * ada-valprint.c: Update.
3854
33e6b12b
RR
38552005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
3856
3857 * MAINTAINERS: Add myself to "Write After Approval".
3858
f0bdd87d
YS
38592005-02-12 Yoshinori Sato <ysato@users.sourceforge.jp>
3860
3861 Restore h8300 support.
3862 * configure.tgt: Add h8300-*-*
ba0e80db
YS
3863 * h8300-tdep.c: New file. Rewrite new frame code.
3864 * config/h8300/h8300.mt: New file. Restored Rev 1.3
3865 * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
3866
3867 * MAINTAINERS: Add myself to "Write After Approval".
f0bdd87d 3868
e2e0b3e5
AC
38692005-02-11 Andrew Cagney <cagney@gnu.org>
3870
a3f17187
AC
3871 Mark up some of printf_filtered and printf_unfiltered.
3872 * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
3873 * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
3874 * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
3875 * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
3876 * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
3877 * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
3878 * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
3879 * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
3880 * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
3881 * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
3882 * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
3883 * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
3884 * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
3885 * tui/tui-regs.c, tui/tui-win.c: Update.
3886
e2e0b3e5
AC
3887 Mark up error_no_arg, query, perror_with_name, complaint, and
3888 internal_error.
3889 * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
3890 * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
3891 * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
3892 * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
3893 * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
3894 * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
3895 * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
3896 * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
3897 * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
3898 * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
3899 * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
3900 * interps.c, language.c, linespec.c, linux-nat.c: Update.
3901 * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
3902 * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
3903 * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
3904 * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
3905 * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
3906 * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
3907 * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
3908 * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
3909 * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
3910 * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
3911 * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
3912 * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
3913 * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
3914 * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
3915 * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
3916 * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
3917 * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
3918 * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
3919 * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
3920 * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
3921 * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
3922 * tui/tui-file.c, tui/tui-interp.c: Update.
8a3fe4f8 3923
e2e0b3e5 39242005-02-10 Andrew Cagney <cagney@gnu.org>
e04e8f8a 3925
8a3fe4f8
AC
3926 Mark up all error and warning messages.
3927 * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
3928 * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
3929 * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
3930 * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
3931 * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
3932 * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
3933 * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
3934 * event-top.c, exec.c, expprint.c, f-lang.c: Update.
3935 * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
3936 * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
3937 * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
3938 * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
3939 * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
3940 * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
3941 * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
3942 * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
3943 * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
3944 * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
3945 * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
3946 * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
3947 * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
3948 * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
3949 * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
3950 * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
3951 * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
3952 * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
3953 * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
3954 * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
3955 * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
3956 * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
3957 * remote-rdp.c, remote-sim.c, remote-st.c: Update.
3958 * remote-utils.c, remote-utils.h, remote.c: Update.
3959 * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
3960 * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
3961 * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
3962 * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
3963 * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
3964 * somread.c, somsolib.c, source.c, stabsread.c: Update.
3965 * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
3966 * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
3967 * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
3968 * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
3969 * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
3970 * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
3971 * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
3972 * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
3973 * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
3974 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
3975 * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
3976 * tui/tui-win.c: Update.
e04e8f8a 3977
3517749c
ILT
39782005-02-10 Ian Lance Taylor <ian@airs.com>
3979
3980 * MAINTAINERS: Update my e-mail address.
3981
cf309262
DJ
39822005-02-10 Daniel Jacobowitz <dan@debian.org>
3983
3984 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
3985 PR exp/1821
3986 * cp-valprint.c: Include "language.h".
3987 (cp_print_value_fields): Pass the current language to
3988 fprintf_symbol_filtered.
3989 * Makefile.in (cp-valprint.o): Update dependencies.
3990
899506a8
AC
39912005-02-10 Andrew Cagney <cagney@gnu.org>
3992
335cca0d
AC
3993 * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
3994 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
3995 (add_setshow_filename_cmd, add_setshow_string_cmd)
3996 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
3997 print string parameter with fprint_setshow function.
3998 * command.h (fprint_setshow_ftype): Define. Update declarations.
3999 * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
4000 available, use that.
4001 * cli/cli-decode.h (struct cmd_list_element): Add field
4002 fprint_setshow.
4003 * complaints.c (fprint_setshow_complaints): New function.
4004 (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
4005 * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
4006 with NULL.
4007 * mips-tdep.c (_initialize_mips_tdep): Ditto.
4008 * m32r-rom.c (_initialize_m32r_rom): Ditto.
4009 * cris-tdep.c (_initialize_cris_tdep): Ditto.
4010 * arm-tdep.c (_initialize_arm_tdep): Ditto.
4011 * remote-rdi.c (_initialize_remote_rdi): Ditto.
4012 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
4013 * dwarf2read.c (_initialize_dwarf2_read): Ditto.
4014 * frame.c (_initialize_frame): Ditto.
4015 * target.c (initialize_targets): Ditto.
4016 * maint.c (_initialize_maint_cmds): Ditto.
4017 * observer.c (_initialize_observer): Ditto.
4018 * infcall.c (_initialize_infcall): Ditto.
4019 * breakpoint.c (_initialize_breakpoint): Ditto.
4020 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
4021 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
4022
899506a8
AC
4023 * cli/cli-setshow.c (do_setshow_command): Move code printing the
4024 value to the end of the function. Handle MI and non-MI output
4025 differently.
4026
59c58d08
AC
40272005-02-09 Andrew Cagney <cagney@gnu.org>
4028
7376b4c2
AC
4029 * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
4030 show_result parameters.
4031 * mips-tdep.c (_initialize_mips_tdep): Update calls.
4032 * command.h: Update declaration.
4033 * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
4034 calls.
4035
11dced61
AC
4036 * NEWS: Mention removed commands.
4037 * m68hc11-tdep.c (show_regs): Delete, unused.
4038 (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
4039 * gdb-events.sh: Delete deprecated "set eventdebug" and "show
4040 eventdebug" commands.
4041 * gdb-events.c: Regenerate.
4042 * gdbarch.sh: Delete deprecated "set archdebug" and "show
4043 archdebug" commands.
4044 * gdbarch.c: Regenerate.
4045 * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
4046 remotedebug" and "show remotedebug".
4047 * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
4048 disassembly-flavor", "show arm disassembly-flavor", and
4049 "othernames" commands.
4050 (arm_othernames): Delete unused function.
4051
b6e1c027
AC
4052 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
4053 (convert_code_addr_to_desc_addr): Convert any function code
4054 address to the corresponding function's descriptor.
4055 (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
4056 TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
4057 writing, convert any function code address to the corresponding
4058 descriptor.
4059
59c58d08
AC
4060 * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
4061 * config/powerpc/linux.mt (TDEPFILES): Ditto.
4062 * config/pa/linux.mt (TDEPFILES): Ditto.
4063 * config/mips/linux.mt (TDEPFILES): Ditto.
4064 * config/m68k/linux.mt (TDEPFILES): Ditto.
4065 * config/m32r/linux.mt (TDEPFILES): Ditto.
4066 * config/ia64/linux.mt (TDEPFILES): Ditto.
4067 * config/arm/linux.mt (TDEPFILES): Ditto.
4068
b6e1c027
AC
40692005-02-09 Corinna Vinschen <vinschen@redhat.com>
4070
4071 * symmisc.c: Include gdb_stat.h.
4072 (maintenance_print_msymbols): Use inode numbers to compare files.
4073
91294c83
AC
40742005-02-08 Andrew Cagney <cagney@gnu.org>
4075
e04e8f8a 4076 * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
d3cbe7ef 4077 (METHOD_PTR_TO_VOFFSET): Move from here ...
e04e8f8a 4078 * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
d3cbe7ef
AC
4079 (METHOD_PTR_TO_VOFFSET): ... to here.
4080 * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
4081 * Makefile.in: Update dependencies.
e04e8f8a 4082
6941d02a
AC
4083 * exceptions.c: Do not include <setjmp.h>.
4084 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
e04e8f8a 4085 (catch_exception, catch_exceptions_with_msg, catch_errors)
6941d02a
AC
4086 (catch_command_errors): Use TRY_CATCH.
4087 (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
4088 (exceptions_state_mc_init): Rename catcher_init.
4089 (exceptions_state_mc): Rename catcher_state_machine.
4090 (exceptions_state_mc_action_iter)
4091 (exceptions_state_mc_action_iter_1): New functions.
4092 * exceptions.h: Include <setjmp.h>.
e04e8f8a 4093 (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
6941d02a
AC
4094 (EXCEPTIONS_SIGLONGJMP): Define.
4095 (exceptions_state_mc_init, exceptions_state_mc_action_iter)
4096 (exceptions_state_mc_action_iter_1): Declare.
4097 (TRY_CATCH): Define.
4098
179f02be
AC
4099 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
4100 no longer needed.
4101
8f135812
AC
4102 * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
4103 PT_FPSCR breakage.
4104
91294c83
AC
4105 * value.c (struct value): Move to here ...
4106 * value.h (struct value): ... from here. Copy comments to
4107 corresponding function declarations, re-order.
4108
dfa52d88
AC
41092005-02-07 Andrew Cagney <cagney@gnu.org>
4110
9bbda503
AC
4111 * value.c (set_value_bitpos, set_value_bitsize): Define.
4112 * value.h (set_value_bitpos, set_value_bitsize): Declare.
4113 * ada-lang.c, valarith.c: Update.
4114
5086187c
AC
4115 * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
4116 value_contents_writeable, include note that there are problems.
4117 * breakpoint.c, infcall.c: Use VALUE_LVAL.
4118
f5cf64a7
AC
4119 * value.h (set_value_offset): Declare.
4120 * value.c (set_value_offset): Declare.
4121 * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
4122 * findvar.c: Update.
4123
17cf0ecd
AC
4124 * value.h (value_next): Declare.
4125 * value.c (value_next): Define.
4126 * breakpoint.c: Update.
4127
88e3b34b
AC
4128 * value.h (deprecated_set_value_modifiable)
4129 (deprecated_value_modifiable): Declare.
4130 * value.c (deprecated_set_value_modifiable): Define.
4131 (deprecated_value_modifiable): Define.
4132 * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
4133
04624583
AC
4134 * value.h (deprecated_set_value_type): Declare.
4135 * value.c (deprecated_set_value_type): Define.
4136 * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
4137 * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
4138 * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
4139 * ax-gdb.c, tracepoint.c: Update.
4140
13bb5560 4141 * value.h (deprecated_value_lval_hack)
e04e8f8a
EC
4142 (deprecated_value_address_hack)
4143 (deprecated_value_internalvar_hack)
13bb5560 4144 (deprecated_value_regnum_hack): Declare.
e04e8f8a 4145 (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
13bb5560
AC
4146 (VALUE_FRAME_ID, VALUE_REGNUM): Use.
4147 * value.c (deprecated_value_lval_hack)
e04e8f8a
EC
4148 (deprecated_value_address_hack)
4149 (deprecated_value_internalvar_hack)
13bb5560
AC
4150 (deprecated_value_regnum_hack): Define.
4151
b44d461b
AC
4152 * value.h (VALUE_POINTED_TO_OFFSET): Delete.
4153 (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
4154 * value.c (set_value_pointed_to_offset): Define
4155 (value_pointed_to_offset): Define.
4156 * valops.c: Update.
4157
caadb61d
AC
4158 * value.h (VALUE_EMBEDDED_OFFSET): Delete.
4159 (value_embedded_offset, set_value_embedded_offset): Declare.
13c3b5f5 4160 * value.c (value_embedded_offset): Define.
caadb61d 4161 (set_value_embedded_offset): Define.
13c3b5f5
AC
4162 * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
4163 * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
4164 * cp-abi.h: Update.
4165
dfa52d88
AC
4166 * value.h (VALUE_LAZY): Delete
4167 (set_value_lazy): Declare.
4168 * value.c (set_value_lazy): Define.
4169 * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
4170 * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
4171
0fd88904
AC
41722005-02-06 Andrew Cagney <cagney@gnu.org>
4173
feb13ab0
AC
4174 * value.h (VALUE_OPTIMIZED_OUT): Delete.
4175 (value_optimized_out, set_value_optimized_out): Declare.
4176 * value.c (set_value_optimized_out, value_optimized_out): Define.
4177 * valprint.c, findvar.c, dwarf2loc.c: Update.
4178
0fd88904
AC
4179 * value.c (value_contents, value_contents_writeable): New
4180 functions.
4181 * value.h (VALUE_CONTENTS): Delete macro.
4182 (value_contents, value_contents_writeable): Declare.
4183 * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
4184 * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
4185 * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
4186 * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
4187 * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
4188 * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
4189 * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
4190 * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
4191 * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
4192 * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
4193 * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
4194 * ada-valprint.c, ada-lang.c: Update.
4195
5b90c7b5
AC
41962005-02-03 Andrew Cagney <cagney@gnu.org>
4197
4198 * utils.c (xzalloc): New function.
4199 * defs.h (XZALLOC): Use xzalloc.
4200 (xzalloc): Declare.
4201 * value.c (allocate_value): Allocate a zeroed buffer.
4202 * mdebugread.c (xzalloc): Delete.
4203
4754a64e
AC
42042005-02-02 Andrew Cagney <cagney@gnu.org>
4205
d69fe07e
AC
4206 * value.h (value_lazy): Declare.
4207 * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
4208 * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
4209
46615f07
AC
4210 * value.h (VALUE_CONTENTS_ALL): Delete.
4211 (value_contents_all): Declare.
4212 * value.c (value_contents_all): New function.
4213 * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
4214 * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
4215
4754a64e
AC
4216 * value.c (value_enclosing_type): New function.
4217 * value.h (VALUE_ENCLOSING_TYPE): Delete.
4218 (value_enclosing_type): Declare.
4219 * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
4220 * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
4221
990a07ab
AC
4222 * value.c (value_contents_all_raw)
4223 (value_contents_raw): New functions.
4224 * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
4225 (value_contents_raw, value_contents_all_raw): Declare functions.
4226 (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
4227 * std-regs.c, valarith.c, valops.c, eval.c: Update.
4228 * tracepoint.c, findvar.c: Update.
4229
ff2c3e5d
OF
42302005-02-01 Orjan Friberg <orjanf@axis.com>
4231
4232 * regformats/reg-cris.dat: New file with register definitions for CRIS.
4233 * regformats/reg-crisv32.dat: Ditto for CRISv32.
4234
c46f8c51
AC
42352005-01-31 Andrew Cagney <cagney@gnu.org>
4236
4237 * configure: Regenerate to track ../gettext.m4.
4238
a80493b8
BI
42392005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
4240
4241 * MAINTAINERS: Add myself to "Write After Approval".
4242
3d263c1d
BI
4243 * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
4244 * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
4245 * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
4246
c21a4eee
MK
42472005-01-29 Mark Kettenis <kettenis@gnu.org>
4248
4249 * configure.ac: Remove extra check for ranlib.
4250 * configure: Regenerated.
4251
108d6ead
AC
42522005-01-28 Andrew Cagney <cagney@gnu.org>
4253
a2bd3dcd
AC
4254 * language.h (struct language_defn): Make la_val_print's buffer
4255 parameter a const bfd_byte.
4256 * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
4257 * ada-lang.c (ada_aligned_value_addr)
4258 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
4259 * valprint.c (val_print_array_elements): Update.
4260 * valprint.h (val_print_array_elements): Update.
4261 * ada-lang.h (ada_val_print, ada_aligned_value_addr)
4262 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
e04e8f8a
EC
4263 * ada-valprint.c (ada_val_print, struct ada_val_print_args)
4264 (ada_val_print_1, ada_print_floating, printable_val_type)
4265 (print_record, val_print_packed_array_elements)
a2bd3dcd
AC
4266 (print_field_values, print_variant_part): Update.
4267 * c-lang.h (c_val_print, cp_print_value_fields): Update.
4268 * c-valprint.c (c_val_print): Update.
4269 * f-lang.h (f_val_print): Update.
4270 * f-valprint.c (f_val_print, f77_print_array_1)
4271 (f77_print_array): Update.
4272 * jv-lang.h (java_val_print): Update.
4273 * jv-valprint.c (java_print_value_fields, java_val_print): Update.
4274 * language.c (unk_lang_val_print): Update.
4275 * m2-lang.h (m2_val_print): Update.
4276 * m2-valprint.c (m2_val_print): Update.
4277 * p-lang.h (pascal_val_print): Update.
4278 (pascal_object_print_value_fields): Update.
e04e8f8a
EC
4279 * p-valprint.c (pascal_val_print)
4280 (pascal_object_print_value_fields, pascal_object_print_value)
a2bd3dcd
AC
4281 (pascal_object_print_value): Update.
4282 * scm-lang.h (scm_val_print): Update.
4283 * scm-valprint.c (scm_val_print): Update.
4284 * value.h (val_print): Update.
4285
5bcca90b
AC
4286 * p-lang.h (pascal_object_print_class_member)
4287 (pascal_object_print_class_method): Make buffer a const bfd_byte.
4288 * p-valprint.c (pascal_object_print_class_method)
4289 (pascal_object_print_class_method): Ditto.
e04e8f8a 4290
ce27fb25
AC
4291 * language.h (struct language_defn): Make la_printstr's buffer
4292 parameter a const bfd_byte.
4293 * p-lang.h (pascal_printstr): Update function to match.
4294 * ada-valprint.c (ada_printstr): Update function to match.
4295 * scm-lang.c (scm_printstr): Update function to match.
4296 * p-lang.c (pascal_printstr): Update function to match.
4297 * ada-lang.h (ada_printstr): Update function to match.
4298 * m2-lang.c (m2_printstr): Update function to match.
4299 * objc-lang.c (objc_printstr): Update function to match.
4300 * c-lang.h (c_printstr): Update function to match.
4301 * f-lang.c (f_printstr): Update function to match.
4302 * c-lang.c (c_printstr): Update function to match.
4303 * language.c (unk_lang_printstr): Update function to match.
4304
5f547748
AC
4305 * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
4306 * valprint.h (val_print_type_code_int): Ditto.
4307
bbb4b9db
AC
4308 * objc-lang.h (c_val_print, c_value_print): Delete declarations.
4309
9519ccd5
AC
4310 * cp-valprint.c (cp_print_class_method)
4311 (cp_print_class_member): Make buffer a const bfd_byte.
4312 * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
4313
10a2c479
AC
4314 * ada-lang.c (value_from_contents_and_address)
4315 (to_record_with_fixed_variant_part)
4316 (value_tag_from_contents_and_address, ada_to_fixed_type)
4317 (to_fixed_variant_branch_type, to_fixed_record_type)
4318 (ada_template_to_fixed_record_type, cond_offset_host)
4319 (ada_template_to_fixed_record_type_1): Make buffer a const
4320 bfd_byte.
4321 * ada-lang.h (ada_template_to_fixed_record_type_1)
4322 (value_from_contents_and_address, ada_to_fixed_type): Ditto.
4323
d56612af
AC
4324 * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
4325
366b1cbf 4326 * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
d56612af 4327 * printcmd.c (print_scalar_formatted): Update.
366b1cbf 4328
c84141d6
AC
4329 * value.h (value_bit_index, print_floating)
4330 (find_rt_vbase_offset): Make buffer a const bfd_byte.
4331 * valprint.c (print_floating): Update.
4332 * valarith.c (value_bit_index): Update.
4333 * valops.c (find_rt_vbase_offset): Update.
4334
6c403953
AC
4335 * valprint.h (print_octal_chars, print_char_chars)
4336 (print_hex_chars, print_decimal_chars, print_binary_chars): Make
4337 buffer a const bfd_byte.
4338 * valprint.c (print_binary_chars, print_octal_chars)
4339 (print_decimal_chars, print_hex_chars, print_char_chars): Make
4340 "valaddr"buffer a const bfd_byte, ditto for local variables
4341 referencing that buffer.
4342
a8d6eb4a
AC
4343 * m2-valprint.c: Include "c-lang.h".
4344 (c_val_print): Delete extern declaration.
4345 * scm-valprint.c: Include "c-lang.h".
4346 (c_val_print): Delete extern declaration.
4347 Makefile.in: Update dependencies.
4348
06c4d4dc
AC
4349 * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
4350 bfd_byte.
4351 * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
4352 (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
4353 bfd_byte.
4354 * cp-abi.c (baseclass_offset): Update.
4355 * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
4356
6b08edad
AC
4357 * gnu-v2-abi.h: New file.
4358 * gnu-v2-abi.c: Include "gnu-v2-abi.h".
4359 (gnuv2_baseclass_offset): Delete declaration.
4360 * hpacc-abi.c: Include "gnu-v2-abi.h".
4361 (gnuv2_baseclass_offset): Delete extern declaration.
4362 * Makefile.in: Update dependencies.
4363
108d6ead
AC
4364 * doublest.c (floatformat_is_negative, floatformat_is_nan)
4365 (floatformat_mantissa, get_field): Make the buffer a const
4366 bfd_byte, simplify.
4367
a53bf506
AC
43682005-01-27 Andrew Cagney <cagney@gnu.org>
4369
8cc2524a
AC
4370 * value.h (struct value): Change type of contents to bfd_byte.
4371 (VALUE_CONTENTS_RAW): Simplify.
4372
79dd2d24
AC
4373 * gdbarch.sh (integer_to_address): Change buf parameter to a const
4374 bfd_byte, make pure-multi-arch.
4375 * gdbarch.h, gdbarch.c: Regenerate.
4376 * mips-tdep.c (mips_integer_to_address): Update.
4377 * value.c (value_as_address): Update.
e04e8f8a 4378
c26b8e3b
AC
4379 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
4380 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
4381 parameters const, change buf to a const bfd_byte.
4382 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
4383 parameters const.
4384
10e2d419
AC
4385 * corefile.c (write_memory): Update, make a copy of the read-only
4386 buffer.
4387 * target.c (target_read_memory): Update.
4388 (target_write_memory): Update, make a copy of the read-only
4389 buffer.
4390 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
4391 const.
4392 * target.h (target_read_memory, target_write_memory): Change
4393 buffer type to bfd_byte; for write_memory, make it const.
4394 * symfile-mem.c (do_target_read_memory): New function.
4395 (symbol_file_add_from_memory): Pass do_target_read_memory to
4396 bfd_elf_bfd_from_remote_memory.
4397
89f5065b
AC
4398 * value.h: Indent using gdb_indent.sh.
4399
a53bf506
AC
4400 * configure: Regenerate to track ../gettext.m4 change.
4401
c44ca51c
AC
44022005-01-26 Andrew Cagney <cagney@gnu.org>
4403
4404 * rs6000-tdep.c: Include "reggroups.h".
4405 (rs6000_gdbarch_init): Set register_reggroup_p.
4406 (rs6000_register_reggroup_p): New function.
4407
c600d464
OF
44082005-01-26 Orjan Friberg <orjanf@axis.com>
4409
4410 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
4411 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
4412 CRISv32.
4413 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
4414 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
4415 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
4416 (crisv32_register_type, cris_special_register_name)
4417 (crisv32_register_name): New functions.
4418 (cris_spec_reg_applicable): Recognize more versions.
4419 (cris_register_name): Update with call to cris_special_register_name.
4420 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
4421 warning when unable to find step target.
4422 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
e04e8f8a 4423 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
c600d464
OF
4424 CRISv32.
4425 (fetch_core_registers): Update for CRISv32.
4426 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
4427 register_name, cannot_store_register, cannot_fetch_register,
4428 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
e04e8f8a 4429
82c94ed0
NR
44302005-01-26 Nick Roberts <nickrob@snap.net.nz>
4431
4432 * interps.c (interpreter_exec_cmd): Use condition,
4433 e.reason < 0, to raise an error.
4434
0598a43c
AC
44352005-01-25 Andrew Cagney <cagney@gnu.org>
4436
a8f60bfc
AC
4437 * ppc-linux-tdep.c: Include "tramp-frame.h"
4438 (struct ppc_linux_sigtramp_cache)
4439 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
4440 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
4441 (ppc_linux_sigtramp_cache): Delete.
4442 (ppc32_linux_sigaction_cache_init)
4443 (ppc64_linux_sigaction_cache_init)
4444 (ppc32_linux_sighandler_cache_init)
4445 (ppc64_linux_sighandler_cache_init)
4446 (ppc32_linux_sigaction_tramp_frame)
4447 (ppc64_linux_sigaction_tramp_frame)
4448 (ppc32_linux_sighandler_tramp_frame)
4449 (ppc64_linux_sighandler_tramp_frame)
4450 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
4451 64-bit, sigaction and siginfo tramp-frame unwinders.
4452
0598a43c
AC
4453 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
4454 long_double_bit to 8.
4455
9d799f85
AC
44562005-01-24 Andrew Cagney <cagney@gnu.org>
4457
4458 * infrun.c (handle_inferior_event): Handle back-to-back and nested
4459 signals where the step_resume_breakpoint may have already been
4460 inserted.
4461
45181ed1
AC
44622005-01-24 Andrew Cagney <cagney@gnu.org>
4463
4464 * configure: Regenerate, ../gettext.m4 was updated.
4465
a28109e0
MK
44662005-01-23 Mark Kettenis <kettenis@gnu.org>
4467
6fe85783
MK
4468 * NEWS: Mention new BSD user-level threads support.
4469
a28109e0
MK
4470 * i386obsd-tdep.c: Update copyright year. Include
4471 "bsd-uthread.h".
4472 (i386obsd_uthread_reg_offset): New variable.
4473 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
4474 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
4475 functions.
4476 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
4477 * Makefile.in (i386obsd-tdep.o): Update dependencies.
4478 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
4479
059198c1
CF
44802005-01-23 Christopher Faylor <cgf@timesys.com>
4481
4482 * win32-nat.c: Update copyright year.
4483 (child_init_thread_list): Set thread linked list point to NULL so that
4484 it won't be reused after clearing.
4485
5c45e068
MK
44862005-01-21 Mark Kettenis <kettenis@gnu.org>
4487
4488 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
4489 undefs.
4490 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
4491 thread' has a td_pcb member and whether `struct reg' has r_fs and
4492 r_gs members.
4493 * configure, config.in: Regenerate.
4494
666ec76f
MK
44952005-01-21 Mark Kettenis <kettenis@gnu.org>
4496
b8667b61
MK
4497 * configure.ac: Remove ia64-*-aix* junk.
4498 * configure: Regenerate.
4499
a3828db0
MK
4500 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
4501 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
4502 is necessary.
4503 * configure, config.in: Regenerate.
4504 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
4505 BFD_NEED_DECLARATION. Never provide a prototype for
4506 caninicalize_file_name.
4507 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
4508 BFD_NEED_DECLARATION.
4509
666ec76f
MK
4510 * configure.ac (targ_archs): Use standard autoconf check for
4511 "struct stat.st_blocks" instead of rolling our own.
4512 * configure: Regenerated.
4513 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
4514 * config.in: Regenerated.
4515
bc8bcb4b
MK
45162005-01-21 Mark Kettenis <kettenis@gnu.org>
4517
4518 * configure.ac: Modernize checks for `long long' and `long double'
4519 support.
4520 * configure: Regenerated.
4521 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
4522 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
4523 * config.in: Regenerated.
4524
30adeb3a
MK
45252005-01-20 Mark Kettenis <kettenis@gnu.org>
4526
4527 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
4528 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
4529 * configure.ac: Remove checks for HP-UX save_state structure.
4530 * configure: Regenerated.
4531
e06e2353
AC
45322005-01-19 Andrew Cagney <cagney@gnu.org>
4533
4534 * utils.c (quit): Simplify, call fatal.
4535 * exceptions.c: Include "serial.h"
4536 (print_flush): Mimic flush code found in utils.c:quit.
4537 * Makefile.in: Update dependencies.
e04e8f8a 4538
1c44323f
JB
45392005-01-19 Jim Blandy <jimb@redhat.com>
4540
065a1afc
JB
4541 * configure.tgt: Set build_rdi_share to "yes" on those targets
4542 that use that debugging protocol.
4543 Set build_nlm to yes to build NLM stub for Netware targets.
4544 * configure.ac: If build_rdi_share is "yes", then configure the
4545 rdi-share subdirectory.
4546 If build_nlm is "yes", the configure the "nlm" subdirectory.
4547 * configure: Regenerated.
4548
1c44323f
JB
4549 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
4550 autoconf 2.59 and automake 1.9.3.
4551
8a9de0e4
AC
45522005-01-19 Andrew Cagney <cagney@gnu.org>
4553
315a522e
AC
4554 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
4555 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
4556 * utils.c (internal_verror, quit): Update.
4557 * remote-sds.c (interrupt_query): Update.
4558 * remote-mips.c (mips_error, mips_kill): Update.
4559 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
4560 * remote.c (interrupt_query): Update.
4561 * ocd.c (interrupt_query): Update.
4562 * nto-procfs.c (interrupt_query): Update.
4563 * monitor.c (monitor_interrupt_query): Update.
4564 * breakpoint.c (break_command_1): Update.
4565
8a9de0e4
AC
4566 * infrun.c: (resume, proceed, wait_for_inferior)
4567 (handle_inferior_event, stop_stepping)
4568 (prepare_to_wait): Write debug output to gdb_stdlog.
4569
53283f86
MK
45702005-01-19 Mark Kettenis <kettenis@gnu.org>
4571
4572 * inf-ptrace.c (inf_ptrace_prepare_to_store)
4573 (inf_ptrace_post_startup_inferior)
4574 (inf_ptrace_acknowledge_created_inferior)
4575 (inf_ptrace_insert_fork_catchpoint)
4576 (inf_ptrace_remove_fork_catchpoint)
4577 (inf_ptrace_insert_vfork_catchpoint):
4578 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
4579 (inf_ptrace_insert_exec_catchpoint)
4580 (inf_ptrace_remove_exec_catchpoint): Remove functions.
4581 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
4582 (inf_ptrace_target): Don't set to_prepare_to_store,
4583 to_post_startup_inferior, to_acknowledge_created_inferior,
4584 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
4585 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
4586 to_follow_fork, to_insert_exec_catchpoint,
4587 to_remove_exec_catchpoint.
4588
9ee907e0
AC
45892005-01-18 Andrew Cagney <cagney@gnu.org>
4590
fa113d1a
AC
4591 * target.h (struct target_ops): Change return type of
4592 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
4593 to_insert_exec_catchpoint to void.
4594 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
4595 (child_insert_exec_catchpoint): Change return type to void.
4596 * target.c (update_current_target): Update.
e04e8f8a
EC
4597 (debug_to_insert_fork_catchpoint)
4598 (debug_to_insert_vfork_catchpoint)
fa113d1a 4599 (debug_to_insert_exec_catchpoint): Update.
e04e8f8a
EC
4600 * inf-child.c (inf_child_insert_fork_catchpoint)
4601 (inf_child_insert_vfork_catchpoint)
fa113d1a
AC
4602 (inf_child_insert_exec_catchpoint): Update.
4603 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
e04e8f8a 4604 * linux-nat.c (child_insert_fork_catchpoint)
fa113d1a
AC
4605 (child_insert_vfork_catchpoint)
4606 (child_insert_exec_catchpoint): Update.
e04e8f8a 4607 * inftarg.c (child_insert_fork_catchpoint)
fa113d1a
AC
4608 (child_insert_vfork_catchpoint,)
4609 (child_insert_exec_catchpoint): Update.
4610
9ee907e0
AC
4611 * remote.c (remote_open_1): Use throw_exception.
4612
295093a4
MS
46132005-01-17 Michael Snyder <msnyder@redhat.com>
4614
4615 * mips-linux-tdep.c: Whitespace tweaks.
4616
4bcff7eb
CV
46172005-01-17 Corinna Vinschen <vinschen@redhat.com>
4618
4619 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
4620
637537d0
AC
46212005-01-17 Andrew Cagney <cagney@gnu.org>
4622
4623 * top.h (source_error, source_pre_error): Delete declaration.
4624 * cli/cli-script.c (source_error_allocated, source_error): Delete.
4625 (script_from_file, source_cleanup_lines): Do not manipulate
4626 source_error_allocated, error_pre_print and source_error.
4627 (struct source_cleanup_lines_args): Delete fields old_pre_error,
4628 and old_error_pre_print.
4629 * top.c (source_error_allocated, source_error)
4630 (source_pre_error): Delete.
4631 (command_line_input): Do not set error_pre_print.
4632 * event-top.c (command_line_handler): Do not set error_pre_print.
4633
12b21d12
JT
46342005-01-16 Jason Thorpe <thorpej@netbsd.org>
4635
4636 * MAINTAINERS: Update my email address.
4637
1c02b2a5
MK
46382005-01-16 Mark Kettenis <kettenis@gnu.org>
4639
c401b55a
MK
4640 * configure.ac: Provide prerequisite headers when checking
4641 <term.h>.
4642 * configure: Regenerate.
4643
1c02b2a5
MK
4644 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
4645 and "bsd-uthread.h".
4646 (amd64fbsd_jmp_buf_reg_offset): New variable.
4647 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
4648 functions.
4649 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
4650 * i386fbsd-tdep.c: Fix typo.
4651 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
4652 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
4653
17d92a02
AC
46542005-01-16 Andrew Cagney <cagney@gnu.org>
4655
4656 * cli/cli-script.c: Include "exceptions.h".
4657 (struct wrapped_read_command_file_args): Define.
4658 (wrapped_read_command_file): New function.
4659 (script_from_file): Replace direct call to read_command_file by
4660 one wrapped by an exception handler.
4661 * exceptions.c (throw_it): Free the old message after creating the
4662 new.
4663 * Makefile.in: Update dependencies.
e04e8f8a 4664
80ad1639
MK
46652005-01-16 Mark Kettenis <kettenis@gnu.org>
4666
ae036357
MK
4667 * sparc64fbsd-tdep.c: Update copyright year.
4668 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
4669 functions.
4670 (sparc64fbsd_init_abi): Create register sets with collect
4671 functions.
4672
ca5807d9
MK
4673 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
4674 (_initialize_sparc64fbsd_nat): Add some extra features to the
4675 generic SPARC target.
4676 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
4677 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
4678 (NAT_FILE): Set to solib.h.
4679 * config/sparc/nm-fbsd.h: Remove file.
4680
c4f2d4d7
MK
4681 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
4682
80ad1639
MK
4683 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
4684
6212a5e9
AC
46852005-01-16 Andrew Cagney <cagney@gnu.org>
4686
4687 * exceptions.c (struct catcher): Delete saved_error_pre_print and
4688 saved_quit_pre_print.
4689 (catcher_init): Delete parameter errstring, do not override the
4690 pre_print strings.
4691 (catcher_pop): Do not restore the pre_print strings.
4692 (catch_exception, catch_exceptions_with_msg, catch_errors)
4693 (catch_command_errors): Update catch_init calls.
4694
936df4b3
MK
46952005-01-16 Mark Kettenis <kettenis@gnu.org>
4696
4697 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
4698 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
4699
3af1e0e3
AC
47002005-01-15 Andrew Cagney <cagney@gnu.org>
4701
85981d60
AC
4702 * acinclude.m4: Include ../bfd/bfd.m4 instead of
4703 ../bfd/acinclude.m4. Include ../gettext.m4.
4704 * aclocal.m4, configure: Re-generate.
4705
5a14cc1a
AC
4706 * exceptions.c (do_captured_command)
4707 (struct captured_command_args): Delete.
4708 (catch_command_errors): Simplify by inlining call to catch_errors.
4709
3af1e0e3
AC
4710 * exceptions.c (struct catcher): Delete field print_message.
4711 (catcher_init): Delete print_message parameter.
4712 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
4713 (throw_it): Delete prefix parameter.
4714 (throw_verror, throw_vfatal, throw_error): Update.
4715
d0555901
AC
47162005-01-14 Andrew Cagney <cagney@gnu.org>
4717
e48f5bee
AC
4718 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
4719 (throw_reason): Leave the exception's message field blank.
4720 (throw_it): New function, create the exception and throw it.
4721 (throw_verror, throw_vfatal, throw_error): Call throw_it.
4722 (print_any_exception): New function.
4723 (catch_errors, catch_exceptions_with_msg): Call
4724 print_any_exception.
4725 (throw_exception): Move code calling annotate_error and
4726 annotate_quit from here ...
4727 (print_exception): ... to here.
4728
c6da7a6d
AC
4729 * exceptions.c (exception_fprintf, exception_print): Move printing
4730 of \n from here ...
4731 (print_exception): ... to here.
4732 (print_flush): New function.
4733 (exception_print, exception_fprintf): Replace duplicated flush and
4734 wrap code with call to print_flush.
4735 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
4736 and print_exception.
4737 (do_write): Delete.
4738
d0555901
AC
4739 * remote-sds.c (interrupt_query): Call throw_reason instead of
4740 throw_exception.
4741 * remote-mips.c (mips_error, mips_kill): Ditto
4742 * ocd.c (interrupt_query): Ditto.
4743 * nto-procfs.c (interrupt_query): Ditto.
4744 * monitor.c (monitor_interrupt_query): Ditto.
4745
949df321
JJ
47462005-01-14 Jeff Johnston <jjohnstn@redhat.com>
4747
4748 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
4749
bc8332bb
AC
47502005-01-14 Andrew Cagney <cagney@gnu.org>
4751
1c3c7ee7
AC
4752 * exceptions.h (catch_exceptions): Delete errstring parameter.
4753 (catch_exceptions_with_msg): Ditto.
4754 * exceptions.c (catch_exceptions_with_msg): Update.
4755 (catch_exceptions): Update.
4756 * symfile-mem.c (add_vsyscall_page): Update.
4757 * frame.c (get_current_frame): Update.
4758 * wrapper.c (gdb_value_struct_elt): Update.
4759 * exceptions.c (catch_exceptions): Update.
4760 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
4761 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
4762 * remote-fileio.c (remote_fileio_request): Update.
e04e8f8a 4763
9cbc821d
AC
4764 * exceptions.h (exception_fprintf): Declare.
4765 (exception_print): Drop pre_print parameter.
4766 * mi/mi-main.c (mi_execute_command): Update exception_print call.
4767 * cli/cli-interp.c (safe_execute_command): Update exception_print
4768 call.
4769 * remote.c (remote_open_1): Instead of passing an error prefix to
4770 catch_exceptions, use catch_exceptions and exception_fprintf.
4771 (remote_start_remote): Change return type to void.
4772 * breakpoint.c (insert_bp_location): Instead of passing an error
4773 prefix to catch_exceptions, use catch_exceptions and
4774 exception_fprintf.
4775 (insert_catchpoint): Change return type to void.
4776 (break_command_1): Update exception_print call.
4777 * exceptions.c (exception_fprintf): New function.
4778 (print_exception): New function.
4779 (exception_print): Use print_exception.
e04e8f8a 4780
22e9b0f1
AC
4781 * utils.c (error_output_message): Delete function.
4782 * defs.h (error_output_message): Delete declaration.
4783
05ff989b
AC
4784 * linespec.c (symtab_from_filename, decode_variable): Use
4785 throw_error instead of error_silent.
4786 * breakpoint.c (do_captured_parse_breakpoint): Change return type
4787 to void.
4788 (break_command_1): Use catch_exception and check the error return
4789 status.
4790 * exceptions.c (throw_error): New function.
4791 (throw_vsilent): Delete function.
4792 * exceptions.h (throw_error): Declare.
4793 (throw_vsilent): Delete declaration.
4794 * utils.c (error_silent): Delete function.
4795 * defs.h (error_silent): Delete declaration.
e04e8f8a 4796
8a076db9
AC
4797 * mi/mi-main.c (mi_execute_command): Print the exception.
4798 * cli/cli-interp.c (safe_execute_command): Print the exception.
4799 * exceptions.h (exception_print): Declare.
4800 * exceptions.c (struct catcher): Add field print_message.
4801 (catcher_init): Add parameter print_message, store in the catcher
4802 struct.
4803 (print_and_throw): Only print the message when print_message.
4804 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
4805 catcher_init.
4806 (catch_exception): Pass print_message=0 to catcher_init.
4807
bc8332bb
AC
4808 * varobj.c (varobj_create): Add missing \n.
4809
d183932d
MS
48102005-01-13 Michael Snyder <msnyder@redhat.com>
4811
4e18e2de 4812 * cli/cli-decode.h: Whitespace tweaks.
ca0b4d12 4813 * wince.c: Whitespace tweaks.
887a3a14 4814 * uw-thread.c: Whitespace tweaks.
0a4a0819 4815 * utils.c: Whitespace tweaks.
d183932d
MS
4816 * tracepoint.[ch]: Whitespace tweaks.
4817 * solist.h: Whitespace tweaks.
4818
6b1b7650
AC
48192005-01-13 Andrew Cagney <cagney@gnu.org>
4820
b315da38
AC
4821 * exceptions.h (struct exception): Make message const.
4822 * mi/mi-main.c (mi_execute_command): Pass result.message directly
4823 to fputstr_unfiltered.
4824
79e714b4
AC
48252005-01-13 Michael Snyder <msnyder@redhat.com>
4826
4827 * stack.c: Whitespace tweaks.
4828 * somsolib.[ch]: Whitespace tweaks.
4829 * solib-aix.c: Whitespace tweaks.
4830 * solib.c: Whitespace tweaks.
4831 * solib-frv.c: Whitespace tweaks.
4832 * solib.h: Whitespace tweaks.
4833 * solib-irix.c: Whitespace tweaks.
4834 * solib-som.c: Whitespace tweaks.
4835 * solib-sunos.c: Whitespace tweaks.
4836 * solib-svr4.[ch]: Whitespace tweaks.
4837 * ser-tcp.c: Whitespace tweaks.
4838 * ser-unix.c: Whitespace tweaks.
4839 * serial.h: Whitespace tweaks.
4840 * scm-valprint.c: Whitespace tweaks.
4841 * rs6000-tdep.c: Whitespace tweaks.
4842 * rs6000-nat.c: Whitespace tweaks.
4843 * remote.c: Whitespace tweaks.
4844
48452005-01-13 Andrew Cagney <cagney@gnu.org>
4846
6b1b7650
AC
4847 * defs.h (error_last_message, error_init): Delete declaration.
4848 * utils.c (fatal, vfatal): Call throw_vfatal.
4849 (error, verror): Call throw_verror;
4850 (do_write, error_stream_1): Delete function.
4851 (error_stream): Simplify, call error.
4852 (error_last_message, error_init, gdb_lasterr): Delete.
4853 (error_silent): Simplify, call throw_vsilent.
4854 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
4855 * main.c (captured_main): Delete call to error_init.
4856 * exceptions.c (throw_verror, throw_verror)
4857 (throw_vsilent): New functions.
4858 (do_write, print_and_throw): New functions.
4859 (last_message): New global.
4860 (throw_reason): Replace error_last_message with last_message.
4861 (catch_exceptions_with_msg): Dup the message.
4862 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
4863 Declare.
4864
4791eb66
MS
48652005-01-13 Michael Snyder <msnyder@redhat.com>
4866
90c065fb 4867 * remote-st.c: Whitespace tweaks.
8a0ce09a 4868 * remote-sim.c: Whitespace tweaks.
1fa79fac 4869 * remote-mips.c: Whitespace tweaks.
beda9597 4870 * pa64solib.[ch]: Whitespace tweaks.
28397f59 4871 * mdebugread.c: Whitespace tweaks.
ba5e7e8d 4872 * main.c: Whitespace tweaks.
907d819a 4873 * interps.c: Whitespace tweaks.
9d1ff73f 4874 * infrun.c: Whitespace tweaks.
1f5d0fc9 4875 * infcmd.c: Whitespace tweaks.
d9788fe8 4876 * hpux-thread.c: Whitespace tweaks.
3b951200 4877 * hppa-hpux-tdep.c: Whitespace tweaks.
3a9a986f 4878 * gdbcore.h: Whitespace tweaks.
d3f17821 4879 * gdbcmd.h: Whitespace tweaks.
30867156 4880 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
de6854b5 4881 * corefile.c: Whitespace tweaks.
03717487 4882 * completer.c: Whitespace tweaks.
9b5c5aad
MS
4883 * coff-solib.c: Whitespace tweaks.
4884 * coff-solib.h: Whitespace tweaks.
30fdc99f 4885 * cli-out.c: Whitespace tweaks.
1272ad14 4886 * breakpoint.c: Whitespace tweaks.
4791eb66
MS
4887 * cli/cli-interp.c: Tweak comments, per coding standard.
4888
f30f06b8
AC
48892005-01-13 Andrew Cagney <cagney@gnu.org>
4890
ce43223b
AC
4891 * breakpoint.c (gdb_breakpoint_query): Update, use
4892 catch_exceptions_with_msg.
4893 (do_captured_breakpoint): Add uiout parameter.
4894 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
4895 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
4896 gdb_thread_select. Return MI_CMD_ERROR instead of
4897 MI_CMD_CAUGHT_ERROR.
4898 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
4899 (enum captured_mi_execute_command_actions): Delete
4900 EXECUTE_COMMAND_DISPLAY_ERROR.
4901 (captured_mi_execute_command): Delete code handling
4902 MI_CMD_CAUGHT_ERROR.
4903 (mi_execute_command): Don't check for
4904 EXECUTE_COMMAND_DISPLAY_ERROR.
4905 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
4906 gdb_breakpoint_query.
4907 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
4908 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
4909 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
4910 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
4911 parameter.
4912 * thread.c (thread_command): Update call.
4913 (gdb_thread_select, gdb_list_thread_ids): Update, call
4914 catch_exceptions_with_msg.
4915
f30f06b8
AC
4916 * mi/mi-main.c (mi_execute_command): Use catch_exception,
4917 eliminate call to error_last_message.
4918 (captured_mi_execute_command): Change return type to void.
4919
2a78bfb5
AC
49202005-01-12 Andrew Cagney <cagney@gnu.org>
4921
c1043fc2
AC
4922 * exceptions.c (exception_none): New variable.
4923 * Makefile.in: Update dependencies.
4924 * interps.c: Include "exceptions.h".
4925 (interpreter_exec_cmd, interp_exec): Update to return "struct
4926 exception"
4927 * exceptions.h (no_exception): Declare.
4928 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
4929 * mi/mi-interp.c: Include "exceptions.h".
4930 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
4931 'struct exception".
e04e8f8a 4932 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
c1043fc2
AC
4933 (do_captured_execute_command): Update to use catch_exception.
4934 * interps.h: Include "exceptions.h".
4935 (interp_exec_ftype, interp_exec): Return "struct exception".
4936
2a78bfb5
AC
4937 * exceptions.h (throw_reason): Rename throw_exception.
4938 (enum errors, struct exception): Define.
4939 (catch_exception_ftype): Define.
4940 (catch_exception, throw_exception): Declare.
4941 * exceptions.c (throw_exception): Rewrite.
4942 (throw_reason): New function.
4943 (struct catcher, catcher_state_machine): Replace "reason" with
4944 "exception", delete "gdberrmsg".
4945 (catch_exception): New function.
4946 (catcher_init): Replace "gdberrmsg" parameter with "exception".
4947 (catch_errors, catch_exceptions_with_msg): Re-implement passing
4948 exception to catcher_init.
4949 * utils.c (error_silent, error_stream_1): Use throw_reason.
4950 (internal_verror, quit): Ditto.
4951 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
4952 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
4953 * remote.c (remote_open_1, interrupt_query): Ditto.
4954
8b1ca062
MK
49552005-01-12 Mark Kettenis <kettenis@gnu.org>
4956
fa565c2b
MK
4957 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
4958 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
4959 (i386fbsd_jmp_buf_reg_offset): New variable.
4960 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
4961 functions.
4962 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
4963 * Makefile.in (i386fbsd-tdep.o): Update dependency.
4964 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
4965
82f5c14f
MK
4966 * bsd-uthread.h: New file.
4967 * bsd-uthread.c: New file.
4968 * Makefile.in (bsd_uthread_h): New variable.
4969 (ALLDEPFILES): Add bsd-uthread.c.
4970 (bsd-uthread.o): New dependency.
4971
42a6e6a0
MK
4972 * solib.h Update copyright year.
4973 (struct so_list): Forward declaration.
4974 (solib_read_symbols): New prototype.
4975 * solib.c (solib_read_symbols): New function.
4976 (solib_add): Call solib_read_symbols to read in symbols.
4977 (update_solib_list): Call observer_notify_solib_loaded.
4978
8b1ca062
MK
4979 * i386bsd-nat.c: Update copyright year. Don't include
4980 <sys/param.h> and <sys/user.h>.
4981 (register_u_addr, kernel_u_size): Remove functions.
4982 * config/i386/obsd.mh (NAT_FILE): Remove.
4983 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
4984 * config/i386/nm-obsd.h: Remove file.
4985
60250e8b
AC
49862005-01-12 Andrew Cagney <cagney@gnu.org>
4987
db5f402d
AC
4988 * exceptions.c: Include "gdb_string.h".
4989 (enum catcher_state, struct catcher): Define.
4990 (current_catcher): New global, replaces catch_return;
4991 (catch_return): Delete.
4992 (throw_exception): Use current_catcher->buf;
4993 (catcher_init, catcher_pop, catcher_state_machine): New functions.
4994 (catcher): Delete.
4995 (struct catch_errors_args): Delete.
4996 (do_catch_errors): Delete.
4997 (catch_exceptions): Replace body with call to
4998 catch_exceptions_with_msg.
4999 (catcher): Delete.
5000 (catch_exceptions_with_msg, catch_errors): Re-implement using
5001 catcher_state_machine.
5002
60250e8b
AC
5003 * exceptions.h (enum return_reason, RETURN_MASK)
5004 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
5005 (return_mask, throw_exception, catch_exceptions_ftype)
5006 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
5007 (catch_command_errors_ftype, catch_command_errors): Move to
5008 exceptions.h.
5009 * exceptions.c, exceptions.h: New files.
5010 * top.c: Do not include <setjmp.h>.
5011 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
5012 (throw_exception, catcher, catch_exceptions)
5013 (catch_exceptions_with_msg, struct catch_errors_args)
5014 (do_catch_errors, catch_errors, struct captured_command_args)
5015 (do_captured_command, catch_command_errors): Move to exceptions.c.
5016 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
5017 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
5018 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
5019 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
5020 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
5021 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
5022 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
5023 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
5024 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
5025 * ada-valprint.c, ada-lang.c: Ditto.
5026 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
5027 exceptions.o. Update all dependencies.
e04e8f8a 5028
ca14ead7
MK
50292005-01-11 Mark Kettenis <kettenis@gnu.org>
5030
eafc7eea
MK
5031 * config/i386/nm-fbsd.h: Update copyright year.
5032 Don't include "config/nm-bsd.h".
5033 (KERNEL_U_SIZE): Remove macro.
5034 (kernel_u_size): Remove prototype.
5035
ca14ead7
MK
5036 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
5037 * config/vax/nm-nbsdaout.h: Remove file.
5038
4a39d934
EZ
50392005-01-10 Elena Zannoni <ezannoni@redhat.com>
5040
5041 * MAINTAINERS: Remove self from sh/sh64 maintainership.
5042
93f0f986
AC
50432005-01-10 Andrew Cagney <cagney@gnu.org>
5044
c4f9e2bf
AC
5045 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
5046 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
5047 maintainer.
5048
6b71dd74
AC
5049 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
5050 changes to CRIS.
5051
93f0f986
AC
5052 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
5053 COMMIT means can approve).
5054
8785ced0
MK
50552005-01-10 Mark Kettenis <kettenis@gnu.org>
5056
2a2de4ce
MK
5057 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
5058 (vax_register_u_offset): Make statuc.
5059 (_initialize_vax_nat): Construct and add target vector.
5060 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
5061 inftarg.o. Add inf-ptrace.o.
5062 * Makefile.in (vax-nat.o): Update dependencies.
5063
8785ced0
MK
5064 * inf-ptrace.h: Update copyright year. Sync comment with
5065 inf-ptrace.c.
5066 (inf_ptrace_trad_target): New prototype.
5067 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
5068 "gdb_assert.h"
5069 (inf_ptrace_target): Add comment.
5070 (inf_ptrace+register_u_offset): New variable.
5071 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
5072 (inf_ptrace_store_register, inf_ptrace_store_registers)
5073 (inf_ptrace_trad_target): New functions.
5074 * Makefile.in (inf-ptrace.o): Update dependencies.
5075
7cb9022a
MK
50762005-01-09 Mark Kettenis <kettenis@gnu.org>
5077
5078 * configure.ac: Provide prerequisite headers when checking
5079 <link.h>, <sys/proc.h> and <sys/user.h>.
5080 * configure: Regenerate.
5081
c534d641
MK
50822005-01-08 Mark Kettenis <kettenis@gnu.org>
5083
5084 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
5085 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
5086
4b48ac22
MK
50872005-01-07 Mark Kettenis <kettenis@gnu.org>
5088
5089 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
5090 Don't include "tm-ia64.h".
5091 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
5092 * config/ia64/tm-ia64.h: Remove. Move contents ...
5093 * ia64-tdep.h: ... here. Update copyright year.
5094
3ace7edb
AC
50952005-01-07 Andrew Cagney <cagney@gnu.org>
5096
bec39cab
AC
5097 * configure.ac: Rename configure.in, require autoconf 2.59.
5098 * configure: Re-generate.
5099
e14ecb8f
AC
5100 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
5101 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
5102 to configdirs.
5103
3ace7edb
AC
5104 * configure.in: Replace configdirs with multiple references to
5105 AC_CONFIG_SUBDIRS.
5106 * configure: Re-generate.
e04e8f8a 5107
b33e8514
AS
51082005-01-05 Andreas Schwab <schwab@suse.de>
5109
5110 * ia64-tdep.c: Include "osabi.h".
5111 (native_find_global_pointer): Delete.
5112 (ia64_find_global_pointer): Renamed from
5113 generic_elf_find_global_pointer.
5114 (FIND_GLOBAL_POINTER): Delete. Change all users to call
5115 ia64_find_global_pointer instead.
5116 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
5117 to ia64_linux_sigcontext_register_address and
5118 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
5119 (_initialize_ia64_tdep): Call gdbarch_register instead of
5120 deprecated register_gdbarch_init.
5121 (struct gdbarch_tdep): Remove find_global_pointer field and move
5122 to ...
5123 * ia64-tdep.h (struct gdbarch_tdep): ... here.
5124 (ia64_linux_sigcontext_register_address): Remove declaration.
5125 (ia64_linux_getunwind_table): Likewise.
5126 (ia64_linux_write_pc): Likewise.
5127 * ia64-linux-tdep.c: Include "osabi.h".
5128 (ia64_linux_sigcontext_register_address): Make static.
5129 (ia64_linux_write_pc): Likewise.
5130 (ia64_linux_init_abi): New.
5131 (_initialize_ia64_linux_tdep): New.
5132 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
5133 $(osabi_h).
5134
0ea390ed
KB
51352005-01-05 Kevin Buettner <kevinb@redhat.com>
5136
e04e8f8a 5137 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
0ea390ed
KB
5138 functions in ia64-aix-tdep.c.
5139 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
5140 function defined in ia64-aix-tdep.c.
5141 * ia64-aix-tdep.c: Remove file.
5142 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
5143 this list.
5144 * Makefile.in (ia64-aix-tdep.o): Delete.
5145
edefbb7c
AC
51462005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
5147
5148 Committed by Andrew Cagney.
5149 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
5150 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
5151 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
5152 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
5153 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
5154 * aix-thread.c (_initialize_aix_thread): Get rid of the
5155 deprecated_add_show_from_set call.
5156 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
5157 * arm-tdep.c (_initialize_arm_tdep): Ditto.
5158 * command.h (add_setshow_enum_cmd): Add arguments for returning
5159 new list elements.
5160 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
5161 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
5162 add_setshow_enum_cmd.
5163
a260932f
MK
51642005-01-04 Mark Kettenis <kettenis@gnu.org>
5165
34cf1994
MK
5166 * configure.host (ia64-*-aix*): Remove.
5167 * configure.tgt (ia64-*-aix*): Remove.
5168 * config/ia64/aix.mh: Remove file.
5169 * config/ia64/aix.mt: Remove file.
5170 * config/ia64/tm-aix.h: Remove file.
5171 * ia64-aix-nat.c: Remove file.
5172 * Makefile.in (ia64-aix-nat.o): Remove dependency.
5173
a260932f
MK
5174 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
5175 Add back inf-ptrace.o.
5176
5ed102a1
AC
51772005-01-04 Andrew Cagney <cagney@gnu.org>
5178
5179 * version.in: Change format from 6.3.50_2005-01-04-cvs to
5180 6.3.50.20050104-cvs.
5181
3a63c4b7
AS
51822005-01-04 Andreas Schwab <schwab@suse.de>
5183
5184 * breakpoint.c (break_command_1): Always free err_msg before
5185 returning when an exception was caught.
5186
e22b26cb
JB
51872005-01-01 Joel Brobecker <brobecker@gnat.com>
5188
5189 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
5190 in register number for addil instruction.
5191
151c5df6 5192For older changes see ChangeLog-2004.
c906108c
SS
5193\f
5194Local Variables:
5195mode: change-log
5196left-margin: 8
5197fill-column: 74
5198version-control: never
5199End:
This page took 1.085708 seconds and 4 git commands to generate.