* NEWS: Mention OpenBSD/mips64 as a new native configuration.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e0ecbda1
MK
12005-05-12 Mark Kettenis <kettenis@gnu.org>
2
3 * NEWS: Mention OpenBSD/mips64 as a new native configuration.
4
5711a8b0
EZ
52005-05-12 Eli Zaretskii <eliz@gnu.org>
6
7 * observer.sh (texi) [DJGPP]: If the file name includes a colon,
8 convert it to the /dev/x/ form.
9
a77053c2
MK
102005-05-12 Mark Kettenis <kettenis@gnu.org>
11
12 * solib.h (CLEAR_SOLIB, SOLIB_ADD)
13 (SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK)
14 (SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART)
15 (DISABLE_UNSETTABLE_BREAK, PC_SOLIB)
16 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned
17 comments.
18 * breakpoint.c: Include "solib.h".
19 (insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call
20 solib_address.
21 (remove_solib_event_breakpoints, create_solib_event_breakpoint)
22 (disable_breakpoints_in_shlibs)
23 (disable_breakpoints_in_unloaded_shlib)
24 (re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't
25 defined. If PC_SOLIB isn't defined, call solib_address.
26 (_initialize_breakpoint): Unconditionally install observer.
27 * corelow.c: Include "solib.h".
28 [SOLIB_ADD] (solib_add_stub): Remove prototype.
29 (core_close) [!CLEAR_SOLIB]: Call clear_solib.
30 (solib_add_stub) [!SOLIB_ADD] Call solib_add.
31 (core_open): Unconditionally call solib_add_stub.
32 * fork-child.c: Include "solib.h".
33 (fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
34 solib_create_inferior_hook.
35 * infcmd.c: Include "solib.h".
36 (attach_command) [!SOLIB_ADD]: Call shlib_rescan. Unconditionally
37 call re_enable_breakpoints_in_shlibs.
38 * infrun.c: Include "solib.h".
39 (SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already
40 defined.
41 (stop_on_solib_events, show_stop_on_solib_events): Include
42 unconditionally.
43 (follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
44 solib_create_inferior_hook.
45 (handle_inferior_event) [!SOLIB_ADD]: Call shlib_add.
46 [!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code.
47 (_initialize_infrun): Unconditionally add "stop_on_solib-events"
48 command.
49 * remote.c: Include "solib.h".
50 (remote_open_1): Unconditionally call no_shared_libraries.
51 [!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook.
52 * stack.c: Include "solib.h".
53 (print_frame) [!PC_SOLIB] Call shlib_for_pc.
54 * xcoffsolib.c (no_shared_libraries): Remove function.
55 * Makefile.in (SFILES): Add solib.c.
56 (ALLDEPFILES): Remove solib.c.
57 (COMMON_OBS): Add solib.o.
58 (breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o)
59 (remote.o, stack.o): Update dependencies.
60
847f5ce8
DJ
612005-05-12 Daniel Jacobowitz <dan@codesourcery.com>
62
63 * cp-names.y: Renamed to ...
64 * cp-name-parser.y: ... this.
65 * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
66 cp-name-parser.y.
67 (test-cp-names.o): Renamed to test-cp-name-parser.o.
68 (test-cp-names): Renamed to test-cp-name-parser.
69 (clean, local-maintainer-clean): Update.
70 (cp-names.o): Renamed to cp-name-parser.o.
71
b41cde44
EZ
722005-05-12 Eli Zaretskii <eliz@gnu.org>
73
15c3c5c6
EZ
74 * observer.sh: Use observer.tmp instead of observer.inc-tmp which
75 on 8+3 filesystems overwrites observer.inc. Update copyright year
76 of the resultant file.
77
358777b0
EZ
78 * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
79 is_gnu_v3_mangled_ctor to avoid compiler warnings.
80
b41cde44
EZ
81 * config/djgpp/config.sed: Adapt to latest Autoconf.
82
83 * config/djgpp/djconfig.sh: Add -Wpointer-arith and
84 -Wuninitialized to the build warnings.
85
0d4fc997
EZ
862005-05-11 Eli Zaretskii <eliz@gnu.org>
87
6791e1b1
EZ
88 * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
89 ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
90 Fix mappings for hilo-hazard-?.s.
91
0d4fc997
EZ
92 * config/djgpp/README: Update GDB versions and my email address.
93
fc1a4b47
AC
942005-05-09 Andrew Cagney <cagney@gnu.org>
95
96 Use gdb_byte in preference to bfd_byte.
97 * gdbarch.sh: Update.
98 * gdbarch.h, gdbarch.c: Re-generate.
99 * ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update.
100 * c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update.
101 * f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update.
102 * jv-valprint.c, language.c, language.h, m2-lang.c: Update.
103 * m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update.
104 * p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update.
105 * scm-lang.h, scm-valprint.c, target.c, target.h: Update.
106 * tramp-frame.c, valarith.c, valops.c, valprint.c: Update.
107 * valprint.h, value.c, value.h: Update.
108
8b04f8b6
MK
1092005-05-09 Mark Kettenis <kettenis@gnu.org>
110
8cc49c48
MK
111 * vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
112 Use `gdb_byte *' for regs.
113 * vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs;
114 (vax_store_arguments, vax_push_dummy_call, vax_return_value): Use
115 gdb_byte for buf.
116 (vax_breakpoint_from_pc): Change return type to `const gdb_byte
117 *'. Use gdb_byte for break_insn.
118 (vax_skip_prologue): Use gdb_byte for op.
119
8142f7cb
MK
120 * i387-tdep.c: Remove outdated comments.
121
8b04f8b6
MK
122 * defs.h: Unconditionally include <sys/types.h>.
123
979b38e0
DJ
1242005-05-08 Daniel Jacobowitz <dan@codesourcery.com>
125
126 * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
127 section like .plt.
128
9cedd1a6 1292005-05-08 Mark Kettenis <kettenis@gnu.org>
d8de1ef7 130
4252dc94
MK
131 * i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):
132 Change type to `static const gdb_byte'.
133 (i386_linux_sigtramp_start, i386_linux_rt_sigtramp_start)
134 (i386_linux_sigcontext_addr): Use gdb_byte for buf.
135 * amd64-linux-tdep.c (linux_sigtramp_code): Change type to `static
136 const gdb_byte'.
137 (amd64_linux_sigtramp_start, amd64_linux_sigcontext_addr): Use
138 gdb_byte for buf.
139 * amd64fbsd-tdep.c (amd64fbsd_supply_uthread)
140 (amd64fbsd_collect_uthread): Use gdb_byte for buf.
141
d46bfb5c
MK
142 * config/ia64/nm-aix.h: Remove file.
143
d8de1ef7
MK
144 * amd64-tdep.c (amd64_return_value): Use `gdb_byte *' in casts.
145 (amd64_push_arguments): Use gdb_byte instead of bfd_byte. Use
146 gdb_byte for buf.
147 (amd64_push_dummy_call): Use gdb_byte for buf.
148 (amd64_analyze_prologue): Use gdb_byte for proto, buf and op.
149 (amd64_frame_cache, amd64_sigtramp_frame_cache)
150 (amd64_unwind_dummy_id): Use gdb_byte for buf.
151 (amd64_supply_fxsave, amd64_collect_fxsave): Use `gdb_byte *' for
152 regs.
153 * amd64obsd-tdep.c (amd64obsd_supply_regset): Use `gdb_byte *' in
154 casts.
155 (amd64obsd_sigtramp_p): Use gdb_byte for sigreturn and `gdb_byte
156 *' for buf,
9cedd1a6 157
63c0089f
MK
158 * i386-tdep.c (i386_breakpoint_from_pc): Change return type to
159 `const gdb_byte *'. Use gdb_byte for break_insn.
160 (i386_follow_jump): Use gdb_byte for op.
161 (i386_analyze_struct_return): Use gdb_byte for proto1, proto2, buf
162 and op.
163 (i386_skip_probe): Use gdb_byte for buf and op.
164 (struct i386_insn): Use gdb_byte for insn and mask.
165 (i386_match_insn, i386_analyze_frame_setup)
166 (i386_analyze_register_saves): Use gdb_byte for op.
167 (i386_skip_prologue): Use gdb_byte for pic_pat and op;
168 (i386_unwind_pc, i386_frame_cache, i386_sigtramp_frame_cache)
169 (i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for
170 buf.
171 (i386_extract_return_value, i386_store_return_value): Use
e447028c 172 `gdb_byte *' instead of `void *' for valbuf argument. Remove now
63c0089f
MK
173 redundant cast.
174 (i386_pseudo_register_read, i386_pseudo_register_write): Use
175 gdb_byte for mmx_buf.
176 (i386_register_to_value, i386_value_to_register): Use `gdb_byte *'
177 instead of `char *' for buf.
178 (i386_supply_gregset, i386_collect_gregset): Use `gdb_byte *'
179 instead of `char *' for regs.
180 (i386_svr4_sigcontext_addr): Use gdb_byte for buf.
181 * i386obsd-tdep.c (i386obsd_sigtramp_p): Use gdb_byte for
182 sigreturn and `gdb_byte *' for buf.
183 (i386obsd_aout_supply_regset): Use `const gdb_byte *' in cast.
184 (i386obsd_supply_uthread, i386obsd_collect_uthread): Use gdb_byte
185 for buf.
186 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use gdb_byte for buf.
187
b57b6c2e
MK
188 * defs.h (gdb_byte): New typedef. Tweak comments.
189
9cedd1a6
MK
190 * target.h (target_link): Remove prototype.
191 * target.c (target_link): Remove function.
192 * symfile.c: Remove comment about rombug.
193
f8736ddf
MK
1942005-05-04 Mark Kettenis <kettenis@gnu.org>
195
196 * config/i386/cygwin.mh (XM_FILE): Remove variable.
197 * config/i386/xm-cygwin.h: Remove file.
198
8bbde302
BE
1992005-05-03 Ben Elliston <bje@au.ibm.com>
200
201 * infrun.c (handle_inferior_event): Update the comment about users
202 of stepped_after_stopped_by_watchpoint.
203
079c8cd0
CV
2042005-05-02 Corinna Vinschen <vinschen@redhat.com>
205
206 * MAINTAINERS: Remove hint that sh64 doesn't build.
207 * sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
208 (sh64_do_fp_register): make raw_buffer unsigned.
209 (sh64_do_register): Ditto.
210
5ebc08b0
MK
2112005-05-02 Mark Kettenis <kettenis@gnu.org>
212
213 * bsd-uthread.c: Include "solib.h".
214 * Makefile.in (bsd-uthread.o): Update dependencies.
215
5dbe23a3
DJ
2162005-05-01 Daniel Jacobowitz <dan@codesourcery.com>
217
218 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
219 cached frames when changing gdbarch.
220 * gdbarch.c: Regenerated.
221
5a168c78
AC
2222005-05-01 Andrew Cagney <cagney@gnu.org>
223
87d088f5
AC
224 * MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
225 do not build.
226
5a168c78
AC
227 * gdbarch.sh (deprecated_extract_return_value)
228 (breakpoint_from_pc, deprecated_store_return_value)
229 (memory_insert_breakpoint, memory_remove_breakpoint): Change type
230 of buffer to a bfd_byte pointer.
231 * gdbarch.h, gdbarch.c: Re-generate.
232 * mem-break.c (memory_insert_breakpoint)
233 (memory_remove_breakpoint, default_memory_insert_breakpoint)
234 (default_memory_remove_breakpoint): Update.
235 * target.h (memory_insert_breakpoint)
236 (memory_remove_breakpoint, default_memory_insert_breakpoint)
237 (default_memory_remove_breakpoint): Update declarations.
238 (struct target_ops): Update to_insert_breakpoint and
239 to_remove_breakpoint.
240 * target.c (debug_to_remove_breakpoint)
241 (debug_to_insert_breakpoint): Update.
242 * remote-m32r-sdi.c (m32r_remove_breakpoint)
243 (m32r_insert_breakpoint): Update.
244 * m32r-tdep.c (m32r_memory_insert_breakpoint)
245 (m32r_memory_remove_breakpoint): Update.
246 * remote-e7000.c (e7000_insert_breakpoint)
247 (e7000_remove_breakpoint): Update.
248 * remote-rdi.c (arm_rdi_insert_breakpoint)
249 (arm_rdi_remove_breakpoint): Update.
250 * remote-sim.c (gdbsim_insert_breakpoint)
251 (gdbsim_remove_breakpoint): Update.
252 * exec.c (ignore): Update.
253 * rs6000-tdep.c (rs6000_extract_return_value): Update.
254 * ia64-tdep.c (ia64_memory_insert_breakpoint)
255 (ia64_memory_remove_breakpoint): Update.
256 * remote-rdp.c (remote_rdp_insert_breakpoint)
257 (remote_rdp_remove_breakpoint): Update.
258
68b9939a
MK
2592005-05-01 Mark Kettenis <kettenis@gnu.org>
260
e908eab4
MK
261 * somsolib.c, somsolib.h: Remove files.
262 * Makefile.in (somsolib_h): Remove.
263 (somsolib.o): Remove dependency.
264
68b9939a
MK
265 * fbsd-nat.c: Include <sys/sysctl.h>.
266 (fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
267 available. Plug memory leak. Fixes PR gdb/1922.
268
66aba65d
MK
2692005-04-29 Mark Kettenis <kettenis@gnu.org>
270
271 * solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
272 (TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
273 (TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
274 (TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
275 * solib.c (solib_data): New variable.
276 (solib_init, solib_ops): New functions.
277 (solib_open, solib_map_sections, free_so, update_solib_list)
278 (solib_add, clear_solib, solib_create_inferior_hook)
279 (in_solib_dynsym_resolve_code): Call architecture-dependent code
280 using solib_ops.
281 (_initialize_solib): Register SOLIB_DATA.
282
35e08e03
KB
2832005-04-29 Kevin Buettner <kevinb@redhat.com>
284
285 * frv-tdep.c (find_func_descr): Verify that entry point can be
286 found in symbol table prior to looking up its function descriptor.
287 * solib-frv.c (find_canonical_descriptor_in_load_object): Add
288 test for non-NULL link map.
289
862ba188
CV
2902005-04-29 Corinna Vinschen <vinschen@redhat.com>
291
292 * MAINTAINERS: Revert h8300 state to un-deleted.
293 * Makefile.in: Re-add h8300-tdep.o dependencies.
294 * h8300-tdep.c: Slightly rearrange type definitions and functions.
295 (struct frame_extra_info): Remove.
296 (struct h8300_frame_cache): Replace locals with differently defined
297 uses_fp member.
298 (h8300_unwind_pc): Simplify.
299 (h8300_unwind_sp): New function.
300 (h8300_unwind_dummy_id): Simplify.
301 (h8300_init_frame_cache): New function.
302 (h8300_is_argument_spill): Use reworked defines for opcode scanning.
303 (h8300_skip_prologue): Rewrite.
304 (h8300_alloc_frame_cache): Remove.
305 (h8300_analyze_frame_setup): Remove.
306 (h8300_analyze_register_saves): Remove.
307 (h8300_analyze_prologue): Rewrite.
308 (h8300_frame_cache): Use h8300_init_frame_cache instead of
309 h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to
310 accomodate 16 bit mode. Fix saved_sp and register offset evaluation.
311 (h8300_frame_this_id): Correctly calculate this_id using saved stack
312 pointer instead of base.
313 (h8300_frame_prev_register): Drop needless braces.
314 (h8300_frame_base_address): New function.
315 (h8300_frame_base): New frame_base.
316 (h8300_push_dummy_call): Return correct CFA value.
317 (h8300h_extract_return_value): Fix 8 byte value handling.
318 (h8300_use_struct_convention): New function.
319 (h8300h_use_struct_convention): New function.
320 (h8300h_store_return_value): Fix 8 byte value handling.
321 (h8300_return_value): New function.
322 (h8300h_return_value): New function.
323 (h8300_extract_struct_value_address): Remove deprecated functionality.
324 (h8300_push_dummy_code): Remove.
325 (h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and
326 set_gdbarch_store_return_value calls by set_gdbarch_return_value.
327 Remove calls to set_gdbarch_deprecated_fp_regnum,
328 set_gdbarch_deprecated_extract_struct_value_address,
329 set_gdbarch_deprecated_use_struct_convention and
330 set_gdbarch_push_dummy_code.
331 Add calls to set_gdbarch_unwind_sp and frame_base_set_default.
332 Slightly rearrange code.
333
3a913e29
JB
3342005-04-28 Jim Blandy <jimb@redhat.com>
335
336 * parse.c (namecopy): Change allocation conventions.
337 (namecopy_size): New variable.
338 (copy_name): Allocate namecopy using xrealloc, instead of assuming
339 it has adequate space allocated to it.
340 (parse_exp_1): Don't try to allocate space for namecopy here.
341
a955ca71
EZ
3422005-04-28 Eli Zaretskii <eliz@gnu.org>
343
344 * cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
345 set, use symtab_to_fullname, instead of trying to do its job. Use
346 xstrprintf instead of malloc and sprintf.
347
46845f5e
KB
3482005-04-28 Kevin Buettner <kevinb@redhat.com>
349
350 * remote.c (init_remote_state): Eliminate use of
351 deprecated_register_bytes().
352
8929e59d
AC
3532005-04-28 Andrew Cagney <cagney@gnu.org>
354
355 * valops.c (check_field): Make buffer a bfd_byte.
356 * value.c (unpack_long, unpack_double, unpack_pointer)
357 (unpack_field_as_long, modify_field): Ditto.
358 * value.h: Update declarations.
359
cade9e54
PB
3602005-04-28 Paul Brook <paul@codesourcery.com>
361
362 * exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
363
4b188b9f
MK
3642005-04-27 Mark Kettenis <kettenis@gnu.org>
365
ab576d85
MK
366 * solib-svr4.c (_initialize_svr4_solib)
367 [SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
368 svr4_legacy_fetch_link_map_offsets.
369
ccf00f21
MK
370 * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
371 (sh_gdbarch_init): Remove redundant prototype.
372 * sh-linux-tdep.c: New file.
373 * config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets):
374 Remove prototype.
375 (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define.
376 * config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove
377 solib-legacy.o.
378 * Makefile.in (sh-linux-tdep.o): New.
379
4b188b9f
MK
380 * solib-svr4.c: Update copyright year. Include "gdb_assert.h".
381 (SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already
382 defined.
383 (legacy_fetch_link_map_offsets): Remove prototype.
384 (fetch_link_map_offsets_gdbarch_data): Remove.
385 (LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY)
386 (first_link_map_member, open_symbol_file_object, svr4_current_sos)
387 (svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets
388 instead of SVR4_FETCH_LINK_MAP_OFFSETS.
389 (solib_svr4_data): New variable.
390 (struct solib_svr4_ops): New.
391 (solib_svr4_init): New fynction.
392 (legacy_fetch_link_map_offsets, init_fetch_link_map_offsets):
393 Remove functions.
394 (svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite
395 using the new `struct solib_svr4_ops'.
396 (_initialize_svr4_solib): Replace registration of per-architecture
397 data. Add temporary hack to set
398 svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS
399 is set.
400 * Makefile.in (solib-svr4.o): Update dependencies.
401
4fabe3d5
MK
4022005-04-26 Mark Kettenis <kettenis@gnu.org>
403
404 * configure.tgt (*-*-freebsd*): Set gdb_osabi to
405 GDB_OSABI_FREEBSD_ELF. Partial fix for PR gdb/1922.
406
109c3e39
AC
4072005-04-26 Andrew Cagney <cagney@gnu.org>
408
409 * remote.c (remote_open_1): Move "ex"'s declaration to where it is
410 used.
411 (remote_get_thread_local_address): Use throw_error, include a
412 printed string.
413 * linux-thread-db.c (thread_db_get_thread_local_address): Ditto.
414 * dwarf2loc.c (dwarf_expr_tls_address): Ditto.
415 * cli/cli-script.c (script_from_file): Mark up throw_error message.
416 * linespec.c (symtab_from_filename, decode_variable): Ditto.
417
71fff37b
AC
4182005-04-26 Andrew Cagney <cagney@gnu.org>
419
420 Rename 'struct exception' to 'struct gdb_exception'.
421 * wrapper.c: Update.
422 * varobj.c: Update.
423 * tui/tui-interp.c: Update.
424 * remote.c: Update.
425 * mi/mi-main.c: Update.
426 * mi/mi-interp.c: Update.
427 * linux-thread-db.c: Update.
428 * interps.h: Update.
429 * interps.c: Update.
430 * exceptions.h: Update.
431 * exceptions.c: Update.
432 * dwarf2loc.c: Update.
433 * cli/cli-interp.c: Update.
434 * cli/cli-script.c: Update.
435 * breakpoint.c: Update.
436
011825f0
MM
4372005-04-25 Mark Mitchell <mark@codesourcery.com>
438
3aa6b2ca
MM
439 * event-loop.c (gdb_select): Program defensively.
440
011825f0
MM
441 * event-loop.c (gdb_assert.h): Include.
442 (<windows.h>): Include under Windows.
443 (<io.h>): Likeiwse.
444 (gdb_select): New function.
445 (gdb_wait_for_event): Use it.
446 * Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
447
02a71ae8
MK
4482005-04-23 Mark Kettenis <kettenis@gnu.org>
449
450 * sparc64-tdep.c: Include "dwarf2-frame.h".
451 (sparc64_dwarf2_frame_init_reg): New function.
452 * Makefile.in (sparc64-tdep.o): Update dependencies.
453
20338726
DM
4542005-04-22 David S. Miller <davem@davemloft.net>
455
456 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to
457 sparc64_init_abi().
458
a07ff70c
MK
4592005-04-22 Mark Kettenis <kettenis@gnu.org>
460
461 * ser-base.c: Include "ser-base.h" instead of "ser-unix.h".
462
248697b2
MM
4632005-04-22 Mark Mitchell <mark@codesourcery.com>
464
465 * ser-base.c (<sys/time.h>): Include.
466
a33e488c
MK
4672005-04-22 Mark Kettenis <kettenis@gnu.org>
468
a86c5ab2
MK
469 * ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
470
70f1dc74
MK
471 * sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
472 (LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
473 (LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
474 macros.
475 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
476 instructions.
477 * sparc64-linux-tdep.c: Reorder includes. Tweak a few comments.
478 (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
479 macros.
480 (sparc64_linux_rt_sigframe): Hardcode instructions.
481 * Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
482 dependencies.
483
a33e488c
MK
484 * sparc-linux-tdep.c: Update copyright year.
485 (sparc32_linux_init_abi): Set skip_trampoline_code and
486 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
487 Don't set software_single_step and don't call
488 sparc32_sol2_init_abi.
489 * sparc64-linux-tdep.c: Update copyright year.
490 (sparc64_linux_init_abi): Set skip_trampoline_code and
491 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
492 Don't set software_single_step and don't call
493 sparc64_sol2_init_abi.
494
24ec834b
EZ
4952005-04-22 Eli Zaretskii <eliz@gnu.org>
496
497 * remote-st.c (_initialize_remote_st2000): Remove the extraneous
498 "<command>" string from the call to add_com.
499
500 * remote-sim.c (_initialize_remote_sim): Ditto.
501
502 * remote-utils.c (_initialize_sr_support): Ditto.
503
504 * remote-mips.c (_initialize_remote_mips): Ditto.
505
81f726ab
DM
5062005-04-21 David S. Miller <davem@davemloft.net>
507
508 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
509 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames.
510 (sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start,
511 sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p,
512 sparc32_linux_sigtramp_frame_cache,
513 sparc32_linux_sigtramp_frame_this_id,
514 sparc32_linux_sigtramp_frame_prev_register,
515 sparc32_linux_sigtramp_frame_unwind,
516 sparc32_linux_sigtramp_frame_sniffer): Delete.
517 (sparc32_linux_init_abi): Register new tramp unwinders. Kill
518 register of old sigtramp sniffer.
519 * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New
520 function.
521 (sparc64_linux_rt_sigframe): New tramp frame.
522 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
523 sparc64_linux_sigtramp_frame_cache,
524 sparc64_linux_sigtramp_frame_this_id,
525 sparc64_linux_sigtramp_frame_prev_register,
526 sparc64_linux_sigtramp_frame_unwind,
527 sparc64_linux_sigtramp_frame_sniffer): Delete.
528 (sparc64_linux_init_abi): Register new tramp unwinders. Kill
529 register of old sigtramp sniffer.
530 Makefile.in (sparc64-linux-tdep.o): Update dependencies.
531 (sparc-linux-tdep.o): Likewise.
532
401e7faf
MK
5332005-04-21 Mark Kettenis <kettenis@gnu.org>
534
535 * ser-base.c: Include "gdb_string.h".
536 * Makefile.in (ser-base.o): Update dependencies.
537
78a0fd57
DM
5382005-04-20 David S. Miller <davem@davemloft.net>
539
540 * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
541 signal return stub symbol names, __restore and __restore_rt are
542 the i386 symbol names not the sparc ones.
543 (sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h
544 as where the offsets were obtained from.
545 * sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0,
546 LINUX64_RT_SIGTRAMP_INSN1): New defines.
547 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
548 sparc64_linux_sigtramp_frame_cache,
549 sparc64_linux_sigtramp_frame_this_id,
550 sparc64_linux_sigtramp_frame_prev_register,
551 sparc64_linux_sigtramp_frame_sniffer): New functions.
552 (sparc64_linux_sigtramp_frame_unwind): New frame unwinder.
553 (sparc64_linux_init_abi): Register sigtramp frame sniffer.
554 * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
555
b4505029
MM
5562005-04-20 Mark Mitchell <mark@codesourcery.com>
557
558 * configure.ac: On MinGW, define USE_WIN32API and link with
559 -lws2_32.
560 * ser-tcp.c (<winsock2.h>): Include, for Windows.
561 (ETIMEDOUT): Define, for Windows.
562 (ioctl): Likewise.
563 (closesocket): Define, for POSIX.
564 (net_open): Adjust for differences in socket functions between
565 Windows and UNIX.
566 (net_close): Likweise.
567 (net_read_prim): New function.
568 (net_write_prim): Likewise.
569 (_initialize_ser_tcp): Initialize winsock. Fill in read_prim and
570 write_prim.
571 * ser-unix.h (ser_unix_readcchar): Remove.
572 (ser_unix_read_prim): Declare.
573 (ser_unix_write_prim): Likewise.
574 * ser-unix.c (generic_readchar): Move to ser-base.c.
575 (ser_unix_wait_for): Likewise.
576 (do_unix_readchar): Likewise.
577 (ser_unix_readchar): Likewise.
578 (_initialize_ser_hardwire): Initialize read_prim and write_prim.
579 (ser_unix_read_prim): New function.
580 (ser_unix_write_prim): Likewise.
581 * ser-base.h (generic_readchar): Declare.
582 (ser_base_readchar): Likewise.
583 * ser-base.c (<winsock2.h>): Include, for windows.
584 (fd_event): Use the read primitive specified by the serial
585 interface.
586 (ser_base_wait_for): Moved from ser-unix.c
587 (do_ser_base_read_char): Likewise.
588 (generic_readchar): Likewise.
589 (ser_base_readchar): Likewise.
590 (ser_base_write): Use the write primitive specified by the serial
591 interface.
592 * ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not
593 ser_unix_readchar. Initialize read_prim and write_prim.
594 * serial.c (struct serial_ops): Add read_prim and write_prim.
595 * configure: Regenerate.
596
8470e927
BE
5972005-04-19 Ben Elliston <bje@au.ibm.com>
598
599 * c-lang.c (c_create_fundamental_type): Comment fix.
600
9cacebf5
MS
6012005-04-18 Michael Snyder <msnyder@redhat.com>
602
603 * mn10300-tdep.c: Assimilate code from mn10300-prologue.c.
604 * mn10300-prologue.c: Remove.
605 * mn10300-tdep.h: Add enums from mn10300-prologue.c.
606 Remove prototypes.
607 * config/mn10300/mn10300.mt: Remove mn10300-prologue module.
608
7166c4a9
MS
6092005-04-18 Michael Snyder <msnyder@redhat.com>
610
0cc748c0 611 * config/mn10300/mn10300.mt: Add mn10300-prologue module.
7166c4a9
MS
612 * ia64-tdep.c (ia64_get_dyn_info_list): Fix indent.
613
57cd0b54
MK
6142005-04-18 Mark Kettenis <kettenis@gnu.org>
615
235c4ffd
MK
616 * config/nm-bsd.h: Remove file.
617
57cd0b54
MK
618 * hppabsd-nat.c: Update copyright year. Include "target.h" and
619 "inf-ptrace.h".
620 (hppabsd_fetch_registers): Renamed from fetch_inferior_registers;
621 made static.
622 (hppabsd_store_registers): Renamed from store_inferior_registers;
623 made static.
624 (_initialize_hppabsd_nat): New function and prototype.
625 * config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and
626 inftarg.o. Add inf-ptrace.o.
627 (NAT_FILE): Remove.
628 * Makefile.in (hppabsd-nat.o): Update dependencies.
629
f17882ad
MK
6302005-04-17 Mark Kettenis <kettenis@gnu.org>
631
632 * pa64solib.c, pa64solib.h: Remove files.
633 * Makefile.in (pa64solib_h): Remove variable
634 (pa64solib.o): Remove dependency.
635
5d6210f0
MK
6362005-04-16 Mark Kettenis <kettenis@gnu.org>
637
65d034bc
MK
638 * ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".
639 (ppcobsd_fetch_registers): Renamed from fetch_inferior_registers;
640 made static.
641 (ppcobsd_store_registers): Renamed from store_inferior_registers;
642 made static.
643 (_initialize_ppcobsd_nat): Construct and add target vector.
644 * config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and
645 inftarg.o. Add inf-ptrace.o.
646 (NAT_FILE): Remove.
647 * Makefile.in (ppcobsd-nat.o): Update dependencies.
648
5a49dfd0
MK
649 * ppcobsd-tdep.c: Include "floatformat.h".
650 (ppcobsd_init_abi): Set long_double_bit and long_double_format.
651 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
652
5d6210f0
MK
653 * ppcobsd-tdep.c: Fix typo in comment.
654 (_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
655 bfd_arch_rs6000 too.
656
571dd617
KB
6572005-04-15 Kevin Buettner <kevinb@redhat.com>
658
659 * remote.c (remote_get_thread_local_address): Throw a more
660 meaningful exception when remote target doesn't have support
661 for the qGetTLSAddr packet.
662
38691318
KB
6632005-04-15 Kevin Buettner <kevinb@redhat.com>
664
665 * remote.c (remote_protocol_qGetTLSAddr): New static global variable.
666 (set_remote_protocol_qGetTLSAddr_packet_cmd)
667 (show_remote_protocol_qGetTLSAddr_packet_cmd)
668 (remote_get_thread_local_address): New functions.
669 (init_all_packet_configs): Initialize remote_protocol_qGetTLSAddr
670 variable.
671 (init_remote_ops): Initialize ``to_get_thread_local_address'' in
672 target vector.
673 (show_remote_cmd): Call show_remote_protocol_qGetTLS_Addr_packet_cmd().
674 (_initialize_remote): Register the following commands:
675 "set remote get-thread-local-storage-address-packet" and
676 "show remote get-thread-local-address-packet".
677
3ed07be4
KB
6782005-04-15 Kevin Buettner <kevinb@redhat.com>
679
680 * remote.c (add_packet_config_cmd): Delete unused variables.
681
c9365369
KB
6822005-04-15 Kevin Buettner <kevinb@redhat.com>
683
684 * remote.c (show_remote_protocol_vcont_packet_cmd )
685 (show_remote_protocol_qSymbol_packet_cmd)
686 (show_remote_protocol_P_packet_cmd)
687 (show_remote_protocol_Z_software_bp_packet_cmd)
688 (show_remote_protocol_Z_hardware_bp_packet_cmd)
689 (show_remote_protocol_Z_write_wp_packet_cmd)
690 (show_remote_protocol_Z_read_wp_packet_cmd)
691 (show_remote_protocol_Z_access_wp_packet_cmd)
692 (show_remote_protocol_binary_download_cmd)
693 (show_remote_protocol_qPart_auxv_packet_cmd)
694 (show_remote_protocol_p_packet_cmd ): Delete calls to
695 deprecated_show_value_hack().
696
c30dc700
CV
6972005-04-15 Corinna VInschen <vinschen@redhat.com>
698
699 * MAINTAINERS: Change sh64-elf state to non-broken.
700 * Makefile.in: Fix dependencies for sh64-tdep.o.
701 * configure.tgt: Add sh64-*-elf case.
702 * sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
703 * sh64-tdep.c: Rework to replace all deprecated mechanisms with
704 modern methods.
705 * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
706 * config/sh/sh64.mt: Resurrect.
707
86fc41d1
KI
7082005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com>
709
710 * regformats/reg-m32r.dat: New file.
711
28e97307
DJ
7122005-04-14 Daniel Jacobowitz <dan@codesourcery.com>
713
714 * arm-tdep.c (fp_model_strings): Add terminating NULL.
715 (arm_abi_strings, arm_abi_global, arm_abi_string): New
716 variables.
717 (arm_extract_return_value, arm_store_return_value): Don't use
718 arm_get_fp_model.
719 (arm_get_fp_model, arm_set_fp): Delete.
720 (arm_update_current_architecture): New function.
721 (set_fp_model_sfunc): Call arm_update_current_architecture.
722 (show_fp_model): Update output messages.
723 (arm_set_abi, arm_show_abi): New functions.
724 (arm_elf_osabi_sniffer): Only handle ELFOSABI_ARM.
725 (arm_gdbarch_init): Infer the object's ABI separately from its
726 OSABI. Search for a matching architecture. Honor the global
727 ABI and FPU settings. Set floating point format based on the
728 architecture.
729 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs):
730 Delete.
731 (_initialize_arm_tdep): Don't call gdbarch_register_osabi.
732 Create "arm set abi" command.
733 * arm-tdep.h (arm_get_fp_model): Delete prototype.
734 (enum arm_abi_kind): New type.
735 (struct gdbarch_tdep): Add arm_abi field.
736 * arm-linux-tdep.c (arm_linux_init_abi): Only override
737 tdep->fp_model if it is ARM_FLOAT_AUTO.
738 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Likewise.
739 (arm_netbsd_elf_init_abi): Likewise.
740 * defs.h (enum gdb_osabi): Delete ARM-specific OSABIs.
741 * osabi.c (gdb_osabi_name): Likewise.
742
9494c6a5
DJ
7432005-04-11 Daniel Jacobowitz <dan@codesourcery.com>
744
745 * config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
746
bdbcb8b4
MK
7472005-04-10 Mark Kettenis <kettenis@gnu.org>
748
749 * rs6000-tdep.c (ppc_supply_fpregset): Increment offset by 8 for
750 floating-point registers.
751 (ppc_collect_fpregset): Likewise. Fix collection of registers.
752
18b2ae85
MK
7532005-04-09 Mark Kettenis <kettenis@gnu.org>
754
755 * ppcobsd-tdep.c: Update copyright year. Include "trad-frame.h"
756 and "tramp-frame.h".
757 (ppcobsd_sigtramp_cache_init): New function.
758 (ppcobsd_sigtramp): New variable.
759 (ppcobsd_init_abi): Prepend signal trampoline unwinder.
760 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
761
06e819e3
AC
7622005-04-08 Andrew Cagney <cagney@gnu.org>
763
764 * MAINTAINERS (GDB/MI): Andrew Cagney, Elena Zannoni, and Fernando
765 Nasser have decided to step back from GDB/MI.
766
6f8eac0e
DJ
7672005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
768
769 * config/fnchange.lst: Add testsuite/gdb.gdbserver entries.
770
0228dfb9
DJ
7712005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
772
773 * dwarf2-frame.c (struct dwarf2_frame_cache): New field
774 undefined_retaddr.
775 (dwarf2_frame_cache): Initialize undefined_retaddr.
776 (dwarf2_frame_this_id): Return an invalid frame ID if
777 undefined_retaddr.
778
21b4b2f2
JB
7792005-04-05 Jim Blandy <jimb@redhat.com>
780
781 Move construction of IA-32 vector types to i386-tdep.c.
782 * gdbtypes.c (build_builtin_type_vec64i,
783 build_builtin_type_vec128i): Delete functions.
784 (builtin_type_vec64i, builtin_type_vec128i): Delete variables.
785 (build_gdbtypes): Don't initialize them.
786 (_initialize_gdbtypes): Don't register GDBARCH swap entries for
787 them.
788 * gdbtypes.h (builtin_type_vec64i, builtin_type_vec128i): Delete
789 declarations.
790 (builtin_type_v2_float, builtin_type_v2_int32,
791 builtin_type_v4_int16, builtin_type_v8_int8,
792 builtin_type_v2_double, builtin_type_v4_float,
793 builtin_type_v2_int64, builtin_type_v4_int32,
794 builtin_type_v8_int16, builtin_type_v16_int8): Add extern
795 declarations.
796 * i386-tdep.c (i386_mmx_type, i386_sse_type): New variables.
797 (i386_build_mmx_type, i386_build_sse_type): New functions.
798 (i386_register_type): Call them, rather than referring to
799 builtin_type_vec64i and builtin_type_vec128i.
800
37c4d197
DJ
8012005-04-02 Daniel Jacobowitz <dan@codesourcery.com>
802
803 * mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
804 big-endian correction code to not offset 32-bit registers.
805 Locate floating point registers correctly.
806
7509373f
MK
8072005-04-02 Mark Kettenis <kettenis@gnu.org>
808
809 * main.c: Update copyright year.
02dfa7de 810 (captured_main): Avoid using strcpy and strcat.
7509373f 811
9b3c083c
MS
8122005-04-01 Michael Snyder <msnyder@redhat.com>
813
0c98cc2b
MS
814 * dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother
815 computing this_id if there are no dummy frames on the stack.
816
1fb1ca27
MS
817 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use
818 find_partial_func instead of unwind_pc to identify frame.
819 (mn10300_push_dummy_call): Handle struct args, struct_return.
820
9b3c083c
MS
821 * mn10300-prologue.c (set_movm_offsets): Don't test variable
822 before setting it.
823 * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue
824 instead of skip_prologue_using_sal.
825
186993b4
KB
8262005-03-31 Kevin Buettner <kevinb@redhat.com>
827
828 * solib-frv.c (struct lm_info): Add new field ``lm_addr''.
829 (main_lm_addr): New static global.
830 (frv_current_sos): Retain the link map address for each entry.
831 (frv_clear_solib): Clear main_lm_addr.
832 (frv_fetch_objfile_link_map): New function.
833 * frv-tdep.c (frv_gdbarch_init): Register TLS load module fetcher.
834 * frv-tdep.h (frv_fetch_objfile_link_map): Declare.
835
b2756930
KB
8362005-03-31 Kevin Buettner <kevinb@redhat.com>
837
838 * gdbarch.sh (fetch_tls_load_module_address): New architecture method.
839 * gdbarch.c, gdbarch.h: Regenerate.
840 * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module
841 address and pass this address, instead of the objfile address, to
842 target_get_thread_local_address().
843 * linux-thread-db.c (thread_db_get_thread_local_address): Change
844 second parameter from type ``struct objfile *'' to CORE_ADDR. Do
845 not call svr4_fetch_objfile_link_map() to fetch the load module
846 address.
847 * target.h (struct target_ops): Change second parameter of
848 ``to_get_thread_local_address'' from ``struct objfile *'' to
849 ``CORE_ADDR''.
850 * alpha-linux-tdep.c (solib-svr4.h): Include.
851 (alpha_linux_init_abi): Register TLS load module fetcher.
852 * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
853 * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
854 * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
855 * ia64-linux-tdep.c (solib-svr4.h): Include.
856 (ia64_linux_init_abi): Register TLS load module fetcher.
857 * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
858 * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
859 * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
860 * s390-tdep.c (s390_gdbarch_init): Likewise.
861 * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
862 * sparc64-linux-tdep.c (solib-svr4.h): Include.
863 (sparc64_linux_init_abi): Register TLS load module fetcher.
864 * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
865 (sparc-linux-tdep.o): Update dependencies.
866
88750304
DJ
8672005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
868
869 * c-valprint.c (c_value_print): Fix up some formatting. Use
870 check_typedef.
871
adb8a87c
DJ
8722005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
873
874 * arm-linux-nat.c (store_register, store_regs): Handle
875 ARM_PS_REGNUM.
876
498b1f87
DJ
8772005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
878
879 * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
880 (arm_linux_thumb_le_breakpoint): New. Update comments.
881 (arm_linux_init_abi): Set Thumb breakpoints also.
882
842e1f1e
DJ
8832005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
884
885 * Makefile.in (arm-tdep.o): Update dependencies.
886 * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
887 (arm_gdbarch_init): Register dwarf2_frame_sniffer.
888
6d1eba4c
JB
8892005-03-28 Joel Brobecker <brobecker@adacore.com>
890
891 * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
892 register value to be incorrectly written in the regcache.
893 (fill_fpregset): Fix bug that caused the FSR register value
894 to be incorrectly read from the regcache.
895
fce5e386
DJ
8962005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
897
898 * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
899 arm_pc_is_thumb_dummy.
900
f700a364
MK
9012005-03-28 Mark Kettenis <kettenis@gnu.org>
902
8391b9b1
MK
903 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
904 StackGhost.
905
f700a364
MK
906 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
907 Handle StackGhost in 64-bit code.
908 * sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
909
8da8e0b3
CF
9102005-03-27 Christopher Faylor <cgf@timesys.com>
911
912 * win32-nat.c (handle_exception): Treat win32 routines which check for
913 valid addresses as "special" and don't stop when a SEGV is detected.
914 (get_child_debug_event): Properly flag exception as unhandled.
915
5e5100cb
DJ
9162005-03-26 Daniel Jacobowitz <dan@codesourcery.com>
917
918 * cp-support.c (cp_class_name_from_physname): Rewrite.
919 (unqualified_name_from_comp): New function, broken out from
920 method_name_from_physname. Correct handling for typed names
921 and templates.
922 (method_name_from_physname): Use unqualified_name_from_comp.
923 (cp_func_name, remove_params): Move earlier in the file. Add
924 better comments. Use the component tree to parse the name.
925 (_initialize_cp_support): Remove stray whitespace.
926
a77f4086
MK
9272005-03-26 Mark Kettenis <kettenis@gnu.org>
928
dc6a2ca4
MK
929 * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
930
59bb1042
MK
931 * inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.
932 Callapse HAVE_TERMIO and HAVE_SGTTY.
933
a77f4086
MK
934 * dwarf2-frame.c (execute_cfa_program): Implement
935 DW_CFA_GNU_window_save.
936
4d6c7108
MK
9372005-03-25 Mark Kettenis <kettenis@gnu.org>
938
bac6b012
MK
939 * config/sparc/nbsd64.mh (NAT_FILE): Remove.
940
4d6c7108
MK
941 * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
942
4bf7064c
DJ
9432005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
944
945 * arm-tdep.c (target_is_thumb, caller_is_thumb)
946 (arm_pc_is_thumb_dummy): Remove.
947 (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
948
170cd118
AG
9492005-03-25 Anthony Green <green@redhat.com>
950
951 * remote.c (remote_store_registers): Fix memset usage.
952 * std-regs.c (value_of_builtin_frame_reg): Ditto.
953 (value_of_builtin_frame_fp_reg): Ditto.
954 (value_of_builtin_frame_reg): Ditto.
955
3eb25fda
MM
9562005-03-25 Mark Mitchell <mark@codesourcery.com>
957
dd5da072
MM
958 * ser-base.c (ser_unix_write): Rename to ...
959 (ser_base_write): ... this.
960 (ser_unix_nop_flush_output): Rename to ...
961 (ser_base_flush_output): ... this.
962 (ser_unix_flush_input): Rename to ...
963 (ser_base_flush_input): ... this.
964 (ser_unix_nop_send_break): Rename to ...
965 (ser_base_send_break): ... this.
966 (ser_unix_nop_drain_output): Rename to ...
967 (ser_base_drain_output): ... this.
968 (ser_unix_nop_raw): Rename to ...
969 (ser_base_raw): ... this.
970 (ser_unix_nop_get_tty_state): Rename to ...
971 (ser_base_set_tty_state): ... this.
972 (ser_unix_nop_noflush_set_tty_state): Rename to ...
973 (ser_base_noflush_set_tty_state): ... this.
974 (ser_unix_nop_print_tty_state): Rename to ...
975 (ser_base_print_tty_state): ... this.
976 (ser_unix_nop_setbaudrate): Rename to ...
977 (ser_base_setbaudrate): ... this.
978 (ser_unix_nop_setstopbits): Rename to ...
979 (ser_base_setstopbits): ... this.
980 (ser_unix_async): Rename to ...
981 (ser_base_async): ... this.
982 * ser-base.h (ser_unix_write): Rename to ...
983 (ser_base_write): ... this.
984 (ser_unix_nop_flush_output): Rename to ...
985 (ser_base_flush_output): ... this.
986 (ser_unix_flush_input): Rename to ...
987 (ser_base_flush_input): ... this.
988 (ser_unix_nop_send_break): Rename to ...
989 (ser_base_send_break): ... this.
990 (ser_unix_nop_drain_output): Rename to ...
991 (ser_base_drain_output): ... this.
992 (ser_unix_nop_raw): Rename to ...
993 (ser_base_raw): ... this.
994 (ser_unix_nop_get_tty_state): Rename to ...
995 (ser_base_set_tty_state): ... this.
996 (ser_unix_nop_noflush_set_tty_state): Rename to ...
997 (ser_base_noflush_set_tty_state): ... this.
998 (ser_unix_nop_print_tty_state): Rename to ...
999 (ser_base_print_tty_state): ... this.
1000 (ser_unix_nop_setbaudrate): Rename to ...
1001 (ser_base_setbaudrate): ... this.
1002 (ser_unix_nop_setstopbits): Rename to ...
1003 (ser_base_setstopbits): ... this.
1004 (ser_unix_async): Rename to ...
1005 (ser_base_async): ... this.
1006 * ser-pipe.c (_initialize_ser_pipe): Update accordingly.
1007 * ser-tcp.c (_initialize_ser_tcp): Likewise.
1008 * ser-unix.c (hardwire_flush_input): Likewise.
1009 (_initializer_ser_hardwire): Likewise.
1010
3eb25fda
MM
1011 * Makefile.in (SFILES): Add ser-base.c.
1012 (ser_base_h): New variable.
1013 (ser-base.o): New target.
1014 (ser-pipe.o): Depend on $(ser_base_h).
1015 (ser-tcp.o): Likewise.
1016 (ser-unix.o): Likewise. Do not depend on $(event_loop_h).
1017 * configure.ac (SER_HARDWIRE): Include ser-base.o where
1018 appropriate.
1019 * ser-base.c: New file.
1020 (push_event): Move from ser-unix.c.
1021 (fd_event): Likewise.
1022 (reschedule): Likewise.
1023 (ser_unix_write): Likewise.
1024 (ser_unix_nop_flush_output): Likewise.
1025 (ser_unix_flush_input): Likewise.
1026 (ser_unix_nop_send_break): Likewise.
1027 (ser_unix_nop_drain_output): Likewise.
1028 (ser_unix_nop_raw): Likewise.
1029 (ser_unix_nop_get_tty_state): Likewise.
1030 (ser_unix_nop_set_tty_state): Likewise.
1031 (ser_unix_nop_noflush_set_tty_state): Likewise.
1032 (ser_unix_nop_print_tty_state): Likewise.
1033 (ser_unix_nop_setbaudrate): Likewise.
1034 (ser_unix_nop_setstopbits): Likewise.
1035 (ser_unix_async): Likewise.
1036 * ser-base.h: New file.
1037 * ser-pipe.c (ser-base.h): Include it.
1038 * ser-tcp.c (ser-base.h): Likewise.
1039 * ser-unix.h (ser_unix_nop_flush_output): Remove.
1040 (ser_unix_flush_input): Likewise.
1041 (ser_unix_nop_send_break): Likewise.
1042 (ser_unix_nop_raw): Likewise.
1043 (ser_unix_nop_get_tty_state): Likewise.
1044 (ser_unix_nop_set_tty_state): Likewise.
1045 (ser_unix_nop_print_tty_state): Likewise.
1046 (ser_unix_nop_noflush_set_tty_state): Likewise.
1047 (ser_unix_nop_setbaudrate): Likewise.
1048 (ser_unix_nop_setstopbits): Likewise.
1049 (ser_unix_nop_drain_output): Likewise.
1050 (ser_unix_wait_for): Likewise.
1051 (ser_unix_write): Likewise.
1052 (ser_unix_async): Likewise.
1053 * ser-unix.c (event-loop.h): Do not include it.
1054 (push_event): Move to ser-base.c.
1055 (fd_event): Likewise.
1056 (reschedule): Likewise.
1057 (ser_unix_write): Likewise.
1058 (ser_unix_nop_flush_output): Likewise.
1059 (ser_unix_flush_input): Likewise.
1060 (ser_unix_nop_send_break): Likewise.
1061 (ser_unix_nop_drain_output): Likewise.
1062 (ser_unix_nop_raw): Likewise.
1063 (ser_unix_nop_get_tty_state): Likewise.
1064 (ser_unix_nop_set_tty_state): Likewise.
1065 (ser_unix_nop_noflush_set_tty_state): Likewise.
1066 (ser_unix_nop_print_tty_state): Likewise.
1067 (ser_unix_nop_setbaudrate): Likewise.
1068 (ser_unix_nop_setstopbits): Likewise.
1069 (ser_unix_async): Likewise.
1070 (ser_unix_wait_for): Make it static.
1071 * configure: Regenerated.
1072
8d5a9abc
MK
10732005-03-25 Mark Kettenis <kettenis@gnu.org>
1074
1075 * dwarf2-frame.h: Update copyrigh year.
1076 (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
1077 * dwarf2-frame.c: Update copyright year.
1078 (struct dwarf2_frame_cache): Add member `retaddr_reg'.
1079 (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
1080 (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
1081
b3041f52
MH
10822005-03-23 Martin Hunt <hunt@redhat.com>
1083
1084 * configure.ac: Remove -fwritable-strings from CFLAGS.
1085 * configure: Regenerate.
1086
6a069e57
MS
10872005-03-21 Michael Snyder <msnyder@redhat.com>
1088
1089 * mn10300-prologue.c (fix_frame_pointer): Delete.
1090 (set_movm_offsets) Don't return just because movm_args is
1091 zero -- still need to save pc and sp in saved_regs.
1092 (mn10300_analyze_prologue): Don't return prematurely without
1093 calling set_movm_offsets (for pc and sp at minimum).
1094
d3ea6809
MM
10952005-03-21 Mark Mitchell <mark@codesourcery.com>
1096
1097 * configure.ac (stat.st_blksize): Check for it.
1098 (getuid): Likewise.
1099 (getgid): Likewise.
1100 * configure: Regenerated.
1101 * config.in: Likewise.
1102 * remote-fileio.c (remote_fileio_to_fio_stat): Check
1103 HAVE_STRUCT_STAT_ST_BLKSIZE.
1104
d460b7f5
CF
11052005-03-21 Christopher Faylor <cgf@timesys.com>
1106
1107 * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
1108 here.
1109 (do_initial_child_stuff): Move clearing of thread list to a place
1110 before a thread ould be created.
1111 (child_attach): Ditto.
1112
342ee437
MS
11132005-03-21 Michael Snyder <msnyder@redhat.com>
1114
1115 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
1116 instead of pc addr for frame_id. Otherwise "until" won't work.
1117
4f0d78e0
KB
11182005-03-21 Kevin Buettner <kevinb@redhat.com>
1119
1120 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
1121 comment.
1122
80d9c592
MK
11232005-03-20 Mark Kettenis <kettenis@gnu.org>
1124
4dd04433
MK
1125 * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
1126 * varobj.c (my_value_equal): Mark val2 as volatile.
1127
ee426e0f 1128 * cp-names.y: Add prototype for yyparse.
80d9c592 1129
96ce45ca
DJ
11302005-03-19 Daniel Jacobowitz <dan@codesourcery.com>
1131
1132 * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
1133 * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
1134 VALADDR.
1135
93ad78a7
KB
11362005-03-18 Kevin Buettner <kevinb@redhat.com>
1137
1138 * Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
1139 * exceptions.h (TLS_NO_LIBRARY_SUPPORT_ERROR, TLS_GENERIC_ERROR)
1140 (TLS_LOAD_MODULE_NOT_FOUND_ERROR, TLS_NOT_ALLOCATED_YET_ERROR):
1141 New error/exception enums.
1142 * dwarf2loc.c (exceptions.h): Include.
1143 (dwarf_expr_tls_address): Invoke target_get_thread_local_address()
1144 via TRY_CATCH mechanism. Print error messages for TLS related
1145 exceptions.
1146 * linux-thread-db.c (thread_db_get_thread_local_address): Throw
1147 exceptions instead of printing errors.
1148
8cf46f62
MK
11492005-03-18 Mark Kettenis <kettenis@gnu.org>
1150
1151 * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
1152 (decimal2str, octal2str): Change to return a string allocated by
1153 get_cell. Use xsnprint instead of snprintf.
1154 (paddr_u, paddr_d): Adjust for changed calling convention of
1155 decimal2str.
1156 (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
1157 (int_string): Likewise. Adjust for changed calling convention of
1158 decimal2str and octal2str.
1159
f79d2c3c
KB
11602005-03-18 Kevin Buettner <kevinb@redhat.com>
1161
1162 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
1163 Adjust incorrectly computed constant for realtime signal frame.
1164
8cf46f62 11652005-03-18 Mark Kettenis <kettenis@gnu.org>
eb308878
MK
1166
1167 From Ralf Corsepius <ralf.corsepius@rtems.org>
1168 * configure.tgt: Add m68*-*-rtems*.
1169
06648491
MK
11702005-03-17 Mark Kettenis <kettenis@gnu.org>
1171
bde2058d
MK
1172 * defs.h (xsnprintf): New prototype.
1173 * utils.c (xsnprintf): New function.
1174
3ecda457
MK
1175 * corelow.c (get_core_register_section): Replace usage of sprintf
1176 and strcpy with xstrprintf and xstrdup.
1177
06648491
MK
1178 * mips-tdep.c (mips_single_step_through_delay): Put back check for
1179 breakpoint lost with the introduction of this function.
1180
16aff9a6
PB
11812005-03-17 Paul Brook <paul@codesourcery.com>
1182
1183 * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
1184 * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
1185
6d318c73
MM
11862005-03-16 Mark Mitchell <mark@codesourcery.com>
1187
ec442778
MM
1188 * event-top.c (handle_sigquit): Do not define for systems without
1189 SIGQUIT.
1190 (sigquit_token): Likewise.
1191 (async_init_signals): Allow for systems that do not
6d318c73
MM
1192 define SIGQUIT.
1193 * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
1194
9b265ec2
MM
11952005-03-15 Mark Mitchell <mark@codesourcery.com>
1196
1197 * utils.c (internal_vproblem): Guard call to fork with
1198 HAVE_WORKING_FORK.
1199 * cli/cli-cmds.c (shell_escape): Guard call to vfork with
1200 HAVE_WORKING_VFORK and HAVE_WORKING_FORK.
1201
1202 * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
1203 S_IRGRP and related macros.
1204 (remote_fileio_mode_to_target): Likewise.
1205
3ae642fd
BE
12062005-03-14 Ben Elliston <bje@au.ibm.com>
1207
1208 * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
1209 more primitive library.
1210
80d9c592 12112005-03-13 Mark Kettenis <kettenis@gnu.org>
fd0a2a6f
MK
1212
1213 * inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
1214 sprintf.
1215 * target.c (normal_pid_to_str): Likewise.
1216 * remote.c (remote_pid_to_str): Use snprint instead of sprintf.
1217 Change capitalization of "thread". Use ptid_get_pid instead of
1218 GETPID.
049742da
MK
1219
1220 * cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
1221 a combination of xmalloc and sprintf.
1222
ca231fcc
JB
12232005-03-13 Jim Blandy <jimb@redhat.com>
1224
1225 * configure.ac: Use '=', not '=='; the latter is a GNU extension.
1226 * configure: Regenerated.
1227
b80b83f3
MS
12282005-03-11 Michael Snyder <msnyder@redhat.com>
1229
1230 * mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
1231 stub fn with real implementatin mn10300_unwind_dummy_id.
1232 (mn10300_push_dummy_call): Implement. Bare bones version,
1233 does not handle structs or floats.
1234
1f8ca57c
JB
12352005-03-11 Jim Blandy <jimb@redhat.com>
1236
a3b362c4
JB
1237 Avoid warnings due to the use of -Wuninitialized without -O.
1238 * configure.ac (build_warnings): Include -Wuninitialized only if
1239 CFLAGS is unset at configure time, or CFLAGS is set and includes
1240 some -O option other than -O0.
1241 * configure: Regenerated.
1242
1f8ca57c
JB
1243 * mips-tdep.c (show_mips_abi): Change calling conventions to match
1244 those expected by add_setshow_enum_cmd. Use 'file' argument as
1245 appropriate.
1246
fb4c6eba
DJ
12472005-03-10 Daniel Jacobowitz <dan@codesourcery.com>
1248
1249 * Makefile.in (SFILES): Add cp-names.y.
1250 (libiberty_h, safe_ctype_h): New.
1251 (YYFILES): Add cp-names.c.
1252 (YYOBJ): Add cp-names.o.
1253 (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
1254 (clean): Remove test-cp-names$(EXEEXT).
1255 (local-maintainer-clean): Remove cp-names.c.
1256 * cp-names.y: New file.
1257 * cp-support.c (find_last_component): Delete.
1258 (d_left, d_right): Define.
1259 (cp_canonicalize_string, mangled_name_to_comp): New functions.
1260 (cp_class_name_from_physname, method_name_from_physname): Rewrite
1261 to use mangled_name_to_comp.
1262 * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
1263 (cp_comp_to_string): New prototypes.
1264 * config/djgpp/fnchange.lst: Add cp-names.c.
1265
5b93de64
BR
12662005-03-10 Bob Rossi <bob@brasko.net>
1267
fb4c6eba 1268 * main.c (print_gdb_help): Remove the --[no]async help message.
5b93de64 1269
54433e38
MK
12702005-03-10 Mark Kettenis <kettenis@gnu.org>
1271
1272 * proc-api.c: Update copyright year.
1273 (_initialize_proc_api): Revert previous patch, removing spurious
1274 space instead.
1275
d2f0b918
JB
12762005-03-09 Joel Brobecker <brobecker@adacore.com>
1277
1278 * regcache.c: Fix typo in comment.
1279
e9274dd8
DL
12802005-03-09 David Lecomber <david@lecomber.net>
1281
1282 * proc-api.c (_initialize_proc_api): Fix invalid multi-line
1283 i18n text.
1284
5b2d44a0
MK
12852005-03-09 Mark Kettenis <kettenis@gnu.org>
1286
1287 * sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
1288 address for 64-bit code.
1289 (sparc_unwind_dummy_id): Likewise.
1290 * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
1291 frame base address convention.
1292 (sparc64_push_dummy_call): Likewise.
1293 * sparc64nbsd-tdep.c: Update copyright year.
1294 (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
1295 address for 64-bit code.
1296 (sparc64nbsd_init_abi): Tweak comment.
1297 * sparc64obsd-tdep.c: Update copyright year.
1298 (sparc64obsd_frame_cache): Adjust cached frame base address for
1299 64-bit code.
1300 (sparc64obsd_init_abi): Tweak comment.
1301
8d19ca47 13022005-03-09 Corinna Vinschen <vinschen@redhat.com>
5b5464ad 1303
8d19ca47
CV
1304 * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
1305
13062005-03-09 Joel Brobecker <brobecker@adacore.com>
1307
1308 * dwarf2read.c (dwarf_decode_lines): Use the complete filename
1309 when creating include psymtabs.
5b5464ad 1310
1bf1958d
MM
13112005-03-08 Mark Mitchell <mark@codesourcery.com>
1312
1313 * environ.h (struct environ): Rename to ...
1314 (struct gdb_environ): ... this.
1315 (make_environ): Update prototype.
1316 (free_environ): Likewise.
1317 (init_environ): Likewise.
1318 (get_in_environ): Likewise.
1319 (set_in_environ): Likewise.
1320 (unset_in_environ): Likewise.
1321 (environ_vector): Likewise.
1322 * environ.c (make_environ): Replace "struct environ" with "struct
1323 gdb_environ".
1324 (free_environ): Likewise.
1325 (init_environ): Likewise.
1326 (environ_vector): Likewise.
1327 (get_in_environ): Likewise.
1328 (set_in_environ): Likewise.
1329 (unset_in_environ): Likewise.
1330 * infcmd.c (inferior_environ): Likewise.
1331 * inferior.h (inferior_environ): Likewise.
1332
f67a969f
JB
13332005-03-08 Joel Brobecker <brobecker@adacore.com>
1334
1335 * infcmd.c (run_command_1): New function, extracted from
1336 run_command.
1337 (run_command): Replace implementation by call to run_command_1.
1338 (start_command): Use run_command_1 to insert the temporary
1339 breakpoint and run the program. Remove code that's no longer
1340 needed, as already done at the proper time by run_command_1.
1341
c0501be5
DJ
13422005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
1343
1344 * symfile.c (clear_symtab_users): Call
1345 clear_current_source_symtab_and_line first.
1346
549678da
NS
13472005-03-08 Nathan Sidwell <nathan@codesourcery.com>
1348
36e9969c
NS
1349 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
1350 * c-exp.y (exp): Add unary plus.
1351 * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
1352 * valarith.c (value_x_unop): Add UNOP_PLUS case.
1353 (value_pos): New.
1354 * value.h (value_pos): Declare.
1355
3de11b2e
NS
1356 * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
1357 (remote_fetch_registers): Allow uppercase hex when resyncing.
1358 (remote_write_bytes): Only call get_memory_write_packet_size once.
1359 Robustify packet size calculation for very small packets. Check
1360 that at least one byte will be written.
1361
549678da
NS
1362 * tracepoint.c (target_is_remote): Allow extended-remote.
1363 (struct collection_list): Allow 256 registers, like the comment
1364 said.
1365 (add_memrange): Fix comment.
1366 (read_actions): Turn EOF into 'end'.
1367
20be272b
CV
13682005-03-08 Corinna Vinschen <vinschen@redhat.com>
1369
1370 * Makefile.in: Add dependencies for iq2000-tdep.o.
1371 * configure.tgt: Add iq2000-*-* target.
1372 * iq2000-tdep.c: New file.
1373 * config/iq2000/iq2000.mt: New file.
1374
ea53e89f
JB
13752005-03-07 Joel Brobecker <brobecker@adacore.com>
1376
1377 * doc/observer.texi (executable_changed): New observer.
1378 * symtab.c: Include "observer.h".
1379 (find_main_name): New function.
1380 (main_name): If name_of_main is unset, then compute it
1381 using find_main_name.
1382 (symtab_observer_executable_changed): New function.
1383 (_initialize_symtab): Attach executable_changed observer.
1384 * exec.c: Include "observer.h".
1385 (exec_file_attach): Emit executable_changed notification.
1386 * symfile.c: Include "observer.h".
1387 (reread_symbols): Send an executable_changed if appropriate.
1388 * Makefile.in (exec.o): Add dependency on observer.h.
1389 (symfile.o): Likewise.
1390 (symtab.o): Likewise.
1391
bb044262
DJ
13922005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
1393
1394 * findvar.c (read_var_value): Don't allocate V when it will not
1395 be used. Add missing break for LOC_INDIRECT.
1396
9e07977b
MK
13972005-03-06 Mark Kettenis <kettenis@gnu.org>
1398
1399 * sparc64fbsd-tdep.c: Include "solib-svr4.h".
1400 (sparc64fbsd_init_abi): Set skip_trampoline_code and
1401 solib_svr4_fetch_link_map_offsets.
1402 * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
1403
88d7a738 14042005-03-06 Daniel Jacobowitz <dan@codesourcery.com>
f75c00e4
DJ
1405
1406 * linux-nat.c (child_follow_fork): Call target_terminal_ours before
1407 printing output. Use fprintf_unfiltered. Only print output when
1408 debugging.
1409
e5a8e242 14102005-03-05 Mark Kettenis <kettenis@gnu.org>
e219d7ce
MK
1411
1412 * sparc64-tdep.c (sparc64_store_floating_fields): Constify third
1413 argument.
1414 (sparc64_store_arguments): Constify.
1415
dda5f19a
MK
14162005-03-05 Mark Kettenis <kettenis@gnu.org>
1417
0d6e4ad7
MK
1418 * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
1419 (alphabsd_fetch_inferior_registers): Rename from
1420 fetch_inferior_registers. Make static.
1421 (alphabsd_store_inferior_registers): Rename from
1422 store_inferior_registers. Make static.
1423 (_initialize_alphabsd_nat): New function.
1424 * Makefile.in (alphabsd-nat.o): Update dependencies.
1425 * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
1426 inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o.
1427 * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
1428 (NATDEPFILES): Remove infptrace.o and inftarg.o. Add
1429 alphabsd-nat.o.
1430 * config/alpha/nm-fbsd.h: Update copyright year. Don't include
1431 "config/nm-bsd.h" and "elf/common.h".
1432 * config/alpha/nm-nbsd.h: Update copyright year. Don't include
1433 "config/nm-nbsd.h".
1434
dda5f19a
MK
1435 * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
1436 software_single_step.
1437
aac71672
MS
14382005-03-04 Michael Snyder <msnyder@redhat.com>
1439
1440 * mn10300-prologue.c: New file. Prologue analysis.
1441 * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
1442 (mn10300_frame_unwind_cache): Don't call trad_frame_set_id
1443 until after analyze_prologue, and don't call trad_frame_set_base
1444 at all (let analyze_prologue do it).
1445
61e784e7
MS
14462005-03-04 Michael Snyder <msnyder@redhat.com>
1447
1448 * trad-frame.c (trad_frame_set_reg_value): New function.
1449 * trad-frame.h (trad_frame_set_reg_value): Export.
1450
6867ae3e
DJ
14512005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
1452
1453 * Makefile.in (remote.o): Update dependencies.
1454 * remote.c: Include "observer.h".
1455
f90221d3
DJ
14562005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
1457
1458 * target.c (target_read_memory_partial): Always initialize
1459 ERR.
1460 (target_write_memory_partial): Likewise.
1461
e20b4638
DJ
14622005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
1463
1464 * remote.c (remote_open_1): Call observer_notify_inferior_created.
1465
909cf6ea
DJ
14662005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
1467
1468 * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
1469 (arm_stub_unwind, arm_stub_unwind_sniffer): New.
1470 (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
1471
d3587048
DJ
14722005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
1473
1474 * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
1475 Use LWP IDs.
1476
806048c6
DJ
14772005-02-28 Daniel Jacobowitz <dan@codesourcery.com>
1478
1479 * dwarf2loc.c (loclist_read_variable): Set optimized_out
1480 instead of reporting an error.
1481 * valprint.c (value_check_printable): New function.
1482 (common_val_print): New function. Use value_check_printable.
1483 (value_print): Use value_check_printable.
1484 * value.h (common_val_print): Add prototype.
1485
1486 * c-valprint.c (c_val_print): Use common_val_print.
1487 * cp-valprint.c (cp_print_value_fields): Likewise.
1488 (cp_print_hpacc_virtual_table_entries): Likewise.
1489 * f-valprint.c (f_val_print): Likewise.
1490 * jv-valprint.c (java_value_print, java_print_value_fields):
1491 Likewise.
1492 * scm-valprint.c (scm_value_print): Likewise.
1493 * stack.c (print_frame_args): Likewise.
1494 * varobj.c (c_value_of_variable): Likewise.
1495 * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
1496 (pascal_object_print_value_fields): Likewise. Update call to
1497 pascal_object_print_static_field.
1498 (pascal_object_print_static_field): Remove TYPE argument. Use
1499 common_val_print.
1500
dd373385
EZ
15012005-02-25 Mark Kettenis <kettenis@gnu.org>
1502
1503 Committed by Elena Zannoni <ezannoni@redhat.com>
1504
1505 * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
1506 info_ptr before building psymtabs for included files.
1507 (create_all_comp_units): Initailize initial length size of
1508 compilation header to zero.
1509 (read_initial_length): Complain if both 32-bit and 64-bit DWARF
1510 sections are encountered within the same compilation header.
1511 (dwarf_decode_line_header): Pass compilation header in call to
1512 read_initial_length.
1513
920d2a44
AC
15142005-02-24 Andrew Cagney <cagney@gnu.org>
1515
1516 Add show_VARIABLE functions, update add_setshow call.
1517 * varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
1518 * valprint.c (_initialize_valprint, show_print_max)
1519 (show_stop_print_at_null, show_repeat_count_threshold)
1520 (show_prettyprint_structs, show_unionprint)
1521 (show_prettyprint_arrays, show_addressprint, show_input_radix)
1522 (show_output_radix): Ditto.
1523 * valops.c (_initialize_valops, show_overload_resolution): Ditto.
1524 * utils.c (initialize_utils, show_chars_per_line)
1525 (show_lines_per_page, show_demangle, show_pagination_enabled)
1526 (show_sevenbit_strings, show_asm_demangle): Ditto
1527 * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
1528 (show_tui_border_mode, show_tui_active_border_mode): Ditto.
1529 * top.c (init_main, show_new_async_prompt)
1530 (show_async_command_editing_p, show_write_history_p)
1531 (show_history_size, show_history_filename, show_caution)
1532 (show_annotation_level, init_main): Ditto.
1533 * target.c (initialize_targets, show_targetdebug)
1534 (show_trust_readonly): Ditto.
1535 * symfile.c (_initialize_symfile, show_symbol_reloading)
1536 (show_ext_args, show_download_write_size)
1537 (show_debug_file_directory): Ditto.
1538 * source.c (_initialize_source, show_lines_to_list): Ditto.
1539 * solib.c (_initialize_solib, show_auto_solib_add)
1540 (show_solib_search_path): Ditto.
1541 * p-valprint.c (_initialize_pascal_valprint)
1542 (show_pascal_static_field_print): Ditto.
1543 * printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
1544 (show_print_symbol_filename): Add and update.
1545 * parse.c (_initialize_parse, show_expressiondebug): Dito.
1546 * observer.c (_initialize_observer, show_observer_debug): Dito.
1547 * maint.c (_initialize_maint_cmds, show_watchdog)
1548 (show_maintenance_profile_p): Dito.
1549 * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
1550 * infrun.c (_initialize_infrun, show_debug_infrun)
1551 (show_stop_on_solib_events, show_follow_fork_mode_string)
1552 (show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
1553 * infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
1554 (show_unwind_on_signal_p): Ditto.
1555 * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
1556 (_initialize_gdbtypes, show_overload_debug): Ditto.
1557 * gdb-events.c, gdb-events.sh (_initialize_gdb_events)
1558 (show_gdb_events_debug): Ditto.
1559 * gdbarch.c, gdbarch.sh (show_gdbarch_debug)
1560 (_initialize_gdbarch): Ditto.
1561 * frame.c (_initialize_frame, show_backtrace_past_main)
1562 (show_backtrace_past_entry, show_backtrace_limit)
1563 (show_frame_debug): Ditto.
1564 * exec.c (_initialize_exec, show_write_files): Ditto.
1565 * dwarf2read.c (_initialize_dwarf2_read)
1566 (show_dwarf2_max_cache_age): Ditto.
1567 * demangle.c (_initialize_demangler)
1568 (show_demangling_style_names): Ditto.
1569 * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
1570 * cp-valprint.c (show_static_field_print)
1571 (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
1572 * corefile.c (_initialize_core, show_gnutarget_string): Ditto.
1573 * cli/cli-logging.c (_initialize_cli_logging)
1574 (show_logging_overwrite, show_logging_redirect)
1575 (show_logging_filename): Ditto.
1576 * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
1577 (init_cli_cmds, show_baud_rate, show_remote_debug)
1578 (show_remote_timeout, show_max_user_call_depth): Ditto.
1579 * charset.c (show_host_charset_name, show_target_charset_name)
1580 (initialize_charset): Ditto.
1581 * breakpoint.c (show_can_use_hw_watchpoints)
1582 (show_pending_break_support, _initialize_breakpoint): Ditto.
1583
2877b4cc
JB
15842005-02-23 Jim Blandy <jimb@redhat.com>
1585
1586 * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
1587
e9c55a7b
AC
15882005-02-23 Andrew Cagney <cagney@gnu.org>
1589
1590 * cli/cli-dump.c (dump_bfd_file): Replace magic constant with
1591 SEC_XXX flags.
1592
04ac69aa
AC
15932005-02-22 Andrew Cagney <cagney@gnu.org>
1594
1595 * configure.ac: Only enaable insight when itcl is present.
1596 * configure: Re-generate.
1597
3470a02f
AC
15982005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1599
1600 Committed by Andrew Cagney.
1601 * infptrace.c (store_register): Fix typo.
1602
b66df561
AC
16032005-02-21 Andrew Cagney <cagney@gnu.org>
1604
1605 * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
1606 * cli/cli-decode.h (add_set_cmd): Delete declaration.
1607 * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
1608 * i386-nat.c (_initialize_i386_nat): Update call.
1609 * valprint.c (_initialize_valprint): Update comment.
1610 * gnu-nat.c (_initialize_gnu_nat): Update call.
1611
85e3476f
AM
16122005-02-21 Alan Modra <amodra@bigpond.net.au>
1613
1614 * elfread.c (elf_symtab_read): Discard section syms.
1615
4d28ad1e
AC
16162005-02-21 Andrew Cagney <cagney@gnu.org>
1617
eefe576e
AC
1618 * cli/cli-decode.c (add_set_enum_cmd): Delete function.
1619 (deprecated_add_show_from_set): Delete function.
1620 * command.h (add_set_enum_cmd): Delete declaration.
1621 (deprecated_add_show_from_set): Delete declaration.
1622 * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
1623 (deprecated_add_show_from_set): Delete declaration.
1624 * arm-tdep.c (_initialize_arm_tdep): Update comment.
1625 * kod.c (kod_set_os): Simplify.
1626 * infrun.c (set_schedlock_func): Simplify.
1627 * cli/cli-dump.c (add_dump_command): Update comment.
1628
525226b5
AC
1629 Replace string variables with a filename completer with
1630 add_setshow_optional_filename_cmd.
1631 * solib.c, symfile.c: Update.
1632 * cli/cli-setshow.c: Do not tidle expand the file.
1633
4d28ad1e
AC
1634 Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
1635 and add_setshow_string_noescape_cmd.
1636 * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
1637 NULL command's value.
1638 * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
1639 * remote-sds.c, remote.c, symfile.c, top.c: Update.
1640
942fd9fe
AC
16412005-02-20 Andrew Cagney <cagney@gnu.org>
1642
7ab04401
AC
1643 Use add_setshow_enum_cmd through out.
1644 * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
1645 * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
1646
78f5381d
AC
1647 * mi/mi-main.c (captured_mi_execute_command): Use
1648 mi_cmd_interpreter_exec.
1649
b4b4ac0b
AC
1650 * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
1651 function.
1652 * cli/cli-setshow.c (deprecated_show_value_hack)
1653 (do_setshow_command): Handle var_optional_filename.
1654 * command.h (enum var_types): Add var_optional_filename.
1655 (add_setshow_optional_filename_cmd): Declare.
1656 * infcmd.c (notice_args_read): Use.
1657
942fd9fe
AC
1658 * symfile-mem.c (symbol_file_add_from_memory): Pass
1659 target_read_memory to bfd_elf_bfd_from_remote_memory.
1660 (do_target_read_memory): Delete.
1661
a6c442d8
MK
16622005-02-16 Mark Kettenis <kettenis@gnu.org>
1663
1664 * value.h (value_contents_equal): New prototype.
1665 * value.c (value_contents_equal): New function.
1666 * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't
1667 include <math.h>.
1668 (varobj_set_value): Initialize error to zero.
1669 (varobj_update): Rename error2 to error and initialize it to zero.
1670 Slightly change the wording of some comments.
1671 (my_value_equal): Reimplement using TRY_CATCH and
1672 value_contents_equal.
1673
5bf193a2
AC
16742005-02-18 Andrew Cagney <cagney@gnu.org>
1675
c0d88b1b
AC
1676 * cli/cli-decode.c (add_setshow_integer_cmd): New function.
1677 * command.h (add_setshow_integer_cmd): Declare.
1678 * cli/cli-cmds.c: Update.
1679
35096d9d
AC
1680 Use add_setshow_uinteger_cmd through out.
1681 * printcmd.c, source.c, utils.c, valprint.c: Update.
1682
85c07804
AC
1683 Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
1684 and gdbarch.c.
1685 * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
1686 * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
1687 * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
1688 * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
1689 * varobj.c, cli/cli-cmds.c: Update.
1690 * gdbarch.c, gdb-events.c: Regenerate.
1691
5bf193a2
AC
1692 Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
1693 code adding set/show boolean commands.
1694 * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
1695 * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
1696 * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
1697 * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
1698 * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
1699 * cli/cli-cmds.c: Update.
1700
2c5b56ce
AC
17012005-02-17 Andrew Cagney <cagney@gnu.org>
1702
f397e303
AC
1703 * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
1704 to filename_completer.
1705 * solib.c (_initialize_solib, reload_shared_libraries): Use
1706 add_setshow_filename_cmd.
1707 * serial.c (_initialize_serial): Ditto.
1708 * remote-utils.c (_initialize_sr_support): Ditto.
1709
26c41df3
AC
1710 * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
1711 * command.h (add_setshow_string_noescape_cmd): Declare.
1712 * wince.c (_initialize_wince): Use.
1713 * symfile.c (_initialize_symfile): Use.
1714 (set_ext_lang_command): Update declaration.
1715 * corefile.c (_initialize_core): Use.
1716
2c5b56ce
AC
1717 * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
1718 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
1719 (add_setshow_filename_cmd, add_setshow_string_cmd)
1720 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
1721 fprint_setshow parameter.
1722 * command.h (fprint_setshow_ftype): Delete.
1723 (add_setshow_cmd_full, add_setshow_enum_cmd)
1724 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
1725 (add_setshow_filename_cmd, add_setshow_string_cmd)
1726 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
1727 fprint_setshow parameter.
1728 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
1729 * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
1730 * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
1731 * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
1732 * remote.c, target.c, cli/cli-logging.c: Update.
1733
08546159
AC
17342005-02-16 Andrew Cagney <cagney@gnu.org>
1735
1736 Merge setshow print and show parameters.
1737 * command.h (show_value_ftype): Define.
1738 (deprecated_show_value_hack): Declare.
1739 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
1740 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
1741 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
1742 (add_setshow_zinteger_cmd): Change type of show_func to
1743 show_value_ftype.
1744 * cli/cli-decode.h (struct cmd_list_element): Replace
1745 fprint_setshow with show_value_func.
1746 * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
1747 parameter. Set show_value_func. Do not set cmd_sfunc.
1748 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
1749 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
1750 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
1751 (add_setshow_zinteger_cmd): Update.
1752 * complaints.c (complaints_show_value): Replace
1753 fprint_setshow_complaints.
1754 (_initialize_complaints): Update.
1755 * mips-tdep.c (show_mask_address): Update.
1756 * arm-tdep.c (show_fp_model): Update.
1757 * cli/cli-setshow.c (do_setshow_command): Call show_value_func
1758 instead of fprint_setshow. Use deprecated_show_value_hack.
1759 (deprecated_show_value_hack): New function.
1760 * remote.c (add_packet_config_cmd, show_remote_cmd):
1761 (show_remote_protocol_P_packet_cmd)
1762 (show_remote_protocol_P_packet_cmd)
1763 (show_remote_protocol_Z_access_wp_packet_cmd)
1764 (show_remote_protocol_Z_hardware_bp_packet_cmd)
1765 (show_remote_protocol_Z_packet_cmd)
1766 (show_remote_protocol_Z_read_wp_packet_cmd)
1767 (show_remote_protocol_Z_software_bp_packet_cmd)
1768 (show_remote_protocol_Z_write_wp_packet_cmd)
1769 (show_remote_protocol_binary_download_cmd)
1770 (show_remote_protocol_p_packet_cmd)
1771 (show_remote_protocol_qPart_auxv_packet_cmd)
1772 (show_remote_protocol_qSymbol_packet_cmd)
1773 (show_remote_protocol_vcont_packet_cmd): Update.
1774
1c7b1e5a
MK
17752005-02-16 Mark Kettenis <kettenis@gnu.org>
1776
1777 * wrapper.h: Update copyright year. Properly wrap a few
1778 prototypes.
1779 (struct gdb_wrapper_arguments): Remove forward declaration.
1780 * wrapper.c: Update copyright year. Include "ui-out.h".
1781 (struct gdb_wrapper_arguments): Remove.
1782 (struct captured_value_struct_elt_args): Remove.
1783 (wrapper_parse_exp_1, wrap_evaluate_expression)
1784 (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
1785 (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
1786 (do_captured_value_struct_elf): Remove functions.
1787 (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
1788 (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
1789 (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
1790 Re-implement using TRY_CATCH.
1791
7124f6fb
YS
17922005-02-16 Yoshinori Sato <ysato@users.sourceforge.jp>
1793
1794 * remote-e7000.c: unuse TM_FILE defined macro.
1795 (e7000_fetch_registers)
1796 (e7000_store_registers)
1797 (e7000_wait): delete NUM_REALREGS.
1798 * remote-hms.c: move TM_FILE macro.
1799 (CCR_REGNO): move define from tm-h8300.h.
1800
55e5a6d0
MK
18012005-02-15 Mark Kettenis <kettenis@gnu.org>
1802
1803 * amd64-linux-tdep.c: Update copyright year.
a348ae87
MK
1804 (amd64_linux_sigtramp_start): Use sizeof operator instead of
1805 LINUX_SIGTRAMP_LEN.
55e5a6d0 1806
77ef991d
JB
18072004-02-15 Joel Brobecker <brobecker@gnat.com>
1808
1809 From Paul Hilfinger <hilfinger@gnat.com>
1810 * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
1811 SYMBOL_NATURAL_NAME to set type names.
1812
1bedd215
AC
18132005-02-15 Andrew Cagney <cagney@gnu.org>
1814
1815 Mark up add_com, add_info and add_prefix_cmd.
1816 * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
1817 * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
1818 * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
1819 * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
1820 * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
1821 * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
1822 * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
1823 * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
1824 * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
1825 * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
1826 * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
1827 * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
1828 * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
1829 * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
1830 * tui/tui-stack.c, tui/tui-win.c: Update.
1831
66bf4b3a
AC
18322005-02-14 Andrew Cagney <cagney@gnu.org>
1833
3f325092
AC
1834 * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
1835 * config/h8300/tm-h8300.h: Delete file.
1836
1a966eab
AC
1837 Mark up add_cmd.
1838 * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
1839 * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
1840 * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
1841 * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
1842 * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
1843 * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
1844 * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
1845 * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
1846 * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
1847 * cli/cli-logging.c, tui/tui-regs.c: Update.
1848
7915a72c
AC
1849 Mark up add_setshow functions, replace "PRINT:" comment prefix
1850 with "FIXME: i18n:".
1851 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
1852 * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
1853 * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
1854 * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
1855 * target.c, cli/cli-logging.c: Update.
1856
66bf4b3a
AC
1857 * utils.c (paddress): New function.
1858 * defs.h (paddress): Declare.
1859 * printcmd.c (deprecated_print_address_numeric): Rename
1860 print_address_numeric, call paddress.
1861 * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
1862 * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
1863 * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
1864 * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
1865 * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
1866 * ada-valprint.c: Update.
1867
33e6b12b
RR
18682005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
1869
1870 * MAINTAINERS: Add myself to "Write After Approval".
1871
f0bdd87d
YS
18722005-02-12 Yoshinori Sato <ysato@users.sourceforge.jp>
1873
1874 Restore h8300 support.
1875 * configure.tgt: Add h8300-*-*
ba0e80db
YS
1876 * h8300-tdep.c: New file. Rewrite new frame code.
1877 * config/h8300/h8300.mt: New file. Restored Rev 1.3
1878 * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
1879
1880 * MAINTAINERS: Add myself to "Write After Approval".
f0bdd87d 1881
e2e0b3e5
AC
18822005-02-11 Andrew Cagney <cagney@gnu.org>
1883
a3f17187
AC
1884 Mark up some of printf_filtered and printf_unfiltered.
1885 * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
1886 * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
1887 * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
1888 * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
1889 * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
1890 * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
1891 * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
1892 * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
1893 * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
1894 * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
1895 * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
1896 * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
1897 * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
1898 * tui/tui-regs.c, tui/tui-win.c: Update.
1899
e2e0b3e5
AC
1900 Mark up error_no_arg, query, perror_with_name, complaint, and
1901 internal_error.
1902 * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
1903 * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
1904 * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
1905 * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
1906 * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
1907 * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
1908 * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
1909 * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
1910 * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
1911 * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
1912 * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
1913 * interps.c, language.c, linespec.c, linux-nat.c: Update.
1914 * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
1915 * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
1916 * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
1917 * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
1918 * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
1919 * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
1920 * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
1921 * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
1922 * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
1923 * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
1924 * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
1925 * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
1926 * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
1927 * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
1928 * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
1929 * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
1930 * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
1931 * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
1932 * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
1933 * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
1934 * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
1935 * tui/tui-file.c, tui/tui-interp.c: Update.
8a3fe4f8 1936
e2e0b3e5
AC
19372005-02-10 Andrew Cagney <cagney@gnu.org>
1938
8a3fe4f8
AC
1939 Mark up all error and warning messages.
1940 * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
1941 * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
1942 * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
1943 * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
1944 * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
1945 * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
1946 * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
1947 * event-top.c, exec.c, expprint.c, f-lang.c: Update.
1948 * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
1949 * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
1950 * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
1951 * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
1952 * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
1953 * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
1954 * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
1955 * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
1956 * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
1957 * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
1958 * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
1959 * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
1960 * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
1961 * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
1962 * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
1963 * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
1964 * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
1965 * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
1966 * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
1967 * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
1968 * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
1969 * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
1970 * remote-rdp.c, remote-sim.c, remote-st.c: Update.
1971 * remote-utils.c, remote-utils.h, remote.c: Update.
1972 * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
1973 * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
1974 * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
1975 * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
1976 * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
1977 * somread.c, somsolib.c, source.c, stabsread.c: Update.
1978 * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
1979 * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
1980 * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
1981 * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
1982 * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
1983 * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
1984 * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
1985 * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
1986 * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
1987 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
1988 * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
1989 * tui/tui-win.c: Update.
1990
3517749c
ILT
19912005-02-10 Ian Lance Taylor <ian@airs.com>
1992
1993 * MAINTAINERS: Update my e-mail address.
1994
cf309262
DJ
19952005-02-10 Daniel Jacobowitz <dan@debian.org>
1996
1997 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
1998 PR exp/1821
1999 * cp-valprint.c: Include "language.h".
2000 (cp_print_value_fields): Pass the current language to
2001 fprintf_symbol_filtered.
2002 * Makefile.in (cp-valprint.o): Update dependencies.
2003
899506a8
AC
20042005-02-10 Andrew Cagney <cagney@gnu.org>
2005
335cca0d
AC
2006 * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
2007 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
2008 (add_setshow_filename_cmd, add_setshow_string_cmd)
2009 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
2010 print string parameter with fprint_setshow function.
2011 * command.h (fprint_setshow_ftype): Define. Update declarations.
2012 * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
2013 available, use that.
2014 * cli/cli-decode.h (struct cmd_list_element): Add field
2015 fprint_setshow.
2016 * complaints.c (fprint_setshow_complaints): New function.
2017 (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
2018 * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
2019 with NULL.
2020 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2021 * m32r-rom.c (_initialize_m32r_rom): Ditto.
2022 * cris-tdep.c (_initialize_cris_tdep): Ditto.
2023 * arm-tdep.c (_initialize_arm_tdep): Ditto.
2024 * remote-rdi.c (_initialize_remote_rdi): Ditto.
2025 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
2026 * dwarf2read.c (_initialize_dwarf2_read): Ditto.
2027 * frame.c (_initialize_frame): Ditto.
2028 * target.c (initialize_targets): Ditto.
2029 * maint.c (_initialize_maint_cmds): Ditto.
2030 * observer.c (_initialize_observer): Ditto.
2031 * infcall.c (_initialize_infcall): Ditto.
2032 * breakpoint.c (_initialize_breakpoint): Ditto.
2033 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
2034 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
2035
899506a8
AC
2036 * cli/cli-setshow.c (do_setshow_command): Move code printing the
2037 value to the end of the function. Handle MI and non-MI output
2038 differently.
2039
59c58d08
AC
20402005-02-09 Andrew Cagney <cagney@gnu.org>
2041
7376b4c2
AC
2042 * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
2043 show_result parameters.
2044 * mips-tdep.c (_initialize_mips_tdep): Update calls.
2045 * command.h: Update declaration.
2046 * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
2047 calls.
2048
11dced61
AC
2049 * NEWS: Mention removed commands.
2050 * m68hc11-tdep.c (show_regs): Delete, unused.
2051 (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
2052 * gdb-events.sh: Delete deprecated "set eventdebug" and "show
2053 eventdebug" commands.
2054 * gdb-events.c: Regenerate.
2055 * gdbarch.sh: Delete deprecated "set archdebug" and "show
2056 archdebug" commands.
2057 * gdbarch.c: Regenerate.
2058 * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
2059 remotedebug" and "show remotedebug".
2060 * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
2061 disassembly-flavor", "show arm disassembly-flavor", and
2062 "othernames" commands.
2063 (arm_othernames): Delete unused function.
2064
b6e1c027
AC
2065 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
2066 (convert_code_addr_to_desc_addr): Convert any function code
2067 address to the corresponding function's descriptor.
2068 (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
2069 TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
2070 writing, convert any function code address to the corresponding
2071 descriptor.
2072
59c58d08
AC
2073 * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
2074 * config/powerpc/linux.mt (TDEPFILES): Ditto.
2075 * config/pa/linux.mt (TDEPFILES): Ditto.
2076 * config/mips/linux.mt (TDEPFILES): Ditto.
2077 * config/m68k/linux.mt (TDEPFILES): Ditto.
2078 * config/m32r/linux.mt (TDEPFILES): Ditto.
2079 * config/ia64/linux.mt (TDEPFILES): Ditto.
2080 * config/arm/linux.mt (TDEPFILES): Ditto.
2081
b6e1c027
AC
20822005-02-09 Corinna Vinschen <vinschen@redhat.com>
2083
2084 * symmisc.c: Include gdb_stat.h.
2085 (maintenance_print_msymbols): Use inode numbers to compare files.
2086
91294c83
AC
20872005-02-08 Andrew Cagney <cagney@gnu.org>
2088
d3cbe7ef
AC
2089 * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
2090 (METHOD_PTR_TO_VOFFSET): Move from here ...
2091 * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
2092 (METHOD_PTR_TO_VOFFSET): ... to here.
2093 * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
2094 * Makefile.in: Update dependencies.
2095
6941d02a
AC
2096 * exceptions.c: Do not include <setjmp.h>.
2097 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
2098 (catch_exception, catch_exceptions_with_msg, catch_errors)
2099 (catch_command_errors): Use TRY_CATCH.
2100 (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
2101 (exceptions_state_mc_init): Rename catcher_init.
2102 (exceptions_state_mc): Rename catcher_state_machine.
2103 (exceptions_state_mc_action_iter)
2104 (exceptions_state_mc_action_iter_1): New functions.
2105 * exceptions.h: Include <setjmp.h>.
2106 (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
2107 (EXCEPTIONS_SIGLONGJMP): Define.
2108 (exceptions_state_mc_init, exceptions_state_mc_action_iter)
2109 (exceptions_state_mc_action_iter_1): Declare.
2110 (TRY_CATCH): Define.
2111
179f02be
AC
2112 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
2113 no longer needed.
2114
8f135812
AC
2115 * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
2116 PT_FPSCR breakage.
2117
91294c83
AC
2118 * value.c (struct value): Move to here ...
2119 * value.h (struct value): ... from here. Copy comments to
2120 corresponding function declarations, re-order.
2121
dfa52d88
AC
21222005-02-07 Andrew Cagney <cagney@gnu.org>
2123
9bbda503
AC
2124 * value.c (set_value_bitpos, set_value_bitsize): Define.
2125 * value.h (set_value_bitpos, set_value_bitsize): Declare.
2126 * ada-lang.c, valarith.c: Update.
2127
5086187c
AC
2128 * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
2129 value_contents_writeable, include note that there are problems.
2130 * breakpoint.c, infcall.c: Use VALUE_LVAL.
2131
f5cf64a7
AC
2132 * value.h (set_value_offset): Declare.
2133 * value.c (set_value_offset): Declare.
2134 * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
2135 * findvar.c: Update.
2136
17cf0ecd
AC
2137 * value.h (value_next): Declare.
2138 * value.c (value_next): Define.
2139 * breakpoint.c: Update.
2140
88e3b34b
AC
2141 * value.h (deprecated_set_value_modifiable)
2142 (deprecated_value_modifiable): Declare.
2143 * value.c (deprecated_set_value_modifiable): Define.
2144 (deprecated_value_modifiable): Define.
2145 * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
2146
04624583
AC
2147 * value.h (deprecated_set_value_type): Declare.
2148 * value.c (deprecated_set_value_type): Define.
2149 * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
2150 * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
2151 * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
2152 * ax-gdb.c, tracepoint.c: Update.
2153
13bb5560
AC
2154 * value.h (deprecated_value_lval_hack)
2155 (deprecated_value_address_hack)
7d71e29c 2156 (deprecated_value_internalvar_hack)
13bb5560
AC
2157 (deprecated_value_regnum_hack): Declare.
2158 (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
2159 (VALUE_FRAME_ID, VALUE_REGNUM): Use.
2160 * value.c (deprecated_value_lval_hack)
2161 (deprecated_value_address_hack)
7d71e29c 2162 (deprecated_value_internalvar_hack)
13bb5560
AC
2163 (deprecated_value_regnum_hack): Define.
2164
b44d461b
AC
2165 * value.h (VALUE_POINTED_TO_OFFSET): Delete.
2166 (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
2167 * value.c (set_value_pointed_to_offset): Define
2168 (value_pointed_to_offset): Define.
2169 * valops.c: Update.
2170
caadb61d
AC
2171 * value.h (VALUE_EMBEDDED_OFFSET): Delete.
2172 (value_embedded_offset, set_value_embedded_offset): Declare.
13c3b5f5 2173 * value.c (value_embedded_offset): Define.
caadb61d 2174 (set_value_embedded_offset): Define.
13c3b5f5
AC
2175 * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
2176 * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
2177 * cp-abi.h: Update.
2178
dfa52d88
AC
2179 * value.h (VALUE_LAZY): Delete
2180 (set_value_lazy): Declare.
2181 * value.c (set_value_lazy): Define.
2182 * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
2183 * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
2184
0fd88904
AC
21852005-02-06 Andrew Cagney <cagney@gnu.org>
2186
feb13ab0
AC
2187 * value.h (VALUE_OPTIMIZED_OUT): Delete.
2188 (value_optimized_out, set_value_optimized_out): Declare.
2189 * value.c (set_value_optimized_out, value_optimized_out): Define.
2190 * valprint.c, findvar.c, dwarf2loc.c: Update.
2191
0fd88904
AC
2192 * value.c (value_contents, value_contents_writeable): New
2193 functions.
2194 * value.h (VALUE_CONTENTS): Delete macro.
2195 (value_contents, value_contents_writeable): Declare.
2196 * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
2197 * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
2198 * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
2199 * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
2200 * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
2201 * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
2202 * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
2203 * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
2204 * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
2205 * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
2206 * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
2207 * ada-valprint.c, ada-lang.c: Update.
2208
5b90c7b5
AC
22092005-02-03 Andrew Cagney <cagney@gnu.org>
2210
2211 * utils.c (xzalloc): New function.
2212 * defs.h (XZALLOC): Use xzalloc.
2213 (xzalloc): Declare.
2214 * value.c (allocate_value): Allocate a zeroed buffer.
2215 * mdebugread.c (xzalloc): Delete.
2216
4754a64e
AC
22172005-02-02 Andrew Cagney <cagney@gnu.org>
2218
d69fe07e
AC
2219 * value.h (value_lazy): Declare.
2220 * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
2221 * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
2222
46615f07
AC
2223 * value.h (VALUE_CONTENTS_ALL): Delete.
2224 (value_contents_all): Declare.
2225 * value.c (value_contents_all): New function.
2226 * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
2227 * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
2228
4754a64e
AC
2229 * value.c (value_enclosing_type): New function.
2230 * value.h (VALUE_ENCLOSING_TYPE): Delete.
2231 (value_enclosing_type): Declare.
2232 * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
2233 * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
2234
990a07ab
AC
2235 * value.c (value_contents_all_raw)
2236 (value_contents_raw): New functions.
2237 * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
2238 (value_contents_raw, value_contents_all_raw): Declare functions.
2239 (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
2240 * std-regs.c, valarith.c, valops.c, eval.c: Update.
2241 * tracepoint.c, findvar.c: Update.
2242
ff2c3e5d
OF
22432005-02-01 Orjan Friberg <orjanf@axis.com>
2244
2245 * regformats/reg-cris.dat: New file with register definitions for CRIS.
2246 * regformats/reg-crisv32.dat: Ditto for CRISv32.
2247
c46f8c51
AC
22482005-01-31 Andrew Cagney <cagney@gnu.org>
2249
2250 * configure: Regenerate to track ../gettext.m4.
2251
a80493b8
BI
22522005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
2253
2254 * MAINTAINERS: Add myself to "Write After Approval".
2255
3d263c1d
BI
2256 * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
2257 * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
2258 * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
2259
c21a4eee
MK
22602005-01-29 Mark Kettenis <kettenis@gnu.org>
2261
2262 * configure.ac: Remove extra check for ranlib.
2263 * configure: Regenerated.
2264
108d6ead
AC
22652005-01-28 Andrew Cagney <cagney@gnu.org>
2266
a2bd3dcd
AC
2267 * language.h (struct language_defn): Make la_val_print's buffer
2268 parameter a const bfd_byte.
2269 * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
2270 * ada-lang.c (ada_aligned_value_addr)
2271 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
2272 * valprint.c (val_print_array_elements): Update.
2273 * valprint.h (val_print_array_elements): Update.
2274 * ada-lang.h (ada_val_print, ada_aligned_value_addr)
2275 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
2276 * ada-valprint.c (ada_val_print, struct ada_val_print_args)
2277 (ada_val_print_1, ada_print_floating, printable_val_type)
2278 (print_record, val_print_packed_array_elements)
2279 (print_field_values, print_variant_part): Update.
2280 * c-lang.h (c_val_print, cp_print_value_fields): Update.
2281 * c-valprint.c (c_val_print): Update.
2282 * f-lang.h (f_val_print): Update.
2283 * f-valprint.c (f_val_print, f77_print_array_1)
2284 (f77_print_array): Update.
2285 * jv-lang.h (java_val_print): Update.
2286 * jv-valprint.c (java_print_value_fields, java_val_print): Update.
2287 * language.c (unk_lang_val_print): Update.
2288 * m2-lang.h (m2_val_print): Update.
2289 * m2-valprint.c (m2_val_print): Update.
2290 * p-lang.h (pascal_val_print): Update.
2291 (pascal_object_print_value_fields): Update.
2292 * p-valprint.c (pascal_val_print)
2293 (pascal_object_print_value_fields, pascal_object_print_value)
2294 (pascal_object_print_value): Update.
2295 * scm-lang.h (scm_val_print): Update.
2296 * scm-valprint.c (scm_val_print): Update.
2297 * value.h (val_print): Update.
2298
5bcca90b
AC
2299 * p-lang.h (pascal_object_print_class_member)
2300 (pascal_object_print_class_method): Make buffer a const bfd_byte.
2301 * p-valprint.c (pascal_object_print_class_method)
2302 (pascal_object_print_class_method): Ditto.
2303
ce27fb25
AC
2304 * language.h (struct language_defn): Make la_printstr's buffer
2305 parameter a const bfd_byte.
2306 * p-lang.h (pascal_printstr): Update function to match.
2307 * ada-valprint.c (ada_printstr): Update function to match.
2308 * scm-lang.c (scm_printstr): Update function to match.
2309 * p-lang.c (pascal_printstr): Update function to match.
2310 * ada-lang.h (ada_printstr): Update function to match.
2311 * m2-lang.c (m2_printstr): Update function to match.
2312 * objc-lang.c (objc_printstr): Update function to match.
2313 * c-lang.h (c_printstr): Update function to match.
2314 * f-lang.c (f_printstr): Update function to match.
2315 * c-lang.c (c_printstr): Update function to match.
2316 * language.c (unk_lang_printstr): Update function to match.
2317
5f547748
AC
2318 * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
2319 * valprint.h (val_print_type_code_int): Ditto.
2320
bbb4b9db
AC
2321 * objc-lang.h (c_val_print, c_value_print): Delete declarations.
2322
9519ccd5
AC
2323 * cp-valprint.c (cp_print_class_method)
2324 (cp_print_class_member): Make buffer a const bfd_byte.
2325 * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
2326
10a2c479
AC
2327 * ada-lang.c (value_from_contents_and_address)
2328 (to_record_with_fixed_variant_part)
2329 (value_tag_from_contents_and_address, ada_to_fixed_type)
2330 (to_fixed_variant_branch_type, to_fixed_record_type)
2331 (ada_template_to_fixed_record_type, cond_offset_host)
2332 (ada_template_to_fixed_record_type_1): Make buffer a const
2333 bfd_byte.
2334 * ada-lang.h (ada_template_to_fixed_record_type_1)
2335 (value_from_contents_and_address, ada_to_fixed_type): Ditto.
2336
d56612af
AC
2337 * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
2338
366b1cbf 2339 * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
d56612af 2340 * printcmd.c (print_scalar_formatted): Update.
366b1cbf 2341
c84141d6
AC
2342 * value.h (value_bit_index, print_floating)
2343 (find_rt_vbase_offset): Make buffer a const bfd_byte.
2344 * valprint.c (print_floating): Update.
2345 * valarith.c (value_bit_index): Update.
2346 * valops.c (find_rt_vbase_offset): Update.
2347
6c403953
AC
2348 * valprint.h (print_octal_chars, print_char_chars)
2349 (print_hex_chars, print_decimal_chars, print_binary_chars): Make
2350 buffer a const bfd_byte.
2351 * valprint.c (print_binary_chars, print_octal_chars)
2352 (print_decimal_chars, print_hex_chars, print_char_chars): Make
2353 "valaddr"buffer a const bfd_byte, ditto for local variables
2354 referencing that buffer.
2355
a8d6eb4a
AC
2356 * m2-valprint.c: Include "c-lang.h".
2357 (c_val_print): Delete extern declaration.
2358 * scm-valprint.c: Include "c-lang.h".
2359 (c_val_print): Delete extern declaration.
2360 Makefile.in: Update dependencies.
2361
06c4d4dc
AC
2362 * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
2363 bfd_byte.
2364 * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
2365 (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
2366 bfd_byte.
2367 * cp-abi.c (baseclass_offset): Update.
2368 * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
2369
6b08edad
AC
2370 * gnu-v2-abi.h: New file.
2371 * gnu-v2-abi.c: Include "gnu-v2-abi.h".
2372 (gnuv2_baseclass_offset): Delete declaration.
2373 * hpacc-abi.c: Include "gnu-v2-abi.h".
2374 (gnuv2_baseclass_offset): Delete extern declaration.
2375 * Makefile.in: Update dependencies.
2376
108d6ead
AC
2377 * doublest.c (floatformat_is_negative, floatformat_is_nan)
2378 (floatformat_mantissa, get_field): Make the buffer a const
2379 bfd_byte, simplify.
2380
a53bf506
AC
23812005-01-27 Andrew Cagney <cagney@gnu.org>
2382
8cc2524a
AC
2383 * value.h (struct value): Change type of contents to bfd_byte.
2384 (VALUE_CONTENTS_RAW): Simplify.
2385
79dd2d24
AC
2386 * gdbarch.sh (integer_to_address): Change buf parameter to a const
2387 bfd_byte, make pure-multi-arch.
2388 * gdbarch.h, gdbarch.c: Regenerate.
2389 * mips-tdep.c (mips_integer_to_address): Update.
2390 * value.c (value_as_address): Update.
2391
c26b8e3b
AC
2392 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
2393 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
2394 parameters const, change buf to a const bfd_byte.
2395 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
2396 parameters const.
2397
10e2d419
AC
2398 * corefile.c (write_memory): Update, make a copy of the read-only
2399 buffer.
2400 * target.c (target_read_memory): Update.
2401 (target_write_memory): Update, make a copy of the read-only
2402 buffer.
2403 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
2404 const.
2405 * target.h (target_read_memory, target_write_memory): Change
2406 buffer type to bfd_byte; for write_memory, make it const.
2407 * symfile-mem.c (do_target_read_memory): New function.
2408 (symbol_file_add_from_memory): Pass do_target_read_memory to
2409 bfd_elf_bfd_from_remote_memory.
2410
89f5065b
AC
2411 * value.h: Indent using gdb_indent.sh.
2412
a53bf506
AC
2413 * configure: Regenerate to track ../gettext.m4 change.
2414
c44ca51c
AC
24152005-01-26 Andrew Cagney <cagney@gnu.org>
2416
2417 * rs6000-tdep.c: Include "reggroups.h".
2418 (rs6000_gdbarch_init): Set register_reggroup_p.
2419 (rs6000_register_reggroup_p): New function.
2420
c600d464
OF
24212005-01-26 Orjan Friberg <orjanf@axis.com>
2422
2423 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
2424 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
2425 CRISv32.
2426 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
2427 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
2428 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
2429 (crisv32_register_type, cris_special_register_name)
2430 (crisv32_register_name): New functions.
2431 (cris_spec_reg_applicable): Recognize more versions.
2432 (cris_register_name): Update with call to cris_special_register_name.
2433 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
2434 warning when unable to find step target.
2435 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
2436 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
2437 CRISv32.
2438 (fetch_core_registers): Update for CRISv32.
2439 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
2440 register_name, cannot_store_register, cannot_fetch_register,
2441 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
2442
82c94ed0
NR
24432005-01-26 Nick Roberts <nickrob@snap.net.nz>
2444
2445 * interps.c (interpreter_exec_cmd): Use condition,
2446 e.reason < 0, to raise an error.
2447
0598a43c
AC
24482005-01-25 Andrew Cagney <cagney@gnu.org>
2449
a8f60bfc
AC
2450 * ppc-linux-tdep.c: Include "tramp-frame.h"
2451 (struct ppc_linux_sigtramp_cache)
2452 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
2453 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
2454 (ppc_linux_sigtramp_cache): Delete.
2455 (ppc32_linux_sigaction_cache_init)
2456 (ppc64_linux_sigaction_cache_init)
2457 (ppc32_linux_sighandler_cache_init)
2458 (ppc64_linux_sighandler_cache_init)
2459 (ppc32_linux_sigaction_tramp_frame)
2460 (ppc64_linux_sigaction_tramp_frame)
2461 (ppc32_linux_sighandler_tramp_frame)
2462 (ppc64_linux_sighandler_tramp_frame)
2463 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
2464 64-bit, sigaction and siginfo tramp-frame unwinders.
2465
0598a43c
AC
2466 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
2467 long_double_bit to 8.
2468
9d799f85
AC
24692005-01-24 Andrew Cagney <cagney@gnu.org>
2470
2471 * infrun.c (handle_inferior_event): Handle back-to-back and nested
2472 signals where the step_resume_breakpoint may have already been
2473 inserted.
2474
45181ed1
AC
24752005-01-24 Andrew Cagney <cagney@gnu.org>
2476
2477 * configure: Regenerate, ../gettext.m4 was updated.
2478
a28109e0
MK
24792005-01-23 Mark Kettenis <kettenis@gnu.org>
2480
6fe85783
MK
2481 * NEWS: Mention new BSD user-level threads support.
2482
a28109e0
MK
2483 * i386obsd-tdep.c: Update copyright year. Include
2484 "bsd-uthread.h".
2485 (i386obsd_uthread_reg_offset): New variable.
2486 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
2487 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
2488 functions.
2489 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
2490 * Makefile.in (i386obsd-tdep.o): Update dependencies.
2491 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
2492
059198c1
CF
24932005-01-23 Christopher Faylor <cgf@timesys.com>
2494
2495 * win32-nat.c: Update copyright year.
2496 (child_init_thread_list): Set thread linked list point to NULL so that
2497 it won't be reused after clearing.
2498
5c45e068
MK
24992005-01-21 Mark Kettenis <kettenis@gnu.org>
2500
2501 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
2502 undefs.
2503 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
2504 thread' has a td_pcb member and whether `struct reg' has r_fs and
2505 r_gs members.
2506 * configure, config.in: Regenerate.
2507
666ec76f
MK
25082005-01-21 Mark Kettenis <kettenis@gnu.org>
2509
b8667b61
MK
2510 * configure.ac: Remove ia64-*-aix* junk.
2511 * configure: Regenerate.
2512
a3828db0
MK
2513 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
2514 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
2515 is necessary.
2516 * configure, config.in: Regenerate.
2517 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
2518 BFD_NEED_DECLARATION. Never provide a prototype for
2519 caninicalize_file_name.
2520 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
2521 BFD_NEED_DECLARATION.
2522
666ec76f
MK
2523 * configure.ac (targ_archs): Use standard autoconf check for
2524 "struct stat.st_blocks" instead of rolling our own.
2525 * configure: Regenerated.
2526 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
2527 * config.in: Regenerated.
2528
bc8bcb4b
MK
25292005-01-21 Mark Kettenis <kettenis@gnu.org>
2530
2531 * configure.ac: Modernize checks for `long long' and `long double'
2532 support.
2533 * configure: Regenerated.
2534 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
2535 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
2536 * config.in: Regenerated.
2537
30adeb3a
MK
25382005-01-20 Mark Kettenis <kettenis@gnu.org>
2539
2540 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
2541 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
2542 * configure.ac: Remove checks for HP-UX save_state structure.
2543 * configure: Regenerated.
2544
e06e2353
AC
25452005-01-19 Andrew Cagney <cagney@gnu.org>
2546
2547 * utils.c (quit): Simplify, call fatal.
2548 * exceptions.c: Include "serial.h"
2549 (print_flush): Mimic flush code found in utils.c:quit.
2550 * Makefile.in: Update dependencies.
2551
1c44323f
JB
25522005-01-19 Jim Blandy <jimb@redhat.com>
2553
065a1afc
JB
2554 * configure.tgt: Set build_rdi_share to "yes" on those targets
2555 that use that debugging protocol.
2556 Set build_nlm to yes to build NLM stub for Netware targets.
2557 * configure.ac: If build_rdi_share is "yes", then configure the
2558 rdi-share subdirectory.
2559 If build_nlm is "yes", the configure the "nlm" subdirectory.
2560 * configure: Regenerated.
2561
1c44323f
JB
2562 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
2563 autoconf 2.59 and automake 1.9.3.
2564
8a9de0e4
AC
25652005-01-19 Andrew Cagney <cagney@gnu.org>
2566
315a522e
AC
2567 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
2568 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
2569 * utils.c (internal_verror, quit): Update.
2570 * remote-sds.c (interrupt_query): Update.
2571 * remote-mips.c (mips_error, mips_kill): Update.
2572 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
2573 * remote.c (interrupt_query): Update.
2574 * ocd.c (interrupt_query): Update.
2575 * nto-procfs.c (interrupt_query): Update.
2576 * monitor.c (monitor_interrupt_query): Update.
2577 * breakpoint.c (break_command_1): Update.
2578
8a9de0e4
AC
2579 * infrun.c: (resume, proceed, wait_for_inferior)
2580 (handle_inferior_event, stop_stepping)
2581 (prepare_to_wait): Write debug output to gdb_stdlog.
2582
53283f86
MK
25832005-01-19 Mark Kettenis <kettenis@gnu.org>
2584
2585 * inf-ptrace.c (inf_ptrace_prepare_to_store)
2586 (inf_ptrace_post_startup_inferior)
2587 (inf_ptrace_acknowledge_created_inferior)
2588 (inf_ptrace_insert_fork_catchpoint)
2589 (inf_ptrace_remove_fork_catchpoint)
2590 (inf_ptrace_insert_vfork_catchpoint):
2591 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
2592 (inf_ptrace_insert_exec_catchpoint)
2593 (inf_ptrace_remove_exec_catchpoint): Remove functions.
2594 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
2595 (inf_ptrace_target): Don't set to_prepare_to_store,
2596 to_post_startup_inferior, to_acknowledge_created_inferior,
2597 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
2598 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
2599 to_follow_fork, to_insert_exec_catchpoint,
2600 to_remove_exec_catchpoint.
2601
9ee907e0
AC
26022005-01-18 Andrew Cagney <cagney@gnu.org>
2603
fa113d1a
AC
2604 * target.h (struct target_ops): Change return type of
2605 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
2606 to_insert_exec_catchpoint to void.
2607 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
2608 (child_insert_exec_catchpoint): Change return type to void.
2609 * target.c (update_current_target): Update.
2610 (debug_to_insert_fork_catchpoint)
2611 (debug_to_insert_vfork_catchpoint)
2612 (debug_to_insert_exec_catchpoint): Update.
2613 * inf-child.c (inf_child_insert_fork_catchpoint)
2614 (inf_child_insert_vfork_catchpoint)
2615 (inf_child_insert_exec_catchpoint): Update.
2616 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
2617 * linux-nat.c (child_insert_fork_catchpoint)
2618 (child_insert_vfork_catchpoint)
2619 (child_insert_exec_catchpoint): Update.
2620 * inftarg.c (child_insert_fork_catchpoint)
2621 (child_insert_vfork_catchpoint,)
2622 (child_insert_exec_catchpoint): Update.
2623
9ee907e0
AC
2624 * remote.c (remote_open_1): Use throw_exception.
2625
295093a4
MS
26262005-01-17 Michael Snyder <msnyder@redhat.com>
2627
2628 * mips-linux-tdep.c: Whitespace tweaks.
2629
4bcff7eb
CV
26302005-01-17 Corinna Vinschen <vinschen@redhat.com>
2631
2632 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
2633
637537d0
AC
26342005-01-17 Andrew Cagney <cagney@gnu.org>
2635
2636 * top.h (source_error, source_pre_error): Delete declaration.
2637 * cli/cli-script.c (source_error_allocated, source_error): Delete.
2638 (script_from_file, source_cleanup_lines): Do not manipulate
2639 source_error_allocated, error_pre_print and source_error.
2640 (struct source_cleanup_lines_args): Delete fields old_pre_error,
2641 and old_error_pre_print.
2642 * top.c (source_error_allocated, source_error)
2643 (source_pre_error): Delete.
2644 (command_line_input): Do not set error_pre_print.
2645 * event-top.c (command_line_handler): Do not set error_pre_print.
2646
12b21d12
JT
26472005-01-16 Jason Thorpe <thorpej@netbsd.org>
2648
2649 * MAINTAINERS: Update my email address.
2650
1c02b2a5
MK
26512005-01-16 Mark Kettenis <kettenis@gnu.org>
2652
c401b55a
MK
2653 * configure.ac: Provide prerequisite headers when checking
2654 <term.h>.
2655 * configure: Regenerate.
2656
1c02b2a5
MK
2657 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
2658 and "bsd-uthread.h".
2659 (amd64fbsd_jmp_buf_reg_offset): New variable.
2660 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
2661 functions.
2662 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
2663 * i386fbsd-tdep.c: Fix typo.
2664 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
2665 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
2666
17d92a02
AC
26672005-01-16 Andrew Cagney <cagney@gnu.org>
2668
2669 * cli/cli-script.c: Include "exceptions.h".
2670 (struct wrapped_read_command_file_args): Define.
2671 (wrapped_read_command_file): New function.
2672 (script_from_file): Replace direct call to read_command_file by
2673 one wrapped by an exception handler.
2674 * exceptions.c (throw_it): Free the old message after creating the
2675 new.
2676 * Makefile.in: Update dependencies.
2677
80ad1639
MK
26782005-01-16 Mark Kettenis <kettenis@gnu.org>
2679
ae036357
MK
2680 * sparc64fbsd-tdep.c: Update copyright year.
2681 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
2682 functions.
2683 (sparc64fbsd_init_abi): Create register sets with collect
2684 functions.
2685
ca5807d9
MK
2686 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
2687 (_initialize_sparc64fbsd_nat): Add some extra features to the
2688 generic SPARC target.
2689 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
2690 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
2691 (NAT_FILE): Set to solib.h.
2692 * config/sparc/nm-fbsd.h: Remove file.
2693
c4f2d4d7
MK
2694 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
2695
80ad1639
MK
2696 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
2697
6212a5e9
AC
26982005-01-16 Andrew Cagney <cagney@gnu.org>
2699
2700 * exceptions.c (struct catcher): Delete saved_error_pre_print and
2701 saved_quit_pre_print.
2702 (catcher_init): Delete parameter errstring, do not override the
2703 pre_print strings.
2704 (catcher_pop): Do not restore the pre_print strings.
2705 (catch_exception, catch_exceptions_with_msg, catch_errors)
2706 (catch_command_errors): Update catch_init calls.
2707
936df4b3
MK
27082005-01-16 Mark Kettenis <kettenis@gnu.org>
2709
2710 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
2711 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
2712
3af1e0e3
AC
27132005-01-15 Andrew Cagney <cagney@gnu.org>
2714
85981d60
AC
2715 * acinclude.m4: Include ../bfd/bfd.m4 instead of
2716 ../bfd/acinclude.m4. Include ../gettext.m4.
2717 * aclocal.m4, configure: Re-generate.
2718
5a14cc1a
AC
2719 * exceptions.c (do_captured_command)
2720 (struct captured_command_args): Delete.
2721 (catch_command_errors): Simplify by inlining call to catch_errors.
2722
3af1e0e3
AC
2723 * exceptions.c (struct catcher): Delete field print_message.
2724 (catcher_init): Delete print_message parameter.
2725 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
2726 (throw_it): Delete prefix parameter.
2727 (throw_verror, throw_vfatal, throw_error): Update.
2728
d0555901
AC
27292005-01-14 Andrew Cagney <cagney@gnu.org>
2730
e48f5bee
AC
2731 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
2732 (throw_reason): Leave the exception's message field blank.
2733 (throw_it): New function, create the exception and throw it.
2734 (throw_verror, throw_vfatal, throw_error): Call throw_it.
2735 (print_any_exception): New function.
2736 (catch_errors, catch_exceptions_with_msg): Call
2737 print_any_exception.
2738 (throw_exception): Move code calling annotate_error and
2739 annotate_quit from here ...
2740 (print_exception): ... to here.
2741
c6da7a6d
AC
2742 * exceptions.c (exception_fprintf, exception_print): Move printing
2743 of \n from here ...
2744 (print_exception): ... to here.
2745 (print_flush): New function.
2746 (exception_print, exception_fprintf): Replace duplicated flush and
2747 wrap code with call to print_flush.
2748 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
2749 and print_exception.
2750 (do_write): Delete.
2751
d0555901
AC
2752 * remote-sds.c (interrupt_query): Call throw_reason instead of
2753 throw_exception.
2754 * remote-mips.c (mips_error, mips_kill): Ditto
2755 * ocd.c (interrupt_query): Ditto.
2756 * nto-procfs.c (interrupt_query): Ditto.
2757 * monitor.c (monitor_interrupt_query): Ditto.
2758
949df321
JJ
27592005-01-14 Jeff Johnston <jjohnstn@redhat.com>
2760
2761 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
2762
bc8332bb
AC
27632005-01-14 Andrew Cagney <cagney@gnu.org>
2764
1c3c7ee7
AC
2765 * exceptions.h (catch_exceptions): Delete errstring parameter.
2766 (catch_exceptions_with_msg): Ditto.
2767 * exceptions.c (catch_exceptions_with_msg): Update.
2768 (catch_exceptions): Update.
2769 * symfile-mem.c (add_vsyscall_page): Update.
2770 * frame.c (get_current_frame): Update.
2771 * wrapper.c (gdb_value_struct_elt): Update.
2772 * exceptions.c (catch_exceptions): Update.
2773 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
2774 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
2775 * remote-fileio.c (remote_fileio_request): Update.
2776
9cbc821d
AC
2777 * exceptions.h (exception_fprintf): Declare.
2778 (exception_print): Drop pre_print parameter.
2779 * mi/mi-main.c (mi_execute_command): Update exception_print call.
2780 * cli/cli-interp.c (safe_execute_command): Update exception_print
2781 call.
2782 * remote.c (remote_open_1): Instead of passing an error prefix to
2783 catch_exceptions, use catch_exceptions and exception_fprintf.
2784 (remote_start_remote): Change return type to void.
2785 * breakpoint.c (insert_bp_location): Instead of passing an error
2786 prefix to catch_exceptions, use catch_exceptions and
2787 exception_fprintf.
2788 (insert_catchpoint): Change return type to void.
2789 (break_command_1): Update exception_print call.
2790 * exceptions.c (exception_fprintf): New function.
2791 (print_exception): New function.
2792 (exception_print): Use print_exception.
2793
22e9b0f1
AC
2794 * utils.c (error_output_message): Delete function.
2795 * defs.h (error_output_message): Delete declaration.
2796
05ff989b
AC
2797 * linespec.c (symtab_from_filename, decode_variable): Use
2798 throw_error instead of error_silent.
2799 * breakpoint.c (do_captured_parse_breakpoint): Change return type
2800 to void.
2801 (break_command_1): Use catch_exception and check the error return
2802 status.
2803 * exceptions.c (throw_error): New function.
2804 (throw_vsilent): Delete function.
2805 * exceptions.h (throw_error): Declare.
2806 (throw_vsilent): Delete declaration.
2807 * utils.c (error_silent): Delete function.
2808 * defs.h (error_silent): Delete declaration.
2809
8a076db9
AC
2810 * mi/mi-main.c (mi_execute_command): Print the exception.
2811 * cli/cli-interp.c (safe_execute_command): Print the exception.
2812 * exceptions.h (exception_print): Declare.
2813 * exceptions.c (struct catcher): Add field print_message.
2814 (catcher_init): Add parameter print_message, store in the catcher
2815 struct.
2816 (print_and_throw): Only print the message when print_message.
2817 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
2818 catcher_init.
2819 (catch_exception): Pass print_message=0 to catcher_init.
2820
bc8332bb
AC
2821 * varobj.c (varobj_create): Add missing \n.
2822
d183932d
MS
28232005-01-13 Michael Snyder <msnyder@redhat.com>
2824
4e18e2de 2825 * cli/cli-decode.h: Whitespace tweaks.
ca0b4d12 2826 * wince.c: Whitespace tweaks.
887a3a14 2827 * uw-thread.c: Whitespace tweaks.
0a4a0819 2828 * utils.c: Whitespace tweaks.
d183932d
MS
2829 * tracepoint.[ch]: Whitespace tweaks.
2830 * solist.h: Whitespace tweaks.
2831
6b1b7650
AC
28322005-01-13 Andrew Cagney <cagney@gnu.org>
2833
b315da38
AC
2834 * exceptions.h (struct exception): Make message const.
2835 * mi/mi-main.c (mi_execute_command): Pass result.message directly
2836 to fputstr_unfiltered.
2837
79e714b4
AC
28382005-01-13 Michael Snyder <msnyder@redhat.com>
2839
2840 * stack.c: Whitespace tweaks.
2841 * somsolib.[ch]: Whitespace tweaks.
2842 * solib-aix.c: Whitespace tweaks.
2843 * solib.c: Whitespace tweaks.
2844 * solib-frv.c: Whitespace tweaks.
2845 * solib.h: Whitespace tweaks.
2846 * solib-irix.c: Whitespace tweaks.
2847 * solib-som.c: Whitespace tweaks.
2848 * solib-sunos.c: Whitespace tweaks.
2849 * solib-svr4.[ch]: Whitespace tweaks.
2850 * ser-tcp.c: Whitespace tweaks.
2851 * ser-unix.c: Whitespace tweaks.
2852 * serial.h: Whitespace tweaks.
2853 * scm-valprint.c: Whitespace tweaks.
2854 * rs6000-tdep.c: Whitespace tweaks.
2855 * rs6000-nat.c: Whitespace tweaks.
2856 * remote.c: Whitespace tweaks.
2857
28582005-01-13 Andrew Cagney <cagney@gnu.org>
2859
6b1b7650
AC
2860 * defs.h (error_last_message, error_init): Delete declaration.
2861 * utils.c (fatal, vfatal): Call throw_vfatal.
2862 (error, verror): Call throw_verror;
2863 (do_write, error_stream_1): Delete function.
2864 (error_stream): Simplify, call error.
2865 (error_last_message, error_init, gdb_lasterr): Delete.
2866 (error_silent): Simplify, call throw_vsilent.
2867 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
2868 * main.c (captured_main): Delete call to error_init.
2869 * exceptions.c (throw_verror, throw_verror)
2870 (throw_vsilent): New functions.
2871 (do_write, print_and_throw): New functions.
2872 (last_message): New global.
2873 (throw_reason): Replace error_last_message with last_message.
2874 (catch_exceptions_with_msg): Dup the message.
2875 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
2876 Declare.
2877
4791eb66
MS
28782005-01-13 Michael Snyder <msnyder@redhat.com>
2879
90c065fb 2880 * remote-st.c: Whitespace tweaks.
8a0ce09a 2881 * remote-sim.c: Whitespace tweaks.
1fa79fac 2882 * remote-mips.c: Whitespace tweaks.
beda9597 2883 * pa64solib.[ch]: Whitespace tweaks.
28397f59 2884 * mdebugread.c: Whitespace tweaks.
ba5e7e8d 2885 * main.c: Whitespace tweaks.
907d819a 2886 * interps.c: Whitespace tweaks.
9d1ff73f 2887 * infrun.c: Whitespace tweaks.
1f5d0fc9 2888 * infcmd.c: Whitespace tweaks.
d9788fe8 2889 * hpux-thread.c: Whitespace tweaks.
3b951200 2890 * hppa-hpux-tdep.c: Whitespace tweaks.
3a9a986f 2891 * gdbcore.h: Whitespace tweaks.
d3f17821 2892 * gdbcmd.h: Whitespace tweaks.
30867156 2893 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
de6854b5 2894 * corefile.c: Whitespace tweaks.
03717487 2895 * completer.c: Whitespace tweaks.
9b5c5aad
MS
2896 * coff-solib.c: Whitespace tweaks.
2897 * coff-solib.h: Whitespace tweaks.
30fdc99f 2898 * cli-out.c: Whitespace tweaks.
1272ad14 2899 * breakpoint.c: Whitespace tweaks.
4791eb66
MS
2900 * cli/cli-interp.c: Tweak comments, per coding standard.
2901
f30f06b8
AC
29022005-01-13 Andrew Cagney <cagney@gnu.org>
2903
ce43223b
AC
2904 * breakpoint.c (gdb_breakpoint_query): Update, use
2905 catch_exceptions_with_msg.
2906 (do_captured_breakpoint): Add uiout parameter.
2907 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
2908 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
2909 gdb_thread_select. Return MI_CMD_ERROR instead of
2910 MI_CMD_CAUGHT_ERROR.
2911 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
2912 (enum captured_mi_execute_command_actions): Delete
2913 EXECUTE_COMMAND_DISPLAY_ERROR.
2914 (captured_mi_execute_command): Delete code handling
2915 MI_CMD_CAUGHT_ERROR.
2916 (mi_execute_command): Don't check for
2917 EXECUTE_COMMAND_DISPLAY_ERROR.
2918 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
2919 gdb_breakpoint_query.
2920 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
2921 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
2922 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
2923 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
2924 parameter.
2925 * thread.c (thread_command): Update call.
2926 (gdb_thread_select, gdb_list_thread_ids): Update, call
2927 catch_exceptions_with_msg.
2928
f30f06b8
AC
2929 * mi/mi-main.c (mi_execute_command): Use catch_exception,
2930 eliminate call to error_last_message.
2931 (captured_mi_execute_command): Change return type to void.
2932
2a78bfb5
AC
29332005-01-12 Andrew Cagney <cagney@gnu.org>
2934
c1043fc2
AC
2935 * exceptions.c (exception_none): New variable.
2936 * Makefile.in: Update dependencies.
2937 * interps.c: Include "exceptions.h".
2938 (interpreter_exec_cmd, interp_exec): Update to return "struct
2939 exception"
2940 * exceptions.h (no_exception): Declare.
2941 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
2942 * mi/mi-interp.c: Include "exceptions.h".
2943 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
2944 'struct exception".
2945 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
2946 (do_captured_execute_command): Update to use catch_exception.
2947 * interps.h: Include "exceptions.h".
2948 (interp_exec_ftype, interp_exec): Return "struct exception".
2949
2a78bfb5
AC
2950 * exceptions.h (throw_reason): Rename throw_exception.
2951 (enum errors, struct exception): Define.
2952 (catch_exception_ftype): Define.
2953 (catch_exception, throw_exception): Declare.
2954 * exceptions.c (throw_exception): Rewrite.
2955 (throw_reason): New function.
2956 (struct catcher, catcher_state_machine): Replace "reason" with
2957 "exception", delete "gdberrmsg".
2958 (catch_exception): New function.
2959 (catcher_init): Replace "gdberrmsg" parameter with "exception".
2960 (catch_errors, catch_exceptions_with_msg): Re-implement passing
2961 exception to catcher_init.
2962 * utils.c (error_silent, error_stream_1): Use throw_reason.
2963 (internal_verror, quit): Ditto.
2964 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
2965 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
2966 * remote.c (remote_open_1, interrupt_query): Ditto.
2967
8b1ca062
MK
29682005-01-12 Mark Kettenis <kettenis@gnu.org>
2969
fa565c2b
MK
2970 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
2971 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
2972 (i386fbsd_jmp_buf_reg_offset): New variable.
2973 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
2974 functions.
2975 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
2976 * Makefile.in (i386fbsd-tdep.o): Update dependency.
2977 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
2978
82f5c14f
MK
2979 * bsd-uthread.h: New file.
2980 * bsd-uthread.c: New file.
2981 * Makefile.in (bsd_uthread_h): New variable.
2982 (ALLDEPFILES): Add bsd-uthread.c.
2983 (bsd-uthread.o): New dependency.
2984
42a6e6a0
MK
2985 * solib.h Update copyright year.
2986 (struct so_list): Forward declaration.
2987 (solib_read_symbols): New prototype.
2988 * solib.c (solib_read_symbols): New function.
2989 (solib_add): Call solib_read_symbols to read in symbols.
2990 (update_solib_list): Call observer_notify_solib_loaded.
2991
8b1ca062
MK
2992 * i386bsd-nat.c: Update copyright year. Don't include
2993 <sys/param.h> and <sys/user.h>.
2994 (register_u_addr, kernel_u_size): Remove functions.
2995 * config/i386/obsd.mh (NAT_FILE): Remove.
2996 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
2997 * config/i386/nm-obsd.h: Remove file.
2998
60250e8b
AC
29992005-01-12 Andrew Cagney <cagney@gnu.org>
3000
db5f402d
AC
3001 * exceptions.c: Include "gdb_string.h".
3002 (enum catcher_state, struct catcher): Define.
3003 (current_catcher): New global, replaces catch_return;
3004 (catch_return): Delete.
3005 (throw_exception): Use current_catcher->buf;
3006 (catcher_init, catcher_pop, catcher_state_machine): New functions.
3007 (catcher): Delete.
3008 (struct catch_errors_args): Delete.
3009 (do_catch_errors): Delete.
3010 (catch_exceptions): Replace body with call to
3011 catch_exceptions_with_msg.
3012 (catcher): Delete.
3013 (catch_exceptions_with_msg, catch_errors): Re-implement using
3014 catcher_state_machine.
3015
60250e8b
AC
3016 * exceptions.h (enum return_reason, RETURN_MASK)
3017 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
3018 (return_mask, throw_exception, catch_exceptions_ftype)
3019 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
3020 (catch_command_errors_ftype, catch_command_errors): Move to
3021 exceptions.h.
3022 * exceptions.c, exceptions.h: New files.
3023 * top.c: Do not include <setjmp.h>.
3024 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
3025 (throw_exception, catcher, catch_exceptions)
3026 (catch_exceptions_with_msg, struct catch_errors_args)
3027 (do_catch_errors, catch_errors, struct captured_command_args)
3028 (do_captured_command, catch_command_errors): Move to exceptions.c.
3029 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
3030 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
3031 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
3032 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
3033 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
3034 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
3035 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
3036 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
3037 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
3038 * ada-valprint.c, ada-lang.c: Ditto.
3039 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
3040 exceptions.o. Update all dependencies.
3041
ca14ead7
MK
30422005-01-11 Mark Kettenis <kettenis@gnu.org>
3043
eafc7eea
MK
3044 * config/i386/nm-fbsd.h: Update copyright year.
3045 Don't include "config/nm-bsd.h".
3046 (KERNEL_U_SIZE): Remove macro.
3047 (kernel_u_size): Remove prototype.
3048
ca14ead7
MK
3049 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
3050 * config/vax/nm-nbsdaout.h: Remove file.
3051
4a39d934
EZ
30522005-01-10 Elena Zannoni <ezannoni@redhat.com>
3053
3054 * MAINTAINERS: Remove self from sh/sh64 maintainership.
3055
93f0f986
AC
30562005-01-10 Andrew Cagney <cagney@gnu.org>
3057
c4f9e2bf
AC
3058 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
3059 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
3060 maintainer.
3061
6b71dd74
AC
3062 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
3063 changes to CRIS.
3064
93f0f986
AC
3065 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
3066 COMMIT means can approve).
3067
8785ced0
MK
30682005-01-10 Mark Kettenis <kettenis@gnu.org>
3069
2a2de4ce
MK
3070 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
3071 (vax_register_u_offset): Make statuc.
3072 (_initialize_vax_nat): Construct and add target vector.
3073 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
3074 inftarg.o. Add inf-ptrace.o.
3075 * Makefile.in (vax-nat.o): Update dependencies.
3076
8785ced0
MK
3077 * inf-ptrace.h: Update copyright year. Sync comment with
3078 inf-ptrace.c.
3079 (inf_ptrace_trad_target): New prototype.
3080 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
3081 "gdb_assert.h"
3082 (inf_ptrace_target): Add comment.
3083 (inf_ptrace+register_u_offset): New variable.
3084 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
3085 (inf_ptrace_store_register, inf_ptrace_store_registers)
3086 (inf_ptrace_trad_target): New functions.
3087 * Makefile.in (inf-ptrace.o): Update dependencies.
3088
7cb9022a
MK
30892005-01-09 Mark Kettenis <kettenis@gnu.org>
3090
3091 * configure.ac: Provide prerequisite headers when checking
3092 <link.h>, <sys/proc.h> and <sys/user.h>.
3093 * configure: Regenerate.
3094
c534d641
MK
30952005-01-08 Mark Kettenis <kettenis@gnu.org>
3096
3097 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
3098 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
3099
4b48ac22
MK
31002005-01-07 Mark Kettenis <kettenis@gnu.org>
3101
3102 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
3103 Don't include "tm-ia64.h".
3104 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
3105 * config/ia64/tm-ia64.h: Remove. Move contents ...
3106 * ia64-tdep.h: ... here. Update copyright year.
3107
3ace7edb
AC
31082005-01-07 Andrew Cagney <cagney@gnu.org>
3109
bec39cab
AC
3110 * configure.ac: Rename configure.in, require autoconf 2.59.
3111 * configure: Re-generate.
3112
e14ecb8f
AC
3113 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
3114 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
3115 to configdirs.
3116
3ace7edb
AC
3117 * configure.in: Replace configdirs with multiple references to
3118 AC_CONFIG_SUBDIRS.
3119 * configure: Re-generate.
3120
b33e8514
AS
31212005-01-05 Andreas Schwab <schwab@suse.de>
3122
3123 * ia64-tdep.c: Include "osabi.h".
3124 (native_find_global_pointer): Delete.
3125 (ia64_find_global_pointer): Renamed from
3126 generic_elf_find_global_pointer.
3127 (FIND_GLOBAL_POINTER): Delete. Change all users to call
3128 ia64_find_global_pointer instead.
3129 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
3130 to ia64_linux_sigcontext_register_address and
3131 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
3132 (_initialize_ia64_tdep): Call gdbarch_register instead of
3133 deprecated register_gdbarch_init.
3134 (struct gdbarch_tdep): Remove find_global_pointer field and move
3135 to ...
3136 * ia64-tdep.h (struct gdbarch_tdep): ... here.
3137 (ia64_linux_sigcontext_register_address): Remove declaration.
3138 (ia64_linux_getunwind_table): Likewise.
3139 (ia64_linux_write_pc): Likewise.
3140 * ia64-linux-tdep.c: Include "osabi.h".
3141 (ia64_linux_sigcontext_register_address): Make static.
3142 (ia64_linux_write_pc): Likewise.
3143 (ia64_linux_init_abi): New.
3144 (_initialize_ia64_linux_tdep): New.
3145 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
3146 $(osabi_h).
3147
0ea390ed
KB
31482005-01-05 Kevin Buettner <kevinb@redhat.com>
3149
3150 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
3151 functions in ia64-aix-tdep.c.
3152 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
3153 function defined in ia64-aix-tdep.c.
3154 * ia64-aix-tdep.c: Remove file.
3155 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
3156 this list.
3157 * Makefile.in (ia64-aix-tdep.o): Delete.
3158
edefbb7c
AC
31592005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
3160
3161 Committed by Andrew Cagney.
3162 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
3163 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
3164 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
3165 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
3166 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
3167 * aix-thread.c (_initialize_aix_thread): Get rid of the
3168 deprecated_add_show_from_set call.
3169 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
3170 * arm-tdep.c (_initialize_arm_tdep): Ditto.
3171 * command.h (add_setshow_enum_cmd): Add arguments for returning
3172 new list elements.
3173 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
3174 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
3175 add_setshow_enum_cmd.
3176
a260932f
MK
31772005-01-04 Mark Kettenis <kettenis@gnu.org>
3178
34cf1994
MK
3179 * configure.host (ia64-*-aix*): Remove.
3180 * configure.tgt (ia64-*-aix*): Remove.
3181 * config/ia64/aix.mh: Remove file.
3182 * config/ia64/aix.mt: Remove file.
3183 * config/ia64/tm-aix.h: Remove file.
3184 * ia64-aix-nat.c: Remove file.
3185 * Makefile.in (ia64-aix-nat.o): Remove dependency.
3186
a260932f
MK
3187 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
3188 Add back inf-ptrace.o.
3189
5ed102a1
AC
31902005-01-04 Andrew Cagney <cagney@gnu.org>
3191
3192 * version.in: Change format from 6.3.50_2005-01-04-cvs to
3193 6.3.50.20050104-cvs.
3194
3a63c4b7
AS
31952005-01-04 Andreas Schwab <schwab@suse.de>
3196
3197 * breakpoint.c (break_command_1): Always free err_msg before
3198 returning when an exception was caught.
3199
e22b26cb
JB
32002005-01-01 Joel Brobecker <brobecker@gnat.com>
3201
3202 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
3203 in register number for addil instruction.
3204
151c5df6 3205For older changes see ChangeLog-2004.
c906108c
SS
3206\f
3207Local Variables:
3208mode: change-log
3209left-margin: 8
3210fill-column: 74
3211version-control: never
3212End:
This page took 0.885496 seconds and 4 git commands to generate.