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