Expand the gdbarch per-architecture data vector as needed, rather
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2001-06-01 Jim Blandy <jimb@redhat.com>
2
3 Expand the gdbarch per-architecture data vector as needed, rather
4 than requiring that all per-architecture data be registered before
5 the first gdbarch object is allocated.
6 * gdbarch.sh: Changes to effect the following:
7 * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
8 declarations and definitions.
9 (check_gdbarch_data): New function, and declaration.
10 (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
11 zero is good enough.
12 (free_gdbarch_data): Tolerate a null data pointer. Free only
13 those data items gdbarch->data actually has allocated.
14 (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
15 (gdbarch_update_p): No need to call init_gdbarch_data.
16
17 2001-06-01 Kevin Buettner <kevinb@redhat.com>
18
19 * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
20 on types that we wish to recurse on.
21 (slot_alignment_is_next_even): New function.
22 (ia64_push_arguments): Call slot_alignment_is_next_even() to
23 examine the type in order to decide if it's necessary to skip
24 an odd slot.
25
26 2001-06-01 Michael Snyder <msnyder@redhat.com>
27
28 * thread.c (delete_step_resume_breakpoint): New function.
29 Maintain internal consistency of the thread list while deleting
30 a step_resume_breakpoint.
31 * gdbthread.h (delete_step_resume_breakpoint): Export.
32 * breakpoint.c (bpstat_find_step_resume_breakpoint):
33 Make thread-aware: don't return a step_resume_breakpoint
34 for the wrong thread.
35 * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
36 instead of delete_breakpoint_current_contents.
37 (fetch_inferior_event): Ditto.
38 (handle_inferior_event): Call delete_step_resume_breakpoint
39 instead of delete_breakpoint.
40 * infrun.c (handle_inferior_event): After singlestepping over a
41 thread-specific breakpoint, use currently_stepping() to decide
42 whether to step or continue.
43
44 2001-06-01 Jim Blandy <jimb@redhat.com>
45
46 * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
47 these static --- there's no reason other files should use these.
48
49 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
50 Fix memory leak.
51
52 * partial-stab.h: New complaint: function_outside_compilation_unit.
53 (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
54 complain, and don't try to set pst's start address.
55
56 2001-05-31 Kevin Buettner <kevinb@redhat.com>
57
58 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
59 match the location at which the kernel is placing the sigcontext
60 struct.
61
62 * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
63 (refine_prologue_limit): New function.
64 (examine_prologue): Further limit number of instructions
65 scanned by calling refine_prologue_limit(). Revise way in
66 which the end of prologue address is computed for frameless
67 functions.
68
69 2001-05-29 Christopher Faylor <cgf@redhat.com>
70
71 * partial-stab.h: Revert previous patch.
72
73 2001-05-29 Christopher Faylor <cgf@redhat.com>
74
75 * partial-stab.h: Consistently guard against pst being NULL.
76
77 2001-05-29 Alexandre Oliva <aoliva@redhat.com>
78
79 * symfile.c (compare_psymbols, compare_symbols): Declare using
80 PTR, as in the definition.
81 * minsyms.c (compare_minimal_symbols): Likewise.
82 * coffread.c (find_targ_sec): Likewise.
83 * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
84 * mipsread.c (alphacoff_locate_sections): Likewise.
85 * mdebugread.c (compare_blocks): Likewise.
86
87 2001-05-25 Nick Duffek <nsd@redhat.com>
88
89 * solib.c (update_solib_list): Move target_resize_to_sections()
90 into solib_map_sections() loop.
91 (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
92 bfd_get_arch_size() fails.
93
94 2001-05-25 Nick Duffek <nsd@redhat.com>
95
96 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
97 solib-osf.o.
98 * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
99 with solib-osf.o and solib.o.
100 * config/alpha/alpha-osf2.mh: Likewise.
101 * config/alpha/alpha-osf3.mh: Likewise.
102 * solib-osf.c: New file, renamed and largely rewritten from
103 osfsolib.c.
104
105 2001-05-25 Michael Snyder <msnyder@redhat.com>
106
107 * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
108 to consume the SIGSTOP generated by PTRACE_ATTACH.
109 (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
110 try again to get the SIGSTOP event.
111 (lin_lwp_wait): Resume all threads when ignoring a signal.
112 This will insure that newly attached threads get resumed.
113 * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
114 * remote.c (remote_write_bytes): Update 'p' packet pointer.
115
116 2001-05-25 Jim Blandy <jimb@redhat.com>
117
118 * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
119 VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
120 useful value, then we should fix that instead.
121
122 2001-05-24 Nick Duffek <nsd@redhat.com>
123
124 * solist.h (struct so_list): Document the requirement that
125 current_sos initialize some fields to 0.
126
127 2001-05-24 Mark Kettenis <kettenis@gnu.org>
128
129 * gnu-nat.c: Include <ctype.h>.
130 (gnu_pid_to_exec_file): Add PID parameter.
131 (set_sig_thread_cmd): Use PIDGET on return value from
132 thread_id_to_pid.
133 (proc_string): Use MERGEPID to construct argument to
134 pid_to_thread_id.
135
136 2001-05-22 Kevin Buettner <kevinb@redhat.com>
137
138 * breakpoint.c (breakpoint_address_is_meaningful): New function.
139 (check_duplicates): Don't compare non-meaningful addresses.
140
141 2001-05-22 Michael Snyder <msnyder@redhat.com>
142
143 * thread-db.c: Allow for defunct zombie threads.
144 (attach_thread): Do not attempt to attach zombie thread.
145 (thread_db_thread_alive): Return false for defunct zombie thread.
146 (find_new_threads_callback): Don't add defunct zombie thread to list.
147
148 2001-05-22 Jim Blandy <jimb@redhat.com>
149
150 Add support for the GNU V3 C++ ABI.
151 (Includes changes by Dan Berlin.)
152
153 * gnu-v3-abi.c: New file.
154 * minsyms.c: #include "value.h" and "cp-abi.h".
155 (install_minimal_symbols): Check the minimal symbol table for
156 symbols that look mangled in the V3 style, and select the V3 ABI
157 if we find any.
158 * Makefile.in (SFILES): Add gnu-v3-abi.c.
159 (COMMON_OBS): Add gnu-v3-abi.o.
160 (gnu-v3-abi.o): Add new rule.
161 (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
162
163 2001-05-21 Jim Blandy <jimb@redhat.com>
164
165 * values.c (value_primitive_field): If we're extracting a base
166 class, then the type of the result should be the base class being
167 extracted, not the type of which it is a base class.
168
169 * value.h (struct value): Doc fix, and rearrange members to place
170 them near their explanations.
171
172 2001-05-21 Michael Snyder <msnyder@redhat.com>
173
174 * remote.c (remote_async_wait): Added new variable fieldsize.
175 Add fieldsize (return value of hex2bin) to string pointer p.
176
177 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
178
179 * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
180 (m68hc11_analyze_instruction): Update the pc correctly.
181 (m68hc11_guess_from_prologue): Take into account the stack correction
182 for the saving address.
183
184 2001-05-07 Daniel Berlin <dan@cgsoftware.com>
185
186 Changes by Jim Ingham:
187
188 * values.c (value_change_enclosing_type): New function. If the
189 new enclosing type is larger than the old one, we need to allocate
190 more space.
191 * value.h: Add value_change_enclosing_type prototype.
192 * valops.c (value_cast): Use it.
193 (value_assign): Use it.
194 (value_addr): Use it.
195 (value_ind): Use it.
196 (value_full_object): Use it.
197
198 2001-05-07 Daniel Berlin <dan@cgsoftware.com>
199
200 * values.c (value_static_field): Handle static fields that have a
201 constant value.
202
203 2001-05-17 Michael Snyder <msnyder@redhat.com>
204
205 * blockframe.c (create_new_frame): Zero all the fields via memset,
206 rather than zeroing them one by one.
207
208 2001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
209
210 * top.c (user_args): Remove unused declaration.
211
212 2001-05-16 Michael Snyder <msnyder@redhat.com>
213
214 * infcmd.c (do_registers_info): Move alloca outside of loop.
215
216 2001-05-15 John S Kallal <jskallal@home.com>
217
218 * remote.c (remote_wait): Added new variable fieldsize.
219 Add fieldsize (return value of hex2bin) to string pointer p.
220
221 2001-05-15 Mark Kettenis <kettenis@gnu.org>
222
223 * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
224 info.bfd_arch_info.
225
226 2001-05-14 Kevin Buettner <kevinb@redhat.com>
227
228 * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
229 Adjust format strings for printing LWPs to account for the fact
230 that the type returned by GET_LWP() is now a long instead of an
231 int.
232
233 2001-05-14 Kevin Buettner <kevinb@redhat.com>
234
235 * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
236 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
237 (ptid_get_tid, ptid_equal): New function declarations.
238 * infrun.c (null_ptid, minus_one_ptid): New variables.
239 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
240 (ptid_get_tid, ptid_equal): New functions.
241 (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
242 inferior_ptid, and target_last_wait_ptid.
243
244 * defs.h (ptid_t): Redefine to be a struct rather than an int.
245 (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
246 (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
247 new ptid accessors and constructor.
248
249 * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
250 MKLID, MKTID, ISTID): Provide new definitions for these macros.
251 The old macros are retained, but disabled via #if 0 in order
252 to aid in future restructuring. See FIXME.
253
254 * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
255 * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
256 * infptrace.c (PIDGET, TIDGET): Likewise.
257 * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
258 * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
259 * proc-service.c (MERGEPID): Likewise.
260 * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
261 * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
262 * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
263 * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
264 Likewise.
265 * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
266 Likewise.
267
268 * lin-lwp.c (THREAD_FLAG): Delete macro definition.
269 (GET_LWP): Redefine in terms of ptid_get_lwp().
270 (GET_PID): Redefine in terms of ptid_get_pid().
271 (is_lwp): Redefine without the need for THREAD_FLAG.
272 (BUILD_LWP): Redefine in terms of ptid_build().
273 * lin-thread.c (THREAD_FLAG): Delete macro definition.
274 (GET_LWP): Redefine in terms of ptid_get_lwp().
275 (GET_PID): Redefine in terms of ptid_get_pid().
276 (GET_THREAD): Redefine in terms of ptid_get_tid().
277 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
278 (is_lwp, is_thread): Redefine.
279 (linux_child_wait, check_all_signal_numbers)
280 (linuxthreads_discard_global_state, attach_thread): Declare these
281 functions to squash warnings about missing declarations.
282 * sol-thread.c (THREAD_FLAG): Delete macro definition.
283 (GET_PID): Redefine in terms of ptid_get_pid().
284 (GET_LWP): Redefine in terms of ptid_get_lwp().
285 (GET_THREAD): Redefine in terms of ptid_get_tid().
286 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
287 (is_lwp, is_thread): Redefine.
288 * thread-db.c (THREAD_FLAG): Delete macro definition.
289 (GET_PID): Redefine in terms of ptid_get_pid().
290 (GET_LWP): Redefine in terms of ptid_get_lwp().
291 (GET_THREAD): Redefine in terms of ptid_get_tid().
292 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
293 (is_lwp, is_thread): Redefine.
294
295 * corelow.c (add_to_thread_list, get_core_register_section):
296 Eliminate hacks needed to prevent regressions when inferior_ptid
297 wasn't wide enough to hold the core file thread id in the pid
298 component of inferior_ptid.
299
300 2001-05-14 Michael Snyder <msnyder@redhat.com>
301
302 * remote.c (hex2bin): Make first argument const.
303 Require explicit count, don't accept null-terminated str.
304 (remote_resume, remote_async_resume): White space fix-up.
305 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
306
307 2001-05-13 Mark Kettenis <kettenis@gnu.org>
308
309 * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
310 basename (NAME). The FreeBSD basename returns a pointer to a
311 static buffer, even if it's simply returning a string identical to
312 its argument.
313 (lookup_partial_symtab): Likewise.
314
315 2001-05-14 Michael Snyder <msnyder@redhat.com>
316
317 * solib.c, solib.h: Add comment for function no_shared_libraries.
318
319 2001-05-14 Kevin Buettner <kevinb@redhat.com>
320
321 * solib.h (no_shared_libraries): Make declaration match definition
322 in solib.c.
323
324 2001-05-14 Andrew Cagney <ac131313@redhat.com>
325
326 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
327 * solib.h (no_shared_libraries): Declare.
328
329 2001-05-12 Andrew Cagney <ac131313@redhat.com>
330
331 * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
332 (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
333 user specified values when available.
334 * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
335 architecture from info.bfd_arch_info.
336 * gdbarch.c, gdbarch.h: Regenerate.
337
338 2001-05-12 Fernando Nasser <fnasser@redhat.com>
339
340 * remote-e7000.c (e7000_open): Check for bad baud rate.
341 * remote-st.c (st2000_open): Ditto.
342
343 2001-05-11 Jim Blandy <jimb@redhat.com>
344
345 * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
346 and ui_out_tuple_end instead of ui_out_list_begin and
347 ui_out_list_end.
348
349 * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
350 dependencies. Reorder dependencies to match #includes in file,
351 for easier verification.
352
353 Fri May 11 13:32:50 2001 Andrew Cagney <cagney@b1.cygnus.com>
354
355 * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
356 make_cleanup_ui_out_list_end with ui_out_tuple_begin,
357 ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
358 * cli/cli-setshow.c: Ditto.
359 * printcmd.c: Ditto.
360 * stack.c: Ditto.
361
362 * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
363 * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
364 (ui_out_tuple_begin): New function.
365 (ui_out_tuple_end): New function.
366 (ui_out_tuple_begin_end): New function.
367 (make_cleanup_ui_out_list_begin_end): Replace
368 make_cleanup_ui_out_list_end function.
369 * ui-out.h (ui_out_list_begin): Update declaration.
370 (make_cleanup_ui_out_list_begin_end): Replace
371 make_cleanup_ui_out_list_end declaration.
372 (ui_out_tuple_begin, ui_out_tuple_end): Declare.
373 (ui_out_tuple_begin_end): Declare.
374
375 2001-05-11 Jim Blandy <jimb@redhat.com>
376
377 * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
378
379 2001-05-11 Andrew Cagney <ac131313@redhat.com>
380
381 From 2001-03-26 Rodney Brown <RodneyBrown@mynd.com>
382 * config/pa/tm-hppa.h: Remove trigraph.
383 * hp-symtab-read.c (hpread_type_translate): Provide return value.
384 (hpread_read_struct_type): Remove trigraph. Add parameter in
385 `warning'.
386 (hpread_read_array_type): Provide return value.
387 (hpread_type_lookup): Avoid ambiguous `else'. Provide return
388 value.
389 * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
390 trigraph.
391
392 2001-05-11 Jim Blandy <jimb@redhat.com>
393
394 * mips-tdep.c (mips_store_return_value,
395 mips_extract_return_value): Pass arguments to
396 return_value_location in the proper order.
397
398 2001-05-11 Andrew Cagney <ac131313@redhat.com>
399
400 * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
401 (version.c): Depends on file ``version.in''. Extract version
402 number from ``version.in'' file.
403 (clean mostlyclean): Update.
404 * version.in: New file.
405 * NEWS: Update.
406
407 2001-05-11 Kevin Buettner <kevinb@redhat.com>
408
409 * breakpoint.c (set_raw_breakpoint): Add new parameter
410 representing the breakpoint's type. Adjust all callers.
411 (create_longjmp_breakpoint, create_temp_exception_breakpoint)
412 (create_thread_event_breakpoint): Don't test for zero return
413 value from set_raw_breakpoint(). It can never be zero.
414 (create_exception_catchpoint, watch_command_1): Move logic
415 which calculates the breakpoint type prior to the call to
416 set_raw_breakpoint().
417
418 2001-05-11 Fernando Nasser <fnasser@redhat.com>
419
420 * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
421 (hardwire_setbaudrate): Set errno to EINVAL and return with error
422 if the conversion of the baud rate to code fails.
423
424 2001-05-10 Andrew Cagney <ac131313@redhat.com>
425
426 * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
427 * ui-out.c (struct ui_out_end_cleanup_data): Define.
428 (do_cleanup_end): New function. Replace do_list_end.
429 (make_cleanup_ui_out_end): New function.
430 (make_cleanup_ui_out_begin_end): New function.
431 (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
432
433 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
434
435 * MAINTAINERS: Declare xcoffread.c open to all maintainers,
436 and make Kevin Buettner (kevinb@redhat.com) the reference person.
437
438 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
439
440 * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
441
442 2001-05-10 Fernando Nasser <fnasser@redhat.com>
443
444 * MAINTAINERS: Add testsuite subdirectory co-maintainers.
445
446 Thu May 10 16:26:47 2001 Andrew Cagney <cagney@b1.cygnus.com>
447
448 * Makefile.in (mi-main.o): Compile with -Werror.
449
450 2001-05-10 Michael Snyder <msnyder@redhat.com>
451
452 * remote.c (remote_open_1): Call no_shared_libraries, so that
453 symbols for shared libraries can be reloaded per session.
454 (remote_async_open_1): Ditto.
455 * remote.c (bin2hex, hex2bin): New functions. Factor out these
456 two conversions which are coded for repeatedly in this module.
457 (remote_threads_extra_info, remote_wait, remote_async_wait,
458 store_register_using_P, remote_store_registers, remote_write_bytes,
459 remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
460 of coding the conversions inline.
461 (fromhex): Not exported, change from extern to static.
462
463 2001-05-10 Andrew Cagney <ac131313@redhat.com>
464
465 * arch-utils.c (initialize_current_architecture): Delete obsolete
466 ``info architecture'' command.
467 (info_architecture): Delete function.
468
469 2001-05-10 Andrew Cagney <ac131313@redhat.com>
470
471 * TODO (5.1, 5.2): Update.
472
473 2001-05-09 Andrew Cagney <ac131313@redhat.com>
474
475 * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
476 stuff.
477
478 2001-05-10 Keith Seitz <keiths@cygnus.com>
479
480 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
481 and gdbtk-stack.o.
482 (SUBDIR_GDBTK_SRCS): Ditto for the sources.
483 (gdbtk-bp.o): New rule.
484 (gdbtk-register.o): New rule.
485 (gdbtk-stack.o): New rule.
486 (gdbtk-cmds.o): Update dependencies.
487 (gdbtk.o): Ditto.
488 (gdbtk-hooks.o): Ditto.
489 (gdbtk-varobj.o): Ditto.
490
491 2001-05-10 Fernando Nasser <fnasser@redhat.com>
492
493 * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
494 variables, not just unregister them.
495
496 2001-05-10 Fernando Nasser <fnasser@redhat.com>
497
498 * varobj.c (c_number_of_children): Check for target type of void*,
499 not the target type name. Allow dereferencing char*.
500
501 2001-05-10 Fernando Nasser <fnasser@redhat.com>
502
503 * symfile.c (symbol_file_add_main_1): New static function.
504 Passes the flags arguments to symbol_file_add() and takes care
505 of any necessary reinitializations.
506 (symbol_file_command): Call symbol_file_add_main_1() instead of
507 symbol_file_add().
508 (symbol_file_add_main): Ditto.
509
510 2001-05-09 Kevin Buettner <kevinb@redhat.com>
511
512 * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
513 string change in 2001-05-03 changes.
514 (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
515 changes.
516
517 2001-05-09 Kevin Buettner <kevinb@redhat.com>
518
519 * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
520 component from inferior_ptid.
521 (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
522 ptid.
523
524 2001-05-09 Elena Zannoni <ezannoni@redhat.com>
525
526 * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
527 conditional for help with connections through parallel ports,
528 given that the actual code for downloading through a parallel port
529 is not conditionalized.
530
531 * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
532 unmaintaned, and probably on its way to obsolescence.
533
534 2001-05-09 Mark Kettenis <kettenis@gnu.org>
535
536 * i386-tdep.c (i386_frame_saved_pc): New function.
537 * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
538 i386_frame_saved_pc.
539 (i386_frame_saved_pc): New prototype.
540
541 * i386-tdep.c (i386_register_virtual_type): New function.
542 (i386_register_convertible): New function.
543 * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
544 of i386_register_virtual_type.
545 (REGISTER_CONVERTIBLE): Redefine in terms of
546 i386_register_convertible.
547 (i386_register_virtual_type, i386_register_convertible): New
548 prototypes.
549
550 2001-05-08 Jim Blandy <jimb@redhat.com>
551
552 * Makefile.in (mn10300-tdep.o): New rule.
553
554 * Makefile.in (gdb_string_h): Define. Use it throughout.
555 Some rules were already using this, even though it isn't defined.
556
557 * Makefile.in (obstack_h, target_h): Define; these are already
558 used elsewhere, but have been expanding to the empty string.
559 (memattr_h): Define; needed by target_h.
560
561 * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
562 static. (This was accidentally omitted from the earlier patch.)
563
564 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
565 (mn10300_gdbarch_init): Register it as the architecture's
566 dwarf2_reg_to_regnum method.
567
568 Correct and expand handling of `movm' instruction, and register
569 saves in general.
570 * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
571 MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
572 (enum movm_register_bits): New enum.
573 * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
574 bits, not hex literals. Handle the `other', `exreg0', and
575 `exother' bits. Correct handling of `exreg1': it saves r4, r5,
576 r6, and r7, not r2, r3, r4, and r5.
577 (saved_regs_size): New function.
578 (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
579 of computing the same thing inline, incorrectly.
580
581 * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
582 dummy_breakpoint_offset; it's zero.
583
584 * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
585 stuff out into mn10300_pop_frame_regular, and use
586 generic_pop_current_frame. This lets us share code, and also
587 makes this function's prototype match that expected by gdbarch.
588 Make this function static.
589 (mn10300_pop_frame_regular): New function.
590 (mn10300_gdbarch_init): Register mn10300_pop_frame as the
591 gdbarch's pop_frame method.
592 * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
593 (mn10300_pop_frame): Delete declaration.
594
595 * mn10300-tdep.c (mn10300_saved_pc_after_call,
596 mn10300_extract_return_value,
597 mn10300_extract_struct_value_address, mn10300_store_return_value,
598 mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
599 mn10300_frame_chain, mn10300_skip_prologue,
600 mn10300_push_arguments, mn10300_push_return_address,
601 mn10300_store_struct_return, mn10300_frame_saved_pc,
602 mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
603 Make these functions static; they should only be visible to the
604 outside world as gdbarch methods.
605
606 * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
607 unused declaration.
608
609 * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
610 in some rational order.
611
612 * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
613 generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
614
615 Use gdbarch for most target parameters for the MN10300, rather
616 than the tm-*.h file.
617 * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
618 REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
619 FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
620 SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
621 FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
622 EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
623 STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
624 FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
625 FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
626 CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
627 CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
628 TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
629 SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
630 REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
631 Delete definitions. We register gdbarch methods for these now.
632 (struct frame_info, struct type, struct value): Delete forward
633 declarations of these types; they're no longer necessary, since we
634 don't have function declarations here any more.
635 * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
636 some default gdbarch methods.
637 (mn10300_store_struct_return): Return void, as expected by
638 gdbarch.
639 (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
640 as expected by gdbarch.
641 (mn10300_frame_init_saved_regs): Provide dummy definition for
642 this, as required by gdbarch.
643 (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
644 by gdbarch. Register gdbarch methods or values for all the stuff
645 removed from tm-10300.h, listed above.
646
647 2001-05-08 Andrew Cagney <ac131313@redhat.com>
648
649 * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
650 cli_list_end.
651 (cli_ui_out_impl): Update.
652
653 * ui-out.c (default_begin, default_end): Replace
654 default_list_begin and default_list_end.
655 (default_ui_out_impl): Update.
656 (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
657 (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
658 ui_out_list_end.
659 (ui_out_list_begin, ui_out_list_end): New. Compatibility
660 functions.
661 (struct ui_out_level): Add field type.
662 (push_level, pop_level): Update. Add type parameter.
663
664 * ui-out.h (enum ui_out_type): Declare.
665 (ui_out_begin, ui_out_end): Declare.
666 (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
667 and list_end_ftype.
668 (struct ui_out_impl): Update.
669
670 2001-05-07 Andrew Cagney <ac131313@redhat.com>
671
672 * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
673 ``list_flag'' to ``depth''.
674 * ui-out.c (default_list_begin, default_list_end): Update.
675 (uo_list_begin, uo_list_end): Update.
676 (MAX_UI_OUT_LEVELS): Define.
677 (struct ui_out_level): Define.
678 (top-level): Include "gdb_assert.h".
679 (struct ui_out): Add fields ``level'' and ``levels''. Delete
680 fields ``list_flag'' and ``field_count''.
681 (ui_out_new): Update.
682 (verify_field_proper_position): Update.
683 (current_level, push_level, pop_level): New functions.
684 (ui_out_list_begin): Use push_level.
685 (ui_out_list_end): Use pop_level.
686 (ui_out_field_int): Use current_level.
687 (ui_out_field_skip): Ditto.
688 (ui_out_field_fmt): Ditto.
689
690 2001-05-08 Michael Snyder <msnyder@redhat.com>
691
692 * language.c (longest_local_hex_string_custom): Strlen test is
693 inverted -- reverse the sense of the test.
694
695 2001-05-08 Mark Kettenis <kettenis@gnu.org>
696
697 * config/i386/tm-i386v.h (struct frame_info, struct
698 frame_saved_regs): Remove declarations.
699 (i386_frame_num_args): Remove prototype.
700
701 2001-05-07 Andrew Cagney <ac131313@redhat.com>
702
703 * MAINTAINERS: I'm no longer actively maintaining the mn10300
704 target.
705
706 2001-05-04 Andrew Cagney <ac131313@redhat.com>
707
708 * main.c (captured_main): Delete #ifndef _WIN32 conditional for
709 WinGDB.
710
711 2001-05-06 Kevin Buettner <kevinb@redhat.com>
712
713 * inferior.h (save_inferior_ptid): Declare.
714 * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
715
716 * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
717 Delete these functions.
718 * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
719 * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
720 * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
721 Likewise.
722 * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
723 Likewise.
724 * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
725 * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
726
727 * somsolib.c (reset_inferior_ptid): Delete.
728 (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
729 build the cleanup struct.
730
731 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
732 a cleanup to save/restore inferior_ptid.
733
734 2001-05-06 Mark Kettenis <kettenis@gnu.org>
735
736 Implement attach/detach for multi-threaded programs on Linux.
737 * thread-db.c (keep_thread_db): Adjust comment.
738 (deactivate_target): Removed.
739 (thread_db_new_objfile): Don't call deactivate_target. Implement
740 guts of deactivate_target inline instead.
741 (attach_thread): Call ATTACH_LWP unconditionally if defined.
742 (thread_db_attach): New function.
743 (thread_db_detach): Don't call deactivate_target. Do necessary
744 cleanup inline instead. Set inferior_ptid to LWP corresponding to
745 the current user-level thread.
746 (thread_db_kill): Set inferior_ptid to LWP corresponding to the
747 current user-level thread.
748 (thread_db_create_inferior): Deactivate target vector if
749 KEEP_THREAD_DB is zero.
750 (thread_db_mourn_inferior): Don't call deactivate_target. Do
751 necessary cleanup inline instead.
752 (init_thread_db_ops): Initialize to_attach field to
753 thread_db_attach.
754 * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
755 (stop_wait_callback): Add prototype.
756 (init_lwp_list): Add comment about when to re-initialize the LWP
757 list.
758 (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
759 Avoid adding publicates to the LWP list. Only mark an LWP as
760 signalled if it doesn't correspond to a cloned process.
761 (lin_lwp_attach): Add initial process to the LWP list. Make sure
762 it's stopped and fake a SIGSTOP.
763 (detach_callback): New function.
764 (lin_lwp_detach): Implement.
765 (lin_lwp_create_inferior): Don't re-initialize LWP list here.
766 Call child_ops.to_create_inferior directly instead of via
767 target_beneath local.
768 (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
769 directly instead of via target_beneath local.
770
771 2001-05-06 Eli Zaretskii <eliz@is.elta.co.il>
772
773 * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
774 instead of non-portable search for `/'. Use FILENAME_CMP instead
775 of STREQ, to account for case-insensitive filesystems.
776 (top-level): #include "filenames.h".
777
778 2001-05-05 Jim Blandy <jimb@redhat.com>
779
780 * breakpoint.c (check_duplicates): Use the breakpoint's type, not
781 its address, to decide whether it's a watchpoint or not. Zero
782 is a valid code address.
783 (update_breakpoints_after_exec): Admonishing comments.
784 * breakpoint.h (struct breakpoint): Doc fixes.
785
786 * breakpoint.c (check_duplicates): Take a breakpoint object as an
787 argument, rather than an address and section. All callers changed.
788
789 2001-05-03 Kevin Buettner <kevinb@redhat.com>
790
791 * defs.h (ptid_t): New typedef.
792 (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
793
794 * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
795 blockframe.c, breakpoint.c, breakpoint.h,
796 config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
797 config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
798 config/mips/nm-irix4.h, config/mips/nm-irix5.h,
799 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
800 config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
801 corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
802 dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
803 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
804 hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
805 i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
806 infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
807 inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
808 linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
809 m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
810 mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
811 ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
812 regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
813 remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
814 remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
815 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
816 remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
817 solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
818 standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
819 target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
820 uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
821 (inferior_pid): Rename to inferior_ptid everywhere - even in
822 comments and obsolete ports. In cases where this variable
823 really is supposed to be used as a process id, use PIDGET() to
824 extract the process id component from inferior_ptid. The
825 other cases, either involving other variables whose types had
826 to be changed or functions whose signatures had to changed
827 are listed separately below.
828
829 * arm-linux-nat.c (get_thread_id): Change type of argument
830 representing a combined process/thread id from ``int'' to
831 ``ptid_t''. Also change parameter name to ptid.
832 * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
833 * corelow.c (core_file_thread_alive): Likewise.
834 * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
835 * defs.h (*target_wait_hook): Likewise.
836 * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
837 (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
838 * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
839 (gnu_resume): Likewise.
840 * go32-nat.c (go32_wait, go32_resume): Likewise.
841 * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
842 * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
843 * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
844 (hppa_pid_or_tid_to_str, child_post_startup_inferior)
845 (child_thread_alive): Likewise.
846 * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
847 (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
848 * i386-linux-nat.c (child_resume): Likewise.
849 * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
850 (store_debug_register, fetch_debug_register_pair)
851 (store_debug_register_pair, ia64_linux_insert_watchpoint)
852 (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
853 Likewise.
854 * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
855 * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
856 (generic_target_write_pc, ptrace_wait, child_resume)
857 (get_last_target_status): Likewise.
858 * infptrace.c (ptrace_wait, child_resume): Likewise.
859 * inftarg.c (child_wait, child_post_wait, child_thread_live)
860 (child_pid_to_str): Likewise.
861 * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
862 (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
863 * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
864 (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
865 (lin_lwp_pid_to_str): Likewise.
866 * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
867 (thread_db_resume, thread_db_wait): Likewise.
868 * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
869 (linuxthreads_resume, linuxthreads_wait): Likewise.
870 * lynx-nat.c (child_wait, child_thread_alive, child_resume)
871 (child_pid_to_str): Likewise.
872 * m3-nat.c (mach_really_wait, m3_resume): Likewise.
873 * mac-nat.c (child_wait, child_resume): Likewise.
874 * mips-tdep.c (mips_read_pc): Likewise.
875 * monitor.c (monitor_wait, monitor_resume): Likewise.
876 * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
877 * ppc-bdm.c (bdm_ppc_wait): Likewise.
878 * procfs.c (do_attach, procfs_wait, procfs_resume)
879 (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
880 (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
881 (procfs_find_LDT_entry): Likewise.
882 * regcache.c (read_register_pid, read_signed_register_pid)
883 (write_register_pid, generic_target_read_pc, read_pc_pid)
884 (generic_target_write_pc, write_pc_pid): Likewise.
885 * regcache.h (read_register_pid, read_signed_register_pid)
886 (write_register_pid): Likewise.
887 * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
888 * remote-array.c (array_wait, array_resume): Likewise.
889 * remote-bug.c (bug_wait, bug_resume): Likewise.
890 * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
891 * remote-eb.c (eb_wait, eb_resume): Likewise.
892 * remote-es.c (es1800_wait, es1800_resume): Likewise.
893 * remote-mips.c (mips_wait, mips_resume): Likewise.
894 * remote-mm.c (mm_wait, mm_resume): Likewise.
895 * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
896 * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
897 * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
898 * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
899 * remote-sds.c (sds_wait, sds_resume): Likewise.
900 * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
901 * remote-st.c (st2000_wait, st2000_resume): Likewise.
902 * remote-udi.c (udi_wait, udi_resume): Likewise.
903 * remote-vx.c (vx_wait, vx_resume): Likewise.
904 * remote.c (remote_current_thread, remote_resume, remote_wait)
905 (remote_async_resume, remote_async_wait, remote_cisco_wait)
906 (remote_thread_alive): Likewise.
907 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
908 (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
909 (solaris_pid_to_str): Likewise.
910 * symm-nat.c (child_wait, child_resume): Likewise.
911 * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
912 (debug_to_notice_signals, debug_to_thread_alive)
913 (normal_target_post_startup_inferior, normal_pid_to_str)
914 (debug_to_post_startup_inferior): Likewise.
915 * target.h (to_resume, to_wait, to_post_wait)
916 (to_post_startup_inferior, to_notice_signals, to_thread_alive)
917 (to_pid_to_str [all in struct target_ops]): Likewise.
918 (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
919 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
920 (attach_thread, detach_thread, thread_db_resume, check_event)
921 (thread_db_post_startup_inferior, thread_db_thread_alive)
922 (thread_db_pid_to_str): Likewise.
923 * thread.c (add_thread, delete_thread, find_thread_pid)
924 (pid_to_thread_id, in_thread_list, load_infrun_state)
925 (save_infrun_state, switch_to_thread, restore_current_thread)
926 (make_cleanup_restore_current_thread): Likewise.
927 * top.c (target_wait_hook): Likewise.
928 * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
929 (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
930 (uw_thread_pid_to_str): Likewise.
931 * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
932 * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
933 (cywin_pid_to_str): Likewise.
934 * wince.c (child_wait, child_resume, win32_child_thread_alive):
935 Likewise.
936 * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
937 * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
938 * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
939 * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
940 * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
941 * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
942 (procfs_set_watchpoint): Likewise.
943 * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
944 * config/i386/nm-ptx4.h (child_wait): Likewise.
945 * config/i386/nm-symmetry.h (child_wait): Likewise.
946 * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
947 * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
948 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
949 (lin_lwp_attach_lwp): Likewise.
950 * config/mips/nm-irix4.h, config/mips/nm-irix5.h
951 (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
952 * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
953 (hppa_pid_or_tid_to_str): Likewise.
954 * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
955 * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
956 * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
957 (procfs_set_watchpoint): Likewise.
958
959 * gdbthread.h (thread_id_to_pid): Change return type which
960 represents a combined process/thread id from ``int'' to
961 ``ptid_t''.
962 * gnu-nat.c (gnu_wait): Likewise.
963 * go32-nat.c (go32_wait): Likewise.
964 * hpux-thread.c (hpux_thread_wait): Likewise.
965 * inferior.h (procfs_first_available): Likewise.
966 * inftarg.c (child_wait): Likewise.
967 * infttrace.c (ptrace_wait): Likewise.
968 * lin-lwp.c (lin_lwp_wait): Likewise.
969 * lin-thread.c (thread_db_wait): Likewise.
970 * linux-thread.c (linuxthreads_wait): Likewise.
971 * lynx-nat.c (child_wait): Likewise.
972 * m3-nat.c (mach_really_wait): Likewise.
973 * mac-nat.c (child_wait): Likewise.
974 * monitor.c (monitor_wait): Likewise.
975 * ppc-bdm.c (bdm_ppc_wait): Likewise.
976 * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
977 * remote-adapt.c (adapt_wait): Likewise.
978 * remote-array.c (array_wait): Likewise.
979 * remote-bug.c (bug_wait): Likewise.
980 * remote-e7000.c (e7000_wait): Likewise.
981 * remote-eb.c (eb_wait): Likewise.
982 * remote-es.c (es1800_wait): Likewise.
983 * remote-mips.c (mips_wait): Likewise.
984 * remote-mm.c (mm_wait): Likewise.
985 * remote-nindy.c (nindy_wait): Likewise.
986 * remote-os9k (rombug_wait): Likewise.
987 * remote-rdi.c (arm_rdi_wait): Likewise.
988 * remote-rdp.c (remote_rdp_wait): Likewise.
989 * remote-sds.c (sds_wait): Likewise.
990 * remote-sim.c (gdbsim_wait): Likewise.
991 * remote-st.c (st2000_wait): Likewise.
992 * remote-udi.c (udi_wait): Likewise.
993 * remote-vx.c (vx_wait): Likewise.
994 * remote.c (remote_wait, remote_async_wait, remote_current_thread)
995 (remote_cisco_wait): Likewise.
996 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
997 Likewise.
998 * symm-nat.c (child_wait): Likewise.
999 * target.c (debug_to_wait): Likewise.
1000 * target.h (to_wait [in struct target_ops]): Likewise.
1001 * thread.c (thread_id_to_pid): Likewise.
1002 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
1003 Likewise.
1004 * top.c (*target_wait_hook): Likewise.
1005 * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
1006 * v850ice.c (v850ice_wait): Likewise.
1007 * win32-nat.c (child_wait): Likewise.
1008 * wince.c (child_wait): Likewise.
1009 * config/nm-lynx.h (child_wait): Likewise.
1010 * config/i386/nm-ptx4.h (child_wait): Likewise.
1011 * config/i386/nm-symmetry.h (child_wait): Likewise.
1012
1013 * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
1014 to wait_ptid and change its type from ``int'' to ``ptid_t''.
1015 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
1016 but rename saved_inferior_pid to saved_inferior_ptid.
1017 * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
1018 save_pid to save_ptid.
1019 * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
1020 * hppah-nat.c (child_pid_to_exec): Likewise, but rename
1021 saved_inferior_pid to saved_inferior_ptid.
1022 * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
1023 * infrun.c (previous_inferior_pid [static global]): Likewise,
1024 but rename to previous_inferior_ptid.
1025 (resume): Likewise, but rename resume_pid to resume_ptid.
1026 (struct execution_control_state): Likewise, but rename
1027 pid to ptid, saved_inferior_pid to saved_inferior_ptid,
1028 and waiton_pid to waiton_ptid.
1029 (target_last_wait_pid): Likewise, but rename to
1030 target_last_wait_ptid.
1031 * infttrace.c (saved_real_pid): Likewise, but rename to
1032 saved_real_ptid.
1033 (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
1034 to saved_inferior_ptid.
1035 * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
1036 (trap_ptid): Likewise, but renamed from trap_pid.
1037 * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
1038 to gdb_ptid.
1039 * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
1040 (thread_db_wait): Likewise, but rename ret_pid to retptid.
1041 * procfs.c (procfs_wait): Likewise, for retval whose name
1042 doesn't change. Also, ``temp'' becomes two separate variables,
1043 one named temp_tid (an int) and the other temp_ptid.
1044 (procfs_notice_thread): Likewise (type change) for gdb_threadid
1045 whose name does not change.
1046 * regcache.c (registers_ptid): Likewise, but renamed from
1047 registers_pid.
1048 (read_register_pid, read_signed_register_pid, write_register_pid):
1049 Likewise, but rename save_pid to save_ptid.
1050 (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
1051 to saved_inferior_ptid.
1052 * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
1053 * sol-thread.c (struct ps_prochandle): Likewise.
1054 (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
1055 (sol_thread_wait): Likewise, for rtnval whose name does not
1056 change, and for save_pid which becomes save_ptid.
1057 (solaris_pid_to_str): Likewise for lwp whose name does not change.
1058 (sol_find_new_threads_callback): Likewise, for pid which becomes
1059 ptid.
1060 * target.h (target_resume, target_wait, target_post_wait)
1061 (target_post_startup_inferior, target_notice_signals)
1062 (target_thread_alive): Likewise.
1063 * thread.c (info_threads_command): Likewise, but rename
1064 current_pid to current_ptid.
1065 (struct current_thread_cleanup): Likewise, but rename field
1066 inferior_pid to inferior_ptid.
1067 * thread-db.c (find_new_threads_callback): Likewise, but rename
1068 pid to ptid.
1069 * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
1070 change.
1071 (lwp_to_tr): Likewise fo tid whose name remains unchanged.
1072 (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
1073 but rename pid to ptid.
1074 * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
1075 * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
1076 * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
1077 * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
1078 * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
1079 * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
1080
1081 * arch-utils.c (generic_prepare_to_proceed): Test for the
1082 "zero" ptid by using ptid_equal() to test to see if variable
1083 in question is the same as null_ptid. This replaces a direct
1084 test against zero.
1085 * cxux-nat.c (add_shared_symbol_files): Likewise.
1086 * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
1087 * infcmd.c (run_command): Likewise.
1088 * inflow.c (kill_command): Likewise.
1089 * infttrace.c (call_ttrace): Likewise.
1090 * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
1091 * lin-thread.c (thread_db_kill): Likewise.
1092 * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
1093 * remote-es.c (es1800_kill): Likewise.
1094 * sol-thread.c (sol_thread_create_inferior): Likewise.
1095 * solib.c (locate_base): Likewise.
1096 * target.c (nosupport_runtime): Likewise.
1097 * thread-db.c (thread_db_wait): Likewise.
1098 * top.c (quit_confirm, quit_force): Likewise.
1099 * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
1100
1101 * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
1102 Use ptid_equal to compare value of process/thread ids instead of
1103 ``=='' and ``!='' operators.
1104 lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
1105 (stop_wait_callback, lin_lwp_wait): Likewise.
1106 * procfs.c (procfs_wait): Likewise.
1107 * regcache.c (read_register_bytes, read_register_gen)
1108 (write_register_gen, read_register, read_register_pid)
1109 (read_signed_register, read_signed_register_pid, write_register)
1110 (write_register_pid, supply_register): Likewise.
1111 * remote-vx.c (vx_resume): Likewise.
1112 * sol-thread.c (sol_thread_wait): Likewise.
1113 * symm-nat.c (kill_inferior): Likewise.
1114 * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
1115 (in_thread_list, info_threads_command, switch_to_thread)
1116 (restore_current_thread): Likewise.
1117 * uw-thread (libtread_stub): Likewise.
1118
1119 * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
1120
1121 * corelow.c (add_to_thread_list): Convert argument in add_thread()
1122 call to a ptid_t.
1123 * gnu-nat.c (inf_validate_procs): Likewise.
1124 * linux-thread.c (stop_thread, update_stop_threads): Likewise.
1125 * remote.c (record_currthread, remote_threads_info): Likewise.
1126 * win32-nat.c (child_add_thread): Likewise.
1127
1128 * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
1129 respectively, to save_inferior_ptid() and restore_inferior_ptid().
1130 Adjust implementations to operate on ``ptid_t'' instead of ``int''.
1131 * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
1132 * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
1133 * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
1134 * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
1135 * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
1136 * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
1137
1138 * infrun.c (RESUME_ALL): New macro representing the -1 ptid
1139 to be passed to target_resume() when all threads should resume.
1140 (resume): Set resume_ptid to RESUME_ALL rather than -1.
1141 (handle_inferior_event): Invoke target_resume() with RESUME_ALL
1142 instead of -1.
1143 * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
1144 a ptid_t in target_resume() call.
1145 * osfsolib.c (solib_create_inferior_hook): Likewise.
1146 * solib-svr4.c (solib_create_inferior_hook): Likewise.
1147
1148 * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
1149 PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
1150 difference being that the 0xffff pattern will be interpreted
1151 as -1.
1152 * lin-thread.c (PIDGET, PIDGET0): Likewise.
1153 * thread-db.c (PIDGET, PIDGET0): Likewise.
1154 * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
1155 * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
1156 * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
1157 * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
1158
1159 * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
1160 mach_really_wait rather than mach_really__wait.
1161 * lin-thread.c (check_for_thread_event): Fix warning; make function
1162 actually return a value.
1163
1164 * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
1165 ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
1166 pid to ptid.
1167 * gdbarch.h, gdbarch.c: Regenerated.
1168
1169 2001-05-03 Jonathan Larmour <jlarmour@redhat.com>
1170
1171 * rdi-share/devsw.c: Include <time.h> for struct tm
1172
1173 2001-05-03 Eli Zaretskii <eliz@is.elta.co.il>
1174
1175 * config/djgpp/fnchange.lst: Add mappings for the new
1176 opcodes/openrisc-* files.
1177
1178 2001-05-01 Michael Snyder <msnyder@redhat.com>
1179
1180 * lin-lwp.c: Change printf to fprintf_unfiltered.
1181 * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
1182
1183 2001-05-01 Nicholas Duffek <nsd@redhat.com>
1184
1185 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
1186 (rs6000_in_solib_return_trampoline): Declare.
1187 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
1188 function.
1189 (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
1190 * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
1191 check after the CSECT check rather than before it. Allocate
1192 separate symtabs for CSECTs whose names begin with '@'.
1193 (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
1194 Activate the misc_func_recorded mechanism for whose names begin
1195 with '@'.
1196
1197 2001-04-30 J.T. Conklin <jtc@redback.com>
1198
1199 * ppcnbsd-nat.c (fetch_inferior_registers)
1200 (store_inferior_registers, fetch_core_registers): Changed to use
1201 fpreg[] instead of r_regs[] to access floating point registers.
1202
1203 2001-04-30 Elena Zannoni <ezannoni@redhat.com>
1204
1205 * sh-tdep.c: Get rid of the function prototypes.
1206 (sh_sh4_build_float_register_type): Move earlier in file.
1207 (fv_reg_base_num): Ditto.
1208 (dr_reg_base_num): Ditto.
1209
1210 2001-04-30 Michael Snyder <msnyder@redhat.com>
1211
1212 * thread-db.c: Revert 2001-04-26 change for debugging output.
1213 * lin-lwp.c: Ditto.
1214 * lin-lwp.c: Add set/show debug lin-lwp command. Use this
1215 command to turn extra debugging output on / off.
1216
1217 2001-04-30 Eli Zaretskii <eliz@is.elta.co.il>
1218
1219 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
1220 (top-level): #include filenames.h.
1221
1222 * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
1223 FILENAME_CMP, to DTRT on non-Posix platforms.
1224 (top-level): #include filenames.h.
1225
1226
1227 2001-04-27 Andrew Cagney <ac131313@redhat.com>
1228
1229 * gdbtypes.c (check_stub_method): Always initialize ``p''.
1230
1231 2001-04-27 Andrew Cagney <ac131313@redhat.com>
1232
1233 * configure.host: Delete romp host.
1234 * TODO: Update.
1235
1236 2001-04-27 Andrew Cagney <ac131313@redhat.com>
1237
1238 * TODO: Updates to 5.1. No more targets to obsolete.
1239
1240 2001-04-27 Don Howard <dhoward@redhat.com>
1241
1242 (Changes from Kevin Buettner, with minor update by Don Howard.)
1243
1244 * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
1245 typos in which hexadecimal constants were really intended to be
1246 binary constants.
1247 (i387_tag): Swap logic regarding zero vs non-zero exponents.
1248 * MAINTAINERS (Misc): Added myself to the write-after-approval
1249 list.
1250
1251 2001-04-26 Jim Blandy <jimb@redhat.com>
1252
1253 (Changes from Daniel Berlin, with revisions by Jim Blandy.)
1254
1255 Abstract out operations specific to particular C++ ABI's, and
1256 invoke them through a function table. This removes the C++ ABI
1257 dependencies scattered throughout the code, and allows us to
1258 cleanly add support for new C++ ABI's.
1259 * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
1260 * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
1261 jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
1262 #include "cp-abi.h". These files all use functions now declared
1263 there.
1264 * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
1265 Deleted. These services are now provided by functions declared in
1266 cp-abi.h.
1267 * value.h (value_rtti_type, value_virtual_fn_field): Same.
1268 * values.c (value_virtual_fn_field): Same, for this definition.
1269 * valops.c (value_rtti_type): Same.
1270 * c-typeprint.c (c_type_print_base): Use the functions from
1271 "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
1272 tests.
1273 * dbxread.c (record_minimal_symbol): Same.
1274 * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
1275 virtual_base_index_skip_primaries): Same.
1276 * jv-typeprint.c (java_type_print_base): Same.
1277 * linespec.c (find_methods, decode_line_1): Same.
1278 * symtab.c (gdb_mangle_name): Same.
1279 * Makefile.in (SFILES): Add the new .c files mentioned above.
1280 (cp_abi_h): New variable.
1281 (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
1282 (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
1283 (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
1284 jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
1285 dependency on $(cp_abi_h).
1286
1287 2001-04-26 Michael Snyder <msnyder@redhat.com>
1288
1289 * thread-db.c (_initialize_thread_db): Add set/show command
1290 "debug-linux-threads" for debugging output.
1291 * lin-lwp.c (various): Use global "debug_linux_threads to
1292 turn on extra debugging output.
1293 * lin-lwp.c: Minor cleanups in comments.
1294 * target.c (normal_pid_to_str): Get rid of an ancient hack.
1295 * remote.c (remote_pid_to_str): New function for remote target.
1296
1297 2001-04-24 Jim Blandy <jimb@redhat.com>
1298
1299 * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
1300 qualifier on C++ references; all references are innately const.
1301
1302 2001-04-20 Mark Kettenis <kettenis@gnu.org>
1303
1304 * event-top.h: Fix formatting.
1305
1306 2001-04-17 Andrew Cagney <ac131313@redhat.com>
1307
1308 * source.c (openp): Obsolete #ifdef MPW code.
1309 (open_source_file): Ditto.
1310 * event-top.c (display_gdb_prompt): Ditto.
1311 * utils.c (query): Ditto.
1312 (init_page_info): Ditto.
1313 (init_page_info): Delete #ifndef MPW.
1314 * top.c (gdb_readline): Ditto.
1315 * mac-xdep.c: Obsolete.
1316 * mac-gdb.r: Obsolete.
1317 * config/powerpc/xm-mpw.h: Obsolete.
1318 * config/xm-mpw.h: Obsolete.
1319 * mpw-make.sed: Obsolete.
1320 * mpw-config.in: Obsolete.
1321 * TODO: Update
1322 * NEWS: Update
1323
1324 2001-04-19 Mark Kettenis <kettenis@gnu.org>
1325
1326 * i386-tdep.c (i386_frameless_function_invocation): New function.
1327 * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
1328 in terms of i386_frameless_function_invocation. Adjust comment.
1329 (i386_frameless_function_invocation): New prototype.
1330
1331 2001-04-18 Martin M. Hunt <hunt@redhat.com>
1332
1333 * top.c (gdb_init): Don't call cli_out_new() to
1334 create global uiout if init_ui_hook is set. uiout will
1335 have to be initialized there.
1336
1337 2001-04-18 Andrew Cagney <ac131313@redhat.com>
1338
1339 * arch-utils.c: Include "regcache.h".
1340
1341 2001-04-18 Mark Kettenis <kettenis@gnu.org>
1342
1343 * i386-tdep.c (i386_saved_pc_after_call): New function.
1344 * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
1345 of i386_saved_pc_after_call.
1346 (i386_saved_pc_after_call): New prototype.
1347
1348 2001-04-17 Michael Snyder <msnyder@redhat.com>
1349
1350 * i386-nat.c: Fix typo in comment.
1351 * solib.c (no_shared_libraries): New function. Discard all symbols
1352 from shared libraries.
1353 (_initialize_solib): Add command "nosharedlibrary" as complement
1354 to the command "sharedlibrary". Unloads symbols for all solibs.
1355
1356 2001-04-16 Andrew Cagney <ac131313@redhat.com>
1357
1358 * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
1359 * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
1360 (m68*-est-*, m68*-sony-*, m68*-isi-*):
1361 * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
1362 * config/m68k/xm-news.h: Obsolete.
1363 * config/m68k/tm-news.h:
1364 * config/m68k/xm-news1000.h: Obsolete.
1365 * config/m68k/news.mh: Obsolete.
1366 * config/m68k/news.mt: Obsolete.
1367 * config/m68k/nm-news.h: Obsolete.
1368 * config/m68k/news1000.mh: Obsolete.
1369 * news-xdep.c: Obsolete.
1370 * Makefile.in (isi-xdep.o): Obsolete.
1371 (ALLDEPFILES): Delete isi-xdep.c.
1372 (tm-isi.h): Obsolete.
1373 * m68k-tdep.c (altos_skip_prologue): Update comments.
1374 (isi_skip_prologue): Obsolete.
1375 * isi-xdep.c: Obsolete.
1376 * config/m68k/xm-isi.h: Obsolete.
1377 * config/m68k/isi.mh: Obsolete.
1378 * config/m68k/tm-isi.h: Obsolete.
1379 * config/m68k/isi.mt: Obsolete.
1380
1381 * TODO: Update.
1382 * NEWS: Update.
1383
1384 2001-04-17 Michael Snyder <msnyder@redhat.com>
1385
1386 * remote.c (remote_open_1): On opening the remote target, activate
1387 the solib_create_inferior_hook, so that it can detect when the
1388 target loads shared libraries.
1389 (remote_async_open_1): Ditto.
1390
1391 2001-04-17 Michael Snyder <msnyder@redhat.com>
1392
1393 * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
1394 * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
1395 * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
1396 * testsuite/gdb.trace/infotrace.exp: Ditto.
1397 * testsuite/gdb.trace/passcount.exp: Ditto.
1398 * testsuite/gdb.trace/while-stepping.exp: Ditto.
1399
1400 2001-04-17 Michael Snyder <msnyder@redhat.com>
1401
1402 * thread-db.c (check_thread_signals): When looping over all
1403 signals, ignore signal zero.
1404 (disable_thread_signals): Ditto.
1405
1406 2001-04-17 Eirik Fuller <eirik@netapp.com>
1407
1408 * thread.c (do_captured_thread_select): Allow the argument to the
1409 thread command to be an expression rather than a literal integer.
1410
1411 2001-04-17 Mark Kettenis <kettenis@gnu.org>
1412
1413 * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
1414 read_memory_unsigned_integer instead of read_memory_integer.
1415
1416 2001-04-16 Kevin Buettner <kevinb@redhat.com>
1417
1418 * solib-aix5.c (map_index_vs_section_name_okay): New function.
1419 (aix5_relocate_main_executable): Don't use file offsets for
1420 determining corresponding sections and map file entries. Call
1421 map_index_vs_section_name_okay() to do this instead.
1422
1423 2001-04-16 Kevin Buettner <kevinb@redhat.com>
1424
1425 * procfs.c (open_with_retry): New function.
1426 (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
1427 (proc_get_LDT_entry): Call open_with_retry() instead of open().
1428
1429 2001-04-16 Kevin Buettner <kevinb@redhat.com>
1430
1431 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
1432 comparison against TRAP_HWBKPT constant yet again to account
1433 for the various values used by different kernel versions.
1434
1435 2001-04-16 Daniel Berlin <dan@cgsoftware.com>
1436
1437 * demangle.c (_initialize_demangler): Use xcalloc on the
1438 demangling_style_names, and make it a null terminated array of
1439 names, to avoid a crash.
1440
1441 2001-04-16 Mark Kettenis <kettenis@gnu.org>
1442
1443 * i386-tdep.c (i386_frame_chain): New function.
1444 * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
1445 i386_frame_chain.
1446 (i386_frame_chain): New prototype.
1447
1448 2001-04-14 J.T. Conklin <jtc@redback.com>
1449
1450 * target.h (target_ops): Removed to_core_file_to_sym_file vector
1451 function.
1452 * corelow.c (core_ops): Updated for above change.
1453 * gnu-nat.c (core_ops): Likewise.
1454 * inftarg.c (child_ops): Likewise.
1455 * monitor.c (monitor_ops): Likewise.
1456 * ppc-bdm.c (bdm_ppc_ops): Likewise.
1457 * remote-adapt.c (adapt_ops): Likewise.
1458 * remote-bug.c (bug_ops): Likewise.
1459 * remote-e7000.c (e7000_ops): Likewise.
1460 * remote-eb.c (eb_ops): Likewise.
1461 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
1462 * remote-mm.c (mm_ops): Likewise.
1463 * remote-nindy.c (nindy_ops): Likewise.
1464 * remote-nrom.c (nrom_ops): Likewise.
1465 * remote-os9k.c (rombug_ops): Likewise.
1466 * remote-rdp.c (remote_rdp_ops): Likewise.
1467 * remote-sim.c (gdbsim_ops): Likewise.
1468 * remote-st.c (st2000_ops): Likewise.
1469 * v850ice.c (v850ice_ops): Likewise.
1470 * target.c (cleanup_target): Likewise
1471 (update_current_target): Likewise.
1472 (setup_target_debug): Likewise
1473 (debug_to_core_file_to_sym_file): Removed.
1474
1475 * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
1476 sets symbol file from information obtained from the core file.
1477 * corelow.c (core_file_to_sym_file): Removed.
1478
1479 2001-04-13 Fernando Nasser <fnasser@redhat.com>
1480
1481 From Adam Mirowski <Adam.Mirowski@Sun.COM>
1482 Fixed Insight on Solaris. It was not possible to debug a process
1483 because of EINTR "errors".
1484 * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
1485 with EINTR, retry the call.
1486
1487 2001-04-12 Kevin Buettner <kevinb@redhat.com>
1488
1489 * solib-aix5.c (enum maptype): Delete.
1490 (struct lm_info): Add new member ``nmappings''. Make ``mapping''
1491 member a pointer instead of a statically sized array.
1492 (build_so_list_from_mapfile): Dynamically allocate ``mapping''
1493 array.
1494 (aix5_relocate_main_executable, aix5_relocate_section_addresses,
1495 aix5_find_global_pointer): Search for correct mapping to use
1496 based on file offset instead of knowledge of whether the section
1497 is read-only or read/write.
1498 (aix5_find_gate_addresses): Use the first mapping instead of
1499 the (now defunct) MT_READONLY mapping.
1500
1501 2001-04-12 Nicholas Duffek <nsd@redhat.com>
1502
1503 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
1504 "@".
1505
1506 2001-04-12 Kevin Buettner <kevinb@redhat.com>
1507
1508 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
1509
1510 2001-04-09 Andrew Cagney <ac131313@redhat.com>
1511
1512 Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
1513 * config/i386/sun386.mh: Obsolete.
1514 * config/i386/sun386.mt: Obsolete.
1515 * config/i386/xm-sun386.h: Obsolete.
1516 * config/i386/tm-sun386.h: Obsolete.
1517 * config/i386/nm-sun386.h: Obsolete.
1518 * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
1519 (sun386-nat.o): Target is obsolete.
1520 * sun386-nat.c: Obsolete.
1521 * configure.tgt (i[3456]86-*-sunos*): Obsolete.
1522 * configure.host (i[3456]86-*-sunos*): Obsolete.
1523 * NEWS: Update.
1524 * TODO: Update.
1525
1526 2001-04-10 J.T. Conklin <jtc@redback.com>
1527
1528 * maint.c: Fix typo in comment.
1529
1530 2001-04-09 Keith Seitz <keiths@cygnus.com>
1531
1532 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
1533
1534 2001-04-08 Kevin Buettner <kevinb@redhat.com>
1535
1536 * fork-child.c (fork_inferior, clone_and_follow_inferior):
1537 Document fact that apparent call to vfork() might actually be
1538 a call to fork() instead.
1539 * ser-pipe.c (pipe_open): Likewise.
1540
1541 2001-04-08 Kevin Buettner <kevinb@redhat.com>
1542
1543 * printcmd.c (print_frame_args): Use a cleanup to invoke
1544 ui_out_list_end() so that the list count nesting flag will
1545 be decremented properly when an error occurs.
1546 * stack.c (print_frame): Likewise.
1547
1548 2001-04-06 J.T. Conklin <jtc@redback.com>
1549
1550 * dcache.c (dcache_write_line): Fixed bugs where cache line was
1551 not written to target correctly.
1552
1553 * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
1554 void return value;
1555 * gdbserver/low-nbsd.c: Likewise.
1556 * gdbserver/low-sparc.c: Likewise.
1557 * gdbserver/low-sun3.c: Likewise.
1558
1559 2001-04-06 Geoffrey Keating <geoffk@redhat.com>
1560
1561 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
1562 (PTRACE_DETACH): Don't define.
1563
1564 2001-04-06 David Smith <dsmith@redhat.com>
1565
1566 * arch-utils.c (default_prepare_to_proceed)
1567 (generic_prepare_to_proceed): Added new functions.
1568 * arch-utils.h: New function declarations for
1569 default_prepare_to_proceed() and generic_prepare_to_proceed().
1570 * gdbarch.sh: Added PREPARE_TO_PROCEED.
1571 * gdbarch.c: Regenerated.
1572 * gdbarch.h: Regenerated.
1573 * inferior.h: Added get_last_target_status() declaration.
1574 * infrun.c (get_last_target_status): Added new function.
1575 (handle_inferior_event): Saves last pid and waitstatus, which will
1576 get returned by get_last_target_status().
1577
1578 * hppa-tdep.c (prepare_to_proceed): Added comment stating that
1579 prepare_to_proceed() is potentially redundant since
1580 default_prepare_to_proceed() has been added.
1581 * linux-thread.c (prepare_to_proceed): Ditto.
1582 * lin-lwp.c (prepare_to_proceed): Ditto.
1583 * m3-nat.c (prepare_to_proceed): Ditto.
1584
1585 2001-04-05 Andrew Cagney <ac131313@redhat.com>
1586
1587 Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
1588 and powerpc-*-netware* target.
1589 * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
1590 Obsolete.
1591 * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
1592 (powerpcle-*-solaris*): Obsolete.
1593 * config/powerpc/tm-cygwin.h: Obsolete.
1594 * config/powerpc/cygwin.mt: Obsolete.
1595 * config/powerpc/xm-cygwin.h: Obsolete.
1596 * config/powerpc/cygwin.mh: Obsolete.
1597 * config/powerpc/nm-solaris.h: Obsolete.
1598 * config/powerpc/xm-solaris.h: Obsolete.
1599 * config/powerpc/tm-solaris.h: Obsolete.
1600 * config/powerpc/solaris.mt: Obsolete.
1601 * config/powerpc/tm-ppc-nw.h: Obsolete.
1602 * config/powerpc/ppc-nw.mt: Obsolete.
1603 * TODO: Update.
1604 * NEWS: Update.
1605
1606 2001-04-06 Fernando Nasser <fnasser@redhat.com>
1607
1608 * buildsym.c (record_line): Turn off unused addr bits.
1609
1610 2001-04-06 Fernando Nasser <fnasser@redhat.com>
1611
1612 From David Deephanphongs <deephan@telocity.com>
1613 * inferior.h: Fix declarations of get_inferior_args and
1614 set_inferior_args, which were missing the trailing 's'.
1615
1616 2001-04-05 Jeff Holcomb <jeffh@redhat.com>
1617
1618 * monitor.c (monitor_supply_register): Only report an error if we
1619 don't get a valid value.
1620
1621 2001-04-05 Eli Zaretskii <eliz@is.elta.co.il>
1622
1623 * README: Don't mention gdba.el.
1624
1625 2001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1626
1627 From Jimmy Guo <guo@cup.hp.com>
1628 * top.c (init_main): set prompt if annotation_level>1,
1629 this is necessary when annotation_level is set to 2 via
1630 --annotate=2 command line option.
1631
1632 2001-04-04 Andrew Cagney <ac131313@redhat.com>
1633
1634 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
1635 * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
1636 * configure.host (a29k-*-*): Obsolete.
1637 * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
1638 ultra3-xdep.c.
1639 (ultra3-nat.o, ultra3-xdep.o): Obsolete.
1640 * config/a29k/tm-ultra3.h: Obsolete.
1641 * config/a29k/ultra3.mt: Obsolete.
1642 * config/a29k/ultra3.mh: Obsolete.
1643 * config/a29k/nm-ultra3.h: Obsolete.
1644 * config/a29k/xm-ultra3.h: Obsolete.
1645 * ultra3-xdep.c: Obsolete.
1646 * ultra3-nat.c: Obsolete.
1647 * config/a29k/a29k-kern.mt: Obsolete.
1648 * NEWS: Update.
1649 * TODO: Update.
1650
1651 Wed Apr 4 21:48:42 2001 Christopher Faylor <cgf@cygnus.com>
1652
1653 * main.c: Remove windows.h use.
1654 (gdbtk_test): Use PATH_MAX for home var calculation.
1655 * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
1656 Win32 in colon test.
1657 * ser-tcp.c: Use modern __CYGWIN__ conditional.
1658 * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
1659 (openp): Ditto.
1660 * symfile.c (symfile_bfd_open): Ditto.
1661
1662 2001-04-04 Martin M. Hunt <hunt@redhat.com>
1663
1664 * main.c (captured_main): For GDBtk, don't use tui_fileopen().
1665 Handle all stream setup in gdbtk_init
1666
1667 2001-04-04 Mark Kettenis <kettenis@gnu.org>
1668
1669 * i386-tdep.c (i386_extract_return_value): Don't return the return
1670 value of a void function.
1671 (i386_store_return_value): Likewise.
1672
1673 2001-04-03 Andrew Cagney <ac131313@redhat.com>
1674
1675 Obsolete w65-*-* target.
1676 * configure.tgt (w65-*-*): Obsolete.
1677 * config/w65/w65.mt: Obsolete.
1678 * config/w65/tm-w65.h: Obsolete.
1679 * w65-tdep.c: Obsolete.
1680 * NEWS: Update. Fix TiC80 description.
1681 * TODO: Update.
1682
1683 2001-04-03 Andrew Cagney <ac131313@redhat.com>
1684
1685 Obsolete tic80-*-* target.
1686 * configure.tgt (tic80-*-*): Obsolete.
1687 * config/tic80/tic80.mt: Obsolete.
1688 * config/tic80/tm-tic80.h: Obsolete.
1689 * tic80-tdep.c: Obsolete.
1690 * TODO: Update
1691 * NEWS: Update.
1692
1693 2001-04-02 J.T. Conklin <jtc@redback.com>
1694
1695 * remote-mips.c (S_IROTH): Moved definition from here.
1696 * gdb_stat.h (S_IROTH): to here.
1697
1698 * remote.c (remote_protocol_e, remote_protocol_E): Define.
1699 (set_remote_protocol_e_packet_cmd)
1700 (set_remote_protocol_E_packet_cmd)
1701 (show_remote_protocol_e_packet_command)
1702 (show_remote_protocol_E_packet_command): New functions.
1703 (init_all_packet_configs): Initialize remote_protocol_e and
1704 remote_protocol_E.
1705 (remote_resume, remote_async_resume): Support e/E command
1706 packets.
1707 (show_remote_cmd): Show state of remote_protocol_e and
1708 remote_protocol_E.
1709 (_initialize_remote): Add "set remote step-over-range-packet"
1710 and "set remote step-over-range-w-signal-packet" to CLI.
1711
1712 2001-04-01 Andrew Cagney <ac131313@redhat.com>
1713
1714 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
1715 ns32k-utek-*.
1716 * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
1717 (umax-xdep.o, ns32km3-nat.o): Obsolete.
1718 * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
1719 Obsolete.
1720 * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
1721 Obsolete.
1722 * config/ns32k/merlin.mh: Obsolete.
1723 * config/ns32k/merlin.mt: Obsolete.
1724 * config/ns32k/xm-merlin.h: Obsolete.
1725 * config/ns32k/tm-merlin.h: Obsolete.
1726 * config/ns32k/nm-umax.h: Obsolete.
1727 * config/ns32k/umax.mh: Obsolete.
1728 * config/ns32k/umax.mt: Obsolete.
1729 * config/ns32k/xm-umax.h: Obsolete.
1730 * umax-xdep.c: Obsolete.
1731 * config/ns32k/ns32km3.mh: Obsolete.
1732 * config/ns32k/ns32km3.mt: Obsolete.
1733 * config/ns32k/tm-ns32km3.h: Obsolete.
1734 * config/ns32k/xm-ns32km3.h: Obsolete.
1735 * ns32km3-nat.c: Obsolete.
1736 * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
1737 (merlin_frame_num_args): Ditto.
1738 * NEWS: Update.
1739 * TODO: Update.
1740
1741 2001-04-02 Eli Zaretskii <eliz@is.elta.co.il>
1742
1743 * config/djgpp/fnchange.lst: Tweak due to
1744 expect/example/chesslib.c.
1745
1746 2001-04-02 Kevin Buettner <kevinb@redhat.com>
1747
1748 * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
1749 unsigned int to unsigned long. Also, fix format string.
1750 (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
1751 use an undeclared variable. Also, delete declaration and
1752 initialization of ``fp'' because it is otherwise unused.
1753 * remote-bug.c (sleep): Delete declaration.
1754 (bug_store_register, bug_write_memory, bug_read_memory)
1755 (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
1756 format statements and cast certain sprintf() arguments to
1757 eliminate warnings.
1758 (bug_load): Likewise for call to printf_filtered().
1759 * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
1760 assignment to ``pc''. The necessary assignment is done in
1761 hand_function_call() after the invocation of FIX_CALL_DUMMY().
1762
1763 2001-03-20 Daniel Berlin <dberlin@redhat.com>
1764
1765 * symtab.c (completion_list_add_name): Remove duplicate string checks,
1766 readline already does this, and it's much faster at it, too.
1767
1768 2001-04-01 Eli Zaretskii <eliz@is.elta.co.il>
1769
1770 * go32-nat.c: Minor tweaks, to pacify the ari script.
1771
1772 2001-04-01 Mark Kettenis <kettenis@gnu.org>
1773
1774 * i386-tdep.c (i386_extract_struct_value_address): New function.
1775 * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
1776 in terms of i386_extract_struct_value_address.
1777 (i386_extract_struct_value_address): New prototype.
1778
1779 * i386-linux-nat.c (i386_linux_dr_get): Change type of return
1780 value to `unsigned long'. Change type of `value' to `unsigned
1781 long'.
1782 (i386_linux_dr_set): Change type of second argument to `unsigned
1783 long'.
1784 (i386_linux_dr_set_control): Change type of first argument to
1785 `unsigned long'.
1786 (i386_linux_dr_get_status): Change type of return value to
1787 unsigned long.
1788 * config/i386/nm-linux.h (i386_linux_dr_set_control,
1789 i386_linux_dr_get_status): Adjust prototypes accordingly.
1790
1791 2001-03-31 Kevin Buettner <kevinb@redhat.com>
1792
1793 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
1794 TRAP_HWBKPT constant to match that in the kernel headers for
1795 Linux/IA-64.
1796
1797 2001-03-31 Mark Kettenis <kettenis@gnu.org>
1798
1799 * i386bsd-nat.c: Include "gdb_assert.h".
1800 [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
1801 already defined.
1802 [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
1803 i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
1804 i386bsd_dr_get_status): New functions.
1805 * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
1806 (I386_USE_GENERIC_WATCHPOINTS): Define.
1807 Include "i386/nm-i386.h".
1808 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
1809 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
1810 (i386bsd_dr_set_control, i386bsd_dr_set_addr,
1811 i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
1812 * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
1813 * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
1814 ptrace request.
1815 * config.in, configure: Regenerate.
1816
1817 * i386-nat.c (i386_insert_aligned_watchpoint): Set address
1818 register before enabling it by setting the control register.
1819 (i386_remove_aligned_watchpoint): Reset address register after
1820 disabling it by setting the control register.
1821
1822 * i386-tdep.c (i386_extract_return_value): If the type of the
1823 return value is TYPE_STRUCT and the number of fields is one, call
1824 ourselves with TYPE set tp the type of the first field.
1825 (i386_store_return_value): Likewise.
1826 This fixes a problem with returning structs consisting of a single
1827 `float' or `double' on *BSD.
1828
1829 2001-03-30 Mark Kettenis <kettenis@gnu.org>
1830
1831 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
1832 we're absolutely sure we're going to resume it.
1833
1834 * thread-db.c (check_event): Don't report an error if we encounter
1835 a thread creation event for a thread that's already in the thread
1836 list, since that may legitemately happen. Instead only call
1837 attach_thread if it's not already in the thread list.
1838
1839 2001-03-28 Andrew Cagney <ac131313@redhat.com>
1840
1841 * config/pa/xm-hppah.h (malloc): Really delete declaration
1842 (MALLOC_INCOMPATIBLE): Really delete macro.
1843 * cli/cli-cmds.c (apropos_command): Use xcalloc.
1844
1845 2001-03-28 Andrew Cagney <ac131313@redhat.com>
1846
1847 * configure.in (build_warnings): Add -Wuninitialized.
1848 * configure: Regenerate.
1849
1850 * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
1851 * sparc-tdep.c (sparc64_push_arguments): Add default case to
1852 switch.
1853 * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
1854 expression with if statement.
1855 * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
1856 ``stack_size''.
1857 * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
1858 (mips_dump_tdep): Fix setting of ef_mips_arch.
1859 * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
1860 * dsrec.c (make_srec): Always initialize ``binbuf''.
1861 * monitor.c (monitor_read_memory_single): Do not pass an
1862 uninitialized buffer to monitor_error. Make ``i'' more local.
1863
1864 2001-03-28 Andrew Cagney <ac131313@redhat.com>
1865
1866 * MAINTAINERS: Change ns32k target to ,-Werror.
1867
1868 * ns32k-tdep.c: Include "gdbcore.h"
1869 (flip_bytes): Change first argument to void*. Add forward
1870 declaration.
1871 (sign_extend): Add declaration.
1872 (merlin_frame_num_args): Add final else clause to if-else chain.
1873 (umax_frame_num_args): Ditto.
1874 * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
1875 (flip_bytes): Ditto.
1876
1877 2001-03-28 Mark Kettenis <kettenis@gnu.org>
1878
1879 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
1880 config/i386/nm-linux.h (including comment).
1881 (i386_linux_frame_chain): New function implementing guts of the
1882 former FRAME_CHAIN macro, but using read_memory_unsigned_integer
1883 instead of read_memory_integer.
1884 (i386_linux_frame_saved_pc): Removed doc pointing to
1885 i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
1886 now lives in this file.
1887 * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
1888 i386-linux-tdep.c (including comment).
1889 (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
1890 (i386_linux_frame_chain): New prototype.
1891
1892 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
1893 make it work again.
1894 (NUM_FREGS): Redefine to 0.
1895 (NUM_REGS): Redefine as NUM_GREGS.
1896 (i386_register_byte, i386_register_raw_size): Update from
1897 i386-tdep.c. Add comment about their origin.
1898 (regmap, register_u_addr): Take these from i386-linux-nat.c.
1899 (i386_register_u_addr): Removed.
1900
1901 * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
1902 fails instead of calling perror_with_name. This should fix
1903 debugging remote i386 targets with a native Linux/x86 GDB. Add
1904 FIXME for this hack.
1905
1906 2001-03-19 J.T. Conklin <jtc@redback.com>
1907
1908 * arch-utils.c (#include "gdbthread.h"): Removed.
1909 (#include "symfile.h"): Removed.
1910 (XMALLOC): Removed unused macro.
1911 * breakpoint.c (tbreak_command): Removed local declaration.
1912 (awatch_command, do_enable_breakpoint, set_breakpoint_count):
1913 Remove duplicate declarations.
1914 (bpstat_should_step, bpstat_have_active_hw_watchpoints)
1915 (remove_solib_event_breakpoints): Fix indentation botch.
1916 * c-typeprint.c (#include "command.h"): Removed.
1917 (#include "gdbcmd.h"): Removed.
1918 * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
1919 (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
1920 Removed duplicate declarations.
1921 * ch-typeprint.c (#include "command.h"): Removed.
1922 (#include "gdbcmd.h"): Removed.
1923 * corefile.c (#include "frame.h"): Removed
1924 (#include "symfile.h"): Removed.
1925 (#include "language.h"): Removed.
1926 * dbxread.c (#include "command.h"): Removed.
1927 * environ.c (#include "gdbcore.h"): Removed.
1928 * event-loop.c (#include "top.h"): Removed.
1929 * f-typeprint.c (#include "command.h"): Removed.
1930 (#include "gdbcmd.h"): Removed.
1931 (#include "language.h"): Removed.
1932 (#include "typeprint.h"): Removed.
1933 (#include "frame.h"): Removed.
1934 * gdbtypes.h (print_type_scalar): Removed declaration.
1935 * infcmd.c (#include "completer.h"): Removed.
1936 * language.c (#include "frame.h"): Removed.
1937 * m2-typeprint.c (#include "command.h"): Removed.
1938 (#include "gdbcmd.h"): Removed.
1939 (#include "language.h"): Removed.
1940 * m2-valprint.c (#include "valprint.h"): Removed.
1941 * p-typeprint.c (#include "command.h"): Removed.
1942 (#include "gdbcmd.h"): Removed.
1943 * p-valprint.c (#include "typeprint.h"): Removed.
1944 * parse.c (#include "linespec.h"): Removed.
1945 * regcache.c (#include "frame.h"): Removed.
1946 * remote.c (#include "frame.h"): Removed.
1947 (getpkt_sane): Make static.
1948 * source.c (#include "completer.h"): Removed.
1949 * stack.c (#include "symfile.h"): Removed.
1950 (#include "objfiles.h"): Removed.
1951 * symfile.c (#include "completer.h"): Removed.
1952 * tracepoint.c (#include "completer.h"): Removed.
1953 * values.c (#include "frame.h"): Removed.
1954 * varobj.c (#include "valprint.h"): Removed.
1955 * wrapper.c (#include "frame.h"): Removed.
1956
1957 * memattr.c (create_mem_region): Removed unused variable.
1958 * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
1959
1960 2001-03-27 Nick Clifton <nickc@redhat.com>
1961
1962 * remote-rdp.c (rdp_set_command_line): Add missing double quote.
1963
1964 2001-03-27 Kevin Buettner <kevinb@redhat.com>
1965
1966 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
1967 of free().
1968
1969 2001-03-27 Eli Zaretskii <eliz@is.elta.co.il>
1970
1971 * TODO (Cleanups): Remove the item about converting docs to GFDL.
1972
1973 2001-03-26 Kevin Buettner <kevinb@redhat.com>
1974
1975 * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
1976 type of ``bundle'' from unsigned char * to char *.
1977 (ia64_get_saved_register): Use alloca() to allocate register
1978 buffers.
1979
1980 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
1981
1982 2001-03-26 Kevin Buettner <kevinb@redhat.com>
1983
1984 * proc-utils.h (procfs_ctl_t): New typedef.
1985 * proc-api.c (write_with_trace): Change type of ``opcode'' from
1986 long to procfs_ctl_t. Don't assume that the target has defined
1987 BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
1988 * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
1989 * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
1990 (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
1991 (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
1992 Conditionally define as appropriate for AIX/non-AIX systems. Use
1993 these defines/typedefs as appropriate elsewhere in file.
1994 (struct procinfo): Change type of saved_sigset and saved_sighold
1995 from sigset_t to gdb_sigset_t. Make saved_exitset and
1996 saved_entryset pointer variables. Add two new fields, num_syscalls
1997 and syscall_names.
1998 (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
1999 (sysset_t_size, sysset_t_alloc): New functions.
2000 (load_syscalls, free_syscalls, find_syscall): New functions for
2001 platforms which define DYNAMIC_SYSCALLS.
2002 (create_procinfo): Call load_syscalls.
2003 (destroy_one_procinfo): Call free_syscalls.
2004 (GDBRESET): Don't define twice.
2005 (proc_modify_flag): Change type of operation code array `arg'
2006 from long to procfs_ctl_t.
2007 (proc_stop_process, proc_wait_for_stop, proc_run_process)
2008 (proc_set_traced_signals, proc_set_traced_faults)
2009 (proc_set_traced_sysentry, proc_set_traced_sysexit)
2010 (proc_set_held_signals, proc_clear_current_fault)
2011 (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
2012 (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
2013 (proc_set_traced_sysentry): Dynamically allocate variable sized
2014 struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
2015 (proc_set_traced_sysexit): Dynamically allocate variable
2016 sized struct gdb_proc_ctl_pcsexit. Also, free it at
2017 function exit.
2018 (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
2019 for reading the sysset_t struct on AIX5.
2020 (procfs_debug_inferior): Don't assume that SYS_exit will be
2021 defined. Add new code for finding certain syscalls on AIX5.
2022 (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
2023 (syscall_is_lwp_create): New functions.
2024 (procfs_wait): Restructured code which checks for certain
2025 system calls to use the new syscall_is_... functions.
2026 (procfs_notice_signals): Account for the fact that saved_entryset
2027 and saved_exitset in struct procinfo are now pointers.
2028
2029 2001-03-26 Kevin Buettner <kevinb@redhat.com>
2030
2031 * symtab.c (find_pc_sect_line): Revise method used for finding
2032 the ending pc.
2033
2034 2001-03-26 Mark Kettenis <kettenis@gnu.org>
2035
2036 * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
2037 i386_linux_sigtramp_saved_sp): Make static.
2038 (i386_linux_frame_saved_pc): New function based on the old
2039 FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
2040 of read_memory_integer.
2041 * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
2042 (i386_linux_sigtramp_saved_pc): Remove prototype.
2043 (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
2044 (i386_linux_frame_saved_pc): New prototype.
2045
2046 2001-03-26 Andrew Cagney <ac131313@redhat.com>
2047
2048 * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
2049 * TODO (GDB 5.1 - Cleanups): Update.
2050
2051 2001-03-26 Andrew Cagney <ac131313@redhat.com>
2052
2053 * fork-child.c (clone_and_follow_inferior): Delete #ifdef
2054 HAVE_VFORK.
2055
2056 2001-03-26 Mark Kettenis <kettenis@gnu.org>
2057
2058 * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
2059
2060 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
2061 functions.
2062 * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
2063 (STORE_STRUCT_RETURN): Redefine in terms of
2064 i386_store_struct_return.
2065 (i386_push_arguments, i386_store_struct_return): New prototypes.
2066 * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
2067 definition was identical to the definition in "i386/tm-i386.h" so
2068 the new definition should suffice too.
2069
2070 2001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
2071
2072 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
2073 definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
2074
2075 * config/djgpp/djconfig.sh: Add copyright notice.
2076
2077 * ser-go32.c (rawclock): Remove prototype; include time.h instead.
2078 (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
2079 (top level) <string.h>: Include gdb_string.h instead.
2080 (dos_noop, dos_raw, dos_noflush_set_tty_state)
2081 (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
2082
2083 * go32-nat.c (go32_create_inferior): Move the declaration of
2084 `environ' to here from the top level.
2085 (top level) <_initialize_go32_nat>: Remove redundant prototype.
2086 <gdb_string.h>: Include it instead of string.h.
2087 (store_register): Call register_buffer instead of accessing
2088 registers[] directly.
2089 (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
2090 (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
2091 the function names at the start of the line.
2092 (go32_set_dr): Throw internal_error if the argument is not a valid
2093 debug register number.
2094 (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
2095 (go32_wait, go32_xfer_memory, go32_files_info)
2096 (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
2097
2098 2001-03-25 Jim Blandy <jimb@redhat.com>
2099
2100 * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
2101
2102 2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2103
2104 From Andrew Cagney <ac131313@redhat.com>
2105
2106 * coffread.c: Include "gdb_assert.h".
2107 (coff_symtab_read): Cast the integer s_sclass to a long before
2108 casting it to a pointer.
2109
2110 2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2111
2112 From Andrew Cagney <ac131313@redhat.com>
2113
2114 * coffread.c (coff_symtab_read): Initialize
2115 ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
2116 the ``.ef'' info.
2117 * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
2118
2119 2001-03-23 Andrew Cagney <ac131313@redhat.com>
2120
2121 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
2122 GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
2123 multi-arch.
2124
2125 * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
2126 * gdbarch.h, gdbarch.c: Re-generate.
2127
2128 * target.h (SOFTWARE_SINGLE_STEP_P)
2129 (SOFTWARE_SINGLE_STEP): Delete macro definitions.
2130
2131 2001-03-23 Andrew Cagney <ac131313@redhat.com>
2132
2133 * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
2134 * gdbarch.h, gdbarch.c: Regenerate.
2135
2136 * regcache.h (regcache_read, regcache_write): Declare.
2137 (registers, register_valid, register_buffer): Add note that these
2138 interfaces are deprecated.
2139
2140 * regcache.c: Include "gdb_assert.h".
2141 (legacy_write_register_gen): Rename write_register_gen.
2142 (legacy_read_register_gen): Rename read_register_gen.
2143 (regcache_read, regcache_write): New function.
2144 (read_register_gen, write_register_gen): New function.
2145 (write_register): Simplify. Use write_register_gen.
2146 (read_register): Ditto using read_register_gen.
2147 (read_signed_register): Ditto.
2148 (read_register_bytes): Ditto!!!!
2149 (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
2150 replaced by gdbarch_register_read.
2151
2152 * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
2153 deprecate.
2154
2155 2001-03-23 Jim Blandy <jimb@redhat.com>
2156
2157 Fix from Dan Berlin:
2158
2159 * stabsread.c (read_cpp_abbrev): Properly construct the names of
2160 virtual function table pointer fields.
2161
2162 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2163
2164 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
2165 xmrealloc): Move existing declarations to the one place and
2166 re-order to be consistent.
2167 (xmcalloc, xmfree): Declare.
2168 (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
2169 declaration.
2170
2171 * utils.c (size_t): Delete #ifdef defining size_t.
2172 (mmalloc, mrealloc, mcalloc, mfree): Re-order.
2173 (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
2174 corresponding malloc, realloc, calloc.
2175 (mfree): Call free directly.
2176 (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
2177 (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
2178 function bodies to here.
2179 (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
2180
2181 2001-03-23 Andrew Cagney <ac131313@redhat.com>
2182
2183 * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
2184 ``shell_file'' static locals.
2185
2186 * jv-lang.c (java_link_class_type): Initialize ``field'' and
2187 ``method''.
2188
2189 * jv-valprint.c (java_value_print): Initialize ``next_element''.
2190
2191 2001-03-23 Mark Kettenis <kettenis@gnu.org>
2192
2193 * config/i386/nm-i386.h: Fix formatting and change reference to
2194 i386-tdep.c to i386-nat.c.
2195
2196 2001-03-23 David Smith <dsmith@redhat.com>
2197
2198 * configure.in: Corrected spelling errors.
2199 * configure: Regenerated.
2200
2201 2001-03-22 Andrew Cagney <ac131313@redhat.com>
2202
2203 * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
2204
2205 2001-03-22 Andrew Cagney <ac131313@redhat.com>
2206
2207 * Makefile.in (NTSSTART): Delete.
2208 (NTSOBS): Delete.
2209 (kdb): Delete target.
2210 * kdb-start.c, stuff.c: Mark as obsolete.
2211 * NEWS: Update.
2212
2213 2001-03-22 Andrew Cagney <ac131313@redhat.com>
2214
2215 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
2216 compiles using an ISO-C compiler.
2217 (MALLOC_INCOMPATIBLE): Ditto.
2218 * linespec.c (decode_line_1): Delete hack to work around
2219 HPPA_COMPILER_BUG.
2220
2221 2001-03-22 Andrew Cagney <ac131313@redhat.com>
2222
2223 * exec.c (xfer_memory): Always initialize section.
2224 * infrun.c (normal_stop): Always initialize source_flag.
2225
2226 2001-03-22 Andrew Cagney <ac131313@redhat.com>
2227
2228 * TODO (Remote Protocol Support): Review. Add notes about ``!'',
2229 non-use of a continue address and typical use of ``q'' packet.
2230
2231 2001-03-22 Eli Zaretskii <eliz@is.elta.co.il>
2232
2233 Make DJGPP use the new unified support for hardware
2234 breakpoints and watchpoints on x86 targets:
2235
2236 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
2237 include nm-i386.h instead.
2238 (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
2239 (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
2240 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
2241 (target_stopped_data_address, target_insert_watchpoint)
2242 (target_remove_watchpoint, target_insert_hw_breakpoint)
2243 (target_remove_hw_breakpoint): Don't define.
2244 (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
2245 (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
2246 (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
2247 functions from go32-nat.c.
2248
2249 * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
2250
2251 * go32-nat.c <top level>: Remove prototypes for watchpoint-
2252 related functions. Remove definitions of watchpoint-related
2253 macros.
2254 (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
2255 private cleanup_dregs function.
2256 (cleanup_dregs, go32_insert_watchpoint)
2257 (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
2258 (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
2259 (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
2260 (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
2261 (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
2262
2263 2001-03-21 Kevin Buettner <kevinb@redhat.com>
2264
2265 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
2266 than two instead of generating an error.
2267
2268 2001-03-21 Jim Blandy <jimb@redhat.com>
2269
2270 * cp-valprint.c: Reformat to bring into line with GNU coding
2271 standards.
2272
2273 2001-03-21 Mark Kettenis <kettenis@gnu.org>
2274
2275 Make Linux use the new unified support for hardware breakpoints
2276 and watchpoints on x86 targets.
2277 * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
2278 [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
2279 (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
2280 appropriate value if not already defined.
2281 (register_u_addr): New function.
2282 (kernel_u_size): New function.
2283 (i386_linux_dr_get, i386_linux_dr_set): New functions.
2284 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
2285 i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
2286 * config/i386/nm-linux.h: Don't include "nm-i386v.h".
2287 (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
2288 (TARGET_HAS_HARDWARE_WATCHPOINTS,
2289 TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
2290 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
2291 target_remove_watchpoint): Remove macros.
2292 (i386_stopped_by_watchpoint, i386_insert_watchpoint,
2293 i386_remove_watchpoint): Remove prototypes.
2294 (register_u_addr): New prototype.
2295 (REGISTER_U_ADDR): Define in terms of register_u_addr.
2296 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
2297 i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
2298 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
2299 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
2300 * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
2301 i386-nat.o.
2302
2303 2001-03-21 Jim Blandy <jimb@redhat.com>
2304
2305 Fix from Dan Berlin:
2306
2307 * linespec.c (find_methods): Whitespace differences aren't
2308 significant in *un*mangled method names. Use strcmp_iw to compare
2309 them, not STREQ.
2310
2311 2001-03-21 Andrew Cagney <ac131313@redhat.com>
2312
2313 * gdbarch.sh: Allow a non- multi-arch target to override a
2314 predicate.
2315 * gdbarch.h: Regenerate.
2316
2317 2001-03-21 Andrew Cagney <ac131313@redhat.com>
2318
2319 * gdbarch.sh: Avoid use of ``!''.
2320
2321 2001-03-20 Andrew Cagney <ac131313@redhat.com>
2322
2323 * target.h (enum target_signal): Move definition from here.
2324 * defs.h (enum target_signal): To here.
2325
2326 * config/arc/tm-arc.h (arc_software_single_step): Change type of
2327 first parameter to enum target_signal.
2328 * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
2329 * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
2330 * rs6000-tdep.c (rs6000_software_single_step): Update.
2331
2332 2001-03-20 Andrew Cagney <ac131313@redhat.com>
2333
2334 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
2335 already defined.
2336
2337 From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
2338 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
2339 or a reference ('a') can be in a pseudo register.
2340 * infcmd.c (do_registers_info): Must take into account the pseudo
2341 registers to print their value.
2342 (registers_info): Likewise.
2343 * stack.c (frame_info): Likewise.
2344 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
2345
2346 2001-03-21 Eli Zaretskii <eliz@is.elta.co.il>
2347
2348 Unified support for hardware breakpoints and watchpoints on
2349 x86 targets:
2350
2351 * config/i386/nm-i386.h: New file.
2352
2353 * config/i386/nm-i386.h: (i386_cleanup_dregs)
2354 (i386_insert_watchpoint, i386_remove_watchpoint)
2355 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
2356 (i386_stopped_data_address, i386_insert_hw_breakpoint)
2357 (i386_remove_hw_breakpoint): Declare prototypes.
2358 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
2359 Define if not already defined.
2360 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
2361 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
2362 (target_insert_watchpoint, target_remove_watchpoint)
2363 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
2364 to call the appropriate i386_* functions.
2365
2366 * i386-nat.c: New file.
2367
2368 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
2369 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
2370 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
2371 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
2372 (maint_show_dr): New variables.
2373 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
2374 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
2375 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
2376 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
2377 (i386_stopped_data_address, i386_stopped_by_hwbp)
2378 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
2379 functions.
2380 (_initialize_i386_nat): New function.
2381 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
2382 `show-debug-regs', sets maint_show_dr to non-zero value and
2383 activates debugging print-outs in functions which insert, remove,
2384 and test watchpoints and hardware breakpoints.
2385
2386 * Makefile.in (i386-nat.o): New target.
2387 (ALLDEPFILES): Add i386-nat.o.
2388
2389 2001-03-21 Mark Kettenis <kettenis@gnu.org>
2390
2391 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
2392 appropriate comment.
2393
2394 2001-03-20 Kevin Buettner <kevinb@redhat.com>
2395
2396 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
2397 thread-db.o, and lin-lwp.o for thread support instead of
2398 linux-thread.o and lin-thread.o.
2399 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
2400 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
2401 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
2402 (lin_lwp_attach_lwp): Declare.
2403
2404 2001-03-20 Jim Blandy <jimb@redhat.com>
2405
2406 Fix from Dan Berlin:
2407
2408 * Makefile.in: Clean up dependencies on ../include/demangle.h.
2409 (demangle_h): New variable.
2410 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
2411
2412 2001-03-20 Andrew Cagney <ac131313@redhat.com>
2413
2414 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
2415 * breakpoint.c (bpstat_stop_status): Update.
2416 * infrun.c (handle_inferior_event): Ditto.
2417 * mips-tdep.c (mips_dump_tdep): Ditto.
2418 * infrun.c (resume): Ditto.
2419 * infptrace.c (child_resume): Ditto.
2420 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
2421 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
2422 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
2423 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
2424 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
2425 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
2426 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
2427
2428 2001-03-20 Andrew Cagney <ac131313@redhat.com>
2429
2430 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
2431 with internal_error.
2432
2433 2001-03-20 Jim Blandy <jimb@redhat.com>
2434
2435 Fix from Dan Berlin:
2436
2437 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
2438 than asking for sym_class's type; that's circuitous. Remove
2439 sym_class, since the last use of it is gone.
2440
2441 2001-03-20 Eli Zaretskii <eliz@is.elta.co.il>
2442
2443 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
2444 Correct the order of calls to ui_out_field_string and
2445 ui_out_list_begin when bs->old_val is NULL.
2446
2447 2001-03-19 Kevin Buettner <kevinb@redhat.com>
2448
2449 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
2450 * configure: Regenerate.
2451 * config.in: Regenerate.
2452 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
2453
2454 2001-03-19 Kevin Buettner <kevinb@redhat.com>
2455
2456 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
2457 same line to avoid problems with Unixware 7's make when building
2458 a cross debugger.
2459
2460 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2461
2462 * defs.h (malloc): Move declaration from here.
2463 * utils.c (malloc): To here.
2464 * config/pa/xm-hppah.h (malloc): Delete declaration.
2465
2466 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
2467 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
2468 (hpread_quick_traverse): Ditto.
2469 * infttrace.c (create_thread_info): Ditto.
2470 (kill_inferior): Ditto.
2471 * gnu-nat.c (make_inf): Ditto, and don't check return value.
2472 * procfs.c (proc_update_threads): Ditto.
2473 * valprint.c (print_decimal_chars): Ditto.
2474 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
2475 malloc and sprintf.
2476 * remote-rdp.c (rdp_set_command_line): Ditto.
2477
2478 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2479
2480 * defs.h (realloc): Move declaration from here.
2481 * utils.c (realloc): To here.
2482 * config/pa/xm-hppah.h (realloc): Delete declaration.
2483 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
2484 * symfile.c (add_filename_language): Ditto.
2485 * event-loop.c (create_file_handler): Ditto.
2486
2487 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2488
2489 * defs.h (free): Move declaration from here.
2490 * utils.c (free): To here.
2491 (xfree): Document as the only call to free().
2492 * config/pa/xm-hppah.h (free): Delete declaration.
2493
2494 2001-03-19 Kevin Buettner <kevinb@redhat.com>
2495
2496 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
2497 this list.
2498
2499 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2500
2501 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
2502 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
2503 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
2504
2505 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2506
2507 * TODO: List known problems with TUI.
2508
2509 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2510
2511 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
2512 gdb.hp).
2513
2514 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2515
2516 * remote.c (remote_cisco_section_offsets): Do not cast result from
2517 bfd_get_section_name.
2518 (compare_sections_command): Ditto.
2519 (remote_cisco_section_offsets): Make ``p'' a const pointer.
2520 (compare_sections_command): Ditto for ``sectname''.
2521
2522 2001-03-19 Andrew Cagney <ac131313@redhat.com>
2523
2524 From Mon Nov 20 13:59:29 2000 Andrew Cagney <cagney@b1.cygnus.com>:
2525 * valops.c (hand_function_call): Simplify computation of the
2526 address of the pushed argument.
2527
2528 2001-03-17 Andrew Cagney <ac131313@redhat.com>
2529
2530 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
2531 Code copied from c-exp.y.
2532
2533 2001-03-18 Kevin Buettner <kevinb@redhat.com>
2534
2535 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
2536 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
2537 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
2538 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
2539 of the Solaris procfs testing section. Instead, group with...
2540 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
2541 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
2542 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
2543 * configure: Regenerate.
2544 * config.in: Regenerate.
2545
2546 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
2547 new configure macros to choose which (if any) code to
2548 compile in. Added code to explicitly handle *BSD systems;
2549 these systems were previously handled only through macro
2550 redefinition. Also, due to the way the autoconf tests are set
2551 up, this function will no longer return a non-zero value when
2552 GDB is configured as a cross debugger. I.e, cross debuggers
2553 will no longer be able to "accidentally" get the host system's
2554 link map offsets.
2555
2556 2001-03-18 Kevin Buettner <kevinb@redhat.com>
2557
2558 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
2559 line to avoid build problem on NetBSD 1.4.
2560
2561 2001-03-17 Michael Chastain <chastain@redhat.com>
2562
2563 * win32-nat.c (child_attach): check args for NULL before passing
2564 to strtoul. This fixes PR gdb/43.
2565
2566 2001-03-17 Mark Kettenis <kettenis@gnu.org>
2567
2568 * i387-nat.h: Doc Fix.
2569
2570 * i386-tdep.c: Fix formatting.
2571 (i386_get_frame_setup, i386_follow_jump, codestream_read,
2572 codestream_seek, codestream_fill, skip_trampoline_code,
2573 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
2574 prototypoes.
2575
2576 2001-03-17 Mark Kettenis <kettenis@gnu.org>
2577
2578 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
2579 no longer used. Also remove associated FIXME.
2580
2581 2001-03-16 Andrew Cagney <ac131313@redhat.com>
2582
2583 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
2584 not generate macro wrappers for multi-arch functions or
2585 predicates.
2586 (class_is_info_p, class_is_predicate_p): Update.
2587 (class_is_function_p, class_is_variable_p): Ditto.
2588 (class_is_multiarch_p): New class function.
2589
2590 2001-03-16 J.T. Conklin <jtc@redback.com>
2591
2592 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
2593 h8300_frame_args_address from frame_args_address.
2594 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
2595 from frame_locals_address.
2596 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
2597 from print_register_hook.
2598 (h8300_frame_args_address): Declare.
2599 (h8300_frame_find_saved_regs): Declare.
2600 (h8300_frame_locals_address): Declare.
2601 (h8300_frame_saved_pc): Declare.
2602 (h8300_pop_frame): Declare.
2603 (h8300_print_register_hook): Declare.
2604 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
2605 (h8300_frame_args_address): Renamed from frame_args_address.
2606 (h8300_frame_locals_address): Renamed from frame_locals_address.
2607 (h8300_pop_frame): Renamed from pop_frame.
2608 (h8300_print_register_hook): Renamed from print_register_hook.
2609
2610 2001-03-16 Kevin Buettner <kevinb@redhat.com>
2611
2612 * solib-svr4.c (bfd_lookup_symbol): Change type of
2613 ``storage_needed'' from unsigned int to long in order to
2614 match return type of bfd_get_symtab_upper_bound() and
2615 bfd_get_dynamic_symtab_upper_bound().
2616 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
2617 REASONABLE_LIMIT hack which had been added to work around this
2618 problem.
2619
2620 2001-03-15 Kevin Buettner <kevinb@redhat.com>
2621
2622 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
2623 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
2624 to free() with calls to xfree().
2625 (bfd_lookup_symbol): Eliminate use of PTR.
2626 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
2627
2628 2001-03-15 Martin Hunt <hunt@redhat.com>
2629
2630 * linespec.c (decode_line_1): Remove trailing quote
2631 when parsing double quotes.
2632
2633 2001-03-15 Kevin Buettner <kevinb@redhat.com>
2634
2635 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
2636 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
2637 argument in the to_xfer_memory calls.
2638
2639 2001-03-15 Andrew Cagney <ac131313@redhat.com>
2640
2641 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
2642 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
2643
2644 2001-03-15 Andrew Cagney <ac131313@redhat.com>
2645
2646 * wince.c (child_xfer_memory): Add attrib parameter.
2647 * symm-nat.c (child_xfer_memory): Ditto.
2648 * mac-nat.c (child_xfer_memory): Ditto.
2649 * infttrace.c (child_xfer_memory): Ditto.
2650 * procfs.c (procfs_xfer_memory): Ditto.
2651 * lin-thread.c (thread_db_xfer_memory): Ditto.
2652 * gnu-nat.c (gnu_xfer_memory): Ditto.
2653
2654 2001-03-14 Andrew Cagney <ac131313@redhat.com>
2655
2656 * NEWS: Mention that Harris/CXUX m88k is obsolete.
2657
2658 2001-03-13 Andrew Cagney <ac131313@redhat.com>
2659
2660 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
2661 to regcache functions.
2662 * config/m68k/tm-m68k.h: Ditto.
2663 * config/i386/tm-i386v.h: Ditto.
2664 * config/mcore/tm-mcore.h: Ditto.
2665 * config/m88k/tm-m88k.h: Ditto.
2666 * config/m68k/tm-news.h: Ditto.
2667 * config/m68k/tm-linux.h: Ditto.
2668 * config/m68k/tm-delta68.h: Ditto.
2669 * config/m68k/nm-sun3.h: Ditto.
2670 * config/m32r/tm-m32r.h: Ditto.
2671 * config/i386/tm-symmetry.h: Ditto.
2672 * config/i386/tm-sun386.h: Ditto.
2673 * config/i386/tm-i386.h: Ditto.
2674 * config/i386/nm-symmetry.h: Ditto.
2675 * config/i386/nm-sun386.h: Ditto.
2676 * config/i386/nm-ptx4.h: Ditto.
2677 * config/i386/nm-i386mach.h: Ditto.
2678 * config/h8500/tm-h8500.h: Ditto.
2679 * config/h8300/tm-h8300.h: Ditto.
2680 * config/fr30/tm-fr30.h: Ditto.
2681 * config/d30v/tm-d30v.h: Ditto.
2682 * config/arm/tm-arm.h: Ditto.
2683 * config/arc/tm-arc.h: Ditto.
2684 * config/alpha/tm-alpha.h: Ditto.
2685 * config/a29k/tm-vx29k.h: Ditto.
2686 * config/a29k/tm-a29k.h: Ditto.
2687 * config/w65/tm-w65.h: Ditto.
2688 * config/vax/tm-vax.h: Ditto.
2689 * config/v850/tm-v850.h: Ditto.
2690 * config/tic80/tm-tic80.h: Ditto.
2691 * config/sparc/tm-sparclite.h: Ditto.
2692 * config/sparc/tm-sparclet.h: Ditto.
2693 * config/sparc/tm-sparc.h: Ditto.
2694 * config/sparc/nm-sun4sol2.h: Ditto.
2695 * config/sparc/nm-sun4os4.h: Ditto.
2696 * config/sparc/nm-nbsd.h: Ditto.
2697 * config/powerpc/nm-solaris.h: Ditto.
2698 * config/pa/tm-hppao.h: Ditto.
2699 * config/pa/tm-hppa.h: Ditto.
2700 * config/pa/nm-hppab.h: Ditto.
2701 * config/ns32k/tm-umax.h: Ditto.
2702 * config/ns32k/tm-merlin.h: Ditto.
2703 * config/nm-m3.h: Ditto.
2704 * config/nm-gnu.h: Ditto.
2705
2706 2001-03-14 Andrew Cagney <ac131313@redhat.com>
2707
2708 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
2709 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
2710 Specify an m88k target. Include sample GAWK script to generate
2711 target list. Delete non-existant romp target.
2712 * TODO (GDB 5.1 - Cleanups): Update.
2713
2714 2001-03-14 Keith Seitz <keiths@cygnus.com>
2715
2716 * linespec.c (decode_line_1): Skip argptr over a leading
2717 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
2718
2719 2001-03-14 Kevin Buettner <kevinb@redhat.com>
2720
2721 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
2722
2723 2001-03-13 Andrew Cagney <ac131313@redhat.com>
2724
2725 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
2726 * m3-nat.c: Ditto.
2727 * p-lang.h: Ditto.
2728 * printcmd.c (printf_command): Ditto.
2729 * ch-exp.c (match_integer_literal): Ditto.
2730 * scm-tags.h: Ditto.
2731 * ser-go32.c: Ditto.
2732 * hppa-tdep.c (unwind_command): Ditto.
2733 * defs.h (volatile): Delete macro definition. Assume __STDC__.
2734 * remote-adapt.c (volatile): Ditto.
2735 * remote-eb.c (volatile): Ditto.
2736 * remote-mm.c (volatile): Ditto.
2737 * defs.h (alloca): Assume __STDC__, declare returning void *.
2738
2739 2001-03-08 Andrew Cagney <ac131313@redhat.com>
2740
2741 * inferior.h (ARCH_NUM_REGS): Delete definition.
2742 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
2743 * regcache.c (registers_changed): Ditto.
2744 (registers_fetched): Ditto.
2745 * infptrace.c (fetch_inferior_registers): Ditto.
2746 (store_inferior_registers): Ditto.
2747 * infcmd.c (do_registers_info): Ditto.
2748 (registers_info): Ditto.
2749 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
2750 (old_store_inferior_registers): Ditto.
2751 * gdbserver/low-linux.c (register_addr): Ditto.
2752 * gdbserver/low-hppabsd.c (register_addr): Ditto.
2753 * core-aout.c: Don't include "inferior.h".
2754 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
2755 (register_addr): Ditto.
2756
2757 2001-03-13 Fernando Nasser <fnasser@redhat.com>
2758
2759 From Steven Johnson <sjohnson@neurizon.net>
2760 * cli/cli-script.c (define_command): Fix setting of post hooks.
2761
2762 2001-03-13 Mark Kettenis <kettenis@gnu.org>
2763
2764 * i386-linux-tdep.c: Fix formatting and clarify comments.
2765 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
2766 where appropriate.
2767
2768 2001-03-12 Andrew Cagney <ac131313@redhat.com>
2769
2770 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
2771 (proc_update_sc): Use gdb_assert instead of assert.
2772 (proc_abort): Ditto.
2773 (inf_set_step_thread): Ditto.
2774 (gnu_wait): Ditto.
2775 (S_exception_raise_request): Ditto.
2776 (gnu_terminal_init_inferior): Ditto.
2777
2778 2001-03-09 Kevin Buettner <kevinb@redhat.com>
2779
2780 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
2781 (solib-legacy.o): New makefile target.
2782 * solib-legacy.c: New file.
2783 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
2784 (default_svr4_fetch_link_map_offsets): Delete.
2785 (set_solib_svr4_fetch_link_map_offsets): Declare.
2786 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
2787 * solib-svr4.c (elf/common.h): Include.
2788 (link.h): Only include for SunOS shared library support.
2789 (_SYSCALL32): Don't define.
2790 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
2791 (default_svr4_fetch_link_map_offsets): Made static; added forward
2792 declaration.
2793 (fetch_link_map_offsets): New static global.
2794 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
2795 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
2796 of what used to be in this function now reside in
2797 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
2798 (open_symbol_file_object): Fix declaration in SunOS section
2799 of the code.
2800 (set_solib_svr4_fetch_link_map_offsets): New extern function.
2801 (init_fetch_link_map_offsets): New static function.
2802 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
2803 under multiarch control.
2804
2805 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
2806 list.
2807 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
2808 * config/arm/linux.mt (TDEPFILES): Likewise.
2809 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2810 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
2811 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
2812 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
2813 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
2814 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
2815 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
2816 * config/i386/linux.mt (TDEPFILES): Likewise.
2817 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
2818 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
2819 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
2820 * config/i386/ptx4.mh (XDEPFILES): Likewise.
2821 * config/i386/sun386.mt (TDEPFILES): Likewise.
2822 * config/ia64/linux.mt (TDEPFILES): Likewise.
2823 * config/m68k/linux.mt (TDEPFILES): Likewise.
2824 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
2825 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
2826 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
2827 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
2828 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
2829 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
2830 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
2831 * config/powerpc/linux.mt (TDEPFILES): Likewise.
2832 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
2833 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
2834 * config/sh/linux.mt (TDEPFILES): Likewise.
2835 * config/sparc/linux.mt (TDEPFILES): Likewise.
2836 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
2837 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
2838 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
2839 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
2840 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
2841
2842 2001-03-09 Kevin Buettner <kevinb@redhat.com>
2843
2844 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
2845
2846 2001-03-09 Andrew Cagney <ac131313@redhat.com>
2847
2848 * MAINTAINERS (Write After Approval): Update Philip Blundell.
2849
2850 2001-03-09 Keith Seitz <keiths@cygnus.com>
2851
2852 * MAINTAINERS: Add myself to write after approval list.
2853
2854 2001-03-09 Mark Kettenis <kettenis@gnu.org>
2855
2856 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
2857 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
2858
2859 2001-03-08 Andrew Cagney <ac131313@redhat.com>
2860
2861 * configure.host (m88*-harris-cxux*): Mark as obsolete.
2862 * configure.tgt: Ditto.
2863 * config/m88k/xm-cxux.h: Ditto.
2864 * config/m88k/tm-cxux.h: Ditto.
2865 * config/m88k/nm-cxux.h: Ditto.
2866 * config/m88k/cxux.mt: Ditto.
2867 * config/m88k/cxux.mh: Ditto.
2868
2869 2001-03-08 Andrew Cagney <ac131313@redhat.com>
2870
2871 * Makefile.in: Delete rules for obsolete files.
2872
2873 Thu Mar 8 15:43:40 2001 David Taylor <taylor@redhat.com>
2874
2875 * stack.c (parse_frame_specification): For one argument case,
2876 handle the situation where the argument is an integer, not an
2877 address -- arguably the most common case. This matters on
2878 targets where pointers and addresses are different.
2879
2880 2001-03-08 Andrew Cagney <ac131313@redhat.com>
2881
2882 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
2883 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
2884 general.
2885
2886 2001-03-07 Andrew Cagney <ac131313@redhat.com>
2887
2888 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
2889 with SID on Solaris 8.
2890
2891 2001-03-07 Mark Kettenis <kettenis@gnu.org>
2892
2893 * defs.h: Provide prototypes for floatformat_is_negative,
2894 floatformat_is_nan and floatformat_mantissa.
2895 * utils.c: Include "gdb_assert.h".
2896 (floatformat_is_negative): New function.
2897 (floatformat_is_nan): New function.
2898 (floatformat_mantissa): New function.
2899 * valprint.c: Include "floatformat.h".
2900 (print_floating): Get rid of the Linux-specific
2901 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
2902 help these new functions. Print NaN's in a format conforming to
2903 ISO C99.
2904
2905 2001-03-07 Eli Zaretskii <eliz@is.elta.co.il>
2906
2907 * top.c (init_main): Make `set history file name' complete on file
2908 names.
2909
2910 2001-03-06 J.T. Conklin <jtc@redback.com>
2911
2912 * Makefile.in (LINTFLAGS): Update to contain all of the macros
2913 which define include paths used when compiling.
2914
2915 * util.c (savestring, msavestring): Change type of length argument.
2916 * defs.h (savestring, msavestring): Update to match.
2917
2918 * symtab.h (decode_line_1): Removed declaration.
2919
2920 * symfile.c (#include <assert.h>): Removed.
2921
2922 * arch-utils.c (#include <ctype.h>): Removed.
2923 * c-typeprint.c: Likewise.
2924 * dbxread.c: Likewise.
2925 * gdbtypes.c: Likewise.
2926 * target.c: Likewise.
2927 * os9kread.c: Likewise.
2928
2929 * c-valprint.c (#include "demangle.h"): Removed.
2930 * ch-typeprint.c: Likewise.
2931 * eval.c: Likewise.
2932 * f-typeprint.c: Likewise.
2933 * f-valprint.c: Likewise.
2934 * m2-typeprint.c: Likewise.
2935 * typeprint.c: Likewise.
2936 * p-typeprint.c: Likewise.
2937 * valarith.c: Likewise.
2938 * valprint.c: Likewise.
2939
2940 * m2-typeprint.c (#include "gdb_string.h"): Removed.
2941 * nlmread.c: Likewise.
2942
2943 * mdebugread.c (#include "gdb-stabs.h"): Removed.
2944 * minsyms.c: Likewise.
2945 * mipsread.c: Likewise.
2946 * nlmread.c: Likewise.
2947
2948 * m2-typeprint.c (#include "obstack.h"): Removed.
2949 * m2-valprint.c: Likewise.
2950
2951 * event-loop.c (#include <setjmp.h>): Removed.
2952
2953 2001-03-06 Stan Shebs <shebs@apple.com>
2954
2955 * MAINTAINERS: Remove self from specific maintenance domains
2956 (macos, gdbserver, documentation, testsuite).
2957
2958 2001-03-06 Kevin Buettner <kevinb@redhat.com>
2959
2960 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
2961 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
2962 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
2963 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
2964 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
2965 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
2966 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
2967 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
2968 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
2969 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
2970 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
2971 coff-solib.h, coffread.c, command.h, complaints.c,
2972 complaints.h, completer.c, completer.h,
2973 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
2974 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
2975 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
2976 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
2977 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
2978 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
2979 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
2980 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
2981 config/arm/nm-linux.h, config/arm/tm-arm.h,
2982 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
2983 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
2984 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
2985 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
2986 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
2987 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
2988 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
2989 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
2990 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
2991 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
2992 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
2993 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
2994 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
2995 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
2996 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
2997 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
2998 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
2999 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
3000 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
3001 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
3002 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
3003 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
3004 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
3005 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
3006 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
3007 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
3008 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
3009 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
3010 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
3011 config/i960/tm-i960.h, config/i960/tm-mon960.h,
3012 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
3013 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
3014 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
3015 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
3016 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
3017 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
3018 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
3019 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
3020 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
3021 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
3022 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
3023 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
3024 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
3025 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
3026 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
3027 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
3028 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
3029 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
3030 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
3031 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
3032 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
3033 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
3034 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
3035 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
3036 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
3037 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
3038 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
3039 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
3040 config/mips/nm-irix5.h, config/mips/nm-mips.h,
3041 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
3042 config/mips/tm-embed.h, config/mips/tm-embed64.h,
3043 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
3044 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
3045 config/mips/tm-mips.h, config/mips/tm-mips64.h,
3046 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
3047 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
3048 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
3049 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
3050 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
3051 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
3052 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
3053 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
3054 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
3055 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
3056 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
3057 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
3058 config/nm-sysv4.h, config/none/nm-none.h,
3059 config/none/tm-none.h, config/none/xm-none.h,
3060 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
3061 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
3062 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
3063 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
3064 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
3065 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
3066 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
3067 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
3068 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
3069 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
3070 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
3071 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
3072 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
3073 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
3074 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
3075 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
3076 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
3077 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
3078 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
3079 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
3080 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
3081 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
3082 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
3083 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
3084 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
3085 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
3086 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
3087 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
3088 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
3089 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
3090 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
3091 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
3092 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
3093 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
3094 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
3095 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
3096 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
3097 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
3098 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
3099 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
3100 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
3101 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
3102 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
3103 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
3104 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
3105 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
3106 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
3107 gdbserver/low-sim.c, gdbserver/low-sparc.c,
3108 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
3109 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
3110 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
3111 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
3112 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
3113 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
3114 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
3115 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
3116 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
3117 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
3118 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
3119 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
3120 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
3121 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
3122 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
3123 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
3124 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
3125 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
3126 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
3127 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
3128 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
3129 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
3130 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
3131 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
3132 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
3133 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
3134 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
3135 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
3136 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
3137 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
3138 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
3139 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
3140 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
3141 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
3142 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
3143 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
3144 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
3145 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
3146 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
3147 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
3148 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
3149 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
3150 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
3151 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
3152 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
3153 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
3154 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
3155 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
3156 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
3157 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
3158 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
3159 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
3160 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
3161 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
3162 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
3163 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
3164 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
3165 notices.
3166
3167 2001-03-05 Kevin Buettner <kevinb@redhat.com>
3168
3169 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
3170 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
3171 macros.
3172 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
3173 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
3174 (sys/fault.h, sys/select.h): Test for presence of these
3175 header files.
3176 (ia64-*-aix*): Define NEW_PROC_API for this host.
3177 * configure: Regenerate.
3178 * config.in: Regenerate.
3179
3180 * configure.host (ia64-*-aix*): New host.
3181 * configure.tgt (ia64-*-aix*): New target.
3182
3183 2001-03-05 Andrew Cagney <ac131313@redhat.com>
3184
3185 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
3186
3187 Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
3188
3189 * wince.c: Change realloc to xrealloc throughout.
3190 (handle_load_dll): Use void * rather than PTR in argument.
3191
3192 2001-03-04 Andrew Cagney <ac131313@redhat.com>
3193
3194 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
3195 * ocd.c (ocd_xfer_memory): Ditto.
3196 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
3197 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
3198 buildable with ,-Werror.
3199
3200 * Makefile.in (symfile_h): Define.
3201 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
3202 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
3203 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
3204 ,-Werror.
3205
3206 * dsrec.c (make_srec): Fix internal_error fmt arg.
3207 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
3208
3209 2001-03-03 Kevin Buettner <kevinb@redhat.com>
3210
3211 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
3212 as an lvalue.
3213
3214 2001-03-02 Andrew Cagney <ac131313@redhat.com>
3215
3216 * MAINTAINERS (paper trail): Update.
3217
3218 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
3219
3220 2001-03-02 Andrew Cagney <ac131313@redhat.com>
3221
3222 From 2001-03-01 Tom Rix <trix@redhat.com>:
3223 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
3224 parameter to mn10200_analyze_prologue.
3225
3226 * config/mn10200/tm-mn10200.h: Include "regcache.h".
3227 * MAINTAINERS: Document that mn10200-elf target is buildable.
3228
3229 2001-03-02 Kevin Buettner <kevinb@redhat.com>
3230
3231 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
3232 from here...
3233 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
3234 (MONTEREY): Don't define.
3235 (AIX5): Define.
3236
3237 2001-03-02 Matt Hiller <hiller@redhat.com>
3238
3239 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
3240
3241 2001-03-02 Kevin Buettner <kevinb@redhat.com>
3242
3243 * sparc-nat.c (sparc-nat.c): Don't include self.
3244
3245 2001-03-01 J.T. Conklin <jtc@redback.com>
3246
3247 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
3248 if __CYGWIN32__ is set from here.
3249 * config/i386/xm-cygwin.h: To here.
3250 * config/powerpc/xm-cygwin.h: To here.
3251
3252 * i386-stub.c (handle_exception): Use 'T' response packet.
3253
3254 2001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3255
3256 * m32r-tdep.c: Fix cut and paste error in comment.
3257
3258 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3259
3260 * symtab.c (print_msymbol_info): Print addresses by portable method
3261 longest_local_hex_string_custom. Allow for 64-bit addresses.
3262
3263 2001-03-01 J.T. Conklin <jtc@redback.com>
3264
3265 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
3266 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
3267 (MIN_OF_TYPE): Likewise.
3268
3269 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
3270
3271 2001-03-01 Andrew Cagney <ac131313@redhat.com>
3272
3273 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
3274 * os9kread.c (os9k_process_one_symbol): Add assert to detect
3275 ``loses if sizeof (char *) > sizeof (int)''.
3276
3277 2001-03-01 Andrew Cagney <ac131313@redhat.com>
3278
3279 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
3280
3281 2001-03-01 Andrew Cagney <ac131313@redhat.com>
3282
3283 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
3284 lists.
3285 (mi-main.o): Ditto.
3286
3287 2001-03-01 Andrew Cagney <ac131313@redhat.com>
3288
3289 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
3290 dependency lists.
3291
3292 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3293
3294 * printcmd.c (print_address_numeric): Update comments to refer
3295 to sizeof addr, not sizeof pointer.
3296 (x_command): Remove needless whitespace (shorten long line).
3297
3298 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
3299 (read_memory_nobpt): Ditto.
3300 (ep_is_catchpoint): Ditto.
3301 (ep_is_shlib_catchpoint): Ditto.
3302 (ep_is_exception_catchpoint): Ditto.
3303 (describe_other_breakpoints): Ditto.
3304
3305 Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
3306
3307 * regcache.h (register_valid): Fix comment documenting valid
3308 states.
3309
3310 Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
3311
3312 From Steven Johnson:
3313 * regcache.h: New file.
3314
3315 * value.h (read_register_bytes, read_register_gen)
3316 (write_register_gen, write_register_bytes)
3317 (read_register, read_register_pid)
3318 (read_signed_register, read_signed_register_pid)
3319 (write_register, write_register_pid)
3320 (register_cached, set_register_cached)
3321 (register_changed, register_buffer)
3322 (registers_changed, supply_register): Move declaration from here.
3323 * regcache.h: To here.
3324 * gdbcore.h (registers_fetched): Ditto.
3325 * inferior.h (registers, registers_valid): Ditto.
3326
3327 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
3328 generic_target_write_pc, write_pc_pid, write_pc,
3329 generic_target_read_sp, read_sp, generic_target_write_sp,
3330 write_sp, generic_target_read_fp, read_fp,
3331 generic_target_write_fp, write_fp): Add note that these functions
3332 will be moved from this file.
3333
3334 * a29k-tdep.c: Include "regcache.h".
3335 * a68v-nat.c: Ditto.
3336 * abug-rom.c: Ditto.
3337 * alpha-nat.c: Ditto.
3338 * alpha-tdep.c: Ditto.
3339 * alphabsd-nat.c: Ditto.
3340 * arc-tdep.c: Ditto.
3341 * arm-linux-nat.c: Ditto.
3342 * arm-linux-tdep.c: Ditto.
3343 * arm-tdep.c: Ditto.
3344 * blockframe.c: Ditto.
3345 * core-aout.c: Ditto.
3346 * core-sol2.c: Ditto.
3347 * corelow.c: Ditto.
3348 * cpu32bug-rom.c: Ditto.
3349 * cxux-nat.c: Ditto.
3350 * d10v-tdep.c: Ditto.
3351 * d30v-tdep.c: Ditto.
3352 * dbug-rom.c: Ditto.
3353 * dink32-rom.c: Ditto.
3354 * dve3900-rom.c: Ditto.
3355 * findvar.c: Ditto.
3356 * fr30-tdep.c: Ditto.
3357 * frame.c: Ditto.
3358 * go32-nat.c: Ditto.
3359 * h8300-tdep.c: Ditto.
3360 * h8500-tdep.c: Ditto.
3361 * hp300ux-nat.c: Ditto.
3362 * hppa-tdep.c: Ditto.
3363 * hppab-nat.c: Ditto.
3364 * hppah-nat.c: Ditto.
3365 * hppam3-nat.c: Ditto.
3366 * hpux-thread.c: Ditto.
3367 * i386-linux-nat.c: Ditto.
3368 * i386-linux-tdep.c: Ditto.
3369 * i386-tdep.c: Ditto.
3370 * i386aix-nat.c: Ditto.
3371 * i386b-nat.c: Ditto.
3372 * i386bsd-nat.c: Ditto.
3373 * i386gnu-nat.c: Ditto.
3374 * i386ly-tdep.c: Ditto.
3375 * i386m3-nat.c: Ditto.
3376 * i386mach-nat.c: Ditto.
3377 * i386nbsd-nat.c: Ditto.
3378 * i386v4-nat.c: Ditto.
3379 * i387-nat.c: Ditto.
3380 * i387-tdep.c: Ditto.
3381 * i960-tdep.c: Ditto.
3382 * ia64-aix-nat.c: Ditto.
3383 * ia64-linux-nat.c: Ditto.
3384 * ia64-tdep.c: Ditto.
3385 * infptrace.c: Ditto.
3386 * infrun.c: Ditto.
3387 * irix4-nat.c: Ditto.
3388 * irix5-nat.c: Ditto.
3389 * lin-lwp.c: Ditto.
3390 * lin-thread.c: Ditto.
3391 * lynx-nat.c: Ditto.
3392 * m3-nat.c: Ditto.
3393 * m32r-rom.c: Ditto.
3394 * m32r-tdep.c: Ditto.
3395 * m68hc11-tdep.c: Ditto.
3396 * m68k-tdep.c: Ditto.
3397 * m68klinux-nat.c: Ditto.
3398 * m68knbsd-nat.c: Ditto.
3399 * m68knbsd-tdep.c: Ditto.
3400 * m88k-nat.c: Ditto.
3401 * m88k-tdep.c: Ditto.
3402 * mac-nat.c: Ditto.
3403 * mcore-rom.c: Ditto.
3404 * mcore-tdep.c: Ditto.
3405 * mi/mi-main.c: Ditto.
3406 * mips-nat.c: Ditto.
3407 * mips-tdep.c: Ditto.
3408 * mipsm3-nat.c: Ditto.
3409 * mipsv4-nat.c: Ditto.
3410 * mn10200-tdep.c: Ditto.
3411 * mn10300-tdep.c: Ditto.
3412 * monitor.c: Ditto.
3413 * ns32km3-nat.c: Ditto.
3414 * ns32knbsd-nat.c: Ditto.
3415 * ocd.c: Ditto.
3416 * pa64solib.c: Ditto.
3417 * ppc-bdm.c: Ditto.
3418 * ppc-linux-nat.c: Ditto.
3419 * ppc-linux-tdep.c: Ditto.
3420 * ppcbug-rom.c: Ditto.
3421 * ppcnbsd-nat.c: Ditto.
3422 * ptx4-nat.c: Ditto.
3423 * regcache.c: Ditto.
3424 * remote-adapt.c: Ditto.
3425 * remote-array.c: Ditto.
3426 * remote-bug.c: Ditto.
3427 * remote-e7000.c: Ditto.
3428 * remote-eb.c: Ditto.
3429 * remote-es.c: Ditto.
3430 * remote-est.c: Ditto.
3431 * remote-hms.c: Ditto.
3432 * remote-mips.c: Ditto.
3433 * remote-mm.c: Ditto.
3434 * remote-nindy.c: Ditto.
3435 * remote-os9k.c: Ditto.
3436 * remote-rdi.c: Ditto.
3437 * remote-rdp.c: Ditto.
3438 * remote-sds.c: Ditto.
3439 * remote-sim.c: Ditto.
3440 * remote-st.c: Ditto.
3441 * remote-udi.c: Ditto.
3442 * remote-utils.c: Ditto.
3443 * remote-vx.c: Ditto.
3444 * remote-vx29k.c: Ditto.
3445 * remote-vx68.c: Ditto.
3446 * remote-vx960.c: Ditto.
3447 * remote-vxmips.c: Ditto.
3448 * remote-vxsparc.c: Ditto.
3449 * remote.c: Ditto.
3450 * rom68k-rom.c: Ditto.
3451 * rs6000-nat.c: Ditto.
3452 * rs6000-tdep.c: Ditto.
3453 * sh-tdep.c: Ditto.
3454 * sh3-rom.c: Ditto.
3455 * sol-thread.c: Ditto.
3456 * solib-svr4.c: Ditto.
3457 * somsolib.c: Ditto.
3458 * sparc-nat.c: Ditto.
3459 * sparc-tdep.c: Ditto.
3460 * sparcl-tdep.c: Ditto.
3461 * sparclet-rom.c: Ditto.
3462 * sun3-nat.c: Ditto.
3463 * sun386-nat.c: Ditto.
3464 * symm-nat.c: Ditto.
3465 * target.c: Ditto.
3466 * thread-db.c: Ditto.
3467 * thread.c: Ditto.
3468 * tic80-tdep.c: Ditto.
3469 * tracepoint.c: Ditto.
3470 * ultra3-nat.c: Ditto.
3471 * umax-xdep.c: Ditto.
3472 * uw-thread.c: Ditto.
3473 * v850-tdep.c: Ditto.
3474 * v850ice.c: Ditto.
3475 * valops.c: Ditto.
3476 * w65-tdep.c: Ditto.
3477 * w89k-rom.c: Ditto.
3478 * win32-nat.c: Ditto.
3479 * wince.c: Ditto.
3480 * z8k-tdep.c: Ditto.
3481
3482 2001-02-28 Matt Hiller <hiller@redhat.com>
3483
3484 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
3485
3486 2001-02-27 Matt Hiller <hiller@redhat.com>
3487
3488 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
3489 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
3490 mn10300_stab_reg_to_regnum.
3491
3492 Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
3493
3494 * symtab.c (search_symbols): Fix off by one error in test for
3495 error.
3496
3497 2001-02-23 Andrew Cagney <ac131313@redhat.com>
3498
3499 * config/sparc/sp64linux.mt: New file.
3500 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
3501 * configure.host: Recognize sparc64-*-linux* as a linux host.
3502
3503 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
3504 * config/sparc/tm-sp64linux.h: New file.
3505
3506 2001-02-24 Kevin Buettner <kevinb@redhat.com>
3507
3508 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
3509 with call to internal_error().
3510 * dbxread.c (process_one_symbol): Likewise.
3511 * exec.c (build_section_table, xfer_memory): Likewise.
3512 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
3513 Likewise.
3514 * hpread.c (hpread_type_translate, hpread_read_array_type)
3515 (hpread_type_lookup): Likewise.
3516 * i386-tdep.c (gdb_print_insn_i386): Likewise.
3517 * i960-tdep.c (mem): Likewise
3518 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
3519 * infptrace.c (child_resume): Likewise.
3520 * infttrace.c (_initialize_infttrace): Likewise.
3521 * language.c (binop_result_type, add_language): Likewise.
3522 * lynx-nat.c (store_inferior_registers): Likewise.
3523 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
3524 * mdebugread.c (parse_partial_symbols): Likewise.
3525 * monitor.c (monitor_printf_noecho, monitor_printf)
3526 (monitor_dump_regs): Likewise.
3527 * ocd.c (stu_put_packet): Likewise.
3528 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
3529 * remote-bug.c (bug_open): Likewise.
3530 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
3531 * remote-es.c (es1800_read_bytes): Likewise.
3532 * remote-mips.c (common_breakpoint): Likewise.
3533 * remote-rdp.c (send_rdp): Likewise.
3534 * remote-sds.c (putmessage): Likewise.
3535 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
3536 Likewise.
3537 * sparcl-tdep.c (sparclite_download): Likewise.
3538 * symtab.c (lookup_partial_symbol): Likewise.
3539 * target.c (push_target, pop_target, initialize_targets): Likewise.
3540 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
3541 Likewise.
3542 * valprint.c (print_decimal, print_longest, print_longest)
3543 (strcat_longest): Likewise.
3544 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
3545 * xmodem.c (xmodem_send_packet): Likewise.
3546 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
3547 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
3548 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
3549 (STORE_RETURN_VALUE): Likewise.
3550 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
3551 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
3552 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
3553 Likewise.
3554
3555 2001-02-23 Andrew Cagney <ac131313@redhat.com>
3556
3557 * CONTRIBUTE: Document how to cite a problem report.
3558 * TODO: Note need to replace CONTRIBUTE with generated file.
3559
3560 * CONTRIBUTE: Mention that patches do not need to include the
3561 generated files gdbarch.h and gdbarch.c.
3562
3563 2001-02-21 Andrew Cagney <ac131313@redhat.com>
3564
3565 * value.h (get_saved_register): Move from here.
3566 * frame.h: To here.
3567
3568 2001-02-21 Kevin Buettner <kevinb@redhat.com>
3569
3570 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
3571 (in_solib_dynsym_resolve_code): Add declaration.
3572 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
3573 in_solib_dynsym_resolve_code() rather than
3574 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
3575 which caused this macro to only be defined when
3576 SVR4_SHARED_LIBS is defined.
3577 * solib.c (in_solib_dynsym_resolve_code): New function.
3578 * solist.h (struct target_so_ops): Add new member
3579 in_dynsym_resolve_code.
3580 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
3581 in_svr4_dynsym_resolve_code. Also, made static.
3582 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
3583 member in aix5_so_ops.
3584 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
3585 in_svr4_dynsym_resolve_code. Also, added second version
3586 of this function which will be used when SVR4_SHARED_LIBS
3587 is not defined.
3588 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
3589 member in svr4_so_ops.
3590
3591 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
3592 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
3593 config/ia64/xm-aix.h: New files.
3594 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
3595 (ia64_aix_sigcontext_register_address): New declaration.
3596 (ia64_gdbarch_init): Provide for initialization of
3597 sigcontext_register_address member of struct tdep when
3598 on target is detected to be running AIX.
3599 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
3600 this list.
3601
3602 2001-02-20 Kevin Buettner <kevinb@redhat.com>
3603
3604 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
3605 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
3606 for thread support instead of linux-thread.o and lin-thread.o.
3607 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
3608 ATTACH_LWP): Define to use the following lin-lwp.c functions...
3609 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
3610 lin_lwp_attach_lwp): Declare.
3611
3612 2001-02-20 Andrew Cagney <ac131313@redhat.com>
3613
3614 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
3615 formatting.
3616
3617 2001-02-20 Kevin Buettner <kevinb@redhat.com>
3618
3619 * solib-aix5.c (solib-svr4.h): Remove include.
3620 (solib_break_names): Delete names which aren't actually
3621 used by AIX5.
3622 (bkpt_names): Remove.
3623 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
3624 to STREQ() with equivalent calls to strcmp().
3625 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
3626 aix5_solib_create_inferior_hook): Revise comments.
3627 (enable_break): Remove old ``bkpt_names'' code.
3628
3629 2001-02-19 Andrew Cagney <ac131313@redhat.com>
3630
3631 * Makefile.in (SFILES): Add frame.c .
3632 (COMMON_OBS): Add frame.o .
3633 (frame.o): New target.
3634
3635 * frame.c (find_saved_register):
3636 (default_get_saved_register):
3637 (get_saved_register):
3638 (read_relative_register_raw_bytes_for_frame):
3639 (read_relative_register_raw_bytes): Moved to here.
3640 * regcache.c: From here.
3641
3642 2001-02-20 Kevin Buettner <kevinb@redhat.com>
3643
3644 * solib-aix5.c: New file.
3645
3646 2001-02-20 Martin M. Hunt <hunt@redhat.com>
3647
3648 * solib.c (info_sharedlibrary_command): Don't assume pointers
3649 are the same size of long, call longest_local_hex_string_custom().
3650
3651 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
3652 extract_signed_integer() should be called instead of
3653 extract_address().
3654
3655 2001-02-20 Martin M. Hunt <hunt@redhat.com>
3656
3657 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
3658
3659 2001-02-19 Andrew Cagney <ac131313@redhat.com>
3660
3661 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
3662 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
3663 then floating point registers are 8 bytes.
3664
3665 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3666
3667 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
3668 accomodate 64-bit addresses.
3669
3670 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3671
3672 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
3673 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
3674 lookup_symbol, when trying to find a symbol with a mangled name,
3675 to avoid infinite recursion.
3676
3677 2001-02-18 Andrew Cagney <ac131313@redhat.com>
3678
3679 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
3680
3681 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
3682
3683 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
3684 (save_prologue_cache): Ditto.
3685
3686 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3687
3688 From: innadadadavida@yahoo.com:
3689 * partial-stab.h (switch): Check that pst is not null
3690 before dereferencing it.
3691
3692 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3693
3694 From Andrew Cagney <cagney@b1.cygnus.com>:
3695 * symfile.c (add_symbol_file_command): Always initialize
3696 my_cleanup using a NULL cleanup.
3697
3698 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
3699
3700 * demangle.c (demangling_style_names): New variable.
3701 (_initialize_demangler): Fill demangling_style_names with the
3702 names of known demangling styles from libiberty_demanglers[]. Use
3703 add_set_enum_cmd instead of add_set_cmd, to get completion on
3704 demangling style names.
3705
3706 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
3707 file-name completion.
3708
3709 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
3710
3711 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
3712 `solib-absolute-prefix'.
3713
3714 * tracepoint.c (_initialize_tracepoint): Ditto for
3715 `save-tracepoints'.
3716
3717 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
3718
3719 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
3720 file-name completion.
3721
3722 * infcmd.c (_initialize_infcmd): Make the following commands use
3723 the file-name completer: `tty', `args', `path', `paths', and
3724 `run'.
3725
3726 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
3727
3728 * go32-nat.c: Include i387-nat.h.
3729 (fetch_register): New function, uses some of the guts of
3730 go32_fetch_registers and calls i387_supply_register.
3731 (go32_fetch_registers): Most of the code moved into
3732 fetch_register. Use i387_supply_fsave.
3733 (store_register): Use i387_fill_fsave instead of custom code.
3734 (go32_store_registers): Use i387_fill_fsave.
3735
3736 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
3737
3738 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
3739
3740 * completer.c (gdb_completer_file_name_break_characters): Remove
3741 slash from file-name break characters.
3742 [__MSDOS__]: Special definition for DOS/Windows file names.
3743 (line_completion_function): When completing on file names, bump
3744 `p' to the first file-name constituent character of `word', before
3745 invoking the completer.
3746
3747 2001-02-17 Mark Kettenis <kettenis@gnu.org>
3748
3749 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
3750 consistently for parameter names. Fix comments accordingly.
3751 (i387_supply_register): New function.
3752 (i387_supply_fsave): Implement using i387_supply_register.
3753 * i387-nat.h: Use regnum instead of regno consistently for
3754 parameter names. Fix comments accordingly.
3755 (i387_supply_register): New prototype.
3756
3757 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3758
3759 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
3760 instead of TARGET_PTR_BIT (to support Harvard architectures).
3761
3762 2001-02-16 Andrew Cagney <ac131313@redhat.com>
3763
3764 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
3765 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
3766 argument to parameter list and to call in order to conform to
3767 to_xfer_memory field of struct target_ops.
3768
3769 2001-02-12 Michael Chastain <chastain@redhat.com>
3770
3771 * somsolib.c (som_solib_add_solib_objfile): Do not use
3772 section relocation feature of syms_from_objfile. Do my own
3773 section relocation, offsetting each section of the som by
3774 either text_addr - text_link_addr or data_start.
3775
3776 2001-02-16 Andrew Cagney <ac131313@redhat.com>
3777
3778 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
3779
3780 2001-02-16 Andrew Cagney <ac131313@redhat.com>
3781
3782 * MAINTAINERS (paper trail): Update.
3783
3784 2001-02-16 Mark Kettenis <kettenis@gnu.org>
3785
3786 * target.h (target_fetch_registers): Fix comment.
3787
3788 2001-02-15 Andrew Cagney <ac131313@redhat.com>
3789
3790 * f-exp.y: Include <ctype.h>.
3791 (parse_number): Ensure that ``i'' is always initialized.
3792
3793 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
3794
3795 * MAINTAINERS: Add myself to paper trail section.
3796
3797 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3798
3799 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
3800 * configure, config.in: Regenerate.
3801 * corelow.c: Include <sys/file.h> if present.
3802
3803 2001-02-14 Andrew Cagney <ac131313@redhat.com>
3804
3805 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
3806 declare when have SIGTTOU.
3807
3808 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
3809
3810 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
3811
3812 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
3813
3814 * MAINTAINERS: Update my email address.
3815
3816 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
3817
3818 * NEWS: Document that "info symbol" works with COFF debug info and
3819 its variants.
3820
3821 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
3822 symbols whose SYMBOL_BFD_SECTION is NULL.
3823
3824 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3825
3826 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
3827 * xcoffsolib.c (xcoff_solib_address): Renamed from
3828 pc_load_segment_name. Return NULL if address is not in a shared
3829 library. Cleanup shared library name construction, using xasprintf.
3830 Format shared library member names consistent with format in exec.c.
3831 (solib_info): Format shared library member names consistent with
3832 format in exec.c.
3833 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
3834 using xcoff_solib_address for PC_SOLIB definition.
3835 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
3836 needed.
3837
3838 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3839
3840 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
3841 with xmalloc calls and cleanups.
3842
3843 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3844
3845 * rs6000-nat.c (child_xfer_memory): Add missing parameter
3846 'struct mem_attrib *' required by 2001-01-23 change.
3847
3848 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
3849
3850 Updates to "make TAGS":
3851 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
3852 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
3853 tahoe-tdep.c.
3854 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
3855
3856 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
3857
3858 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
3859
3860 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
3861
3862 From Dean Luick <luick@cray.com>:
3863 * defs.h (continuation): Remove unused global variable.
3864
3865 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
3866
3867 * configure.tgt: Remove references to convex, pyramid, altos and
3868 tahoe.
3869 * configure.host: Ditto.
3870 * MAINTAINERS: Ditto.
3871 * NEWS: Update.
3872
3873 * tahoe-tdep.c: Delete obsolete file.
3874 * pyr-xdep.c: Ditto.
3875 * pyr-tdep.c: Ditto.
3876 * convex-tdep.c: Ditto.
3877 * convex-xdep.c: Ditto.
3878 * config/tahoe/xm-tahoe.h: Ditto.
3879 * config/tahoe/tm-tahoe.h: Ditto.
3880 * config/tahoe/tahoe.mt: Ditto.
3881 * config/tahoe/tahoe.mh: Ditto.
3882 * config/pyr/xm-pyr.h: Ditto.
3883 * config/pyr/tm-pyr.h: Ditto.
3884 * config/pyr/pyramid.mt: Ditto.
3885 * config/pyr/pyramid.mh: Ditto.
3886 * config/m68k/xm-altos.h: Ditto.
3887 * config/m68k/tm-altos.h: Ditto.
3888 * config/m68k/altos.mt: Ditto.
3889 * config/m68k/altos.mh: Ditto.
3890 * config/convex/xm-convex.h: Ditto.
3891 * config/convex/tm-convex.h: Ditto.
3892 * config/convex/convex.mt: Ditto.
3893 * config/convex/convex.mh: Ditto.
3894 * config/convex/Convex.notes: Ditto.
3895 * config/arm/xm-arm.h: Ditto.
3896 * config/arm/nm-arm.h: Ditto.
3897 * config/arm/arm.mt: Ditto.
3898 * config/arm/arm.mh: Ditto.
3899 * arm-convert.s: Ditto.
3900 * arm-xdep.c: Ditto.
3901 * altos-xdep.c: Ditto.
3902
3903 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
3904
3905 * defs.h (internal_error, internal_verror): Add __FILE__ and
3906 __LINE__ parameter.
3907 * utils.c (internal_error, internal_verror): Update.
3908
3909 * v850-tdep.c: Update calls to internal_error.
3910 * utils.c: Ditto.
3911 * ui-out.c: Ditto.
3912 * ui-file.c: Ditto.
3913 * target.h: Ditto.
3914 * symtab.h: Ditto.
3915 * symm-nat.c: Ditto.
3916 * sparc-tdep.c: Ditto.
3917 * source.c: Ditto.
3918 * serial.c: Ditto.
3919 * rs6000-tdep.c: Ditto.
3920 * rs6000-nat.c: Ditto.
3921 * remote.c: Ditto.
3922 * remote-vx.c: Ditto.
3923 * remote-sim.c: Ditto.
3924 * remote-mips.c: Ditto.
3925 * regcache.c: Ditto.
3926 * objfiles.h: Ditto.
3927 * objfiles.c: Ditto.
3928 * mn10300-tdep.c: Ditto.
3929 * mips-tdep.c: Ditto.
3930 * maint.c: Ditto.
3931 * m68k-tdep.c: Ditto.
3932 * m3-nat.c: Ditto.
3933 * language.c: Ditto.
3934 * infptrace.c: Ditto.
3935 * inferior.h: Ditto.
3936 * infcmd.c: Ditto.
3937 * ia64-tdep.c: Ditto.
3938 * i386-tdep.c: Ditto.
3939 * i386-linux-nat.c: Ditto.
3940 * hppah-nat.c: Ditto.
3941 * go32-nat.c: Ditto.
3942 * findvar.c: Ditto.
3943 * f-lang.c: Ditto.
3944 * elfread.c: Ditto.
3945 * event-loop.c: Ditto.
3946 * dwarf2read.c: Ditto.
3947 * dsrec.c: Ditto.
3948 * d30v-tdep.c: Ditto.
3949 * d10v-tdep.c: Ditto.
3950 * cli/cli-setshow.c: Ditto.
3951 * cli/cli-script.c: Ditto.
3952 * ch-exp.c: Ditto.
3953 * breakpoint.c: Ditto.
3954 * ax-gdb.c: Ditto.
3955 * arch-utils.c: Ditto.
3956 * a29k-tdep.c: Ditto.
3957 * gdb_assert.h: Ditto.
3958 * gdbarch.sh: Ditto.
3959 * gdbarch.h, gdbarch.c: Re-generate.
3960
3961 2001-02-07 Andrew Cagney <ac131313@redhat.com>
3962
3963 From Mark Kettenis <kettenis@gnu.org>:
3964 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
3965
3966 2001-02-07 Andrew Cagney <ac131313@redhat.com>
3967
3968 * remote-sim.c (dump_mem): Cleanup printf format argument.
3969 * MAINTAINERS: Update, mn10300-elf now builds.
3970
3971 2001-02-07 Mark Kettenis <kettenis@gnu.org>
3972
3973 * event-top.c: Remove duplicate #include <signal.h>.
3974
3975 2001-02-06 Andrew Cagney <ac131313@redhat.com>
3976
3977 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
3978 allocated buffer.
3979 (save_inferior_pid): Restore the PID from that tempoary
3980 buffer. Delete the buffer.
3981 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
3982
3983 2001-02-06 Andrew Cagney <ac131313@redhat.com>
3984
3985 * MAINTAINERS: Add ``The Obvious Fix Rule''.
3986
3987 2001-02-06 Andrew Cagney <ac131313@redhat.com>
3988
3989 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
3990
3991 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
3992
3993 * gdbarch.sh: Include "gdb_assert.h".
3994 (struct gdbarch): Change ``nr_data'' to unsigned.
3995 (alloc_gdbarch_data, free_gdbarch_data): New functions.
3996 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
3997 architecture vector.
3998 (struct gdbarch_data, struct gdbarch_data_registration): Move init
3999 method to gdbarch_data. Add free method, make index unsigned.
4000 (struct gdbarch_data_registry): Make nr unsigned.
4001 (register_gdbarch_data): Add free parameter. Store in
4002 gdbarch_data.
4003 (init_gdbarch_data): Use set_gdbarch_data.
4004 (set_gdbarch_data): New function.
4005
4006 * gdbarch.h, gdbarch.c: Re-generate.
4007
4008 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4009
4010 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
4011 fprintf_filtered with correct arguments.
4012
4013 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
4014 Submitted by Paul Hilfinger (hilfingr@gnat.com)
4015 and Andrei Petrov (and@genesyslab.com).
4016 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
4017 must be allocated dynamically, since these are no longer constants.
4018 * infcmd.c: Ditto.
4019 * regcache.c: Ditto.
4020 * remote.c: Ditto.
4021 * sol-thread.c: Ditto.
4022 * valops.c: Ditto.
4023 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
4024 work-around for a missing Sun header file in solaris for sparc64.
4025
4026 2001-02-04 Philip Blundell <philb@gnu.org>
4027
4028 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
4029 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
4030 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
4031 GET_THREAD_SIGNALS): Define.
4032 * arm-linux-nat.c (fill_gregset): Correct type of argument.
4033 (supply_gregset): Likewise.
4034 (fill_fpregset): Likewise.
4035 (supply_fpregset): Likewise.
4036
4037 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
4038
4039 * valops.c (value_cast): If casting a scalar to a pointer, do not
4040 issue a message about truncation unless it exceeds the length of
4041 an address, not the length of a pointer. This is because what the
4042 user gives us is an address, not a pointer, and we will ultimately
4043 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
4044 to a pointer. This allows things like "print *(int *)0x01000234"
4045 to work without generating a misleading message on a target having
4046 two byte pointers and four byte addresses.
4047
4048 2001-02-05 Christopher Faylor <cgf@cygnus.com>
4049
4050 * win32-nat.c: Change PTR to void * throughout.
4051
4052 2001-02-05 J.T. Conklin <jtc@redback.com>
4053
4054 * signals.h: Removed.
4055 * event-top.c (#include <signal.h>): Changed from signals.h.
4056 * inflow.c: Likewise.
4057 * mac-xdep.c: Likewise.
4058 * ser-pipe.c: Likewise.
4059 * ser-tcp.c: Likewise.
4060 * standalone.c: Likewise.
4061 * top.c: Likewise.
4062 * utils.c: Likewise.
4063 * Makefile.in: Removed signals.h from dependencies.
4064
4065 2001-02-05 Christopher Faylor <cgf@cygnus.com>
4066
4067 Change suggested by Dean Luick <luick@cray.com>
4068 * inferior.h (step_over_calls_kind): Remove trailing comma from
4069 last enum element.
4070 (step_over_calls): Declare as extern rather than global.
4071
4072 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4073
4074 * sh-tdep.c: Update copyright.
4075 (sh_extract_return_value): Rewrite.
4076 (sh3e_sh4_extract_return_value): New function.
4077 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
4078 version of the function for sh3e and sh4 CPUs.
4079
4080 2001-02-05 Michael Chastain <chastain@redhat.com>
4081
4082 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
4083 to conform with interface change.
4084
4085 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
4086
4087 * config/djgpp/fnchange.lst: Tweak to make consistent with the
4088 new files.
4089
4090 * config/djgpp/djconfig.sh: Use explicit absolute file name when
4091 invoking `find'.
4092
4093 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
4094 UART_FIFO_WORKS is defined. Otherwise use outportb.
4095 From Francisco Pastor <fpastor.etra-id@etra.es>
4096
4097 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
4098 with target.h's `to_xfer_memory' member.
4099
4100 2001-02-02 J.T. Conklin <jtc@redback.com>
4101
4102 * ppc-bdm.c (#include <signal.h>): Removed.
4103 * remote-array.c: Likewise.
4104 * remote-bug.c: Likewise.
4105 * remote-e7000.c: Likewise.
4106 * remote-mips.c: Likewise.
4107 * remote-os9k.c: Likewise.
4108 * remote-st.c: Likewise.
4109 * remote-udi.c: Likewise.
4110 * remote-vx29k.c: Likewise.
4111 * remote-vx68.c: Likewise.
4112 * remote-vx960.c: Likewise.
4113 * remote-vxmips.c: Likewise.
4114 * remote-vxsparc.c: Likewise.
4115
4116 2001-02-02 John Moore <jmoore@redhat.com>
4117
4118 * remote-utils.h (sr_set_device): Changed free() to xfree() where
4119 appropriate. Also changed Copyright to include 2001.
4120 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
4121 * value.h (value_free): Likewise.
4122 * gdbarch.sh (gdbarch_free): Likewise.
4123 * gdbarch.c, gdbarch.h: Regenerated.
4124
4125 2001-02-02 John Moore <jmoore@redhat.com>
4126
4127 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
4128 xfree(). Also changed Copyright to include 2001.
4129
4130 2001-02-02 J.T. Conklin <jtc@redback.com>
4131
4132 * monitor.c (#include "gdb_wait.h"): Removed.
4133 * ocd.c: Likewise.
4134 * ppc-bdm.c: Likewise.
4135 * remote-adapt.c: Likewise.
4136 * remote-array.c: Likewise.
4137 * remote-bug.c: Likewise.
4138 * remote-e7000.c: Likewise.
4139 * remote-eb.c: Likewise.
4140 * remote-es.c: Likewise.
4141 * remote-mips.c: Likewise.
4142 * remote-mm.c: Likewise.
4143 * remote-nindy.c: Likewise.
4144 * remote-os9k.c: Likewise.
4145 * remote-rdi.c: Likewise.
4146 * remote-rdp.c: Likewise.
4147 * remote-sds.c: Likewise.
4148 * remote-sim.c: Likewise.
4149 * remote-st.c: Likewise.
4150 * remote-udi.c: Likewise.
4151 * remote-vx.c: Likewise.
4152 * remote-vx29k.c: Likewise.
4153 * remote-vx68.c: Likewise.
4154 * remote-vx960.c: Likewise.
4155 * remote-vxmips.c: Likewise.
4156 * remote-vxsparc.c: Likewise.
4157 * remote.c: Likewise.
4158 * ser-pipe.c: Likewise.
4159 * ser-unix.c: Likewise.
4160 * Makefile.in: Updated dependencies.
4161
4162 2001-01-31 David Smith <dsmith@redhat.com>
4163
4164 * event-loop.c: Change inclusion of string.h to gdb_string.h and
4165 updated the copyright notice.
4166 * ser-pipe.c: Ditto.
4167 * mi/mi-cmds.c: Ditto.
4168 * mi/mi-console.c: Ditto.
4169 * mi/mi-getopt.c: Ditto.
4170 * mi/mi-parse.c: Ditto.
4171
4172 2001-01-31 David Smith <dsmith@redhat.com>
4173
4174 * MAINTAINERS: Add David Smith to Write After Approval list.
4175
4176 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
4177
4178 * cli/cli-utils.c (putchar_filtered): Move function from here.
4179 * utils.c (putchar_filtered): To here.
4180 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
4181 * defs.h (putchar_filtered): To here.
4182
4183 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
4184
4185 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
4186 AC_FUNC_VFORK macro.
4187 * config.in, configure: Re-generate.
4188
4189 * gdb_vfork.h: New file.
4190 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
4191 * fork-child.c (fork_inferior): Ditto.
4192
4193 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
4194
4195 * defs.h (strsave): Delete declaration.
4196 * utils.c (strsave): Delete definition.
4197 * TODO (strsave): Update
4198
4199 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
4200 * sparcl-tdep.c (sparclite_open): Ditto.
4201 * mips-tdep.c (mips_set_processor_type_command): Ditto.
4202 (_initialize_mips_tdep): Ditto.
4203 * solib.c (solib_open): Ditto.
4204 * symfile.c (add_filename_language): Ditto.
4205 (set_ext_lang_command): Ditto.
4206 * source.c (init_source_path): Ditto.
4207 (mod_path): Ditto.
4208 * sh3-rom.c (sh3_open): Ditto.
4209 (sh3e_open): Ditto.
4210 * serial.c (serial_open): Ditto.
4211 * remote-mips.c (common_open): Ditto.
4212 * monitor.c (monitor_open): Ditto.
4213 * m32r-rom.c (m32r_upload_command): Ditto.
4214 * infcmd.c (path_command): Ditto.
4215 * f-exp.y (parse_number): Ditto.
4216 * breakpoint.c (create_longjmp_breakpoint): Ditto.
4217 (create_thread_event_breakpoint): Ditto.
4218 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
4219 (_initialize_arc_tdep): Ditto.
4220
4221 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
4222
4223 * cli/cli-script.c (define_command): Check for a bad hook value in
4224 switch statement.
4225
4226 2001-01-30 J.T. Conklin <jtc@redback.com>
4227
4228 * configure/sh/embed.mt: New file.
4229 * configure/sh/linux.mt: New file.
4230 * configure/sh/sh.mt: Removed.
4231 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
4232 (sh-*-*): Removed.
4233
4234 2001-01-29 Michael Chastain <chastain@redhat.com>
4235
4236 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
4237 symbol comparisons in binary search.
4238
4239 2001-01-27 Christopher Faylor <cgf@cygnus.com>
4240
4241 * win32-nat.c (child_xfer_memory): Add missing argument required by
4242 2001-01-23 change.
4243
4244 2001-01-27 Mark Kettenis <kettenis@gnu.org>
4245
4246 * ui-out.c (do_list_end): New function.
4247 (make_cleanup_ui_out_list_end): New function.
4248 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
4249 * stack.c (print_frame) [UI_OUT]: Call
4250 make_cleanup_ui_out_list_end to make sure we mark the end of the
4251 list if we do a non-local exit. At the end of the function,
4252 instead of calling ui_out_list_end directly, let do_cleanups
4253 handle it.
4254
4255 2001-01-26 Fernando Nasser <fnasser@redhat.com>
4256
4257 Fix double parsing of filenames passed as command line arguments
4258 to GDB (causes weird handling of escape characters).
4259 Also, remove dependencies on the CLI from libgdb.
4260 * call-cmds.h: Remove declaration of exec_file_command().
4261 * gdbcore.h: Remove declaration of exec_file_command().
4262 Add declarations for exec_open() and exec_file_clear().
4263 * symfile.h: Add declarations for symbol_file_add_main() and
4264 symbol_file_clear().
4265 * exec.c (exec_open): New function. Implements to_open for exec
4266 targets.
4267 (exec_file_clear): New function. Makes GDB forget about a previously
4268 specified executable file.
4269 (exec_file_attach): Move parsing of arguments from here ...
4270 (exec_file_command): ... to here.
4271 (init_exec_ops): Use exec_open(), not exec_file_command() to
4272 implement to_open for exec targets.
4273 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
4274 with default values. Used when the file name has already been parsed.
4275 (symbol_file_clear): New function. Makes GDB forget about previously
4276 read symbols.
4277 (symbol_file_command): Call the above function instead of inline code.
4278 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
4279 "call-cmds.h".
4280 (captured_main): Call exec_file_attach() and symbol_file_add_main()
4281 instead of exec_file_command() and symbol_file_command().
4282 (captured_main): Add comment.
4283 * corefile.c: Include "symfile.h".
4284 (core_file_command): Call symbol_file_add_main() instead of
4285 symbol_file_command().
4286 (reopen_exec_file): Call exec_open() instead of exec_file_command().
4287 * infcmd.c: Include "symfile.h".
4288 (attach_command): Call symbol_file_add_main() instead of
4289 symbol_file_command().
4290 * infrun.c: Remove comment about the inclusion of "symfile.h",
4291 not any longer appropriate.
4292 (follow_exec): Call symbol_file_add_main() instead of
4293 symbol_file_command().
4294 * remote-es.c: Include "symfile.h".
4295 (es1800_load): Call symbol_file_add_main() instead of
4296 symbol_file_command().
4297 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
4298 not any longer appropriate.
4299 (vx-wait): Call symbol_file_add_main() instead of
4300 symbol_file_command().
4301 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
4302 instead of symbol_file_command().
4303 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
4304 symbol_file_add_main() instead of exec_file_command() and
4305 symbol_file_command().
4306 * Makefile.in: Update dependencies.
4307
4308 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
4309
4310 * remote-udi.c (udi_open): Change strdup to xstrdup.
4311 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
4312 Update copyright message.
4313 * varobj.c (delete_variable_1): Likewise.
4314
4315 * gdb_string.h: Remove declaration of strdup. Update copyright
4316 message.
4317 * config/xm-mpw.h: Likewise.
4318 * config/i386/xm-i386mach.h: Likewise.
4319 * config/m68k/xm-apollo68b.h: Likewise.
4320 * config/m68k/xm-hp300bsd.h: Likewise.
4321 * config/rs6000/xm-rs6000.h: Likewise.
4322 * config/vax/xm-vaxult.h: Remove declaration of strdup.
4323 * config/vax/xm-vaxult2.h: Likewise.
4324
4325 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
4326
4327 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
4328
4329 2001-01-25 J.T. Conklin <jtc@redback.com>
4330
4331 * target.c (target_xfer_memory_partial): Return -1 on failure due
4332 to invalid access mode attribute.
4333
4334 2001-01-25 Christopher Faylor <cgf@cygnus.com>
4335
4336 * win32-nat.c (_initialize_core_win32): Prototype correctly.
4337
4338 2001-01-25 Mark Kettenis <kettenis@gnu.org>
4339
4340 * config/alpha/tm-fbsd.h: Update copyright.
4341 (USE_STRUCT_CONVENTION): Define in terms of
4342 alphabsd_use_struct_convention.
4343 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
4344 * alphafbsd-tdep.c: New file.
4345
4346 2001-01-24 Fernando Nasser <fnasser@redhat.com>
4347
4348 * top.c (print_gdb_version): Update Copyright year.
4349
4350 2001-01-24 J.T. Conklin <jtc@redback.com>
4351
4352 * dcache.c (dcache_write_line): Fix typo.
4353
4354 * memattr.c (delete_mem_region): Replace free() with xfree().
4355 (mem_number): Add explicit type.
4356
4357 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
4358 (rw_common): Likewise.
4359
4360 2001-01-24 Fernando Nasser <fnasser@redhat.com>
4361
4362 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
4363 for the inferior program arguments.
4364 (run_command, run_no_args_command, init_infcmd)): Use accessor
4365 functions to set the inferior program arguments.
4366 * inferior.h: Add definitions to the accessor functions above.
4367
4368 2001-01-23 Jim Blandy <jimb@redhat.com>
4369
4370 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
4371 Implement these correctly, using make_cv_type.
4372
4373 2001-01-23 J.T. Conklin <jtc@redback.com>
4374
4375 * exec.c (xfer_memory): Add attrib argument.
4376 * infptrace.c (child_xfer_memory): Likewise.
4377 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
4378 * monitor.c (monitor_xfer_memory): Likewise.
4379 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
4380 * remote-array.c (array_xfer_memory): Likewise.
4381 * remote-bug.c (bug_xfer_memory): Likewise.
4382 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
4383 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
4384 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
4385 * remote-mips.c (mips_xfer_memory): Likewise.
4386 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
4387 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
4388 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
4389 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
4390 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
4391 * remote-sds.c (sds_xfer_memory): Likewise.
4392 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
4393 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
4394 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
4395 * remote-vx.c (vx_xfer_memory): Likewise.
4396 * remote.c (remote_xfer_memory): Likewise.
4397 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
4398 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
4399 * thread-db.c (thread_db_xfer_memory): Likewise.
4400
4401 * target.h (#include "memattr.h"): Added.
4402 (target_ops.to_xfer_memory): Add attrib argument.
4403
4404 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
4405 * dcache.h (set_dcache_state): Removed declaration.
4406 * dcache.c (set_dcache_state): Removed definition
4407
4408 * dcache.c: Update module comment, as dcache is now enabled and
4409 disabled with memory region attributes instead of by the global
4410 variable "remotecache". Add comment describing the interaction
4411 between dcache and memory region attributes.
4412 (dcache_xfer_memory): Add comment describing benefits of moving
4413 cache writeback to a higher level.
4414 (dcache_struct): Removed cache_has_stuff field. This was used to
4415 record whether the cache had been accessed in order to invalidate
4416 it when it was disabled. However, this is not needed because the
4417 cache is write through and the code that enables, disables, and
4418 deletes memory regions invalidate the cache. Add comment which
4419 suggests that we could be more selective and only invalidate those
4420 cache lines containing data from those memory regions.
4421 (dcache_invalidate): Updated.
4422 (dcache_xfer_memory): Updated.
4423
4424 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
4425 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
4426 perform a uncached transfer if dcache_enabled_p was clear. This
4427 function is now only called if caching is enabled for the memory
4428 region.
4429 (dcache_info): Always print cache info.
4430
4431 * target.c (do_xfer_memory): Add attrib argument.
4432 (target_xfer_memory, target_xfer_memory_partial): Break transfer
4433 into chunks defined by memory regions, pass region attributes to
4434 do_xfer_memory().
4435 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
4436
4437 * Makefile.in (SFILES): Add memattr.c.
4438 (COMMON_OBS): Add memattr.o.
4439 (dcache.o): Add target.h to dependencies.
4440 * memattr.c: New file.
4441 * memattr.h: Likewise.
4442
4443 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
4444 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
4445 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
4446 * gdbserver/low-sim.c (#include "defs.h"): Removed.
4447 (mygeneric_load): Rename from generic_load.
4448
4449 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
4450 (#include "defs.h"): Removed.
4451 (inferior_pid, perror_with_name): Remove declarations.
4452 * gdbserver/low-linux.c: Likewise.
4453 * gdbserver/low-nbsd.c: Likewise.
4454 * gdbserver/low-sparc.c: Likewise.
4455 * gdbserver/low-sun3.c: Likewise.
4456
4457 * i386-stub.c: Re-indent.
4458 * m68k-stub.c: Re-indent.
4459
4460 2001-01-22 Nicholas Duffek <nsd@redhat.com>
4461
4462 * gdbarch.sh (PARM_BOUNDARY): Define.
4463 * gdbarch.c: Regenerate.
4464 * gdbarch.h: Regenerate.
4465
4466 2001-01-22 J.T. Conklin <jtc@redback.com>
4467
4468 * ns32k-tdep.c: #include "frame.h"
4469 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
4470 appears to have been inadvertantly removed sometime in May 1999.
4471
4472 * Revert 2000-11-09 changes where shared library objects were
4473 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
4474 we'd like to be able to debug dynamically linked executables,
4475 this makes it impossible to build a cross debugger on a many
4476 hosts.
4477
4478 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
4479 * config/i386/nbsdelf.mt: Likewise.
4480 * config/m68k/nbsd.mt: Likewise.
4481 * config/ns32k/nbsd.mt: Likewise.
4482 * config/powerpc/nbsd.mt: Likewise.
4483 * config/sparc/nbsd.mt: Likewise.
4484 * config/sparc/nbsdelf.mt: Likewise.
4485 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
4486 * config/i386/nbsdelf.mh: Likewise.
4487 * config/m68k/nbsd.mh: Likewise.
4488 * config/ns32k/nbsd.mh: Likewise.
4489 * config/powerpc/nbsd.mh: Likewise.
4490 * config/sparc/nbsd.mh: Likewise.
4491
4492 2001-01-19 Jason Merrill <jason@redhat.com>
4493
4494 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
4495 (process_one_symbol): Likewise.
4496 * dwarfread.c (handle_producer): Likewise.
4497
4498 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
4499
4500 * configure.in (build_warnings): Disable -Wuninitialized until GDB
4501 compiles with -Wuninitialized,-Werror.
4502 * configure: Regenerate.
4503
4504 * MAINTAINERS: Add list of buildable targets.
4505
4506 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
4507
4508 * defs.h (STRCMP): Delete macro.
4509
4510 * objfiles.c (objfile_relocate): Replace STRCMP with call to
4511 strcmp.
4512 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
4513 * symfile.c (compare_symbols): Ditto.
4514 * standalone.c (open): Ditto.
4515 * remote-es.c (verify_break): Ditto.
4516 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
4517
4518 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
4519
4520 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
4521
4522 * varobj.c (FREEIF): Delete macro.
4523 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
4524 call.
4525
4526 2001-01-18 Nick Clifton <nickc@redhat.com>
4527
4528 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
4529 (arc_print_insn): No bfd available, so pass NULL to
4530 arc_get_disassembler.
4531
4532 2001-01-09 James Ingham <jingham@inghji.apple.com>
4533
4534 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
4535 a mangled symbol rather than recursing into lookup_symbol, since
4536 this will just re-unmangle the name & call lookup_symbol_aux -
4537 leading to an infinite recursion.
4538
4539 2001-01-18 Mark Kettenis <kettenis@gnu.org>
4540
4541 * infcmd.c (print_return_value): Restore another space lost by
4542 switch to UIOUT. ``$NN='' should be ``$NN =''.
4543
4544 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
4545
4546 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
4547 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
4548 definition in parenthesis.
4549
4550 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
4551
4552 From 2000-10-27 Mark Salter <msalter@redhat.com>:
4553 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
4554 packet.
4555 (remote_insert_hw_breakpoint): Ditto.
4556
4557 2001-01-17 J.T. Conklin <jtc@redback.com>
4558
4559 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
4560 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
4561 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
4562 * m68knbsd-tdep.c: New file.
4563
4564 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
4565
4566 * m68knbsd-nat.c: #include gdbcore.h.
4567
4568 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
4569
4570 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
4571
4572 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
4573
4574 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
4575 goes away -- just return false (ie. not stopped by watchpoint).
4576 * source.c (openp): Fix typo in comment.
4577
4578 2001-01-12 Nicholas Duffek <nsd@redhat.com>
4579
4580 * blockframe.c (generic_get_saved_register): Spelling fix.
4581 * frame.h (FRAME_FP): Spelling fix.
4582
4583 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
4584
4585 * infcmd.c (print_return_value): Restore space lost by switch to
4586 UIOUT. ``$NN='' should be ``$NN =''.
4587
4588 2001-01-08 Nicholas Duffek <nsd@redhat.com>
4589
4590 * regcache.c (set_register_cached, register_buffer,
4591 real_register, pseudo_register fetch_register, store_register):
4592 New functions.
4593 (register_changed, read_relative_register_raw_bytes_for_frame,
4594 registers_changed, registers_fetched, read_register_bytes,
4595 read_register_gen, write_register_gen, read_register,
4596 read_signed_register, write_register, supply_register): Replace
4597 register_valid[] with register_cached() and
4598 set_register_cached().
4599 (read_register_bytes, read_register_gen, write_register_gen,
4600 read_register, read_signed_register, write_register,
4601 supply_register): Replace registers[] with register_buffer().
4602 (read_register_bytes, read_register_gen, read_register,
4603 read_signed_register): Call fetch_register().
4604 (write_register_gen, write_register): Call real_register() and
4605 store_register().
4606 (write_register_bytes): Call store_register().
4607 * value.h (set_register_cached, register_buffer): Prototype.
4608 * remote.c (remote_fetch_registers): Allocate regs[] with a
4609 run-time size. Replace register_valid[] with
4610 set_register_cached().
4611 (store_register_using_P, remote_store_registers): Replace
4612 registers[] with register_buffer().
4613
4614 2001-01-08 Nicholas Duffek <nsd@redhat.com>
4615
4616 * regcache.c: Change "write-back" comment to "write-through".
4617 Change "regno" to "regnum".
4618 (read_register, read_signed_register): Remove "raw" from return
4619 value description.
4620 (supply_register): Spelling fix.
4621 * value.h: Change "regno" to "regnum".
4622
4623 2001-01-08 Fernando Nasser <fnasser@redhat.com>
4624
4625 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
4626 to be installed.
4627
4628 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
4629
4630 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
4631
4632 2001-01-04 Nicholas Duffek <nsd@redhat.com>
4633
4634 * valops.c (VALUE_SUBSTRING_START): Delete.
4635
4636 2001-01-04 Nicholas Duffek <nsd@redhat.com>
4637
4638 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
4639 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
4640 (cli_utils_h): New variable.
4641 (cli/cli-utils.o): New rule.
4642 * cli/cli-utils.c: New file.
4643 * cli/cli-utils.h: New file.
4644
4645 2001-01-04 Nicholas Duffek <nsd@redhat.com>
4646
4647 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
4648 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
4649
4650 2001-01-03 J.T. Conklin <jtc@redback.com>
4651
4652 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
4653 comment.
4654
4655 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
4656
4657 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
4658 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
4659 non-float types.
4660 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
4661 Update copyright notice.
4662
4663 For older changes see ChangeLog-2000
4664 \f
4665 Local Variables:
4666 mode: change-log
4667 left-margin: 8
4668 fill-column: 74
4669 version-control: never
4670 End:
This page took 0.146449 seconds and 4 git commands to generate.