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