* win32-nat.c (handle_exception): Treat win32 routines which check for valid
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8da8e0b3
CF
12005-03-27 Christopher Faylor <cgf@timesys.com>
2
3 * win32-nat.c (handle_exception): Treat win32 routines which check for
4 valid addresses as "special" and don't stop when a SEGV is detected.
5 (get_child_debug_event): Properly flag exception as unhandled.
6
5e5100cb
DJ
72005-03-26 Daniel Jacobowitz <dan@codesourcery.com>
8
9 * cp-support.c (cp_class_name_from_physname): Rewrite.
10 (unqualified_name_from_comp): New function, broken out from
11 method_name_from_physname. Correct handling for typed names
12 and templates.
13 (method_name_from_physname): Use unqualified_name_from_comp.
14 (cp_func_name, remove_params): Move earlier in the file. Add
15 better comments. Use the component tree to parse the name.
16 (_initialize_cp_support): Remove stray whitespace.
17
a77f4086
MK
182005-03-26 Mark Kettenis <kettenis@gnu.org>
19
dc6a2ca4
MK
20 * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
21
59bb1042
MK
22 * inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.
23 Callapse HAVE_TERMIO and HAVE_SGTTY.
24
a77f4086
MK
25 * dwarf2-frame.c (execute_cfa_program): Implement
26 DW_CFA_GNU_window_save.
27
4d6c7108
MK
282005-03-25 Mark Kettenis <kettenis@gnu.org>
29
bac6b012
MK
30 * config/sparc/nbsd64.mh (NAT_FILE): Remove.
31
4d6c7108
MK
32 * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
33
4bf7064c
DJ
342005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
35
36 * arm-tdep.c (target_is_thumb, caller_is_thumb)
37 (arm_pc_is_thumb_dummy): Remove.
38 (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
39
170cd118
AG
402005-03-25 Anthony Green <green@redhat.com>
41
42 * remote.c (remote_store_registers): Fix memset usage.
43 * std-regs.c (value_of_builtin_frame_reg): Ditto.
44 (value_of_builtin_frame_fp_reg): Ditto.
45 (value_of_builtin_frame_reg): Ditto.
46
3eb25fda
MM
472005-03-25 Mark Mitchell <mark@codesourcery.com>
48
dd5da072
MM
49 * ser-base.c (ser_unix_write): Rename to ...
50 (ser_base_write): ... this.
51 (ser_unix_nop_flush_output): Rename to ...
52 (ser_base_flush_output): ... this.
53 (ser_unix_flush_input): Rename to ...
54 (ser_base_flush_input): ... this.
55 (ser_unix_nop_send_break): Rename to ...
56 (ser_base_send_break): ... this.
57 (ser_unix_nop_drain_output): Rename to ...
58 (ser_base_drain_output): ... this.
59 (ser_unix_nop_raw): Rename to ...
60 (ser_base_raw): ... this.
61 (ser_unix_nop_get_tty_state): Rename to ...
62 (ser_base_set_tty_state): ... this.
63 (ser_unix_nop_noflush_set_tty_state): Rename to ...
64 (ser_base_noflush_set_tty_state): ... this.
65 (ser_unix_nop_print_tty_state): Rename to ...
66 (ser_base_print_tty_state): ... this.
67 (ser_unix_nop_setbaudrate): Rename to ...
68 (ser_base_setbaudrate): ... this.
69 (ser_unix_nop_setstopbits): Rename to ...
70 (ser_base_setstopbits): ... this.
71 (ser_unix_async): Rename to ...
72 (ser_base_async): ... this.
73 * ser-base.h (ser_unix_write): Rename to ...
74 (ser_base_write): ... this.
75 (ser_unix_nop_flush_output): Rename to ...
76 (ser_base_flush_output): ... this.
77 (ser_unix_flush_input): Rename to ...
78 (ser_base_flush_input): ... this.
79 (ser_unix_nop_send_break): Rename to ...
80 (ser_base_send_break): ... this.
81 (ser_unix_nop_drain_output): Rename to ...
82 (ser_base_drain_output): ... this.
83 (ser_unix_nop_raw): Rename to ...
84 (ser_base_raw): ... this.
85 (ser_unix_nop_get_tty_state): Rename to ...
86 (ser_base_set_tty_state): ... this.
87 (ser_unix_nop_noflush_set_tty_state): Rename to ...
88 (ser_base_noflush_set_tty_state): ... this.
89 (ser_unix_nop_print_tty_state): Rename to ...
90 (ser_base_print_tty_state): ... this.
91 (ser_unix_nop_setbaudrate): Rename to ...
92 (ser_base_setbaudrate): ... this.
93 (ser_unix_nop_setstopbits): Rename to ...
94 (ser_base_setstopbits): ... this.
95 (ser_unix_async): Rename to ...
96 (ser_base_async): ... this.
97 * ser-pipe.c (_initialize_ser_pipe): Update accordingly.
98 * ser-tcp.c (_initialize_ser_tcp): Likewise.
99 * ser-unix.c (hardwire_flush_input): Likewise.
100 (_initializer_ser_hardwire): Likewise.
101
3eb25fda
MM
102 * Makefile.in (SFILES): Add ser-base.c.
103 (ser_base_h): New variable.
104 (ser-base.o): New target.
105 (ser-pipe.o): Depend on $(ser_base_h).
106 (ser-tcp.o): Likewise.
107 (ser-unix.o): Likewise. Do not depend on $(event_loop_h).
108 * configure.ac (SER_HARDWIRE): Include ser-base.o where
109 appropriate.
110 * ser-base.c: New file.
111 (push_event): Move from ser-unix.c.
112 (fd_event): Likewise.
113 (reschedule): Likewise.
114 (ser_unix_write): Likewise.
115 (ser_unix_nop_flush_output): Likewise.
116 (ser_unix_flush_input): Likewise.
117 (ser_unix_nop_send_break): Likewise.
118 (ser_unix_nop_drain_output): Likewise.
119 (ser_unix_nop_raw): Likewise.
120 (ser_unix_nop_get_tty_state): Likewise.
121 (ser_unix_nop_set_tty_state): Likewise.
122 (ser_unix_nop_noflush_set_tty_state): Likewise.
123 (ser_unix_nop_print_tty_state): Likewise.
124 (ser_unix_nop_setbaudrate): Likewise.
125 (ser_unix_nop_setstopbits): Likewise.
126 (ser_unix_async): Likewise.
127 * ser-base.h: New file.
128 * ser-pipe.c (ser-base.h): Include it.
129 * ser-tcp.c (ser-base.h): Likewise.
130 * ser-unix.h (ser_unix_nop_flush_output): Remove.
131 (ser_unix_flush_input): Likewise.
132 (ser_unix_nop_send_break): Likewise.
133 (ser_unix_nop_raw): Likewise.
134 (ser_unix_nop_get_tty_state): Likewise.
135 (ser_unix_nop_set_tty_state): Likewise.
136 (ser_unix_nop_print_tty_state): Likewise.
137 (ser_unix_nop_noflush_set_tty_state): Likewise.
138 (ser_unix_nop_setbaudrate): Likewise.
139 (ser_unix_nop_setstopbits): Likewise.
140 (ser_unix_nop_drain_output): Likewise.
141 (ser_unix_wait_for): Likewise.
142 (ser_unix_write): Likewise.
143 (ser_unix_async): Likewise.
144 * ser-unix.c (event-loop.h): Do not include it.
145 (push_event): Move to ser-base.c.
146 (fd_event): Likewise.
147 (reschedule): Likewise.
148 (ser_unix_write): Likewise.
149 (ser_unix_nop_flush_output): Likewise.
150 (ser_unix_flush_input): Likewise.
151 (ser_unix_nop_send_break): Likewise.
152 (ser_unix_nop_drain_output): Likewise.
153 (ser_unix_nop_raw): Likewise.
154 (ser_unix_nop_get_tty_state): Likewise.
155 (ser_unix_nop_set_tty_state): Likewise.
156 (ser_unix_nop_noflush_set_tty_state): Likewise.
157 (ser_unix_nop_print_tty_state): Likewise.
158 (ser_unix_nop_setbaudrate): Likewise.
159 (ser_unix_nop_setstopbits): Likewise.
160 (ser_unix_async): Likewise.
161 (ser_unix_wait_for): Make it static.
162 * configure: Regenerated.
163
8d5a9abc
MK
1642005-03-25 Mark Kettenis <kettenis@gnu.org>
165
166 * dwarf2-frame.h: Update copyrigh year.
167 (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
168 * dwarf2-frame.c: Update copyright year.
169 (struct dwarf2_frame_cache): Add member `retaddr_reg'.
170 (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
171 (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
172
b3041f52
MH
1732005-03-23 Martin Hunt <hunt@redhat.com>
174
175 * configure.ac: Remove -fwritable-strings from CFLAGS.
176 * configure: Regenerate.
177
6a069e57
MS
1782005-03-21 Michael Snyder <msnyder@redhat.com>
179
180 * mn10300-prologue.c (fix_frame_pointer): Delete.
181 (set_movm_offsets) Don't return just because movm_args is
182 zero -- still need to save pc and sp in saved_regs.
183 (mn10300_analyze_prologue): Don't return prematurely without
184 calling set_movm_offsets (for pc and sp at minimum).
185
d3ea6809
MM
1862005-03-21 Mark Mitchell <mark@codesourcery.com>
187
188 * configure.ac (stat.st_blksize): Check for it.
189 (getuid): Likewise.
190 (getgid): Likewise.
191 * configure: Regenerated.
192 * config.in: Likewise.
193 * remote-fileio.c (remote_fileio_to_fio_stat): Check
194 HAVE_STRUCT_STAT_ST_BLKSIZE.
195
d460b7f5
CF
1962005-03-21 Christopher Faylor <cgf@timesys.com>
197
198 * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
199 here.
200 (do_initial_child_stuff): Move clearing of thread list to a place
201 before a thread ould be created.
202 (child_attach): Ditto.
203
342ee437
MS
2042005-03-21 Michael Snyder <msnyder@redhat.com>
205
206 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
207 instead of pc addr for frame_id. Otherwise "until" won't work.
208
4f0d78e0
KB
2092005-03-21 Kevin Buettner <kevinb@redhat.com>
210
211 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
212 comment.
213
80d9c592
MK
2142005-03-20 Mark Kettenis <kettenis@gnu.org>
215
4dd04433
MK
216 * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
217 * varobj.c (my_value_equal): Mark val2 as volatile.
218
ee426e0f 219 * cp-names.y: Add prototype for yyparse.
80d9c592 220
96ce45ca
DJ
2212005-03-19 Daniel Jacobowitz <dan@codesourcery.com>
222
223 * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
224 * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
225 VALADDR.
226
93ad78a7
KB
2272005-03-18 Kevin Buettner <kevinb@redhat.com>
228
229 * Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
230 * exceptions.h (TLS_NO_LIBRARY_SUPPORT_ERROR, TLS_GENERIC_ERROR)
231 (TLS_LOAD_MODULE_NOT_FOUND_ERROR, TLS_NOT_ALLOCATED_YET_ERROR):
232 New error/exception enums.
233 * dwarf2loc.c (exceptions.h): Include.
234 (dwarf_expr_tls_address): Invoke target_get_thread_local_address()
235 via TRY_CATCH mechanism. Print error messages for TLS related
236 exceptions.
237 * linux-thread-db.c (thread_db_get_thread_local_address): Throw
238 exceptions instead of printing errors.
239
8cf46f62
MK
2402005-03-18 Mark Kettenis <kettenis@gnu.org>
241
242 * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
243 (decimal2str, octal2str): Change to return a string allocated by
244 get_cell. Use xsnprint instead of snprintf.
245 (paddr_u, paddr_d): Adjust for changed calling convention of
246 decimal2str.
247 (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
248 (int_string): Likewise. Adjust for changed calling convention of
249 decimal2str and octal2str.
250
f79d2c3c
KB
2512005-03-18 Kevin Buettner <kevinb@redhat.com>
252
253 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
254 Adjust incorrectly computed constant for realtime signal frame.
255
8cf46f62 2562005-03-18 Mark Kettenis <kettenis@gnu.org>
eb308878
MK
257
258 From Ralf Corsepius <ralf.corsepius@rtems.org>
259 * configure.tgt: Add m68*-*-rtems*.
260
06648491
MK
2612005-03-17 Mark Kettenis <kettenis@gnu.org>
262
bde2058d
MK
263 * defs.h (xsnprintf): New prototype.
264 * utils.c (xsnprintf): New function.
265
3ecda457
MK
266 * corelow.c (get_core_register_section): Replace usage of sprintf
267 and strcpy with xstrprintf and xstrdup.
268
06648491
MK
269 * mips-tdep.c (mips_single_step_through_delay): Put back check for
270 breakpoint lost with the introduction of this function.
271
16aff9a6
PB
2722005-03-17 Paul Brook <paul@codesourcery.com>
273
274 * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
275 * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
276
6d318c73
MM
2772005-03-16 Mark Mitchell <mark@codesourcery.com>
278
ec442778
MM
279 * event-top.c (handle_sigquit): Do not define for systems without
280 SIGQUIT.
281 (sigquit_token): Likewise.
282 (async_init_signals): Allow for systems that do not
6d318c73
MM
283 define SIGQUIT.
284 * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
285
9b265ec2
MM
2862005-03-15 Mark Mitchell <mark@codesourcery.com>
287
288 * utils.c (internal_vproblem): Guard call to fork with
289 HAVE_WORKING_FORK.
290 * cli/cli-cmds.c (shell_escape): Guard call to vfork with
291 HAVE_WORKING_VFORK and HAVE_WORKING_FORK.
292
293 * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
294 S_IRGRP and related macros.
295 (remote_fileio_mode_to_target): Likewise.
296
3ae642fd
BE
2972005-03-14 Ben Elliston <bje@au.ibm.com>
298
299 * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
300 more primitive library.
301
80d9c592 3022005-03-13 Mark Kettenis <kettenis@gnu.org>
fd0a2a6f
MK
303
304 * inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
305 sprintf.
306 * target.c (normal_pid_to_str): Likewise.
307 * remote.c (remote_pid_to_str): Use snprint instead of sprintf.
308 Change capitalization of "thread". Use ptid_get_pid instead of
309 GETPID.
049742da
MK
310
311 * cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
312 a combination of xmalloc and sprintf.
313
ca231fcc
JB
3142005-03-13 Jim Blandy <jimb@redhat.com>
315
316 * configure.ac: Use '=', not '=='; the latter is a GNU extension.
317 * configure: Regenerated.
318
b80b83f3
MS
3192005-03-11 Michael Snyder <msnyder@redhat.com>
320
321 * mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
322 stub fn with real implementatin mn10300_unwind_dummy_id.
323 (mn10300_push_dummy_call): Implement. Bare bones version,
324 does not handle structs or floats.
325
1f8ca57c
JB
3262005-03-11 Jim Blandy <jimb@redhat.com>
327
a3b362c4
JB
328 Avoid warnings due to the use of -Wuninitialized without -O.
329 * configure.ac (build_warnings): Include -Wuninitialized only if
330 CFLAGS is unset at configure time, or CFLAGS is set and includes
331 some -O option other than -O0.
332 * configure: Regenerated.
333
1f8ca57c
JB
334 * mips-tdep.c (show_mips_abi): Change calling conventions to match
335 those expected by add_setshow_enum_cmd. Use 'file' argument as
336 appropriate.
337
fb4c6eba
DJ
3382005-03-10 Daniel Jacobowitz <dan@codesourcery.com>
339
340 * Makefile.in (SFILES): Add cp-names.y.
341 (libiberty_h, safe_ctype_h): New.
342 (YYFILES): Add cp-names.c.
343 (YYOBJ): Add cp-names.o.
344 (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
345 (clean): Remove test-cp-names$(EXEEXT).
346 (local-maintainer-clean): Remove cp-names.c.
347 * cp-names.y: New file.
348 * cp-support.c (find_last_component): Delete.
349 (d_left, d_right): Define.
350 (cp_canonicalize_string, mangled_name_to_comp): New functions.
351 (cp_class_name_from_physname, method_name_from_physname): Rewrite
352 to use mangled_name_to_comp.
353 * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
354 (cp_comp_to_string): New prototypes.
355 * config/djgpp/fnchange.lst: Add cp-names.c.
356
5b93de64
BR
3572005-03-10 Bob Rossi <bob@brasko.net>
358
fb4c6eba 359 * main.c (print_gdb_help): Remove the --[no]async help message.
5b93de64 360
54433e38
MK
3612005-03-10 Mark Kettenis <kettenis@gnu.org>
362
363 * proc-api.c: Update copyright year.
364 (_initialize_proc_api): Revert previous patch, removing spurious
365 space instead.
366
d2f0b918
JB
3672005-03-09 Joel Brobecker <brobecker@adacore.com>
368
369 * regcache.c: Fix typo in comment.
370
e9274dd8
DL
3712005-03-09 David Lecomber <david@lecomber.net>
372
373 * proc-api.c (_initialize_proc_api): Fix invalid multi-line
374 i18n text.
375
5b2d44a0
MK
3762005-03-09 Mark Kettenis <kettenis@gnu.org>
377
378 * sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
379 address for 64-bit code.
380 (sparc_unwind_dummy_id): Likewise.
381 * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
382 frame base address convention.
383 (sparc64_push_dummy_call): Likewise.
384 * sparc64nbsd-tdep.c: Update copyright year.
385 (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
386 address for 64-bit code.
387 (sparc64nbsd_init_abi): Tweak comment.
388 * sparc64obsd-tdep.c: Update copyright year.
389 (sparc64obsd_frame_cache): Adjust cached frame base address for
390 64-bit code.
391 (sparc64obsd_init_abi): Tweak comment.
392
8d19ca47 3932005-03-09 Corinna Vinschen <vinschen@redhat.com>
5b5464ad 394
8d19ca47
CV
395 * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
396
3972005-03-09 Joel Brobecker <brobecker@adacore.com>
398
399 * dwarf2read.c (dwarf_decode_lines): Use the complete filename
400 when creating include psymtabs.
5b5464ad 401
1bf1958d
MM
4022005-03-08 Mark Mitchell <mark@codesourcery.com>
403
404 * environ.h (struct environ): Rename to ...
405 (struct gdb_environ): ... this.
406 (make_environ): Update prototype.
407 (free_environ): Likewise.
408 (init_environ): Likewise.
409 (get_in_environ): Likewise.
410 (set_in_environ): Likewise.
411 (unset_in_environ): Likewise.
412 (environ_vector): Likewise.
413 * environ.c (make_environ): Replace "struct environ" with "struct
414 gdb_environ".
415 (free_environ): Likewise.
416 (init_environ): Likewise.
417 (environ_vector): Likewise.
418 (get_in_environ): Likewise.
419 (set_in_environ): Likewise.
420 (unset_in_environ): Likewise.
421 * infcmd.c (inferior_environ): Likewise.
422 * inferior.h (inferior_environ): Likewise.
423
f67a969f
JB
4242005-03-08 Joel Brobecker <brobecker@adacore.com>
425
426 * infcmd.c (run_command_1): New function, extracted from
427 run_command.
428 (run_command): Replace implementation by call to run_command_1.
429 (start_command): Use run_command_1 to insert the temporary
430 breakpoint and run the program. Remove code that's no longer
431 needed, as already done at the proper time by run_command_1.
432
c0501be5
DJ
4332005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
434
435 * symfile.c (clear_symtab_users): Call
436 clear_current_source_symtab_and_line first.
437
549678da
NS
4382005-03-08 Nathan Sidwell <nathan@codesourcery.com>
439
36e9969c
NS
440 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
441 * c-exp.y (exp): Add unary plus.
442 * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
443 * valarith.c (value_x_unop): Add UNOP_PLUS case.
444 (value_pos): New.
445 * value.h (value_pos): Declare.
446
3de11b2e
NS
447 * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
448 (remote_fetch_registers): Allow uppercase hex when resyncing.
449 (remote_write_bytes): Only call get_memory_write_packet_size once.
450 Robustify packet size calculation for very small packets. Check
451 that at least one byte will be written.
452
549678da
NS
453 * tracepoint.c (target_is_remote): Allow extended-remote.
454 (struct collection_list): Allow 256 registers, like the comment
455 said.
456 (add_memrange): Fix comment.
457 (read_actions): Turn EOF into 'end'.
458
20be272b
CV
4592005-03-08 Corinna Vinschen <vinschen@redhat.com>
460
461 * Makefile.in: Add dependencies for iq2000-tdep.o.
462 * configure.tgt: Add iq2000-*-* target.
463 * iq2000-tdep.c: New file.
464 * config/iq2000/iq2000.mt: New file.
465
ea53e89f
JB
4662005-03-07 Joel Brobecker <brobecker@adacore.com>
467
468 * doc/observer.texi (executable_changed): New observer.
469 * symtab.c: Include "observer.h".
470 (find_main_name): New function.
471 (main_name): If name_of_main is unset, then compute it
472 using find_main_name.
473 (symtab_observer_executable_changed): New function.
474 (_initialize_symtab): Attach executable_changed observer.
475 * exec.c: Include "observer.h".
476 (exec_file_attach): Emit executable_changed notification.
477 * symfile.c: Include "observer.h".
478 (reread_symbols): Send an executable_changed if appropriate.
479 * Makefile.in (exec.o): Add dependency on observer.h.
480 (symfile.o): Likewise.
481 (symtab.o): Likewise.
482
bb044262
DJ
4832005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
484
485 * findvar.c (read_var_value): Don't allocate V when it will not
486 be used. Add missing break for LOC_INDIRECT.
487
9e07977b
MK
4882005-03-06 Mark Kettenis <kettenis@gnu.org>
489
490 * sparc64fbsd-tdep.c: Include "solib-svr4.h".
491 (sparc64fbsd_init_abi): Set skip_trampoline_code and
492 solib_svr4_fetch_link_map_offsets.
493 * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
494
88d7a738 4952005-03-06 Daniel Jacobowitz <dan@codesourcery.com>
f75c00e4
DJ
496
497 * linux-nat.c (child_follow_fork): Call target_terminal_ours before
498 printing output. Use fprintf_unfiltered. Only print output when
499 debugging.
500
e5a8e242 5012005-03-05 Mark Kettenis <kettenis@gnu.org>
e219d7ce
MK
502
503 * sparc64-tdep.c (sparc64_store_floating_fields): Constify third
504 argument.
505 (sparc64_store_arguments): Constify.
506
dda5f19a
MK
5072005-03-05 Mark Kettenis <kettenis@gnu.org>
508
0d6e4ad7
MK
509 * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
510 (alphabsd_fetch_inferior_registers): Rename from
511 fetch_inferior_registers. Make static.
512 (alphabsd_store_inferior_registers): Rename from
513 store_inferior_registers. Make static.
514 (_initialize_alphabsd_nat): New function.
515 * Makefile.in (alphabsd-nat.o): Update dependencies.
516 * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
517 inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o.
518 * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
519 (NATDEPFILES): Remove infptrace.o and inftarg.o. Add
520 alphabsd-nat.o.
521 * config/alpha/nm-fbsd.h: Update copyright year. Don't include
522 "config/nm-bsd.h" and "elf/common.h".
523 * config/alpha/nm-nbsd.h: Update copyright year. Don't include
524 "config/nm-nbsd.h".
525
dda5f19a
MK
526 * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
527 software_single_step.
528
aac71672
MS
5292005-03-04 Michael Snyder <msnyder@redhat.com>
530
531 * mn10300-prologue.c: New file. Prologue analysis.
532 * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
533 (mn10300_frame_unwind_cache): Don't call trad_frame_set_id
534 until after analyze_prologue, and don't call trad_frame_set_base
535 at all (let analyze_prologue do it).
536
61e784e7
MS
5372005-03-04 Michael Snyder <msnyder@redhat.com>
538
539 * trad-frame.c (trad_frame_set_reg_value): New function.
540 * trad-frame.h (trad_frame_set_reg_value): Export.
541
6867ae3e
DJ
5422005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
543
544 * Makefile.in (remote.o): Update dependencies.
545 * remote.c: Include "observer.h".
546
f90221d3
DJ
5472005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
548
549 * target.c (target_read_memory_partial): Always initialize
550 ERR.
551 (target_write_memory_partial): Likewise.
552
e20b4638
DJ
5532005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
554
555 * remote.c (remote_open_1): Call observer_notify_inferior_created.
556
909cf6ea
DJ
5572005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
558
559 * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
560 (arm_stub_unwind, arm_stub_unwind_sniffer): New.
561 (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
562
d3587048
DJ
5632005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
564
565 * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
566 Use LWP IDs.
567
806048c6
DJ
5682005-02-28 Daniel Jacobowitz <dan@codesourcery.com>
569
570 * dwarf2loc.c (loclist_read_variable): Set optimized_out
571 instead of reporting an error.
572 * valprint.c (value_check_printable): New function.
573 (common_val_print): New function. Use value_check_printable.
574 (value_print): Use value_check_printable.
575 * value.h (common_val_print): Add prototype.
576
577 * c-valprint.c (c_val_print): Use common_val_print.
578 * cp-valprint.c (cp_print_value_fields): Likewise.
579 (cp_print_hpacc_virtual_table_entries): Likewise.
580 * f-valprint.c (f_val_print): Likewise.
581 * jv-valprint.c (java_value_print, java_print_value_fields):
582 Likewise.
583 * scm-valprint.c (scm_value_print): Likewise.
584 * stack.c (print_frame_args): Likewise.
585 * varobj.c (c_value_of_variable): Likewise.
586 * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
587 (pascal_object_print_value_fields): Likewise. Update call to
588 pascal_object_print_static_field.
589 (pascal_object_print_static_field): Remove TYPE argument. Use
590 common_val_print.
591
dd373385
EZ
5922005-02-25 Mark Kettenis <kettenis@gnu.org>
593
594 Committed by Elena Zannoni <ezannoni@redhat.com>
595
596 * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
597 info_ptr before building psymtabs for included files.
598 (create_all_comp_units): Initailize initial length size of
599 compilation header to zero.
600 (read_initial_length): Complain if both 32-bit and 64-bit DWARF
601 sections are encountered within the same compilation header.
602 (dwarf_decode_line_header): Pass compilation header in call to
603 read_initial_length.
604
920d2a44
AC
6052005-02-24 Andrew Cagney <cagney@gnu.org>
606
607 Add show_VARIABLE functions, update add_setshow call.
608 * varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
609 * valprint.c (_initialize_valprint, show_print_max)
610 (show_stop_print_at_null, show_repeat_count_threshold)
611 (show_prettyprint_structs, show_unionprint)
612 (show_prettyprint_arrays, show_addressprint, show_input_radix)
613 (show_output_radix): Ditto.
614 * valops.c (_initialize_valops, show_overload_resolution): Ditto.
615 * utils.c (initialize_utils, show_chars_per_line)
616 (show_lines_per_page, show_demangle, show_pagination_enabled)
617 (show_sevenbit_strings, show_asm_demangle): Ditto
618 * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
619 (show_tui_border_mode, show_tui_active_border_mode): Ditto.
620 * top.c (init_main, show_new_async_prompt)
621 (show_async_command_editing_p, show_write_history_p)
622 (show_history_size, show_history_filename, show_caution)
623 (show_annotation_level, init_main): Ditto.
624 * target.c (initialize_targets, show_targetdebug)
625 (show_trust_readonly): Ditto.
626 * symfile.c (_initialize_symfile, show_symbol_reloading)
627 (show_ext_args, show_download_write_size)
628 (show_debug_file_directory): Ditto.
629 * source.c (_initialize_source, show_lines_to_list): Ditto.
630 * solib.c (_initialize_solib, show_auto_solib_add)
631 (show_solib_search_path): Ditto.
632 * p-valprint.c (_initialize_pascal_valprint)
633 (show_pascal_static_field_print): Ditto.
634 * printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
635 (show_print_symbol_filename): Add and update.
636 * parse.c (_initialize_parse, show_expressiondebug): Dito.
637 * observer.c (_initialize_observer, show_observer_debug): Dito.
638 * maint.c (_initialize_maint_cmds, show_watchdog)
639 (show_maintenance_profile_p): Dito.
640 * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
641 * infrun.c (_initialize_infrun, show_debug_infrun)
642 (show_stop_on_solib_events, show_follow_fork_mode_string)
643 (show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
644 * infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
645 (show_unwind_on_signal_p): Ditto.
646 * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
647 (_initialize_gdbtypes, show_overload_debug): Ditto.
648 * gdb-events.c, gdb-events.sh (_initialize_gdb_events)
649 (show_gdb_events_debug): Ditto.
650 * gdbarch.c, gdbarch.sh (show_gdbarch_debug)
651 (_initialize_gdbarch): Ditto.
652 * frame.c (_initialize_frame, show_backtrace_past_main)
653 (show_backtrace_past_entry, show_backtrace_limit)
654 (show_frame_debug): Ditto.
655 * exec.c (_initialize_exec, show_write_files): Ditto.
656 * dwarf2read.c (_initialize_dwarf2_read)
657 (show_dwarf2_max_cache_age): Ditto.
658 * demangle.c (_initialize_demangler)
659 (show_demangling_style_names): Ditto.
660 * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
661 * cp-valprint.c (show_static_field_print)
662 (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
663 * corefile.c (_initialize_core, show_gnutarget_string): Ditto.
664 * cli/cli-logging.c (_initialize_cli_logging)
665 (show_logging_overwrite, show_logging_redirect)
666 (show_logging_filename): Ditto.
667 * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
668 (init_cli_cmds, show_baud_rate, show_remote_debug)
669 (show_remote_timeout, show_max_user_call_depth): Ditto.
670 * charset.c (show_host_charset_name, show_target_charset_name)
671 (initialize_charset): Ditto.
672 * breakpoint.c (show_can_use_hw_watchpoints)
673 (show_pending_break_support, _initialize_breakpoint): Ditto.
674
2877b4cc
JB
6752005-02-23 Jim Blandy <jimb@redhat.com>
676
677 * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
678
e9c55a7b
AC
6792005-02-23 Andrew Cagney <cagney@gnu.org>
680
681 * cli/cli-dump.c (dump_bfd_file): Replace magic constant with
682 SEC_XXX flags.
683
04ac69aa
AC
6842005-02-22 Andrew Cagney <cagney@gnu.org>
685
686 * configure.ac: Only enaable insight when itcl is present.
687 * configure: Re-generate.
688
3470a02f
AC
6892005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
690
691 Committed by Andrew Cagney.
692 * infptrace.c (store_register): Fix typo.
693
b66df561
AC
6942005-02-21 Andrew Cagney <cagney@gnu.org>
695
696 * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
697 * cli/cli-decode.h (add_set_cmd): Delete declaration.
698 * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
699 * i386-nat.c (_initialize_i386_nat): Update call.
700 * valprint.c (_initialize_valprint): Update comment.
701 * gnu-nat.c (_initialize_gnu_nat): Update call.
702
85e3476f
AM
7032005-02-21 Alan Modra <amodra@bigpond.net.au>
704
705 * elfread.c (elf_symtab_read): Discard section syms.
706
4d28ad1e
AC
7072005-02-21 Andrew Cagney <cagney@gnu.org>
708
eefe576e
AC
709 * cli/cli-decode.c (add_set_enum_cmd): Delete function.
710 (deprecated_add_show_from_set): Delete function.
711 * command.h (add_set_enum_cmd): Delete declaration.
712 (deprecated_add_show_from_set): Delete declaration.
713 * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
714 (deprecated_add_show_from_set): Delete declaration.
715 * arm-tdep.c (_initialize_arm_tdep): Update comment.
716 * kod.c (kod_set_os): Simplify.
717 * infrun.c (set_schedlock_func): Simplify.
718 * cli/cli-dump.c (add_dump_command): Update comment.
719
525226b5
AC
720 Replace string variables with a filename completer with
721 add_setshow_optional_filename_cmd.
722 * solib.c, symfile.c: Update.
723 * cli/cli-setshow.c: Do not tidle expand the file.
724
4d28ad1e
AC
725 Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
726 and add_setshow_string_noescape_cmd.
727 * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
728 NULL command's value.
729 * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
730 * remote-sds.c, remote.c, symfile.c, top.c: Update.
731
942fd9fe
AC
7322005-02-20 Andrew Cagney <cagney@gnu.org>
733
7ab04401
AC
734 Use add_setshow_enum_cmd through out.
735 * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
736 * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
737
78f5381d
AC
738 * mi/mi-main.c (captured_mi_execute_command): Use
739 mi_cmd_interpreter_exec.
740
b4b4ac0b
AC
741 * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
742 function.
743 * cli/cli-setshow.c (deprecated_show_value_hack)
744 (do_setshow_command): Handle var_optional_filename.
745 * command.h (enum var_types): Add var_optional_filename.
746 (add_setshow_optional_filename_cmd): Declare.
747 * infcmd.c (notice_args_read): Use.
748
942fd9fe
AC
749 * symfile-mem.c (symbol_file_add_from_memory): Pass
750 target_read_memory to bfd_elf_bfd_from_remote_memory.
751 (do_target_read_memory): Delete.
752
a6c442d8
MK
7532005-02-16 Mark Kettenis <kettenis@gnu.org>
754
755 * value.h (value_contents_equal): New prototype.
756 * value.c (value_contents_equal): New function.
757 * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't
758 include <math.h>.
759 (varobj_set_value): Initialize error to zero.
760 (varobj_update): Rename error2 to error and initialize it to zero.
761 Slightly change the wording of some comments.
762 (my_value_equal): Reimplement using TRY_CATCH and
763 value_contents_equal.
764
5bf193a2
AC
7652005-02-18 Andrew Cagney <cagney@gnu.org>
766
c0d88b1b
AC
767 * cli/cli-decode.c (add_setshow_integer_cmd): New function.
768 * command.h (add_setshow_integer_cmd): Declare.
769 * cli/cli-cmds.c: Update.
770
35096d9d
AC
771 Use add_setshow_uinteger_cmd through out.
772 * printcmd.c, source.c, utils.c, valprint.c: Update.
773
85c07804
AC
774 Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
775 and gdbarch.c.
776 * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
777 * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
778 * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
779 * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
780 * varobj.c, cli/cli-cmds.c: Update.
781 * gdbarch.c, gdb-events.c: Regenerate.
782
5bf193a2
AC
783 Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
784 code adding set/show boolean commands.
785 * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
786 * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
787 * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
788 * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
789 * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
790 * cli/cli-cmds.c: Update.
791
2c5b56ce
AC
7922005-02-17 Andrew Cagney <cagney@gnu.org>
793
f397e303
AC
794 * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
795 to filename_completer.
796 * solib.c (_initialize_solib, reload_shared_libraries): Use
797 add_setshow_filename_cmd.
798 * serial.c (_initialize_serial): Ditto.
799 * remote-utils.c (_initialize_sr_support): Ditto.
800
26c41df3
AC
801 * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
802 * command.h (add_setshow_string_noescape_cmd): Declare.
803 * wince.c (_initialize_wince): Use.
804 * symfile.c (_initialize_symfile): Use.
805 (set_ext_lang_command): Update declaration.
806 * corefile.c (_initialize_core): Use.
807
2c5b56ce
AC
808 * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
809 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
810 (add_setshow_filename_cmd, add_setshow_string_cmd)
811 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
812 fprint_setshow parameter.
813 * command.h (fprint_setshow_ftype): Delete.
814 (add_setshow_cmd_full, add_setshow_enum_cmd)
815 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
816 (add_setshow_filename_cmd, add_setshow_string_cmd)
817 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
818 fprint_setshow parameter.
819 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
820 * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
821 * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
822 * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
823 * remote.c, target.c, cli/cli-logging.c: Update.
824
08546159
AC
8252005-02-16 Andrew Cagney <cagney@gnu.org>
826
827 Merge setshow print and show parameters.
828 * command.h (show_value_ftype): Define.
829 (deprecated_show_value_hack): Declare.
830 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
831 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
832 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
833 (add_setshow_zinteger_cmd): Change type of show_func to
834 show_value_ftype.
835 * cli/cli-decode.h (struct cmd_list_element): Replace
836 fprint_setshow with show_value_func.
837 * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
838 parameter. Set show_value_func. Do not set cmd_sfunc.
839 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
840 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
841 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
842 (add_setshow_zinteger_cmd): Update.
843 * complaints.c (complaints_show_value): Replace
844 fprint_setshow_complaints.
845 (_initialize_complaints): Update.
846 * mips-tdep.c (show_mask_address): Update.
847 * arm-tdep.c (show_fp_model): Update.
848 * cli/cli-setshow.c (do_setshow_command): Call show_value_func
849 instead of fprint_setshow. Use deprecated_show_value_hack.
850 (deprecated_show_value_hack): New function.
851 * remote.c (add_packet_config_cmd, show_remote_cmd):
852 (show_remote_protocol_P_packet_cmd)
853 (show_remote_protocol_P_packet_cmd)
854 (show_remote_protocol_Z_access_wp_packet_cmd)
855 (show_remote_protocol_Z_hardware_bp_packet_cmd)
856 (show_remote_protocol_Z_packet_cmd)
857 (show_remote_protocol_Z_read_wp_packet_cmd)
858 (show_remote_protocol_Z_software_bp_packet_cmd)
859 (show_remote_protocol_Z_write_wp_packet_cmd)
860 (show_remote_protocol_binary_download_cmd)
861 (show_remote_protocol_p_packet_cmd)
862 (show_remote_protocol_qPart_auxv_packet_cmd)
863 (show_remote_protocol_qSymbol_packet_cmd)
864 (show_remote_protocol_vcont_packet_cmd): Update.
865
1c7b1e5a
MK
8662005-02-16 Mark Kettenis <kettenis@gnu.org>
867
868 * wrapper.h: Update copyright year. Properly wrap a few
869 prototypes.
870 (struct gdb_wrapper_arguments): Remove forward declaration.
871 * wrapper.c: Update copyright year. Include "ui-out.h".
872 (struct gdb_wrapper_arguments): Remove.
873 (struct captured_value_struct_elt_args): Remove.
874 (wrapper_parse_exp_1, wrap_evaluate_expression)
875 (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
876 (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
877 (do_captured_value_struct_elf): Remove functions.
878 (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
879 (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
880 (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
881 Re-implement using TRY_CATCH.
882
7124f6fb
YS
8832005-02-16 Yoshinori Sato <ysato@users.sourceforge.jp>
884
885 * remote-e7000.c: unuse TM_FILE defined macro.
886 (e7000_fetch_registers)
887 (e7000_store_registers)
888 (e7000_wait): delete NUM_REALREGS.
889 * remote-hms.c: move TM_FILE macro.
890 (CCR_REGNO): move define from tm-h8300.h.
891
55e5a6d0
MK
8922005-02-15 Mark Kettenis <kettenis@gnu.org>
893
894 * amd64-linux-tdep.c: Update copyright year.
a348ae87
MK
895 (amd64_linux_sigtramp_start): Use sizeof operator instead of
896 LINUX_SIGTRAMP_LEN.
55e5a6d0 897
77ef991d
JB
8982004-02-15 Joel Brobecker <brobecker@gnat.com>
899
900 From Paul Hilfinger <hilfinger@gnat.com>
901 * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
902 SYMBOL_NATURAL_NAME to set type names.
903
1bedd215
AC
9042005-02-15 Andrew Cagney <cagney@gnu.org>
905
906 Mark up add_com, add_info and add_prefix_cmd.
907 * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
908 * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
909 * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
910 * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
911 * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
912 * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
913 * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
914 * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
915 * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
916 * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
917 * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
918 * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
919 * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
920 * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
921 * tui/tui-stack.c, tui/tui-win.c: Update.
922
66bf4b3a
AC
9232005-02-14 Andrew Cagney <cagney@gnu.org>
924
3f325092
AC
925 * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
926 * config/h8300/tm-h8300.h: Delete file.
927
1a966eab
AC
928 Mark up add_cmd.
929 * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
930 * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
931 * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
932 * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
933 * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
934 * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
935 * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
936 * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
937 * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
938 * cli/cli-logging.c, tui/tui-regs.c: Update.
939
7915a72c
AC
940 Mark up add_setshow functions, replace "PRINT:" comment prefix
941 with "FIXME: i18n:".
942 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
943 * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
944 * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
945 * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
946 * target.c, cli/cli-logging.c: Update.
947
66bf4b3a
AC
948 * utils.c (paddress): New function.
949 * defs.h (paddress): Declare.
950 * printcmd.c (deprecated_print_address_numeric): Rename
951 print_address_numeric, call paddress.
952 * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
953 * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
954 * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
955 * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
956 * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
957 * ada-valprint.c: Update.
958
33e6b12b
RR
9592005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
960
961 * MAINTAINERS: Add myself to "Write After Approval".
962
f0bdd87d
YS
9632005-02-12 Yoshinori Sato <ysato@users.sourceforge.jp>
964
965 Restore h8300 support.
966 * configure.tgt: Add h8300-*-*
ba0e80db
YS
967 * h8300-tdep.c: New file. Rewrite new frame code.
968 * config/h8300/h8300.mt: New file. Restored Rev 1.3
969 * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
970
971 * MAINTAINERS: Add myself to "Write After Approval".
f0bdd87d 972
e2e0b3e5
AC
9732005-02-11 Andrew Cagney <cagney@gnu.org>
974
a3f17187
AC
975 Mark up some of printf_filtered and printf_unfiltered.
976 * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
977 * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
978 * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
979 * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
980 * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
981 * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
982 * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
983 * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
984 * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
985 * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
986 * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
987 * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
988 * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
989 * tui/tui-regs.c, tui/tui-win.c: Update.
990
e2e0b3e5
AC
991 Mark up error_no_arg, query, perror_with_name, complaint, and
992 internal_error.
993 * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
994 * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
995 * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
996 * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
997 * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
998 * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
999 * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
1000 * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
1001 * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
1002 * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
1003 * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
1004 * interps.c, language.c, linespec.c, linux-nat.c: Update.
1005 * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
1006 * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
1007 * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
1008 * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
1009 * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
1010 * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
1011 * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
1012 * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
1013 * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
1014 * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
1015 * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
1016 * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
1017 * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
1018 * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
1019 * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
1020 * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
1021 * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
1022 * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
1023 * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
1024 * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
1025 * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
1026 * tui/tui-file.c, tui/tui-interp.c: Update.
8a3fe4f8 1027
e2e0b3e5
AC
10282005-02-10 Andrew Cagney <cagney@gnu.org>
1029
8a3fe4f8
AC
1030 Mark up all error and warning messages.
1031 * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
1032 * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
1033 * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
1034 * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
1035 * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
1036 * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
1037 * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
1038 * event-top.c, exec.c, expprint.c, f-lang.c: Update.
1039 * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
1040 * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
1041 * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
1042 * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
1043 * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
1044 * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
1045 * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
1046 * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
1047 * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
1048 * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
1049 * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
1050 * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
1051 * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
1052 * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
1053 * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
1054 * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
1055 * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
1056 * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
1057 * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
1058 * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
1059 * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
1060 * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
1061 * remote-rdp.c, remote-sim.c, remote-st.c: Update.
1062 * remote-utils.c, remote-utils.h, remote.c: Update.
1063 * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
1064 * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
1065 * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
1066 * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
1067 * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
1068 * somread.c, somsolib.c, source.c, stabsread.c: Update.
1069 * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
1070 * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
1071 * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
1072 * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
1073 * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
1074 * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
1075 * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
1076 * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
1077 * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
1078 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
1079 * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
1080 * tui/tui-win.c: Update.
1081
3517749c
ILT
10822005-02-10 Ian Lance Taylor <ian@airs.com>
1083
1084 * MAINTAINERS: Update my e-mail address.
1085
cf309262
DJ
10862005-02-10 Daniel Jacobowitz <dan@debian.org>
1087
1088 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
1089 PR exp/1821
1090 * cp-valprint.c: Include "language.h".
1091 (cp_print_value_fields): Pass the current language to
1092 fprintf_symbol_filtered.
1093 * Makefile.in (cp-valprint.o): Update dependencies.
1094
899506a8
AC
10952005-02-10 Andrew Cagney <cagney@gnu.org>
1096
335cca0d
AC
1097 * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
1098 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
1099 (add_setshow_filename_cmd, add_setshow_string_cmd)
1100 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
1101 print string parameter with fprint_setshow function.
1102 * command.h (fprint_setshow_ftype): Define. Update declarations.
1103 * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
1104 available, use that.
1105 * cli/cli-decode.h (struct cmd_list_element): Add field
1106 fprint_setshow.
1107 * complaints.c (fprint_setshow_complaints): New function.
1108 (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
1109 * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
1110 with NULL.
1111 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1112 * m32r-rom.c (_initialize_m32r_rom): Ditto.
1113 * cris-tdep.c (_initialize_cris_tdep): Ditto.
1114 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1115 * remote-rdi.c (_initialize_remote_rdi): Ditto.
1116 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1117 * dwarf2read.c (_initialize_dwarf2_read): Ditto.
1118 * frame.c (_initialize_frame): Ditto.
1119 * target.c (initialize_targets): Ditto.
1120 * maint.c (_initialize_maint_cmds): Ditto.
1121 * observer.c (_initialize_observer): Ditto.
1122 * infcall.c (_initialize_infcall): Ditto.
1123 * breakpoint.c (_initialize_breakpoint): Ditto.
1124 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
1125 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
1126
899506a8
AC
1127 * cli/cli-setshow.c (do_setshow_command): Move code printing the
1128 value to the end of the function. Handle MI and non-MI output
1129 differently.
1130
59c58d08
AC
11312005-02-09 Andrew Cagney <cagney@gnu.org>
1132
7376b4c2
AC
1133 * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
1134 show_result parameters.
1135 * mips-tdep.c (_initialize_mips_tdep): Update calls.
1136 * command.h: Update declaration.
1137 * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
1138 calls.
1139
11dced61
AC
1140 * NEWS: Mention removed commands.
1141 * m68hc11-tdep.c (show_regs): Delete, unused.
1142 (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
1143 * gdb-events.sh: Delete deprecated "set eventdebug" and "show
1144 eventdebug" commands.
1145 * gdb-events.c: Regenerate.
1146 * gdbarch.sh: Delete deprecated "set archdebug" and "show
1147 archdebug" commands.
1148 * gdbarch.c: Regenerate.
1149 * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
1150 remotedebug" and "show remotedebug".
1151 * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
1152 disassembly-flavor", "show arm disassembly-flavor", and
1153 "othernames" commands.
1154 (arm_othernames): Delete unused function.
1155
b6e1c027
AC
1156 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
1157 (convert_code_addr_to_desc_addr): Convert any function code
1158 address to the corresponding function's descriptor.
1159 (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
1160 TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
1161 writing, convert any function code address to the corresponding
1162 descriptor.
1163
59c58d08
AC
1164 * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
1165 * config/powerpc/linux.mt (TDEPFILES): Ditto.
1166 * config/pa/linux.mt (TDEPFILES): Ditto.
1167 * config/mips/linux.mt (TDEPFILES): Ditto.
1168 * config/m68k/linux.mt (TDEPFILES): Ditto.
1169 * config/m32r/linux.mt (TDEPFILES): Ditto.
1170 * config/ia64/linux.mt (TDEPFILES): Ditto.
1171 * config/arm/linux.mt (TDEPFILES): Ditto.
1172
b6e1c027
AC
11732005-02-09 Corinna Vinschen <vinschen@redhat.com>
1174
1175 * symmisc.c: Include gdb_stat.h.
1176 (maintenance_print_msymbols): Use inode numbers to compare files.
1177
91294c83
AC
11782005-02-08 Andrew Cagney <cagney@gnu.org>
1179
d3cbe7ef
AC
1180 * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
1181 (METHOD_PTR_TO_VOFFSET): Move from here ...
1182 * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
1183 (METHOD_PTR_TO_VOFFSET): ... to here.
1184 * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
1185 * Makefile.in: Update dependencies.
1186
6941d02a
AC
1187 * exceptions.c: Do not include <setjmp.h>.
1188 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
1189 (catch_exception, catch_exceptions_with_msg, catch_errors)
1190 (catch_command_errors): Use TRY_CATCH.
1191 (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
1192 (exceptions_state_mc_init): Rename catcher_init.
1193 (exceptions_state_mc): Rename catcher_state_machine.
1194 (exceptions_state_mc_action_iter)
1195 (exceptions_state_mc_action_iter_1): New functions.
1196 * exceptions.h: Include <setjmp.h>.
1197 (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
1198 (EXCEPTIONS_SIGLONGJMP): Define.
1199 (exceptions_state_mc_init, exceptions_state_mc_action_iter)
1200 (exceptions_state_mc_action_iter_1): Declare.
1201 (TRY_CATCH): Define.
1202
179f02be
AC
1203 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
1204 no longer needed.
1205
8f135812
AC
1206 * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
1207 PT_FPSCR breakage.
1208
91294c83
AC
1209 * value.c (struct value): Move to here ...
1210 * value.h (struct value): ... from here. Copy comments to
1211 corresponding function declarations, re-order.
1212
dfa52d88
AC
12132005-02-07 Andrew Cagney <cagney@gnu.org>
1214
9bbda503
AC
1215 * value.c (set_value_bitpos, set_value_bitsize): Define.
1216 * value.h (set_value_bitpos, set_value_bitsize): Declare.
1217 * ada-lang.c, valarith.c: Update.
1218
5086187c
AC
1219 * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
1220 value_contents_writeable, include note that there are problems.
1221 * breakpoint.c, infcall.c: Use VALUE_LVAL.
1222
f5cf64a7
AC
1223 * value.h (set_value_offset): Declare.
1224 * value.c (set_value_offset): Declare.
1225 * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
1226 * findvar.c: Update.
1227
17cf0ecd
AC
1228 * value.h (value_next): Declare.
1229 * value.c (value_next): Define.
1230 * breakpoint.c: Update.
1231
88e3b34b
AC
1232 * value.h (deprecated_set_value_modifiable)
1233 (deprecated_value_modifiable): Declare.
1234 * value.c (deprecated_set_value_modifiable): Define.
1235 (deprecated_value_modifiable): Define.
1236 * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
1237
04624583
AC
1238 * value.h (deprecated_set_value_type): Declare.
1239 * value.c (deprecated_set_value_type): Define.
1240 * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
1241 * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
1242 * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
1243 * ax-gdb.c, tracepoint.c: Update.
1244
13bb5560
AC
1245 * value.h (deprecated_value_lval_hack)
1246 (deprecated_value_address_hack)
7d71e29c 1247 (deprecated_value_internalvar_hack)
13bb5560
AC
1248 (deprecated_value_regnum_hack): Declare.
1249 (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
1250 (VALUE_FRAME_ID, VALUE_REGNUM): Use.
1251 * value.c (deprecated_value_lval_hack)
1252 (deprecated_value_address_hack)
7d71e29c 1253 (deprecated_value_internalvar_hack)
13bb5560
AC
1254 (deprecated_value_regnum_hack): Define.
1255
b44d461b
AC
1256 * value.h (VALUE_POINTED_TO_OFFSET): Delete.
1257 (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
1258 * value.c (set_value_pointed_to_offset): Define
1259 (value_pointed_to_offset): Define.
1260 * valops.c: Update.
1261
caadb61d
AC
1262 * value.h (VALUE_EMBEDDED_OFFSET): Delete.
1263 (value_embedded_offset, set_value_embedded_offset): Declare.
13c3b5f5 1264 * value.c (value_embedded_offset): Define.
caadb61d 1265 (set_value_embedded_offset): Define.
13c3b5f5
AC
1266 * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
1267 * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
1268 * cp-abi.h: Update.
1269
dfa52d88
AC
1270 * value.h (VALUE_LAZY): Delete
1271 (set_value_lazy): Declare.
1272 * value.c (set_value_lazy): Define.
1273 * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
1274 * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
1275
0fd88904
AC
12762005-02-06 Andrew Cagney <cagney@gnu.org>
1277
feb13ab0
AC
1278 * value.h (VALUE_OPTIMIZED_OUT): Delete.
1279 (value_optimized_out, set_value_optimized_out): Declare.
1280 * value.c (set_value_optimized_out, value_optimized_out): Define.
1281 * valprint.c, findvar.c, dwarf2loc.c: Update.
1282
0fd88904
AC
1283 * value.c (value_contents, value_contents_writeable): New
1284 functions.
1285 * value.h (VALUE_CONTENTS): Delete macro.
1286 (value_contents, value_contents_writeable): Declare.
1287 * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
1288 * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
1289 * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
1290 * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
1291 * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
1292 * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
1293 * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
1294 * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
1295 * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
1296 * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
1297 * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
1298 * ada-valprint.c, ada-lang.c: Update.
1299
5b90c7b5
AC
13002005-02-03 Andrew Cagney <cagney@gnu.org>
1301
1302 * utils.c (xzalloc): New function.
1303 * defs.h (XZALLOC): Use xzalloc.
1304 (xzalloc): Declare.
1305 * value.c (allocate_value): Allocate a zeroed buffer.
1306 * mdebugread.c (xzalloc): Delete.
1307
4754a64e
AC
13082005-02-02 Andrew Cagney <cagney@gnu.org>
1309
d69fe07e
AC
1310 * value.h (value_lazy): Declare.
1311 * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
1312 * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
1313
46615f07
AC
1314 * value.h (VALUE_CONTENTS_ALL): Delete.
1315 (value_contents_all): Declare.
1316 * value.c (value_contents_all): New function.
1317 * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
1318 * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
1319
4754a64e
AC
1320 * value.c (value_enclosing_type): New function.
1321 * value.h (VALUE_ENCLOSING_TYPE): Delete.
1322 (value_enclosing_type): Declare.
1323 * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
1324 * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
1325
990a07ab
AC
1326 * value.c (value_contents_all_raw)
1327 (value_contents_raw): New functions.
1328 * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
1329 (value_contents_raw, value_contents_all_raw): Declare functions.
1330 (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
1331 * std-regs.c, valarith.c, valops.c, eval.c: Update.
1332 * tracepoint.c, findvar.c: Update.
1333
ff2c3e5d
OF
13342005-02-01 Orjan Friberg <orjanf@axis.com>
1335
1336 * regformats/reg-cris.dat: New file with register definitions for CRIS.
1337 * regformats/reg-crisv32.dat: Ditto for CRISv32.
1338
c46f8c51
AC
13392005-01-31 Andrew Cagney <cagney@gnu.org>
1340
1341 * configure: Regenerate to track ../gettext.m4.
1342
a80493b8
BI
13432005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
1344
1345 * MAINTAINERS: Add myself to "Write After Approval".
1346
3d263c1d
BI
1347 * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
1348 * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
1349 * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
1350
c21a4eee
MK
13512005-01-29 Mark Kettenis <kettenis@gnu.org>
1352
1353 * configure.ac: Remove extra check for ranlib.
1354 * configure: Regenerated.
1355
108d6ead
AC
13562005-01-28 Andrew Cagney <cagney@gnu.org>
1357
a2bd3dcd
AC
1358 * language.h (struct language_defn): Make la_val_print's buffer
1359 parameter a const bfd_byte.
1360 * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
1361 * ada-lang.c (ada_aligned_value_addr)
1362 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
1363 * valprint.c (val_print_array_elements): Update.
1364 * valprint.h (val_print_array_elements): Update.
1365 * ada-lang.h (ada_val_print, ada_aligned_value_addr)
1366 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
1367 * ada-valprint.c (ada_val_print, struct ada_val_print_args)
1368 (ada_val_print_1, ada_print_floating, printable_val_type)
1369 (print_record, val_print_packed_array_elements)
1370 (print_field_values, print_variant_part): Update.
1371 * c-lang.h (c_val_print, cp_print_value_fields): Update.
1372 * c-valprint.c (c_val_print): Update.
1373 * f-lang.h (f_val_print): Update.
1374 * f-valprint.c (f_val_print, f77_print_array_1)
1375 (f77_print_array): Update.
1376 * jv-lang.h (java_val_print): Update.
1377 * jv-valprint.c (java_print_value_fields, java_val_print): Update.
1378 * language.c (unk_lang_val_print): Update.
1379 * m2-lang.h (m2_val_print): Update.
1380 * m2-valprint.c (m2_val_print): Update.
1381 * p-lang.h (pascal_val_print): Update.
1382 (pascal_object_print_value_fields): Update.
1383 * p-valprint.c (pascal_val_print)
1384 (pascal_object_print_value_fields, pascal_object_print_value)
1385 (pascal_object_print_value): Update.
1386 * scm-lang.h (scm_val_print): Update.
1387 * scm-valprint.c (scm_val_print): Update.
1388 * value.h (val_print): Update.
1389
5bcca90b
AC
1390 * p-lang.h (pascal_object_print_class_member)
1391 (pascal_object_print_class_method): Make buffer a const bfd_byte.
1392 * p-valprint.c (pascal_object_print_class_method)
1393 (pascal_object_print_class_method): Ditto.
1394
ce27fb25
AC
1395 * language.h (struct language_defn): Make la_printstr's buffer
1396 parameter a const bfd_byte.
1397 * p-lang.h (pascal_printstr): Update function to match.
1398 * ada-valprint.c (ada_printstr): Update function to match.
1399 * scm-lang.c (scm_printstr): Update function to match.
1400 * p-lang.c (pascal_printstr): Update function to match.
1401 * ada-lang.h (ada_printstr): Update function to match.
1402 * m2-lang.c (m2_printstr): Update function to match.
1403 * objc-lang.c (objc_printstr): Update function to match.
1404 * c-lang.h (c_printstr): Update function to match.
1405 * f-lang.c (f_printstr): Update function to match.
1406 * c-lang.c (c_printstr): Update function to match.
1407 * language.c (unk_lang_printstr): Update function to match.
1408
5f547748
AC
1409 * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
1410 * valprint.h (val_print_type_code_int): Ditto.
1411
bbb4b9db
AC
1412 * objc-lang.h (c_val_print, c_value_print): Delete declarations.
1413
9519ccd5
AC
1414 * cp-valprint.c (cp_print_class_method)
1415 (cp_print_class_member): Make buffer a const bfd_byte.
1416 * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
1417
10a2c479
AC
1418 * ada-lang.c (value_from_contents_and_address)
1419 (to_record_with_fixed_variant_part)
1420 (value_tag_from_contents_and_address, ada_to_fixed_type)
1421 (to_fixed_variant_branch_type, to_fixed_record_type)
1422 (ada_template_to_fixed_record_type, cond_offset_host)
1423 (ada_template_to_fixed_record_type_1): Make buffer a const
1424 bfd_byte.
1425 * ada-lang.h (ada_template_to_fixed_record_type_1)
1426 (value_from_contents_and_address, ada_to_fixed_type): Ditto.
1427
d56612af
AC
1428 * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
1429
366b1cbf 1430 * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
d56612af 1431 * printcmd.c (print_scalar_formatted): Update.
366b1cbf 1432
c84141d6
AC
1433 * value.h (value_bit_index, print_floating)
1434 (find_rt_vbase_offset): Make buffer a const bfd_byte.
1435 * valprint.c (print_floating): Update.
1436 * valarith.c (value_bit_index): Update.
1437 * valops.c (find_rt_vbase_offset): Update.
1438
6c403953
AC
1439 * valprint.h (print_octal_chars, print_char_chars)
1440 (print_hex_chars, print_decimal_chars, print_binary_chars): Make
1441 buffer a const bfd_byte.
1442 * valprint.c (print_binary_chars, print_octal_chars)
1443 (print_decimal_chars, print_hex_chars, print_char_chars): Make
1444 "valaddr"buffer a const bfd_byte, ditto for local variables
1445 referencing that buffer.
1446
a8d6eb4a
AC
1447 * m2-valprint.c: Include "c-lang.h".
1448 (c_val_print): Delete extern declaration.
1449 * scm-valprint.c: Include "c-lang.h".
1450 (c_val_print): Delete extern declaration.
1451 Makefile.in: Update dependencies.
1452
06c4d4dc
AC
1453 * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
1454 bfd_byte.
1455 * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
1456 (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
1457 bfd_byte.
1458 * cp-abi.c (baseclass_offset): Update.
1459 * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
1460
6b08edad
AC
1461 * gnu-v2-abi.h: New file.
1462 * gnu-v2-abi.c: Include "gnu-v2-abi.h".
1463 (gnuv2_baseclass_offset): Delete declaration.
1464 * hpacc-abi.c: Include "gnu-v2-abi.h".
1465 (gnuv2_baseclass_offset): Delete extern declaration.
1466 * Makefile.in: Update dependencies.
1467
108d6ead
AC
1468 * doublest.c (floatformat_is_negative, floatformat_is_nan)
1469 (floatformat_mantissa, get_field): Make the buffer a const
1470 bfd_byte, simplify.
1471
a53bf506
AC
14722005-01-27 Andrew Cagney <cagney@gnu.org>
1473
8cc2524a
AC
1474 * value.h (struct value): Change type of contents to bfd_byte.
1475 (VALUE_CONTENTS_RAW): Simplify.
1476
79dd2d24
AC
1477 * gdbarch.sh (integer_to_address): Change buf parameter to a const
1478 bfd_byte, make pure-multi-arch.
1479 * gdbarch.h, gdbarch.c: Regenerate.
1480 * mips-tdep.c (mips_integer_to_address): Update.
1481 * value.c (value_as_address): Update.
1482
c26b8e3b
AC
1483 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
1484 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
1485 parameters const, change buf to a const bfd_byte.
1486 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
1487 parameters const.
1488
10e2d419
AC
1489 * corefile.c (write_memory): Update, make a copy of the read-only
1490 buffer.
1491 * target.c (target_read_memory): Update.
1492 (target_write_memory): Update, make a copy of the read-only
1493 buffer.
1494 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
1495 const.
1496 * target.h (target_read_memory, target_write_memory): Change
1497 buffer type to bfd_byte; for write_memory, make it const.
1498 * symfile-mem.c (do_target_read_memory): New function.
1499 (symbol_file_add_from_memory): Pass do_target_read_memory to
1500 bfd_elf_bfd_from_remote_memory.
1501
89f5065b
AC
1502 * value.h: Indent using gdb_indent.sh.
1503
a53bf506
AC
1504 * configure: Regenerate to track ../gettext.m4 change.
1505
c44ca51c
AC
15062005-01-26 Andrew Cagney <cagney@gnu.org>
1507
1508 * rs6000-tdep.c: Include "reggroups.h".
1509 (rs6000_gdbarch_init): Set register_reggroup_p.
1510 (rs6000_register_reggroup_p): New function.
1511
c600d464
OF
15122005-01-26 Orjan Friberg <orjanf@axis.com>
1513
1514 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
1515 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
1516 CRISv32.
1517 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
1518 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
1519 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
1520 (crisv32_register_type, cris_special_register_name)
1521 (crisv32_register_name): New functions.
1522 (cris_spec_reg_applicable): Recognize more versions.
1523 (cris_register_name): Update with call to cris_special_register_name.
1524 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
1525 warning when unable to find step target.
1526 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
1527 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
1528 CRISv32.
1529 (fetch_core_registers): Update for CRISv32.
1530 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
1531 register_name, cannot_store_register, cannot_fetch_register,
1532 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
1533
82c94ed0
NR
15342005-01-26 Nick Roberts <nickrob@snap.net.nz>
1535
1536 * interps.c (interpreter_exec_cmd): Use condition,
1537 e.reason < 0, to raise an error.
1538
0598a43c
AC
15392005-01-25 Andrew Cagney <cagney@gnu.org>
1540
a8f60bfc
AC
1541 * ppc-linux-tdep.c: Include "tramp-frame.h"
1542 (struct ppc_linux_sigtramp_cache)
1543 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
1544 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
1545 (ppc_linux_sigtramp_cache): Delete.
1546 (ppc32_linux_sigaction_cache_init)
1547 (ppc64_linux_sigaction_cache_init)
1548 (ppc32_linux_sighandler_cache_init)
1549 (ppc64_linux_sighandler_cache_init)
1550 (ppc32_linux_sigaction_tramp_frame)
1551 (ppc64_linux_sigaction_tramp_frame)
1552 (ppc32_linux_sighandler_tramp_frame)
1553 (ppc64_linux_sighandler_tramp_frame)
1554 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
1555 64-bit, sigaction and siginfo tramp-frame unwinders.
1556
0598a43c
AC
1557 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
1558 long_double_bit to 8.
1559
9d799f85
AC
15602005-01-24 Andrew Cagney <cagney@gnu.org>
1561
1562 * infrun.c (handle_inferior_event): Handle back-to-back and nested
1563 signals where the step_resume_breakpoint may have already been
1564 inserted.
1565
45181ed1
AC
15662005-01-24 Andrew Cagney <cagney@gnu.org>
1567
1568 * configure: Regenerate, ../gettext.m4 was updated.
1569
a28109e0
MK
15702005-01-23 Mark Kettenis <kettenis@gnu.org>
1571
6fe85783
MK
1572 * NEWS: Mention new BSD user-level threads support.
1573
a28109e0
MK
1574 * i386obsd-tdep.c: Update copyright year. Include
1575 "bsd-uthread.h".
1576 (i386obsd_uthread_reg_offset): New variable.
1577 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
1578 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
1579 functions.
1580 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
1581 * Makefile.in (i386obsd-tdep.o): Update dependencies.
1582 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
1583
059198c1
CF
15842005-01-23 Christopher Faylor <cgf@timesys.com>
1585
1586 * win32-nat.c: Update copyright year.
1587 (child_init_thread_list): Set thread linked list point to NULL so that
1588 it won't be reused after clearing.
1589
5c45e068
MK
15902005-01-21 Mark Kettenis <kettenis@gnu.org>
1591
1592 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
1593 undefs.
1594 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
1595 thread' has a td_pcb member and whether `struct reg' has r_fs and
1596 r_gs members.
1597 * configure, config.in: Regenerate.
1598
666ec76f
MK
15992005-01-21 Mark Kettenis <kettenis@gnu.org>
1600
b8667b61
MK
1601 * configure.ac: Remove ia64-*-aix* junk.
1602 * configure: Regenerate.
1603
a3828db0
MK
1604 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
1605 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
1606 is necessary.
1607 * configure, config.in: Regenerate.
1608 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
1609 BFD_NEED_DECLARATION. Never provide a prototype for
1610 caninicalize_file_name.
1611 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
1612 BFD_NEED_DECLARATION.
1613
666ec76f
MK
1614 * configure.ac (targ_archs): Use standard autoconf check for
1615 "struct stat.st_blocks" instead of rolling our own.
1616 * configure: Regenerated.
1617 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
1618 * config.in: Regenerated.
1619
bc8bcb4b
MK
16202005-01-21 Mark Kettenis <kettenis@gnu.org>
1621
1622 * configure.ac: Modernize checks for `long long' and `long double'
1623 support.
1624 * configure: Regenerated.
1625 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
1626 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
1627 * config.in: Regenerated.
1628
30adeb3a
MK
16292005-01-20 Mark Kettenis <kettenis@gnu.org>
1630
1631 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
1632 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
1633 * configure.ac: Remove checks for HP-UX save_state structure.
1634 * configure: Regenerated.
1635
e06e2353
AC
16362005-01-19 Andrew Cagney <cagney@gnu.org>
1637
1638 * utils.c (quit): Simplify, call fatal.
1639 * exceptions.c: Include "serial.h"
1640 (print_flush): Mimic flush code found in utils.c:quit.
1641 * Makefile.in: Update dependencies.
1642
1c44323f
JB
16432005-01-19 Jim Blandy <jimb@redhat.com>
1644
065a1afc
JB
1645 * configure.tgt: Set build_rdi_share to "yes" on those targets
1646 that use that debugging protocol.
1647 Set build_nlm to yes to build NLM stub for Netware targets.
1648 * configure.ac: If build_rdi_share is "yes", then configure the
1649 rdi-share subdirectory.
1650 If build_nlm is "yes", the configure the "nlm" subdirectory.
1651 * configure: Regenerated.
1652
1c44323f
JB
1653 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
1654 autoconf 2.59 and automake 1.9.3.
1655
8a9de0e4
AC
16562005-01-19 Andrew Cagney <cagney@gnu.org>
1657
315a522e
AC
1658 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
1659 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
1660 * utils.c (internal_verror, quit): Update.
1661 * remote-sds.c (interrupt_query): Update.
1662 * remote-mips.c (mips_error, mips_kill): Update.
1663 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
1664 * remote.c (interrupt_query): Update.
1665 * ocd.c (interrupt_query): Update.
1666 * nto-procfs.c (interrupt_query): Update.
1667 * monitor.c (monitor_interrupt_query): Update.
1668 * breakpoint.c (break_command_1): Update.
1669
8a9de0e4
AC
1670 * infrun.c: (resume, proceed, wait_for_inferior)
1671 (handle_inferior_event, stop_stepping)
1672 (prepare_to_wait): Write debug output to gdb_stdlog.
1673
53283f86
MK
16742005-01-19 Mark Kettenis <kettenis@gnu.org>
1675
1676 * inf-ptrace.c (inf_ptrace_prepare_to_store)
1677 (inf_ptrace_post_startup_inferior)
1678 (inf_ptrace_acknowledge_created_inferior)
1679 (inf_ptrace_insert_fork_catchpoint)
1680 (inf_ptrace_remove_fork_catchpoint)
1681 (inf_ptrace_insert_vfork_catchpoint):
1682 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
1683 (inf_ptrace_insert_exec_catchpoint)
1684 (inf_ptrace_remove_exec_catchpoint): Remove functions.
1685 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
1686 (inf_ptrace_target): Don't set to_prepare_to_store,
1687 to_post_startup_inferior, to_acknowledge_created_inferior,
1688 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
1689 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1690 to_follow_fork, to_insert_exec_catchpoint,
1691 to_remove_exec_catchpoint.
1692
9ee907e0
AC
16932005-01-18 Andrew Cagney <cagney@gnu.org>
1694
fa113d1a
AC
1695 * target.h (struct target_ops): Change return type of
1696 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
1697 to_insert_exec_catchpoint to void.
1698 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
1699 (child_insert_exec_catchpoint): Change return type to void.
1700 * target.c (update_current_target): Update.
1701 (debug_to_insert_fork_catchpoint)
1702 (debug_to_insert_vfork_catchpoint)
1703 (debug_to_insert_exec_catchpoint): Update.
1704 * inf-child.c (inf_child_insert_fork_catchpoint)
1705 (inf_child_insert_vfork_catchpoint)
1706 (inf_child_insert_exec_catchpoint): Update.
1707 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
1708 * linux-nat.c (child_insert_fork_catchpoint)
1709 (child_insert_vfork_catchpoint)
1710 (child_insert_exec_catchpoint): Update.
1711 * inftarg.c (child_insert_fork_catchpoint)
1712 (child_insert_vfork_catchpoint,)
1713 (child_insert_exec_catchpoint): Update.
1714
9ee907e0
AC
1715 * remote.c (remote_open_1): Use throw_exception.
1716
295093a4
MS
17172005-01-17 Michael Snyder <msnyder@redhat.com>
1718
1719 * mips-linux-tdep.c: Whitespace tweaks.
1720
4bcff7eb
CV
17212005-01-17 Corinna Vinschen <vinschen@redhat.com>
1722
1723 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
1724
637537d0
AC
17252005-01-17 Andrew Cagney <cagney@gnu.org>
1726
1727 * top.h (source_error, source_pre_error): Delete declaration.
1728 * cli/cli-script.c (source_error_allocated, source_error): Delete.
1729 (script_from_file, source_cleanup_lines): Do not manipulate
1730 source_error_allocated, error_pre_print and source_error.
1731 (struct source_cleanup_lines_args): Delete fields old_pre_error,
1732 and old_error_pre_print.
1733 * top.c (source_error_allocated, source_error)
1734 (source_pre_error): Delete.
1735 (command_line_input): Do not set error_pre_print.
1736 * event-top.c (command_line_handler): Do not set error_pre_print.
1737
12b21d12
JT
17382005-01-16 Jason Thorpe <thorpej@netbsd.org>
1739
1740 * MAINTAINERS: Update my email address.
1741
1c02b2a5
MK
17422005-01-16 Mark Kettenis <kettenis@gnu.org>
1743
c401b55a
MK
1744 * configure.ac: Provide prerequisite headers when checking
1745 <term.h>.
1746 * configure: Regenerate.
1747
1c02b2a5
MK
1748 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
1749 and "bsd-uthread.h".
1750 (amd64fbsd_jmp_buf_reg_offset): New variable.
1751 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
1752 functions.
1753 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
1754 * i386fbsd-tdep.c: Fix typo.
1755 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
1756 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
1757
17d92a02
AC
17582005-01-16 Andrew Cagney <cagney@gnu.org>
1759
1760 * cli/cli-script.c: Include "exceptions.h".
1761 (struct wrapped_read_command_file_args): Define.
1762 (wrapped_read_command_file): New function.
1763 (script_from_file): Replace direct call to read_command_file by
1764 one wrapped by an exception handler.
1765 * exceptions.c (throw_it): Free the old message after creating the
1766 new.
1767 * Makefile.in: Update dependencies.
1768
80ad1639
MK
17692005-01-16 Mark Kettenis <kettenis@gnu.org>
1770
ae036357
MK
1771 * sparc64fbsd-tdep.c: Update copyright year.
1772 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
1773 functions.
1774 (sparc64fbsd_init_abi): Create register sets with collect
1775 functions.
1776
ca5807d9
MK
1777 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
1778 (_initialize_sparc64fbsd_nat): Add some extra features to the
1779 generic SPARC target.
1780 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
1781 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
1782 (NAT_FILE): Set to solib.h.
1783 * config/sparc/nm-fbsd.h: Remove file.
1784
c4f2d4d7
MK
1785 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
1786
80ad1639
MK
1787 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
1788
6212a5e9
AC
17892005-01-16 Andrew Cagney <cagney@gnu.org>
1790
1791 * exceptions.c (struct catcher): Delete saved_error_pre_print and
1792 saved_quit_pre_print.
1793 (catcher_init): Delete parameter errstring, do not override the
1794 pre_print strings.
1795 (catcher_pop): Do not restore the pre_print strings.
1796 (catch_exception, catch_exceptions_with_msg, catch_errors)
1797 (catch_command_errors): Update catch_init calls.
1798
936df4b3
MK
17992005-01-16 Mark Kettenis <kettenis@gnu.org>
1800
1801 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
1802 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
1803
3af1e0e3
AC
18042005-01-15 Andrew Cagney <cagney@gnu.org>
1805
85981d60
AC
1806 * acinclude.m4: Include ../bfd/bfd.m4 instead of
1807 ../bfd/acinclude.m4. Include ../gettext.m4.
1808 * aclocal.m4, configure: Re-generate.
1809
5a14cc1a
AC
1810 * exceptions.c (do_captured_command)
1811 (struct captured_command_args): Delete.
1812 (catch_command_errors): Simplify by inlining call to catch_errors.
1813
3af1e0e3
AC
1814 * exceptions.c (struct catcher): Delete field print_message.
1815 (catcher_init): Delete print_message parameter.
1816 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
1817 (throw_it): Delete prefix parameter.
1818 (throw_verror, throw_vfatal, throw_error): Update.
1819
d0555901
AC
18202005-01-14 Andrew Cagney <cagney@gnu.org>
1821
e48f5bee
AC
1822 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
1823 (throw_reason): Leave the exception's message field blank.
1824 (throw_it): New function, create the exception and throw it.
1825 (throw_verror, throw_vfatal, throw_error): Call throw_it.
1826 (print_any_exception): New function.
1827 (catch_errors, catch_exceptions_with_msg): Call
1828 print_any_exception.
1829 (throw_exception): Move code calling annotate_error and
1830 annotate_quit from here ...
1831 (print_exception): ... to here.
1832
c6da7a6d
AC
1833 * exceptions.c (exception_fprintf, exception_print): Move printing
1834 of \n from here ...
1835 (print_exception): ... to here.
1836 (print_flush): New function.
1837 (exception_print, exception_fprintf): Replace duplicated flush and
1838 wrap code with call to print_flush.
1839 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
1840 and print_exception.
1841 (do_write): Delete.
1842
d0555901
AC
1843 * remote-sds.c (interrupt_query): Call throw_reason instead of
1844 throw_exception.
1845 * remote-mips.c (mips_error, mips_kill): Ditto
1846 * ocd.c (interrupt_query): Ditto.
1847 * nto-procfs.c (interrupt_query): Ditto.
1848 * monitor.c (monitor_interrupt_query): Ditto.
1849
949df321
JJ
18502005-01-14 Jeff Johnston <jjohnstn@redhat.com>
1851
1852 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
1853
bc8332bb
AC
18542005-01-14 Andrew Cagney <cagney@gnu.org>
1855
1c3c7ee7
AC
1856 * exceptions.h (catch_exceptions): Delete errstring parameter.
1857 (catch_exceptions_with_msg): Ditto.
1858 * exceptions.c (catch_exceptions_with_msg): Update.
1859 (catch_exceptions): Update.
1860 * symfile-mem.c (add_vsyscall_page): Update.
1861 * frame.c (get_current_frame): Update.
1862 * wrapper.c (gdb_value_struct_elt): Update.
1863 * exceptions.c (catch_exceptions): Update.
1864 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
1865 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
1866 * remote-fileio.c (remote_fileio_request): Update.
1867
9cbc821d
AC
1868 * exceptions.h (exception_fprintf): Declare.
1869 (exception_print): Drop pre_print parameter.
1870 * mi/mi-main.c (mi_execute_command): Update exception_print call.
1871 * cli/cli-interp.c (safe_execute_command): Update exception_print
1872 call.
1873 * remote.c (remote_open_1): Instead of passing an error prefix to
1874 catch_exceptions, use catch_exceptions and exception_fprintf.
1875 (remote_start_remote): Change return type to void.
1876 * breakpoint.c (insert_bp_location): Instead of passing an error
1877 prefix to catch_exceptions, use catch_exceptions and
1878 exception_fprintf.
1879 (insert_catchpoint): Change return type to void.
1880 (break_command_1): Update exception_print call.
1881 * exceptions.c (exception_fprintf): New function.
1882 (print_exception): New function.
1883 (exception_print): Use print_exception.
1884
22e9b0f1
AC
1885 * utils.c (error_output_message): Delete function.
1886 * defs.h (error_output_message): Delete declaration.
1887
05ff989b
AC
1888 * linespec.c (symtab_from_filename, decode_variable): Use
1889 throw_error instead of error_silent.
1890 * breakpoint.c (do_captured_parse_breakpoint): Change return type
1891 to void.
1892 (break_command_1): Use catch_exception and check the error return
1893 status.
1894 * exceptions.c (throw_error): New function.
1895 (throw_vsilent): Delete function.
1896 * exceptions.h (throw_error): Declare.
1897 (throw_vsilent): Delete declaration.
1898 * utils.c (error_silent): Delete function.
1899 * defs.h (error_silent): Delete declaration.
1900
8a076db9
AC
1901 * mi/mi-main.c (mi_execute_command): Print the exception.
1902 * cli/cli-interp.c (safe_execute_command): Print the exception.
1903 * exceptions.h (exception_print): Declare.
1904 * exceptions.c (struct catcher): Add field print_message.
1905 (catcher_init): Add parameter print_message, store in the catcher
1906 struct.
1907 (print_and_throw): Only print the message when print_message.
1908 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
1909 catcher_init.
1910 (catch_exception): Pass print_message=0 to catcher_init.
1911
bc8332bb
AC
1912 * varobj.c (varobj_create): Add missing \n.
1913
d183932d
MS
19142005-01-13 Michael Snyder <msnyder@redhat.com>
1915
4e18e2de 1916 * cli/cli-decode.h: Whitespace tweaks.
ca0b4d12 1917 * wince.c: Whitespace tweaks.
887a3a14 1918 * uw-thread.c: Whitespace tweaks.
0a4a0819 1919 * utils.c: Whitespace tweaks.
d183932d
MS
1920 * tracepoint.[ch]: Whitespace tweaks.
1921 * solist.h: Whitespace tweaks.
1922
6b1b7650
AC
19232005-01-13 Andrew Cagney <cagney@gnu.org>
1924
b315da38
AC
1925 * exceptions.h (struct exception): Make message const.
1926 * mi/mi-main.c (mi_execute_command): Pass result.message directly
1927 to fputstr_unfiltered.
1928
79e714b4
AC
19292005-01-13 Michael Snyder <msnyder@redhat.com>
1930
1931 * stack.c: Whitespace tweaks.
1932 * somsolib.[ch]: Whitespace tweaks.
1933 * solib-aix.c: Whitespace tweaks.
1934 * solib.c: Whitespace tweaks.
1935 * solib-frv.c: Whitespace tweaks.
1936 * solib.h: Whitespace tweaks.
1937 * solib-irix.c: Whitespace tweaks.
1938 * solib-som.c: Whitespace tweaks.
1939 * solib-sunos.c: Whitespace tweaks.
1940 * solib-svr4.[ch]: Whitespace tweaks.
1941 * ser-tcp.c: Whitespace tweaks.
1942 * ser-unix.c: Whitespace tweaks.
1943 * serial.h: Whitespace tweaks.
1944 * scm-valprint.c: Whitespace tweaks.
1945 * rs6000-tdep.c: Whitespace tweaks.
1946 * rs6000-nat.c: Whitespace tweaks.
1947 * remote.c: Whitespace tweaks.
1948
19492005-01-13 Andrew Cagney <cagney@gnu.org>
1950
6b1b7650
AC
1951 * defs.h (error_last_message, error_init): Delete declaration.
1952 * utils.c (fatal, vfatal): Call throw_vfatal.
1953 (error, verror): Call throw_verror;
1954 (do_write, error_stream_1): Delete function.
1955 (error_stream): Simplify, call error.
1956 (error_last_message, error_init, gdb_lasterr): Delete.
1957 (error_silent): Simplify, call throw_vsilent.
1958 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
1959 * main.c (captured_main): Delete call to error_init.
1960 * exceptions.c (throw_verror, throw_verror)
1961 (throw_vsilent): New functions.
1962 (do_write, print_and_throw): New functions.
1963 (last_message): New global.
1964 (throw_reason): Replace error_last_message with last_message.
1965 (catch_exceptions_with_msg): Dup the message.
1966 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
1967 Declare.
1968
4791eb66
MS
19692005-01-13 Michael Snyder <msnyder@redhat.com>
1970
90c065fb 1971 * remote-st.c: Whitespace tweaks.
8a0ce09a 1972 * remote-sim.c: Whitespace tweaks.
1fa79fac 1973 * remote-mips.c: Whitespace tweaks.
beda9597 1974 * pa64solib.[ch]: Whitespace tweaks.
28397f59 1975 * mdebugread.c: Whitespace tweaks.
ba5e7e8d 1976 * main.c: Whitespace tweaks.
907d819a 1977 * interps.c: Whitespace tweaks.
9d1ff73f 1978 * infrun.c: Whitespace tweaks.
1f5d0fc9 1979 * infcmd.c: Whitespace tweaks.
d9788fe8 1980 * hpux-thread.c: Whitespace tweaks.
3b951200 1981 * hppa-hpux-tdep.c: Whitespace tweaks.
3a9a986f 1982 * gdbcore.h: Whitespace tweaks.
d3f17821 1983 * gdbcmd.h: Whitespace tweaks.
30867156 1984 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
de6854b5 1985 * corefile.c: Whitespace tweaks.
03717487 1986 * completer.c: Whitespace tweaks.
9b5c5aad
MS
1987 * coff-solib.c: Whitespace tweaks.
1988 * coff-solib.h: Whitespace tweaks.
30fdc99f 1989 * cli-out.c: Whitespace tweaks.
1272ad14 1990 * breakpoint.c: Whitespace tweaks.
4791eb66
MS
1991 * cli/cli-interp.c: Tweak comments, per coding standard.
1992
f30f06b8
AC
19932005-01-13 Andrew Cagney <cagney@gnu.org>
1994
ce43223b
AC
1995 * breakpoint.c (gdb_breakpoint_query): Update, use
1996 catch_exceptions_with_msg.
1997 (do_captured_breakpoint): Add uiout parameter.
1998 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
1999 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
2000 gdb_thread_select. Return MI_CMD_ERROR instead of
2001 MI_CMD_CAUGHT_ERROR.
2002 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
2003 (enum captured_mi_execute_command_actions): Delete
2004 EXECUTE_COMMAND_DISPLAY_ERROR.
2005 (captured_mi_execute_command): Delete code handling
2006 MI_CMD_CAUGHT_ERROR.
2007 (mi_execute_command): Don't check for
2008 EXECUTE_COMMAND_DISPLAY_ERROR.
2009 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
2010 gdb_breakpoint_query.
2011 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
2012 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
2013 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
2014 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
2015 parameter.
2016 * thread.c (thread_command): Update call.
2017 (gdb_thread_select, gdb_list_thread_ids): Update, call
2018 catch_exceptions_with_msg.
2019
f30f06b8
AC
2020 * mi/mi-main.c (mi_execute_command): Use catch_exception,
2021 eliminate call to error_last_message.
2022 (captured_mi_execute_command): Change return type to void.
2023
2a78bfb5
AC
20242005-01-12 Andrew Cagney <cagney@gnu.org>
2025
c1043fc2
AC
2026 * exceptions.c (exception_none): New variable.
2027 * Makefile.in: Update dependencies.
2028 * interps.c: Include "exceptions.h".
2029 (interpreter_exec_cmd, interp_exec): Update to return "struct
2030 exception"
2031 * exceptions.h (no_exception): Declare.
2032 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
2033 * mi/mi-interp.c: Include "exceptions.h".
2034 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
2035 'struct exception".
2036 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
2037 (do_captured_execute_command): Update to use catch_exception.
2038 * interps.h: Include "exceptions.h".
2039 (interp_exec_ftype, interp_exec): Return "struct exception".
2040
2a78bfb5
AC
2041 * exceptions.h (throw_reason): Rename throw_exception.
2042 (enum errors, struct exception): Define.
2043 (catch_exception_ftype): Define.
2044 (catch_exception, throw_exception): Declare.
2045 * exceptions.c (throw_exception): Rewrite.
2046 (throw_reason): New function.
2047 (struct catcher, catcher_state_machine): Replace "reason" with
2048 "exception", delete "gdberrmsg".
2049 (catch_exception): New function.
2050 (catcher_init): Replace "gdberrmsg" parameter with "exception".
2051 (catch_errors, catch_exceptions_with_msg): Re-implement passing
2052 exception to catcher_init.
2053 * utils.c (error_silent, error_stream_1): Use throw_reason.
2054 (internal_verror, quit): Ditto.
2055 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
2056 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
2057 * remote.c (remote_open_1, interrupt_query): Ditto.
2058
8b1ca062
MK
20592005-01-12 Mark Kettenis <kettenis@gnu.org>
2060
fa565c2b
MK
2061 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
2062 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
2063 (i386fbsd_jmp_buf_reg_offset): New variable.
2064 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
2065 functions.
2066 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
2067 * Makefile.in (i386fbsd-tdep.o): Update dependency.
2068 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
2069
82f5c14f
MK
2070 * bsd-uthread.h: New file.
2071 * bsd-uthread.c: New file.
2072 * Makefile.in (bsd_uthread_h): New variable.
2073 (ALLDEPFILES): Add bsd-uthread.c.
2074 (bsd-uthread.o): New dependency.
2075
42a6e6a0
MK
2076 * solib.h Update copyright year.
2077 (struct so_list): Forward declaration.
2078 (solib_read_symbols): New prototype.
2079 * solib.c (solib_read_symbols): New function.
2080 (solib_add): Call solib_read_symbols to read in symbols.
2081 (update_solib_list): Call observer_notify_solib_loaded.
2082
8b1ca062
MK
2083 * i386bsd-nat.c: Update copyright year. Don't include
2084 <sys/param.h> and <sys/user.h>.
2085 (register_u_addr, kernel_u_size): Remove functions.
2086 * config/i386/obsd.mh (NAT_FILE): Remove.
2087 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
2088 * config/i386/nm-obsd.h: Remove file.
2089
60250e8b
AC
20902005-01-12 Andrew Cagney <cagney@gnu.org>
2091
db5f402d
AC
2092 * exceptions.c: Include "gdb_string.h".
2093 (enum catcher_state, struct catcher): Define.
2094 (current_catcher): New global, replaces catch_return;
2095 (catch_return): Delete.
2096 (throw_exception): Use current_catcher->buf;
2097 (catcher_init, catcher_pop, catcher_state_machine): New functions.
2098 (catcher): Delete.
2099 (struct catch_errors_args): Delete.
2100 (do_catch_errors): Delete.
2101 (catch_exceptions): Replace body with call to
2102 catch_exceptions_with_msg.
2103 (catcher): Delete.
2104 (catch_exceptions_with_msg, catch_errors): Re-implement using
2105 catcher_state_machine.
2106
60250e8b
AC
2107 * exceptions.h (enum return_reason, RETURN_MASK)
2108 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
2109 (return_mask, throw_exception, catch_exceptions_ftype)
2110 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
2111 (catch_command_errors_ftype, catch_command_errors): Move to
2112 exceptions.h.
2113 * exceptions.c, exceptions.h: New files.
2114 * top.c: Do not include <setjmp.h>.
2115 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
2116 (throw_exception, catcher, catch_exceptions)
2117 (catch_exceptions_with_msg, struct catch_errors_args)
2118 (do_catch_errors, catch_errors, struct captured_command_args)
2119 (do_captured_command, catch_command_errors): Move to exceptions.c.
2120 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
2121 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
2122 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
2123 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
2124 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
2125 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
2126 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
2127 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
2128 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
2129 * ada-valprint.c, ada-lang.c: Ditto.
2130 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
2131 exceptions.o. Update all dependencies.
2132
ca14ead7
MK
21332005-01-11 Mark Kettenis <kettenis@gnu.org>
2134
eafc7eea
MK
2135 * config/i386/nm-fbsd.h: Update copyright year.
2136 Don't include "config/nm-bsd.h".
2137 (KERNEL_U_SIZE): Remove macro.
2138 (kernel_u_size): Remove prototype.
2139
ca14ead7
MK
2140 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
2141 * config/vax/nm-nbsdaout.h: Remove file.
2142
4a39d934
EZ
21432005-01-10 Elena Zannoni <ezannoni@redhat.com>
2144
2145 * MAINTAINERS: Remove self from sh/sh64 maintainership.
2146
93f0f986
AC
21472005-01-10 Andrew Cagney <cagney@gnu.org>
2148
c4f9e2bf
AC
2149 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
2150 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
2151 maintainer.
2152
6b71dd74
AC
2153 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
2154 changes to CRIS.
2155
93f0f986
AC
2156 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
2157 COMMIT means can approve).
2158
8785ced0
MK
21592005-01-10 Mark Kettenis <kettenis@gnu.org>
2160
2a2de4ce
MK
2161 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
2162 (vax_register_u_offset): Make statuc.
2163 (_initialize_vax_nat): Construct and add target vector.
2164 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
2165 inftarg.o. Add inf-ptrace.o.
2166 * Makefile.in (vax-nat.o): Update dependencies.
2167
8785ced0
MK
2168 * inf-ptrace.h: Update copyright year. Sync comment with
2169 inf-ptrace.c.
2170 (inf_ptrace_trad_target): New prototype.
2171 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
2172 "gdb_assert.h"
2173 (inf_ptrace_target): Add comment.
2174 (inf_ptrace+register_u_offset): New variable.
2175 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
2176 (inf_ptrace_store_register, inf_ptrace_store_registers)
2177 (inf_ptrace_trad_target): New functions.
2178 * Makefile.in (inf-ptrace.o): Update dependencies.
2179
7cb9022a
MK
21802005-01-09 Mark Kettenis <kettenis@gnu.org>
2181
2182 * configure.ac: Provide prerequisite headers when checking
2183 <link.h>, <sys/proc.h> and <sys/user.h>.
2184 * configure: Regenerate.
2185
c534d641
MK
21862005-01-08 Mark Kettenis <kettenis@gnu.org>
2187
2188 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
2189 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
2190
4b48ac22
MK
21912005-01-07 Mark Kettenis <kettenis@gnu.org>
2192
2193 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
2194 Don't include "tm-ia64.h".
2195 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
2196 * config/ia64/tm-ia64.h: Remove. Move contents ...
2197 * ia64-tdep.h: ... here. Update copyright year.
2198
3ace7edb
AC
21992005-01-07 Andrew Cagney <cagney@gnu.org>
2200
bec39cab
AC
2201 * configure.ac: Rename configure.in, require autoconf 2.59.
2202 * configure: Re-generate.
2203
e14ecb8f
AC
2204 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
2205 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
2206 to configdirs.
2207
3ace7edb
AC
2208 * configure.in: Replace configdirs with multiple references to
2209 AC_CONFIG_SUBDIRS.
2210 * configure: Re-generate.
2211
b33e8514
AS
22122005-01-05 Andreas Schwab <schwab@suse.de>
2213
2214 * ia64-tdep.c: Include "osabi.h".
2215 (native_find_global_pointer): Delete.
2216 (ia64_find_global_pointer): Renamed from
2217 generic_elf_find_global_pointer.
2218 (FIND_GLOBAL_POINTER): Delete. Change all users to call
2219 ia64_find_global_pointer instead.
2220 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
2221 to ia64_linux_sigcontext_register_address and
2222 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
2223 (_initialize_ia64_tdep): Call gdbarch_register instead of
2224 deprecated register_gdbarch_init.
2225 (struct gdbarch_tdep): Remove find_global_pointer field and move
2226 to ...
2227 * ia64-tdep.h (struct gdbarch_tdep): ... here.
2228 (ia64_linux_sigcontext_register_address): Remove declaration.
2229 (ia64_linux_getunwind_table): Likewise.
2230 (ia64_linux_write_pc): Likewise.
2231 * ia64-linux-tdep.c: Include "osabi.h".
2232 (ia64_linux_sigcontext_register_address): Make static.
2233 (ia64_linux_write_pc): Likewise.
2234 (ia64_linux_init_abi): New.
2235 (_initialize_ia64_linux_tdep): New.
2236 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
2237 $(osabi_h).
2238
0ea390ed
KB
22392005-01-05 Kevin Buettner <kevinb@redhat.com>
2240
2241 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
2242 functions in ia64-aix-tdep.c.
2243 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
2244 function defined in ia64-aix-tdep.c.
2245 * ia64-aix-tdep.c: Remove file.
2246 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
2247 this list.
2248 * Makefile.in (ia64-aix-tdep.o): Delete.
2249
edefbb7c
AC
22502005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
2251
2252 Committed by Andrew Cagney.
2253 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
2254 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
2255 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
2256 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
2257 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
2258 * aix-thread.c (_initialize_aix_thread): Get rid of the
2259 deprecated_add_show_from_set call.
2260 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
2261 * arm-tdep.c (_initialize_arm_tdep): Ditto.
2262 * command.h (add_setshow_enum_cmd): Add arguments for returning
2263 new list elements.
2264 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
2265 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
2266 add_setshow_enum_cmd.
2267
a260932f
MK
22682005-01-04 Mark Kettenis <kettenis@gnu.org>
2269
34cf1994
MK
2270 * configure.host (ia64-*-aix*): Remove.
2271 * configure.tgt (ia64-*-aix*): Remove.
2272 * config/ia64/aix.mh: Remove file.
2273 * config/ia64/aix.mt: Remove file.
2274 * config/ia64/tm-aix.h: Remove file.
2275 * ia64-aix-nat.c: Remove file.
2276 * Makefile.in (ia64-aix-nat.o): Remove dependency.
2277
a260932f
MK
2278 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
2279 Add back inf-ptrace.o.
2280
5ed102a1
AC
22812005-01-04 Andrew Cagney <cagney@gnu.org>
2282
2283 * version.in: Change format from 6.3.50_2005-01-04-cvs to
2284 6.3.50.20050104-cvs.
2285
3a63c4b7
AS
22862005-01-04 Andreas Schwab <schwab@suse.de>
2287
2288 * breakpoint.c (break_command_1): Always free err_msg before
2289 returning when an exception was caught.
2290
e22b26cb
JB
22912005-01-01 Joel Brobecker <brobecker@gnat.com>
2292
2293 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
2294 in register number for addil instruction.
2295
151c5df6 2296For older changes see ChangeLog-2004.
c906108c
SS
2297\f
2298Local Variables:
2299mode: change-log
2300left-margin: 8
2301fill-column: 74
2302version-control: never
2303End:
This page took 0.775319 seconds and 4 git commands to generate.