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