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