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