]> Git Repo - binutils.git/blame - gdb/ChangeLog
Fix -W... flags check.
[binutils.git] / gdb / ChangeLog
CommitLineData
4536bbc6
AC
12001-10-30 Andrew Cagney <[email protected]>
2
3 * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the
4 -W... flags.
5 * configure: Re-generate.
6
c3c057c8
FF
72001-10-30 Fred Fish <[email protected]>
8
9 * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
10 * pa64solib.c (add_to_solist): Ditto.
11 * win32-nat.c (_initialize_inftarg): Remove unnecessary
12 initialization of auto_solib_add, it defaults to 1.
13
b7209cb4
FF
142001-10-27 Fred Fish <[email protected]>
15
16 * symfile.c (auto_solib_add): Update comment to note that
17 this variable is now just used as a boolean to control shlib
18 autoloading, and clarify when it is used.
19 * symfile.h (auto_solib_add): Ditto.
20
21 * symfile.c (auto_solib_limit): New variable that holds the
22 autoloading threshold instead of overloading auto_solib_add.
23 * symfile.h (auto_solib_limit): Ditto.
24
25 * irix5-nat.c (_initialize_solib): Change auto-solib-add
26 variable from var_zinteger to var_boolean and update help.
27 * osfsolib.c (_initialize_solib): Ditto.
28 * pa64solib.c (_initialize_pa64_solib): Ditto.
29 * solib.c (_initialize_solib): Ditto.
30 * somsolib.c (_initialize_som_solib): Ditto.
31 * xcoffsolib.c (_initialize_solib): Ditto.
32
33 * pa64solib.c (pa64_solib_total_st_size): Update comment to
34 note that the new auto_solib_limit variable is used instead
35 of overloading auto_solib_add variable.
36 (_initialize_pa64_solib): Ditto.
37 * somsolib.c (som_solib_total_st_size): Ditto.
38 (_initialize_som_solib): Ditto.
39
40 * pa64solib.c (_initialize_pa64_solib): Add new set/show
41 commands for auto-solib-limit variable.
42 * somsolib.c (_initialize_som_solib): Ditto
43
44 * pa64solib.c (add_to_solist): Check that auto_solib_add is
45 set and use auto_solib_limit as the threshold size instead
46 of auto_solib_add.
47 * somsolib.c (som_solib_add): Ditto, and also change warning
48 text about size threshold exceeded.
49
dec66fe5
MK
502001-10-21 Mark Kettenis <[email protected]>
51
52 * config/i386/tm-i386v.h: Don't include "regcache.h".
53 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
54 FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
55 Remove macros. The versions from "tm-i386.h" should work fine
56 (and in most cases even better).
57
c6ba6f0d
MK
582001-10-30 Mark Kettenis <[email protected]>
59
60 * i386-tdep.c (i386_extract_return_value): Use
61 convert_typed_floating to extract floating-point value from
62 register buffer.
63 (i386_store_return_value): Use convert_typed_floating to store
64 floating-point return balue in register buffer
65 (i386_register_virtual_type): Change type of floating-point
66 registers to builtin_type_i387_ext.
67 (i386_register_convert_to_virtual): Use convert_typed_floating to
68 do the conversion.
69 (i386_register_convert_to_raw): Likewise.
70
43686d64
MK
712001-10-29 Mark Kettenis <[email protected]>
72
73 * doublest.h (convert_typed_floating): New prototype.
74 * doublest.c (convert_typed_floating): New function.
75
87ffba60
MK
762001-10-28 Mark Kettenis <[email protected]>
77
78 * doublest.c: Improve comments a bit.
79 (floatformat_from_length): New function.
80 (NAN): Define to 0.0 if not already defined.
81 (extract_floating): Rewrite to use floatformat_from_length. Warn
82 instead of error if LEN doesn't match a known floating-point type,
83 and return NaN (or 0.0 if NaN isn't available) in that case.
84 (store_floating): Likewise, but zero out the target byte-stream if
85 LEN doesn't match a known floating-point type.
86 (extract_typed_floating): Reformat a bit.
87 (store_typed_floating): Reformat a bit. Add comment about zeroing
88 out padding in the target buffer.
89 * doublest.h (extract_floating, store_floating): Fix comment about
90 deprecation of these functions. Add parameter names to prototypes.
91
e371b258
MK
922001-10-28 Mark Kettenis <[email protected]>
93
4583280c
MK
94 * i387-tdep.c (print_i387_value): Use extract_typed_floating to
95 convert RAW to a DOUBLEST instead of extract_floating.
96
e371b258
MK
97 * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
98 builtin_type_i387_ext to floatformat_i387_ext.
99
17fd1ad9
DJ
1002001-10-24 Daniel Jacobowitz <[email protected]>
101
102 * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
103 (fill_fpregset): Likewise.
104
fa4e4598
OF
1052001-10-26 Orjan Friberg <[email protected]>
106
107 * cris-tdep.c (constraint): Loop through the whole cris_spec_regs
108 struct, not just the NUM_SPECREGS first entries.
109 (bdap_prefix): Read PC before autoincrement.
110
02cc9f49
CV
1112001-10-24 Corinna Vinschen <[email protected]>
112
113 * win32-nat.c (DebugSetProcessKillOnExit): New static function
114 pointer to Windows' DebugSetProcessKillOnExit() function.
115 (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
116 (has_detach_ability): New function.
117 (child_attach): If system has detach ability, enable it.
118 (child_detach): If system has detach ability, actually
119 detach from process.
120 Change tty output to Linux format.
121
3973eadd
JB
1222001-10-23 Jim Blandy <[email protected]>
123
124 Isolate STABS readers' use of the `textlow' and `texthigh' fields
125 of `struct partial_symtab' to only a few locations. This change
126 is not supposed to affect the way the values are computed, only
127 where they live.
128
129 * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
130 to the reader-specific structure.
131 * mdebugread.c (struct symloc): Same.
132 * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
133 * mdebugread.c (TEXTLOW, TEXTHIGH): Same.
134 * dbxread.c (dbx_symfile_read): After we've built all our partial
135 symbol tables, set each partial symtab's `textlow' and `texthigh'
136 fields from our reader-specific structure.
137 * mdebugread.c (mdebug_build_psymtabs): Same.
138 * dbxread.c (start_psymtab): Initialize the reader-specific
139 structure's `textlow' and `texthigh' from the new psymtab's.
140 * mdebugread.c (parse_partial_symbols, new_psymtab): Same.
141 * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
142 the reader-specific `textlow' and `texthigh', not the generic
143 psymtab fields.
144 * mdebugread.c (parse_lines, parse_partial_symbols,
145 psymtab_to_symtab_1): Same.
146 * partial-stab.h: Same.
147
ce414844
AC
148Tue Oct 23 18:59:42 2001 Andrew Cagney <[email protected]>
149
150 * hp-psymtab-read.c, hppah-nat.c, hppa-tdep.c: Fix -Wformat
151 problems.
152
8f236061
AC
153Tue Oct 23 14:16:10 2001 Andrew Cagney <[email protected]>
154
155 * somsolib.c (som_solib_add): Use core_addr_to_host_pointer.
156 (som_solib_desire_dynamic_linker_symbols): Compare integers with
157 zero not NULL.
158 * hp-psymtab-read.c (hpread_call_pxdb): Make parameter constant.
159
d20bf2e8
AC
1602001-10-21 Andrew Cagney <[email protected]>
161
162 * top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI
163 interface is always enabled.
164
17732724
AC
1652001-10-21 Andrew Cagney <[email protected]>
166
167 * Makefile.in: Replace top.h with $(top_h). Replace expression.h
168 with $(expression_h). Replace command.h with $(command_h).
169 (language_h): Define. Replace language.h with $(language_h).
170 Replace call-cmds.h with $(call_cmds_h). Replace varobj.h with
171 $(varobj_h).
172 (wrapper_h, valprint_h, objfiles_h, complaints_h): Ditto.
173 (serial_h, hpread_h, buildsym_h, stabsread_h): Ditto.
174 (xcoffsolib_h, gdb_stabs_h, linespec_h): Ditto.
175 (bcache_h, gdb_events_h, monitor_h): Ditto.
176 (ser_unix_h, source_h): Ditto.
177 (varobj_h): Update list.
178
179 * call-cmds.h: Add CALL_CMDS_H macro wrapper.
180 * solist.h: Add SOLIST_H macro wrapper.
181 * monitor.h: Add MONITOR_H macro wrapper.
182 * typeprint.h: Add TYPEPRINT_H macro wrapper.
183 * xcoffsolib.h: Add XCOFFSOLIB_H macro wrapper.
184 * valprint.h: Add VALPRINT_H macro wrapper.
185 * top.h: Add TOP_H macro wrapper.
186
fd0407d6
AC
1872001-10-21 Andrew Cagney <[email protected]>
188
189 * config/a29k/tm-vx29k.h, i386-tdep.c: Include "value.h".
190 * arm-tdep.c, exec.c, ia64-tdep.c, infrun.c: Ditto.
191 * ppc-linux-tdep.c, remote-es.c, remote.c: Ditto.
192 * rs6000-tdep.c, s390-tdep.c, x86-64-tdep.c: Ditto.
193 * Makefile.in (arm-tdep.o, exec.o, i386-tdep.o, ia64-tdep.o)
194 (infrun.o, ppc-linux-tdep.o, remote.o, rs6000-tdep.o)
195 (x86-64-tdep.o): Update dependencies.
196 * gdbarch.sh [!GDB_MULTI_ARCH]: Include "value.h".
197 * gdbarch.h, gdbarch.c: Re-generate.
198
3c2fb7bd
MK
1992001-10-21 Mark Kettenis <[email protected]>
200
201 * infptrace.c (child_xfer_memory): Fix a few coding standards
202 violations.
203
c4282e67
EZ
2042001-10-21 Eli Zaretskii <[email protected]>
205
206 * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
207
c9847381
AC
2082001-10-20 Andrew Cagney <[email protected]>
209
75c9979e
AC
210 * jv-lang.h: Add #ifndef JV_LANG_H wrapper.
211 (struct value): Add opaque declaration. Replace value_ptr with
212 ``struct value *''.
213 * jv-valprint.c, jv-lang.c: Replace value_ptr with equivalent
214 struct.
215
c9847381
AC
216 * wrapper.h (struct value): Add opaque declaration. Replace
217 value_ptr with ``struct value *''.
218 * wrapper.c: Replace value_ptr with ``struct value *''.
278cd55f 219 * breakpoint.h, breakpoint.c: Ditto.
e933e538 220 * cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
c9847381 221
f1e3ec29
AC
2222001-10-20 Andrew Cagney <[email protected]>
223
224 * alpha-nat.c: Include <alpha/coreregs.h> instead of
225 <machine/reg.h>.
226 (fetch_osf_core_registers): Define core_reg_mapping in a way that
227 works on OSF5 as well as previous OSF versions.
228
83413c55
CF
2292001-10-20 Christopher Faylor <[email protected]>
230
231 * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin
232 may not be able to read them in certain situations.
233
457174f6
AC
2342001-10-18 Andrew Cagney <[email protected]>
235
236 * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
237 * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto
238
4bb5d567
AC
2392001-10-18 Andrew Cagney <[email protected]>
240
241 * README: Mention problems with HP/UX.
242
03dd37c3
AC
2432001-10-16 Andrew Cagney <[email protected]>
244
245 Based on code by John Moore <[email protected]>:
246
247 * utils.c (core_addr_to_string): New function for conversion of
248 CORE_ADDR to string.
249 (string_to_core_addr): New function to convert from string to
250 CORE_ADDR.
251 * defs.h: Added extern statements for the above.
252
1ba7c32c
JM
2532001-10-17 Jason Molenda ([email protected])
254
255 * symtab.c (lookup_block_symbol): Break out of linear search
256 if we're past the range of possible matches.
257
7470a420
CF
2582001-10-16 Christopher Faylor <[email protected]>
259
260 * win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding
261 load of already loaded DLL.
262 (register_loaded_dll): Convert loaded DLL name to "posix" format or it
263 will confuse subsequent opening of the filename due to dos paths.
264 (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
265
8cc1c882
EZ
2662001-10-15 Elena Zannoni <[email protected]>
267
268 * symtab.c (lookup_block_symbol): Update comment.
269
1aa20aa8
AC
2702001-10-15 Andrew Cagney <[email protected]>
271
272 * value.h (value_as_address): Rename value_as_pointer.
273 * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
274 jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
275 values.c: Update.
276
dbbd9c57
AC
277202001-10-15 Jim Ingham <[email protected]>
278
279 * valarith.c (value_sub): Don't pass a raw type to
280 value_from_pointer, it has to go through check_typedef first.
281
73d3c16e
AC
2822001-10-15 Andrew Cagney <[email protected]>
283
284 * gdbarch.sh (fallbackdefault): Set to one when predefault is
285 empty.
286 * gdbarch.h: Regenerate.
287
fc0c74b1
AC
2882001-10-15 Andrew Cagney <[email protected]>
289
290 * mips-tdep.c (mips_integer_to_address): New function.
291 (mips_gdbarch_init): Initialize pointer_to_address,
292 address_to_pointer and integer_to_address.
293
294 * config/mips/tm-mips.h (POINTER_TO_ADDRESS): Delete
295 (ADDRESS_TO_POINTER): Delete.
296
297 * d10v-tdep.c (d10v_integer_to_address): New function.
298 (d10v_gdbarch_init): Initialize integer_to_address.
299
300 * values.c (value_as_pointer): Use INTEGER_TO_ADDRESS when
301 available.
302
303 * gdbarch.sh (INTEGER_TO_ADDRESS): New predicate and function.
304 * gdbarch.h, gdbarch.c: Regenerate.
305
cacab7c4
MK
3062001-10-14 Mark Kettenis <[email protected]>
307
39024782
MK
308 * config/s390/nm-linux.h: Don't include <signal.h>.
309 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
310 GET_THREAD_SIGNAL): Remove.
311
dc17571d
MK
312 * config/nm-linux.h (struct objfile): Remove forward declaration.
313 (linuxthreads_new_objfile): Remove prototype.
314 (linuxthreads_pid_to_str): Remove prototype.
315 (PREPARE_TO_PROCEED): Redefine in terms of
316 lin_lwp_prepare_to_proceed.
317 (struct target_waitstatus): Forward declaration.
318 (child_wait): New prototype.
319 (CHILD_WAIT): Define.
320 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
321 GET_THREAD_SIGNAL): Moved here from arch-specific files.
322 * config/alpha/nm-linux.h, config/arm/nm-linux.h,
323 config/ia64/nm-linux.h, config/mips/nm-linux.h,
324 config/powerpc/nm-linux.h: Don't include <signal.h>.
325 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
326 GET_THREAD_SIGNAL): Remove.
327 * config/i386/nm-linux.h: Likewise.
328 (struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
329 * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
330 Remove linux-thread.o. Add proc-service.o, thread-db.o and
331 lin-lwp.o.
332 (LOADLIBES): New variable.
333
8e4d17db
MK
334 * sparc-nat.c (fetch_core_registers): Remove redundant prototype.
335
c987d8c0
MK
336 * proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
337
cacab7c4
MK
338 Fix attaching to cloned processes. This fixes PR gdb/61.
339 * lin-lwp.c (struct lwp_info): Add new member `cloned'.
340 (is_cloned) Removed.
341 (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call
342 waitpid explicitly. Mark the LWP as cloned if waitpid fails and
343 retry with __WCLONE flag.
344 (lin_lwp_attach): Likewise. Warn if attaching to a cloned process.
345 (detach_callback): Replace use of is_cloned with explicit check on
346 LWP id and process id.
347 (stop_wait_callback): Replace use of is_cloned with check if LWP
348 is marked as cloned.
349 [CHILD_WAIT] (child_wait): New function.
350 (lin_lwp_wait): Replace use of is_cloned with check if LWP is
351 marked as cloned. Mark newly detected LWPs as cloned if detected
352 by waitpid with __WCLONE flag.
353 (kill_wait_callback): Replace use of is_cloned with check if LWP
354 is marked as cloned.
355 * config/i386/nm-linux.h (struct target_waitstatus): Add forward
356 declaration.
357 (child_wait): Add prototype.
358 (CHILD_WAIT): Define.
359
5769d3cd
AC
3602001-10-13 Andrew Cagney <[email protected]>
361
362 S/390 31 & 64 bit target and GNU/Linux native support.
363 Contributed by D.J. Barrow <[email protected]> of IBM.
364 * s390-nat.c, s390-tdep.c: New file.
365 * config/s390/nm-linux.h, config/s390/s390.mh: New file.
366 * config/s390/s390.mt, config/s390/s390x.mt: New file.
367 * config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
368 * config/s390/xm-linux.h: New file.
369 * NEWS: Update.
370 * MAINTAINERS: Update.
371
83e6b173
AC
3722001-10-13 Andrew Cagney <[email protected]>
373
374 From 2001-07-09 D.J. Barrow <[email protected]>:
375 * gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
376 CALL_DUMMY_BREAKPOINT_OFFSET_P.
377 * gdbarch.c: Regenerate.
378
21bf60fe
MK
3792001-10-13 Mark Kettenis <[email protected]>
380
381 * thread-db.c: Fix a few formatting mistakes.
382
fefd0a37
CF
3832001-10-12 Christopher Faylor <[email protected]>
384
385 * win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked
386 list pointer to beginning rather than one beyond beginning.
387
e88c90f2
DJ
3882001-10-12 Daniel Jacobowitz <[email protected]>
389
390 * symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
391
392 * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
393 (make_symbol_completion_list): Likewise.
394 (make_symbol_overload_list): Likewise.
395 * buildsym.c (finish_block): Likewise.
396 * breakpoint.c (get_catch_sals): Likewise.
397 * mdebugread.c (mylookup_symbol): Likewise.
398 * objfiles.c (objfile_relocate): Likewise.
399 * printcmd.c (print_frame_args): Likewise.
400 * stack.c (print_block_frame_locals): Likewise.
401 (print_block_frame_labels): Likewise.
402 (print_frame_arg_vars): Likewise.
403 * symmisc.c (dump_symtab): Likewise.
404 * tracepoint.c (add_local_symbols): Likewise.
405 (scope_info): Likewise.
406
375f3d86
DJ
4072001-10-12 Daniel Jacobowitz <[email protected]>
408
409 * minsyms.c (msymbol_hash): Use better hash function.
410 (msymbol_hash_iw): Likewise. Terminate loop at '(' properly.
411
412 * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
413 binaries.
414
55159471
DJ
4152001-10-12 Daniel Jacobowitz <[email protected]>
416
417 * printcmd.c (print_frame_args): Move symbol iteration explicitly
418 inside the func != NULL block.
419
30ef99d1
FN
4202001-10-12 Fernando Nasser <[email protected]>
421
422 * MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
423 maintainer.
424
02e423b9
CF
4252001-10-12 Pierre Muller <[email protected]>
426
d60dc82a 427 * config/i386/tm-cygwin.h: Include tm-i386.h instead of tm-i386v.h.
02e423b9
CF
428 This fixes errors in "long long" handling for 'finish' and 'return'
429 commands.
430
4312001-10-12 Christopher Faylor <[email protected]>
432
433 * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared
434 library if it has already been loaded.
435 (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see
436 any error messages.
437 (safe_symbol_file_add): Ditto.
438 (solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass
439 it to safe_symbol_file_add.
440 (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
441 (child_solib_add): Ditto.
442
443 * win32-nat.c (handle_exception): Don't print "first chance"
444 exceptions.
445 (get_child_debug_event): Continue from exceptions if !handle_exception.
446
1b15f1fa
TT
4472001-10-11 Tom Tromey <[email protected]>
448
449 * symtab.c (lookup_symtab): Removed.
450 (lookup_symtab_1): Renamed to lookup_symtab.
451
700b351b
CF
4522001-10-10 Christopher Faylor <[email protected]>
453
454 * win32-nat.c (get_child_debug_event): Close file handles created after
455 process creation and DLL load.
456 (child_create_inferior): Close unneeded process/thread handle after
457 thread creation.
458
4eab1e18
JB
4592001-10-10 Jim Blandy <[email protected]>
460
461 * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
462
4abb499e
KS
4632001-10-10 Keith Seitz <[email protected]>
464
465 * varobj.c (cplus_value_of_child): Deal with a failure
466 to dereference a pointer object.
467
8b2797db
JB
4682001-10-08 J. Brobecker <[email protected]>
469
470 * hpux-thread.c: rewrite find_active_thread() and find_tcb()
471 to use ptid_t, instead of overloading the thread and the pid
472 into the same 32-bit value. Make associated necessary adaptations.
473 Also remove unused variable cached_active_thread.
474
420effb8
ND
4752001-10-08 Nicholas Duffek <[email protected]>
476
477 * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
478 entries.
479
3eb970a8
MK
4802001-10-06 Mark Kettenis <[email protected]>
481
482 * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
483
78f49586
TT
4842001-10-04 Tom Tromey <[email protected]>
485
486 * main.c (enable_external_editor): Don't declare.
487 (captured_main): Don't set enable_external_editor.
488
ab31aa69
KB
4892001-10-02 Kevin Buettner <[email protected]>
490
491 * Makefile.in (ALLDEPFILES): Add solib-svr4.c and solib-sunos.c
492 to this list.
493 (solib-sunos.o): Add dependencies.
494 (solib-svr4.o): Revise dependencies.
495 * solib-svr4.c: Remove SunOS shared library support.
496 * solib-sunos.c: New file, created from solib-svr4.c, which still
497 contains SunOS shared library support, but no SVR4 support.
498
499 * config/i386/nbsd.mh (NATDEPFILES): Remove solib-svr4.o and
500 solib-legacy.o from this list. Add solib-sunos.o.
501 * config/i386/sun386.mt (TDEPFILES): Likewise.
502 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
503 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
504 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
505 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
506 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
507 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
508
39ae698d
EZ
5092001-10-01 Elena Zannoni <[email protected]>
510
511 * Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
512
d5d0a62f
EZ
5132001-10-01 Elena Zannoni <[email protected]>
514
515 * xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
516 N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
517 CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
518 SET_NAMESTRING): Delete definitions.
519 Don't include language.h any more.
520 Don't include partial-stab.h any more.
521 (scan_xcoff_symtab): Don't jump through hoops to reuse code in
522 partial-stab.h, include the code directly, instead.
523
524 * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
525
447aa9a6
AC
5262001-10-01 Andrew Cagney <[email protected]>
527
528 * infcmd.c (do_registers_info): Delete code dumping large
529 registers. Handled by val_print.
530
85de9627
AC
5312001-09-30 Andrew Cagney <[email protected]>
532
533 * gdbarch.sh (gdbarch_alloc): Name the new architecture
534 ``current_gdbarch'' so that it, and not the identically named
535 global is refered to by macros.
536 * gdbarch.c: Regenerate.
537
f3796e26
AC
5382001-09-29 Andrew Cagney <[email protected]>
539
540 * cli/cli-decode.c (add_set_boolean_cmd): Define.
541 * cli/cli-decode.h (add_set_boolean_cmd): Declare.
542 * command.h (add_set_boolean_cmd): Ditto.
543 * remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
544 remotebreak"
545
08e45a40
AC
5462001-09-29 Andrew Cagney <[email protected]>
547
548 * gdbarch.sh (gdbarch_dump): Sort output.
549 * gdbarch.c: Regenerate.
550
e712c1cf
AC
5512001-09-29 Andrew Cagney <[email protected]>
552
553 * rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
554 architecture to infer the wordsize. Previous architecture may not
555 be a PowerPC.
556
d68f31a9
JB
5572001-09-27 J. Brobecker <[email protected]>
558
559 * infttrace.c (kill_inferior): Issue a TT_PROC_EXIT request rather
560 than a TT_PROC_STOP request to kill the inferior and its child
561 processes. Otherwise, the inferior is not killed on HPUX 11.0.
562 Removed the code that detaches the child processes since we just
563 killed them.
564
e3abfe1d
AC
5652001-09-26 Andrew Cagney <[email protected]>
566
567 * serial.c (serial_set_cmdlist, serial_show_cmdlist): New
568 variables.
569 (serial_set_cmd, serial_show_cmd): New functions.
570 (_initialize_serial): Add "set/show serial" command.
571
ff1da24e
AC
5722001-09-26 Andrew Cagney <[email protected]>
573
574 * CONTRIBUTE: Update.
575
e5e2b9ff
KB
5762001-09-26 Kevin Buettner <[email protected]>
577
578 * solib-svr4.h (set_solib_svr4_fetch_link_map_offsets): Add
579 argument ``gdbarch''.
580 * solib-svr4.c (SVR4_FETCH_LINK_MAP_OFFSETS): Change default value.
581 (default_svr4_fetch_link_map_offsets): Rename to
582 legacy_fetch_link_map_offsets().
583 (svr4_fetch_link_map_offsets): New function.
584 (fetch_link_map_offsets, fetch_link_map_offsets_init): Deleted.
585 (fetch_link_map_offsets_gdbarch_data): New static global.
586 (set_solib_svr4_fetch_link_map_offsets): Add argument ``gdbarch''.
587 Revise to invoke set_gdbarch_data().
588 (init_fetch_link_map_offsets): Change return type and add an
589 argument so that it may be used as a gdbarch_data initializer.
590 (_initialize_svr4_solib): Eliminate use of gdbarch swap mechanism.
591 Use gdbarch data mechanism instead.
592
86ed34a9 5932001-09-25 Jiri Smid <[email protected]>
c74ae012
JS
594
595 * x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
596 (x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
597 by LINUX_SIGINFO_SIZE.
598
4f337972
AC
5992001-09-24 Andrew Cagney <[email protected]>
600
601 * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
602 variables.
603 (maintenance_set_profile_cmd): New function.
604 (maintenance_show_cmd, maintenance_set_cmd): New functions.
605 (_initialize_maint_cmds): Add "maintenance set" and "maintenance
606 show" and, commented out, "maintenance set/show profile" commands.
607
f76febae
AC
6082001-09-24 Andrew Cagney <[email protected]>
609
610 * findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
611 convert the pointer into a CORE_ADDRs.
612
96d2f608
AC
6132001-09-24 Andrew Cagney <[email protected]>
614
615 * doublest.h (store_floating, extract_floating): Add comment
616 indicating these functions are deprecated.
617 (extract_typed_floating, store_typed_floating): Declare.
618 * doublest.c: Include "gdbtypes.h".
619 (extract_typed_floating, store_typed_floating): Define.
620
621 * stabsread.c (define_symbol): Use store_typed_floating.
622 * valarith.c (value_binop): Ditto.
623 * values.c (unpack_long): Use extract_typed_floating.
624 (unpack_double): Ditto.
625
7ab98e9e
OF
6262001-09-24 Orjan Friberg <[email protected]>
627
628 * cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
629 from correct register.
630
1dbeeb7b
MK
6312001-09-22 Mark Kettenis <[email protected]>
632
633 * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
634
c4d82c96
JS
6352001-09-21 Jiri Smid <[email protected]>
636
637 * config/i386/x86-64linux.mh: New file.
638 * config/i386/x86-64linux.mt: New file.
639 * config/i386/nm-x86_64.h: New file.
640 * x86-64-linux-tdep.c: New file.
641 * x86-64-linux-nat.c: New file.
642 * x86-64-tdep.c: New file.
643 * x86-64-tdep.h: New file.
644 * i386-tdep.h: New file.
645 * i387-nat.c: Include i386-tdep.h when multiarch.
646 * i387-tdep.c: Ditto.
647 * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
648 and x86_64-linux-nat.c
649 * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
650 x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
651
cab16195
JS
6522001-09-21 Jiri Smid <[email protected]>
653
654 * MAINTAINERS: Add myself to the write-after-approval list.
655 * i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
656 (i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
657 i386_insert_watchpoint, i386_remove_watchpoint): Add support for
658 8-byte wide watchpoints.
659 (i386_show_dr): Debug message format string change.
660
3e9986d2
MS
6612001-09-21 Michael Snyder <[email protected]>
662
663 * c-exp.y (typebase): Accept (signed long long) as a type expr.
664
56e2d25a
MS
6652001-09-20 Michael Snyder <[email protected]>
666 Changes by Daniel Berlin <[email protected]>, to support
667 better parsing of const and volatile type expressions.
668 * c-exp.y (const_and_volatile, const_or_volatile_noopt,
669 const_or_volatile): New non-terminals.
670 (ptype): Use new rule for const_or_volatile.
671 (typebase): Use new rule for const_or_volatile_noopt.
672 * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
673 * parse.c (follow_types): Handle tp_const and tp_volatile on the
674 type stack: call make_cv_type to create new const/volatile type.
675
1c4dcb57
KB
6762001-09-20 Kevin Buettner <[email protected]>
677
678 * solib-svr4.c (fetch_link_map_offsets): Add comment.
679 (fetch_link_map_offsets_init): New static global.
680 (set_solib_svr4_fetch_link_map_offsets, init_fetch_link_map_offsets):
681 Revise implementation to use ``fetch_link_map_offsets_init''
682 instead of ``fetch_link_map_offsets''.
683
3a42e9d0
AM
6842001-09-20 Alan Modra <[email protected]>
685
686 * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
687 * dbxread.c: Likewise.
688 * dwarf2read.c: Likewise.
689 * dwarfread.c: Likewise.
690 * somread.c: Likewise.
691 * ultra3-nat.c: Likewise.
692 * xcoffread.c: Likewise.
693
e0441cf0
AC
6942001-09-19 Andrew Cagney <[email protected]>
695
8535cb38
AC
696 * cris-tdep.c (cris_get_signed_offset): Change return type to an
697 explicitly signed char.
698
e0441cf0
AC
699 * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
700 function signature to match recent tracepoint.c:encode_actions
701 changes.
702 * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
703
2b65245e
AC
7042001-09-18 Andrew Cagney <[email protected]>
705
706 * thread.c (do_captured_thread_select): Add uiout parameter.
707 (do_captured_list_thread_ids): Ditto.
708 * breakpoint.c (do_captured_breakpoint_query): Ditto.
709
710 * breakpoint.c (gdb_breakpoint_query): Update. Use
711 catch_exceptions.
712 * thread.c (gdb_list_thread_ids): Ditto.
713 (gdb_thread_select): Ditto.
714 (thread_command): Pass uiout to gdb_thread_select.
715
716 * gdb.h (gdb_breakpoint_query): Add parameter ui_out.
717 (gdb_thread_select, gdb_list_thread_ids): Ditto.
718
2069d78d
KB
7192001-09-13 Kevin Buettner <[email protected]>
720
721 From Ilya Golubev <[email protected]>:
722 * solib.c (clear_solib): Call `remove_target_sections' to fix
723 stale pointers in `struct target_ops'.
724 * irix5-nat.c (clear_solib): Likewise.
725 * osfsolib.c (clear_solib): Likewise.
726
348d75a5
JB
7272001-09-13 Jim Blandy <[email protected]>
728
e8816aac
JB
729 * monitor.c (monitor_load): Don't delete symtab users, or reset
730 inferior_ptid.
731
348d75a5
JB
732 * monitor.c (monitor_load): Fix indentation.
733
7342001-09-11 Jim Blandy <[email protected]>
735
736 * printcmd.c (print_scalar_formatted): Compare the length of the
737 value against the lengths of the target's floating-point types,
738 not the host's. Add support for `long double'.
739
740 * printcmd.c (print_scalar_formatted): Fix indentation.
741
a5666cc9
JB
7422001-09-10 Jim Blandy <[email protected]>
743
744 * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
745 programs running on the board can produce output.
746
6d6b80e5
JM
7472001-09-10 Jason Molenda ([email protected])
748
749 * NEWS: "ANS/ISO C" -> "ISO C".
750 * MAINTAINERS (write-after-approval): Update my entry.
751
7fc73f38
MK
7522001-09-08 Mark Kettenis <[email protected]>
753
df5fdb3d
MK
754 * config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
755
4ad318e6
MK
756 * config/arm/xm-linux.h, config/ia64/xm-linux.h,
757 config/m68k/xm-linux.h, config/mips/xm-linux.h,
758 config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
759 redundant inclusion of <unistd.h>.
760
7fc73f38
MK
761 * gdbtypes.h (struct block): Add forward declaration.
762
f9c696d2
AC
7632001-09-07 Andrew Cagney <[email protected]>
764
765 * defs.h (enum return_reason): Renumber so that all values are
766 negative.
767 (RETURN_MASK): Negate reason.
768 (catch_exception_ftype): Declare.
769 (catch_exceptions): Declare.
770 * top.c (catcher): New function, based on catch_errors. Add in
771 parameter func_uiout and out parameters func_val, func_caught and
772 func_cleanup. Change type of func to catch_exceptions_ftype.
773 Save/restore uiout.
774 (struct catch_errors_args): Define.
775 (do_catch_errors): New function.
776 (catch_errors): Rewrite, use do_catch_errors and catcher.
777 (catch_exceptions): New function, use catcher.
778
a2e2dd80
JB
7792001-09-07 Jim Blandy <[email protected]>
780
781 Correctly parse register values provided by the monitor.
782 * rom68k-rom.c: #include "value.h".
783 (is_hex_digit, hex_digit_value, is_whitespace,
784 rom68k_supply_one_register): New static functions.
785 (rom68k_supply_register): Call rom68k_supply_one_register, instead
786 of monitor_supply_register; the latter was incorrectly parsing
787 the values.
788 * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
789
93befcf3
MK
7902001-09-07 Mark Kettenis <[email protected]>
791
792 * config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
793 to using setpgid if available now.
794
b381d62d
KS
7952001-09-06 Keith Seitz <[email protected]>
796
797 From Ian Roxborough <[email protected]>
798 * configure.in: Use ITCL_LIB_FULL_PATH and
799 ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
800 for gdb.
801 * configure: Regenerated.
802
9a058a09
KB
8032001-09-06 Kevin Buettner <[email protected]>
804
805 * dbxread.c (process_one_symbol): Don't use error result from
806 find_stab_function_addr().
807 * partial-stab.h (case 'F'): Likewise.
808
809 * partial-stab.h (case 'f'): Make SOFUN_ADDRESS_MAYBE_MISSING
810 code match that used for case 'F'. This fixes the divergence
811 that was introduced by my 1999-09-14 changes to partial-stab.h.
812
2bf0cb65
EZ
8132001-09-05 Elena Zannoni <[email protected]>
814
815 * gdbarch.sh: Move include of dis-asm.h so it is generated earlier
816 in gdbarch.h.
817 (TARGET_PRINT_INSN): Multiarch.
818 * gdbarch.h: Regenerate.
819 * gdbarch.c: Regenerate.
820
821 * arch-utils.c (legacy_print_insn): New function.
822 * arch-utils.h (legacy_print_insn): Export.
823
824 * cris-tdep.c (cris_delayed_get_disassembler): Use
825 TARGET_PRINT_INSN, instead of tm_print_insn.
826 * d10v-tdep.c (print_insn): Ditto.
827 * d30v-tdep.c (print_insn): Ditto.
828 * m32r-tdep.c (dump_insn): Ditto.
829 * v850-tdep.c (v850_scan_prologue): Ditto.
830 * mcore-tdep.c (mcore_dump_insn): Ditto.
831 * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
832
6369010f
JB
8332001-09-05 Jim Blandy <[email protected]>
834
835 * gdbtypes.h (struct type): Doc fix.
836
d3d55eeb
EZ
8372001-09-04 Elena Zannoni <[email protected]>
838
839 From Daniel Jacobowitz <[email protected]>
840 * dbxread.c (free_header_files): Make global.
841 (init_header_files): Likewise.
842 * stabsread.h (free_header_files): Add prototype.
843 (init_header_files): Likewise.
844 * mdebugread.c (mdebug_build_psymtabs): Initialize
845 properly before using the stabs debug reader.
846
16db6055 8472001-09-04 Elena Zannoni <[email protected]>
ef96bde8
EZ
848
849 From Daniel Jacobowitz <[email protected]>
850 * dbxread.c (dbx_symfile_read): Only reinitialize
851 the psymbol list if mainline or if both static
852 and global lists are empty.
853 * dwarf2read.c (dwarf2_build_psymtabs): Likewise.
854 * dwarfread.c (dwarf_build_psymtabs): Likewise.
855 * xcoffread.c (xcoff_initial_scan): Likewise.
856 * os9kread.c (os9k_symfile_read): Likewise.
16db6055 857
ef96bde8
EZ
8582001-09-04 Elena Zannoni <[email protected]>
859
16db6055
EZ
860 From Daniel Jacobowitz <[email protected]>
861 * mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
862 a name specially.
863
f77b92bf
MK
8642001-09-01 Mark Kettenis <[email protected]>
865
866 Make GDB use libiberty regex implementation.
867 * gdb_regex.h: Normalize protection against multiple inclusion.
868 Include "xregex.h" instead of "gnu-regex.h".
869 * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
870 * cli/cli-decode.c: Likewise.
871 * Makefile.in (REGEX): Remove.
872 (GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
873 (ADD_FILES, ADD_DEPS): Remove $(REGEX).
874 (POSSLIBS): Remove.
875 (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
876 (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
877 xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
878 gdb_regex.h in list of dependencies.
879 (gnu-regex.o): Remove rule.
880 * gnu-regex.c, gnu-regex.h: Remove files.
881
a4f30b31
MS
8822001-08-31 Jason Molenda ([email protected])
883
884 * c-valprint.c (c_val_print): Second call to check_typedef ()
885 is no longer necessary.
886
902d7086
KB
8872001-08-31 Kevin Buettner <[email protected]>
888
889 * ia64-tdep.c (examine_prologue): Don't let a branch unit nop
890 terminate the prologue scan.
891
2889e661
JB
8922001-08-30 Jim Blandy <[email protected]>
893
9ec8e6a0
JB
894 * symfile.c (sections_overlap): New function.
895 (map_overlay_command): Call sections_overlap, instead of using
896 incorrect logic to recognize overlapping sections.
897
2889e661
JB
898 * symfile.c (load_command): Invalidate the overlay cache.
899
cd903d53
MK
9002001-08-30 Mark Kettenis <[email protected]>
901
902 * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
903
8ad2fcde
KB
9042001-08-29 Kevin Buettner <[email protected]>
905
906 From 2001-08-07 Daniel Jacobowitz <[email protected]>:
907 * solib-svr4.c (enable_break): Check the inferior link map
908 before assuming the inferior PC is at the start of the dynamic
909 loader.
910
e8759349
AC
9112001-08-28 Andrew Cagney <[email protected]>
912
913 * frame.h (struct frame_info): Fix documentation on fields
914 saved_regs, next and prev.
915
46711df8
MK
9162001-08-23 Mark Kettenis <[email protected]>
917
918 * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
919 gratuitious whitespace changes.
920 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
921 * top.c: Remove redundant logic to define HAVE_SIGSETMASK.
922 (sigsetmask) Don't define macro.
923 (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
924 async_stop_sig from event-top.c.
925 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
926 defined.
927 * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
928 order. Add sigsetmask.
929 (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
930 alphabetical order.
931 * config/xm-aix4.h, config/alpha/xm-alphalinux.h,
932 config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
933 (HAVE_SIGSETMASK): Remove.
964840f7 934 * aclocal.m4, config.in, configure: Regenerated.
46711df8 935
526eeb95
AC
9362001-08-26 Andrew Cagney <[email protected]>
937
938 From 2001-06-29 Andrew Cagney <[email protected]>:
939 * config/powerpc/nbsd.mh (XM_FILE): Delete.
940
c16ac28f
AC
9412001-08-21 Andrew Cagney <[email protected]>
942
943 * doublest.h (HOST_FLOAT_FORMAT): Delete macro.
944 (HOST_DOUBLE_FORMAT): Delete macro.
945
ceacb162
MK
9462001-08-24 Mark Kettenis <[email protected]>
947
948 * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
949 config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
950 inclusion of <limits.h>.
951
275f450c
AC
9522001-08-24 Andrew Cagney <[email protected]>
953
954 * regcache.c (read_register_bytes): When REGISTER_NAME indicates
955 that a register should be ignored, supply a value for the register
956 from the raw registers[] buffer.
957
12a498f3
AC
9582001-08-24 Andrew Cagney <[email protected]>
959
960 * go32-nat.c (go32_create_inferior): Use xfree instead of free.
961 * config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
962 i386bsd-nat.c.
963
598f52df
AC
9642001-08-21 Andrew Cagney <[email protected]>
965
966 * gdbtypes.h (builtin_type_ieee_single_big)
967 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
968 (builtin_type_ieee_double_little)
969 (builtin_type_ieee_double_littlebyte_bigword)
970 (builtin_type_i387_ext, builtin_type_m68881_ext)
971 (builtin_type_i960_ext, builtin_type_m88110_ext)
972 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
973 (builtin_type_arm_ext_littlebyte_bigword)
974 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
975 (builtin_type_ia64_quad_big)
976 (builtin_type_ia64_quad_little): Declare.
977 * gdbtypes.c (builtin_type_ieee_single_big)
978 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
979 (builtin_type_ieee_double_little)
980 (builtin_type_ieee_double_littlebyte_bigword)
981 (builtin_type_i387_ext, builtin_type_m68881_ext)
982 (builtin_type_i960_ext, builtin_type_m88110_ext)
983 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
984 (builtin_type_arm_ext_littlebyte_bigword)
985 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
986 (builtin_type_ia64_quad_big)
987 (builtin_type_ia64_quad_little): Define.
988 (_initialize_gdbtypes): Initialize builtin floatformat types.
989
1a6fae3c
MK
9902001-08-23 Mark Kettenis <[email protected]>
991
992 * tracepoint.c (read_actions): Add FIXME for code depending on
993 STOP_SIGNAL.
994
7829b833
MH
9952001-08-23 Martin M. Hunt <[email protected]>
996
997 * remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
998 to download loop.
999 (mips_load_srec): Ditto.
1000
701c159d
AC
10012001-08-22 Andrew Cagney <[email protected]>
1002
1003 * gdbtypes.c (build_gdbtypes): Initialize TYPE_FLOATFORMAT field
1004 of builtin_type_float, builtin_type_double and
1005 builtin_type_long_double.
1006 (recursive_dump_type): Print the floatformat name.
1007 * gdbtypes.h (struct type): Add type_specific field floatformat.
1008 (TYPE_FLOATFORMAT): Define
1009
99a6d8ba
KS
10102001-08-21 Keith Seitz <[email protected]>
1011
1012 * printcmd.c (print_insn): Use the given stream for
1013 output.
1014
a37b3cc0
AC
10152001-07-24 Andrew Cagney <[email protected]>
1016
1017 * arm-tdep.c (convert_from_extended, convert_to_extended): Delete
1018 assembler version of function.
1019 (convert_from_extended, convert_to_extended): Rewrite. Use
1020 floatformat_to_doublest, floatformat_from_doublest,
1021 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
1022 (arm_push_arguments): Use extract_floating and store_floating to
1023 perform floating point conversions.
1024 (SWAP_TARGET_AND_HOST): Delete macro.
1025 * arm-linux-tdep.c (arm_linux_push_arguments): Use
1026 extract_floating and store_floating to perform floating point
1027 conversions.
1028
1c72f9b0
AC
10292001-08-20 Andrew Cagney <[email protected]>
1030
1031 * gdbtypes.h (struct type): Clarify meaning of field ``length''.
1032
705da579
KS
10332001-08-17 Keith Seitz <[email protected]>
1034
1035 * varobj.c (varobj_update): Change first parameter to
1036 pointer to struct varobj*. This function can delete
1037 varobjs, so we need to give callers the new varobj
1038 when this happens.
1039 (value_of_root): Update "var", too, if "var_handle"
1040 changes.
1041 * varobj.h (varobj_update): Likewise.
1042
2bf63d86
KS
10432001-08-17 Keith Seitz <[email protected]>
1044
1045 * Makefile.in (varobj_h): Define.
1046 (mi-cmd-var.o): Depends on varobj_h.
1047 (gdbtk-varobj.o): Change varobj.h to $(varobj_h).
1048
d1c3b63a
KS
10492001-08-16 Keith Seitz <[email protected]>
1050
1051 * configure.in (GDBTK_SRC_DIR): We must have autoconf
1052 give us the absolute path to the source directory.
1053 * configure: Regenerated.
1054 * Makefile.in (GDBTK_SRC_DIR): Add variable so that
1055 autoconf can substitue it in for us.
1056 (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
1057 really do need an absolute pathname.
1058
f0b743a9
KS
10592001-08-15 Keith Seitz <[email protected]>
1060
1061 * Makefile.in (GDBTK_VERSION): Set a version number.
1062 (GDBTK_LIBRARY): New variable to point to location where
1063 gdbtk will install its tcl library. Changed all refereneces
1064 to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
1065 (SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
1066 (SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
1067 (all-gdbtk): Remove.
1068 (install-gdbtk): Remove.
1069 (gdbtk.o): Pass srcdir to file when compiling.
1070
10712001-08-15 Ian Roxborough <[email protected]>
1072
1073 * Makefile.in: Changed all references to the install directory
1074 "gdbtcl" to read "insight1.0".
1075
bdcd319a
CV
10762001-08-15 Corinna Vinschen <[email protected]>
1077
1078 * arch-utils.c (generic_skip_trampoline_code): New function.
1079 * arch-utils.h (generic_skip_trampoline_code): Declare external.
1080 * gdbarch.c: Regeberated from gdbarch.sh.
1081 * gdbarch.h: Ditto.
1082 * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
1083 * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.
1084
40b3352b
L
10852001-08-14 Daniel Jacobowitz <[email protected]>
1086 H.J. Lu ([email protected])
1087
1088 * partial-stab.h: valu should be a CORE_ADDR.
1089
10902001-08-14 H.J. Lu ([email protected])
1091
1092 * dbxread.c (SWAP_SYMBOL): Removed.
1093 (INTERNALIZE_SYMBOL): Check sign extended vma.
1094
ae9d9b96
CF
10952001-08-13 Christopher Faylor <[email protected]>
1096
1097 * top.c (SIGSETJMP): Protect env argument with parentheses.
1098 (SIGLONGJMP): Protect env argument with parentheses.
1099
6ca173e3
AC
11002001-08-11 Andrew Cagney <[email protected]>
1101
1102 * config/mn10300/mn10300.mt (TM_FILE): Delete.
1103 * configure.tgt: Add mn10300 to list of mulit-arch targets.
1104 * config/mn10300/tm-mn10300.h: Delete file. Move contents ...
1105 * mn10300-tdep.c: To here.
1106
5ea92dfe
AC
11072001-08-11 Andrew Cagney <[email protected]>
1108
1109 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_VIRTUAL): Make
1110 val a DOUBLEST. Use floatformat_to_doublest.
1111 (REGISTER_CONVERT_TO_RAW): Ditto. Use foatformat_from_doublest.
1112 * config/m88k/tm-m88k.h (REGISTER_CONVERT_TO_VIRTUAL): Ditto.
1113 (REGISTER_CONVERT_TO_RAW): Ditto.
1114
a15525c1
AC
11152001-08-11 Andrew Cagney <[email protected]>
1116
1117 * config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
1118 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
1119 sp_regnum.
1120
c422e771
AC
11212001-08-11 Andrew Cagney <[email protected]>
1122
1123 * doublest.c (convert_doublest_to_floatformat): Rename
1124 floatformat_from_doublest. Make static.
1125 (convert_floatformat_to_doublest): Rename floatformat_to_doublest.
1126 Make static.
1127 (floatformat_to_doublest): New function.
1128 (floatformat_from_doublest): New function.
1129 (host_float_format, host_double_format, host_long_double_format):
1130 New static variables.
1131 (store_floating, extract_floating): Always use
1132 floatformat_to_doublest and floatformat_from_doublest.
1133 * doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
1134
f096a152
AC
11352001-08-11 Andrew Cagney <[email protected]>
1136
1137 * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
1138 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
1139
39d4ef09
AC
11402001-08-07 Andrew Cagney <[email protected]>
1141
1142 * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
1143 * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
1144 * gdbarch.h, gdbarch.c: Regenerate.
1145
1146 * arch-utils.h (legacy_virtual_frame_pointer): Declare.
1147 * arch-utils.c: Include "gdb_assert.h".
1148 (legacy_virtual_frame_pointer): Define.
1149 * Makefile.in (arch-utils.o): Depends on gdb_assert.h.
1150
1151 * tracepoint.c (encode_actions): Make frame_reg an int. Make
1152 frame_offset a LONGEST.
1153 * ax-gdb.c (gen_frame_args_address): Ditto.
1154 (gen_frame_locals_address): Ditto.
1155 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize
1156 virtual_frame_pointer.
1157 (mn10300_virtual_frame_pointer): Make static. Update parameter
1158 list to match function signature.
1159 * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
1160
67c2c32c
KS
11612001-08-10 Keith Seitz <[email protected]>
1162
1163 * gdb-events.sh: Add architecture_changed event.
1164 * gdbarch.sh: Include gdb-event.h.
1165 (gdbarch_update_p): Notify UIs when architecture changes.
1166 * gdb-events.h: Regenerated.
1167 * gdb-events.c: Regenerated.
1168 * gdbarch.c: Regenerated.
1169
1297a2f0
MS
11702001-08-10 Michael Snyder <[email protected]>
1171
1172 * regcache.c (legacy_write_register_gen): Don't 'optimize out'
1173 a write_register to a pseudo-reg. Target_store_pseudo_register
1174 needs to get called, because these regs may be computed and may
1175 have side-effects.
1176
fd969be2
KS
11772001-08-10 Keith Seitz <[email protected]>
1178
1179 * gdb-events.sh: Deal with event notifications with no
1180 arguments.
1181
fb6e5c55
OF
11822001-08-10 Orjan Friberg <[email protected]>
1183
1184 * remote.c (read_frame): Correct off-by-one error in condition.
1185
a1bab801
DH
11862001-08-08 Don Howard <[email protected]>
1187
1188 * stabsread.c (read_type): Add support for const and volatile
1189 modifiers.
1190
455ecc72
DJ
11912001-08-02 Daniel Jacobowitz <[email protected]>
1192
1193 * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
1194 and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
1195
a5cedf2f
KS
11962001-08-02 Keith Seitz <[email protected]>
1197
1198 * defs.h (SLASH_STRING): If not defined, set
1199 to "/", regardless of _WIN32, __CYGWIN__, or
1200 whatnot.
1201
d7275149
MK
12022001-08-02 Mark Kettenis <[email protected]>
1203
cc6dd2c0
MK
1204 * cli/cli-decode.h: Include "gdb_regex.h" instead of
1205 "gnu-regex.h".
1206
d7275149
MK
1207 * NEWS: Update.
1208
40cd916f
EZ
12092001-08-02 Eli Zaretskii <[email protected]>
1210
1211 * config/i386/xm-go32.h: Include xm-i386.h.
1212 (HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
1213
b5de0fa7
EZ
12142001-08-02 Eli Zaretskii <[email protected]>
1215
1216 The following changes avoid polluting global namespace with the
1217 `enable' and `disable' identifiers, because some platforms define
1218 in their system headers symbols with global scope that go by those
1219 names.
1220
1221 * breakpoint.h (enum enable_state): Rename from `enum enable'.
1222 Also rename all the enum members to have the "bp_" prefix.
1223 (struct breakpoint): Rename the `enable' member to `enable_state'.
1224 (enum bpdisp): Rename all members to have the "disp_" prefix.
1225
1226 * breakpoint.c: All users of `enum enable' and `enum bpdisp'
1227 changed.
1228 (args_for_catchpoint_enable): Rename the `enable' member to
1229 `enable_p'. All users changed.
1230
1231 * tracepoint.h (enum enable): Remove.
1232 (struct tracepoint): The member `enabled' is now `int enabled_p'.
1233
1234 * tracepoint.c: All users of the `enabled' member changed.
1235
1236 * printcmd.c (struct display): The `status' member is now an int.
1237
1238 * memattr.h (struct mem_region): Rename the `status' member to
1239 `enabled_p'.
1240 (enum enable): Remove.
1241
1242 * memattr.c: Change all users of the `status' member of struct
1243 mem_region to use `enabled_p' instead.
1244
1245 * infcmd.c (run_stack_dummy): Use disp_del instead of del.
1246
1247 * go32-nat.c: Remove the kludgey work-around for conflicts between
1248 <dos.h> and "breakpoint.h".
1249
ad4571f3
CV
12502001-08-02 Corinna Vinschen <[email protected]>
1251
1252 * MAINTAINERS: Add myself to the write-after-approval list.
1253 * ser-tcp.c (tcp_open): Use `localhost' as default host if no
1254 hostname is given.
1255
64f6fcad
AC
12562001-08-01 Andrew Cagney <[email protected]>
1257
1258 * doublest.h (store_floating, floatformat_to_doublest): Make IN
1259 paramter a const void pointer.
1260 (floatformat_from_doublest): Make IN const, Make OUT a void
1261 pointer.
1262 * doublest.c (floatformat_to_doublest): Update.
1263 (floatformat_from_doublest): Update.
1264 (extract_floating): Update.
1265
d16aafd8
AC
12662001-07-31 Andrew Cagney <[email protected]>
1267
1268 * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
1269 (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
1270 (HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
1271 (floatformat_to_doublest, floatformat_from_doublest)
1272 (floatformat_is_negative, floatformat_is_nan)
1273 (floatformat_mantissa, store_floating)
1274 (extract_floating): Move declaration from here.
1275 * doublest.h: To here. New file.
1276 * utils.c (get_field, floatformat_to_doublest, put_field)
1277 (ldfrexp, floatformat_from_doublest, floatformat_is_negative)
1278 (floatformat_is_nan, floatformat_mantissa)
1279 (FLOATFORMAT_CHAR_BIT): Move from here.
1280 * doublest.c: To here. New file.
1281 * findvar.c (store_floating, extract_floating): Move from here.
1282 * doublest.c: To here.
1283 * Makefile.in (SFILES): Add doublest.c.
1284 (COMMON_OBS): Add doublest.o.
1285 (doublest.o): Specify dependencies.
1286 (doublest_h): Define.
1287
1288 * config/m88k/tm-m88k.h: Include "doublest.h".
1289 * config/i960/tm-i960.h: Ditto.
1290 * config/i386/tm-symmetry.h: Ditto.
1291 * rs6000-tdep.c, valarith.c: Ditto.
1292 * valprint.c, stabsread.c, sh-tdep.c: Ditto.
1293 * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
1294 * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
1295 * alpha-tdep.c, ax.h, expression.h: Ditto.
1296 * sh-tdep.c, parse.c, top.c, value.h: Ditto.
1297
1298 * Makefile.in (arm-tdep.o): Add $(doublest_h).
1299 (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
1300 (rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
1301 (values.o, valprint.o, arm-linux-tdep.o): Ditto.
1302 (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
1303 (parser_defs_h): Ditto.
1304 (expression_h): Add $(doublest_h) and $(symtab_h).
1305
1b0cad1c
AC
13062001-08-01 Andrew Cagney <[email protected]>
1307
1308 * Makefile.in: Sort header definitions.
1309 (parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
1310 Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h)
1311 and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with
1312 $(annotate_h). Replace target.h with $(target_h). Replace
1313 gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h).
1314
1ca66634
MK
13152001-07-31 Mark Kettenis <[email protected]>
1316
1317 * config/i386/xm-i386.h: New file.
1318 * config/i386/xm-fbsd.h: Removed.
1319 * config/i386/xm-linux.h: Removed.
1320 * config/i386/fbsd.mh: Reorganize a bit.
1321 (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
1322 * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
1323 xm-linux.h.
1324
9e84cbde
JB
13252001-07-30 Jim Blandy <[email protected]>
1326
1327 * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
1328
72473524
DJ
13292001-07-27 Daniel Jacobowitz <[email protected]>
1330
1331 * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
1332 Check for SETPGRP_VOID separately if cross-compiling and ISO C
1333 headers are available.
1334
8d7f6b4a
MK
13352001-07-30 Mark Kettenis <[email protected]>
1336
4b418e06
MK
1337 * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
1338 i386_dwarf_reg_to_regnum.
1339
8d7f6b4a
MK
1340 * i386-tdep.c (i386_register_convert_to_virtual): Replace
1341 assertion with a warning if we're asked to convert towards a
1342 non-floating-point type. Zero out the the buffer where the data
1343 is supposed to be stored in that case.
1344
6c56c069
EZ
13452001-07-29 Eli Zaretskii <[email protected]>
1346
f959bc41
EZ
1347 * config/djgpp/djconfig.sh: Unset CDPATH.
1348
a3b9cbb3
EZ
1349 * go32-nat.c (get_cr3): Temporary disable support for page tables
1350 in UMBs, as it is incomplete.
1351
6c56c069
EZ
1352 Support for stepping through longjmp in DJGPP programs:
1353
1354 * config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
1355 (GET_LONGJMP_TARGET): Define to call get_longjmp_target.
1356 (get_longjmp_target): Add prototype.
1357
de6ee558
AC
13582001-07-28 Andrew Cagney <[email protected]>
1359
1360 Fix some PID/TPID fallout for HP/UX.
1361 From 2001-07-22 Rodney Brown <[email protected]>:
1362 * infttrace.c (ptrace_wait): Match external declaration,
1363 and match target_post_wait declaration.
1364
93755ae6
AC
13652001-07-28 Andrew Cagney <[email protected]>
1366
1367 * MAINTAINERS: Add Orjan Friberg as cris target maintainer.
158ff1e6 1368 (cris): Set --enable-gdb-build-warnings flag to -w.
93755ae6 1369
16f769f3
AC
13702001-07-28 Andrew Cagney <[email protected]>
1371
1372 From 2001-07-23 Andreas Schwab <[email protected]>:
1373 * config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
1374 (TARGET_LONG_DOUBLE_BIT): Define.
1375 (REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
1376 (MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
1377 (REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
1378 floating point registers.
1379 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
1380 (REGISTER_CONVERT_TO_RAW): Remove.
1381 * config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
1382
5b7f31a4
AC
13832001-07-26 Andrew Cagney <[email protected]>
1384
1385 * thread.c, breakpoint.c: Include "gdb.h".
1386 * Makefile.in (gdb_h): Define.
1387 (HFILES_NO_SRCDIR): Add gdb.h.
1388 (mi-cmd-break.o, mi-main.o, thread.o)
1389 (breakpoint.o): Add dependency on $(gdb_h).
1390
1391 * defs.h (enum gdb_rc, gdb_breakpoint_query)
1392 (gdb_breakpoint, gdb_thread_select)
1393 (gdb_list_thread_ids): Move declaration from here ...
1394 * gdb.h: To here. New file.
1395
8aaf581c
SC
13962001-07-28 Stephane Carrez <[email protected]>
1397
1398 * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
1399 (SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
1400 (SFILES): Likewise.
1401 (tui-out.o): Define dependencies.
1402 (tui-hooks.o): Likewise.
1403
f9e2d830
AC
14042001-07-28 Andrew Cagney <[email protected]>
1405
1406 * MAINTAINERS: Update e-mail address of active @cygnus.com
1407 maintainers to @redhat.com.
1408
de6ed73f
AC
14092001-07-28 Andrew Cagney <[email protected]>
1410
1411 * README (Known bugs): Delete section.
1412 (Kernel debugging): Delete section.
1413 (Languages other than C): Delete section.
1414 (Host/target specific installation notes) New section.
1415
3d261580
MK
14162001-07-28 Mark Kettenis <[email protected]>
1417
85540d8c
MK
1418 * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
1419 DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
1420 (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
1421 prototypes.
1422 * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
1423 config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
1424 i386_dwarf_reg_to_regnum.
1425 * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
1426 New functions.
1427
3d261580
MK
1428 * i386-tdep.c: Include "gdb_assert.h"
1429 (i386_register_convert_to_virtual): Fix such that it can handle
1430 conversion to any floating-point type. Assert that we are dealing
1431 with a floating-point first.
1432 (i386_register_convert_to_raw): Assert that TYPE is a
1433 floating-point type with length 12.
1434
2db5ca22
JM
14352001-07-27 John R. Moore <[email protected]>
1436
1437 * configure.in: Added dependency of gdb on tcl/tk libraries.
1438 * Makefile.in: Likewise.
1439 * configure: Regenerated with the above using autoconf.
1440
88e04cc1
EZ
14412001-07-26 Elena Zannoni <[email protected]>
1442
1443 * sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
1444 NUM_REGS.
1445 (SH_DEFAULT_NUM_REGS): Define.
1446
2033c18a
EZ
14472001-07-26 Eli Zaretskii <[email protected]>
1448
1449 * go32-nat.c (read_memory_region): Make sure the segment limit was
1450 indeed set, to work around a Windows 2000 bug.
1451
9f30d7f5
DJ
14522001-07-25 Daniel Jacobowitz <[email protected]>
1453
1454 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
1455 * infttrace.c (child_xfer_memory): Likewise.
1456 * symm-nat.c (child_xfer_memory): Likewise.
1457 * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
1458 (write_inferior_memory): Likewise.
1459 * gdbserver/low-linux.c (read_inferior_memory): Likewise.
1460 (write_inferior_memory): Likewise.
1461 * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
1462 (write_inferior_memory): Likewise.
1463 * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
1464 (write_inferior_memory): Likewise.
1465 * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
1466 (write_inferior_memory): Likewise.
1467 * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
1468 (write_inferior_memory): Likewise.
1469
e23194cb
EZ
14702001-07-25 Eli Zaretskii <[email protected]>
1471
966beb0f
EZ
1472 * README: Mention how to make gdb.pdf.
1473
e23194cb
EZ
1474 * NEWS: Update.
1475
7c542009
SS
14762001-07-24 Stephen P. Smith <[email protected]>
1477
a3f3e535
SS
1478 * MAINTAINERS (Stephen P. Smith): Added to write after approval
1479 list.
1480
675fb869
AC
14812001-07-23 Andrew Cagney <[email protected]>
1482
1483 * mips-tdep.c (mips_push_arguments): Add comment explaining
1484 problem with LE o32 GCC.
1485
a7019e23
EZ
14862001-07-23 Elena Zannoni <[email protected]>
1487
1488 * config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
1489 doesn't understand them.
1490
ab35b611
EZ
14912001-07-23 Elena Zannoni <[email protected]>
1492
1493 * memattr.c (mem_info_command): Reformat output to look more like
1494 'info break' output.
1495 (_initialize_mem): Improve help.
1496
0200359f
MK
14972001-07-23 Mark Kettenis <[email protected]>
1498
1499 * configure.in (AC_CHECK_FUNCS): Add setpggrp.
1500 (AC_FUNC_SETPGRP): Add.
1501 * aclocal.m4, configure, config.in: Regenerated.
1502 * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
1503 SETPGRP_ARGS. Always use setpgid if it is available, fall back on
1504 setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
1505 distinguish between the two setpgrp flavours.
1506 * config/xm-sysv4.h, config/arm/xm-linux.h,
1507 config/i386/xm-i386aix.h, config/i386/xm-sco.h,
1508 config/i386/xm-linux.h, config/i386/xm-ptx.h,
1509 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
1510 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
1511 config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
1512 * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
1513
9f20bf26
EZ
15142001-07-23 Eli Zaretskii <[email protected]>
1515
1516 * go32-nat.c (read_memory_region): Set the granularity bit of the
1517 allocated segment according to its size, and adjust the limit to
1518 be page-aligned if the segment is page-granular.
1519
1520 * (get_cr3, get_pde, get_pte, display_ptable_entry, go32_pde)
1521 (display_page_table, go32_pte, go32_pte_for_address): New functions.
1522 (_initialize_go32_nat): Initialize and document them.
1523
383d750b
MK
15242001-07-22 Mark Kettenis <[email protected]>
1525
1526 * i386gnu-nat.c: Include "i387-nat.h".
1527 (struct env387): Removed.
1528 (reg_offset): Fix comment.
1529 (fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
1530 FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to
1531 use i387_supply_fsave.
1532 (gnu_fetch_registers): Remove spurious whitespace.
1533 (convert_to_env387): Remove.
1534 (store_fpregs): Add argument regno. Use i387_fill_fsave instead
1535 of convert_to_env387.
1536 (gnu_store_registers): Remove spurious whitespace. Pass REGNO to
1537 store_fpregs.
1538 * config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
1539 * config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
1540 (NATDEPFILES): Add i387-nat.o.
1541
1a12f22f
SC
15422001-07-22 Stephane Carrez <[email protected]>
1543
1544 * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
1545 (m68hc11-tdep.o): Define dependencies.
1546
7d32ba20
SC
15472001-07-22 Stephane Carrez <[email protected]>
1548
1549 * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
1550
5ecb1806
SC
15512001-07-21 Stephane Carrez <[email protected]>
1552
1553 * utils.c (init_page_info): Use tui_get_command_dimension.
1554 * printcmd.c (disassemble_command): Simplify tui specific code,
1555 use tui_is_window_visible, tui_show_assembly.
1556
25630444
MK
15572001-07-21 Mark Kettenis <[email protected]>
1558
1559 * i386bsd-nat.c: Do not include <sys/sysctl.h>.
1560 (_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
1561 code to ...
1562 * i386fbsd-nat.c: ... here. New file.
1563 * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
1564 * config/i386/nm-fbsd.h (CHILD_RESUME): Define.
1565 * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
1566 (i386fbsd-nat.o): Add dependencies.
1567
0150732f
DJ
15682001-07-19 Daniel Jacobowitz <[email protected]>
1569
1570 * signals.c: New file.
1571 * Makefile.in: Add signals.o.
1572 * target.c (struct signals, target_signal_to_name)
1573 (target_signal_from_name, target_signal_from_host)
1574 (do_target_signal_to_host, target_signal_to_host_p)
1575 (target_signal_to_host, target_signal_from_command): Move to
1576 signals.c.
1577 (initialize_targets): Move check of struct signals to...
1578 * signals.c (_initialize_signals): Here.
1579
e36118e7
AC
15802001-07-19 Andrew Cagney <[email protected]>
1581
1582 * MAINTAINERS: Add Michael Chastain as C++ testsuite maintainer.
1583
b4fc7a30
AC
15842001-07-19 Andrew Cagney <[email protected]>
1585
1586 From Stephen Smith:
1587 * configure.tgt (i*86-*-pe*): New target.
1588
4b048bc0
AC
15892001-07-19 Andrew Cagney <[email protected]>
1590
1591 From 2001-07-16 Rodney Brown <[email protected]>:
1592 * infttrace.c (child_thread_alive): Fix gdb_tid typo.
1593 * somsolib.c (no_shared_libraries): Provide stub.
1594 * xcoffsolib.c (no_shared_libraries): Provide stub.
1595
227288a0
SC
15962001-07-18 Stephane Carrez <[email protected]>
1597
1598 * Makefile.in (COMMON_OBS): Remove tui-file.o.
1599 (SUBDIR_TUI_OBS): Add it here.
1600 (SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
1601 (main.o): Remove dependency with tui-file.h.
1602
f9eb4b01
EZ
16032001-07-17 Elena Zannoni <[email protected]>
1604
1605 * Makefile.in (tui-file.o): Update dependencies.
1606
d0c8cdfb
EZ
16072001-07-17 Elena Zannoni <[email protected]>
1608
1609 * top.c (catch_errors): Convert PTR to void * in parameters list.
1610 (quit_cover): Ditto.
1611
063190b6
SC
16122001-07-17 Stephane Carrez <[email protected]>
1613
1614 * source.c (find_source_lines): Remove tui test, must be replaced
1615 by appropriate warning hook.
1616 (print_source_lines): Remove tui hacks, must be replaced by cli.
1617 (forward_search_command): Remove tui hacks, can be replaced by
1618 appropriate calls to identify_source_line when tui scrolls.
1619 (reverse_search_command): Likewise.
1620
cf759d3b
ND
16212001-07-16 Nick Duffek <[email protected]>
1622
1623 * remote.c (init_remote_ops, init_remote_cisco_ops,
1624 init_remote_async_ops): Set to_pid_to_str and
1625 to_extra_thread_info correctly and in the same order as declared
1626 in target.h.
1627
0caabb7e
AC
16282001-07-16 Andrew Cagney <[email protected]>
1629
1630 * remote.c: Revert below. Included more than intended.
1631
943b3971
ND
16322001-07-16 Nick Duffek <[email protected]>
1633
1634 * remote.c (init_remote_ops, init_remote_cisco_ops,
1635 init_remote_async_ops): Set to_pid_to_str and
1636 to_extra_thread_info correctly and in the same order as declared
1637 in target.h.
1638
9ed10b08
ND
16392001-07-16 Nick Duffek <[email protected]>
1640
1641 * findvar.c (read_var_value): Apply value_as_pointer() to
1642 addresses retrieved from the target for LOC_BASEREG and
1643 LOC_BASEREG_ARG variables.
1644
24be5c34
OF
16452001-07-16 Orjan Friberg <[email protected]>
1646
1647 * NEWS: New target CRIS.
1648
314b6fb7
EZ
16492001-07-16 Elena Zannoni <[email protected]>
1650
1651 * top.c (show_commands): Remove extern decl of history_get, it's
1652 already in readline/history.h.
1653
210661e7
EZ
16542001-07-16 Elena Zannoni <[email protected]>
1655
1656 * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
1657 execute_user_command, do_setshow_command, get_prompt, init_proc,
1658 serial_log_command): Remove extern declarations. Include
1659 cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
1660 * gdbcmd.h (execute_user_command): Remove declaration, it's already
1661 in cli/cli-script.h.
1662 * command.h (do_setshow_command): Remove declaration, it's already
1663 in cli/cli-setshow.h.
1664 * infrun.c: Include "cli/cli-script.h" for execute_user_command.
1665 * Makefile.in (infrun.o): Update dependencies.
1666 (top.o): Ditto.
1667 * cli/cli-setshow.h: Add comment for do_setshow_command.
1668
2584159e
EZ
16692001-07-16 Eli Zaretskii <[email protected]>
1670
1671 * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
1672 call to chdir on this symbol rather than on __DJGPP__.
1673 (CANT_FORK) [__MSDOS__]: Move from here...
1674 * defs.h (CANT_FORK) [__MSDOS__]: ...to here.
1675 (GLOBAL_CURDIR) [__MSDOS__]: Define.
1676
cf54db79
OF
16772001-07-16 Orjan Friberg <[email protected]>
1678
1679 * configure.tgt: Recognise the CRIS architecture.
1680 * config/cris/cris.mt: New file for CRIS target.
1681 * cris-tdep.c: New file for CRIS target.
1682
64cdedad
EZ
16832001-07-15 Elena Zannoni <[email protected]>
1684
1685 * top.c (quit_cover, float_handler): Move definition up before use.
1686 (gdb_init): Move to end of file, to avoid calls to not yet defined
1687 functions.
1688 Delete prototypes.
1689
2cd58942
AC
16902001-07-14 Andrew Cagney <[email protected]>
1691
1692 * serial.h (SERIAL_ASYNC): Delete.
1693 (DEPRECATED_SERIAL_FD): Delete.
1694 (SERIAL_DEBUG): Delete.
1695 (SERIAL_DEBUG_P): Delete.
1696 (SERIAL_DRAIN_OUTPUT): Delete.
1697 (SERIAL_FLUSH_OUTPUT): Delete.
1698 (SERIAL_FLUSH_INPUT): Delete.
1699 (SERIAL_SEND_BREAK): Delete.
1700 (SERIAL_RAW): Delete.
1701 (SERIAL_GET_TTY_STATE): Delete.
1702 (SERIAL_SET_TTY_STATE): Delete.
1703 (SERIAL_PRINT_TTY_STATE): Delete.
1704 (SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
1705 (SERIAL_SETBAUDRATE): Delete.
1706 (SERIAL_SETSTOPBITS): Delete.
1707 (SERIAL_CAN_ASYNC_P): Delete.
1708 (SERIAL_IS_ASYNC_P): Delete.
1709 (SERIAL_UN_FDOPEN): Delete.
1710 (SERIAL_READCHAR): Delete.
1711 (SERIAL_CLOSE): Delete.
1712 (SERIAL_FDOPEN): Delete.
1713 (SERIAL_OPEN): Delete.
1714 * ser-unix.c: Update.
1715 * sparclet-rom.c: Update.
1716 * remote-bug.c: Update.
1717 * dsrec.c: Update.
1718 * xmodem.c: Update.
1719 * nindy-share/ttyflush.c: Update.
1720 * nindy-share/Onindy.c: Update.
1721 * utils.c: Update.
1722 * serial.c: Update.
1723 * remote-nindy.c: Update.
1724 * inflow.c: Update.
1725 * sparcl-tdep.c: Update.
1726 * sh3-rom.c: Update.
1727 * remote.c: Update.
1728 * remote-utils.c: Update.
1729 * remote-st.c: Update.
1730 * remote-sds.c: Update.
1731 * remote-rdp.c: Update.
1732 * remote-os9k.c: Update.
1733 * remote-nrom.c: Update.
1734 * remote-mips.c: Update.
1735 * remote-es.c: Update.
1736 * remote-e7000.c: Update.
1737 * remote-array.c: Update.
1738 * ocd.c: Update.
1739 * nindy-share/nindy.c: Update.
1740 * monitor.c: Update.
1741
ea7c478f
AC
17422001-07-14 Andrew Cagney <[email protected]>
1743
1744 * mn10200-tdep.c: Replace value_ptr with ``struct value *''.
1745 * mcore-tdep.c: Ditto.
1746 * sparc-tdep.c: Ditto.
1747 * sh-tdep.c: Ditto.
1748 * rs6000-tdep.c: Ditto.
1749 * ppc-linux-tdep.c: Ditto.
1750 * m68hc11-tdep.c: Ditto.
1751 * ia64-tdep.c: Ditto.
1752 * i386-tdep.c: Ditto.
1753 * arm-linux-tdep.c: Ditto.
1754 * hppa-tdep.c: Ditto.
1755 * h8500-tdep.c: Ditto.
1756 * fr30-tdep.c: Ditto.
1757 * arm-tdep.c: Ditto.
1758 * alpha-tdep.c: Ditto.
1759 * d30v-tdep.c: Ditto.
1760 * d10v-tdep.c: Ditto.
1761 * m32r-tdep.c: Ditto.
1762 * mips-tdep.c: Ditto.
1763 * v850-tdep.c: Ditto.
1764
d75b5104
EZ
17652001-07-15 Elena Zannoni <[email protected]>
1766
1767 * top.c (readline_line_completion_function, noop_completer): Move
1768 from here...
1769 * completer.c (readline_line_completion_function, noop_completer):
1770 ...to here.
1771 * gdbcmd.h (readline_line_completion_function, noop_completer):
1772 Move declarations from here...
1773 * completer.h (readline_line_completion_function, noop_completer):
1774 ...to here.
1775 * corefile.c: Include completer.h.
1776 * source.c: Ditto.
1777 * symfile.c: Ditto.
1778 * Makefile.in: Update dependencies.
1779
150985e3
EZ
17802001-07-15 Eli Zaretskii <[email protected]>
1781
1782 * go32-nat.c (go32_create_inferior): Support command lines longer
1783 than 126 characters.
1784
def90278
SC
17852001-07-14 Stephane Carrez <[email protected]>
1786
1787 * NEWS: New target 68HC11/68HC12.
1788
37767e42
SC
17892001-07-14 Stephane Carrez <[email protected]>
1790
1791 * utils.c (query): Remove tui hacks; tui must use the query_hook.
1792 * top.c (command_loop): Remove tui insert_mode hacks; don't call
1793 tuiCleanUp because this must be made with atexit by tui.
1794 * symfile.c (symbol_file_command): Remove call to TUIDO
1795 * stack.c (show_and_print_stack_frame_stub): Remove tui check;
1796 not necessary when using the selected frame hooks.
1797 (print_stack_frame_stub): Likewise.
1798 (print_frame_info_base): Likewise.
1799 (print_frame_info): Likewise.
1800 (up_silently_command): Likewise.
1801 (down_silently_command): Likewise.
1802 (show_stack_frame): Likewise for TUIDO.
1803 (select_frame): Likewise.
1804 (select_and_print_frame): Likewise.
1805 (stack_publish_stopped_with_no_frame): Remove.
1806 (select_and_maybe_print_frame): Remove.
1807 * main.c (captured_main): Remove tui_fileopen and tuiInit; tui
1808 must use the initialize ui hook.
1809 * infrun.c (normal_stop): Remove call to TUIDO; tui must use the
1810 selected frame hooks.
1811 * event-top.c (command_handler): Remove tui insert_mode hack.
1812 * defs.h: Remove TUIDO; Only include tui.h.
1813 * breakpoint.c (mention): Remove calls to TUIDO.
1814 (delete_breakpoint): Remove tui hacks; tui must install
1815 the breakpoint hooks.
1816
0123ceaf
MK
18172001-07-14 Mark Kettenis <[email protected]>
1818
1fe7ac85
MK
1819 * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
1820 * config/i386/nm-linux.h: ...to here. Change comments about user
1821 area/struct a bit.
1822
d0f3ce3c
MK
1823 * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
1824
0123ceaf
MK
1825 * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
1826 (i386bsd-tdep.o, i386bsd-nat.o): New targets.
1827
4902674b
EZ
18282001-07-13 Elena Zannoni <[email protected]>
1829
1830 * remote-e7000.c (fetch_regs_from_dump): If register set is null,
1831 generate an internal error.
1832 (e7000_fetch_registers): Initialize variable 'wanted'.
1833 (e7000_wait): Initialize variable 'wanted_nopc'.
1834 (e7000_store_register): Fix sprintf compiler warnings.
1835 (sub2_from_pc): Ditto.
1836 (e7000_open): Close the descriptor, not the name.
1837 (e7000_load): Fix compiler warnings.
1838 (sub2_from_pc): Ditto.
1839 * Makefile.in (remote-e7000.o): Can now compile with -Werror.
1840
b7247919
MK
18412001-07-13 Mark Kettenis <[email protected]>
1842
1843 * i386bsd-nat.c: Include <signal.h>, <stddef.h> and
1844 <sys/sysctl.h>.
1845 (store_inferior_registers): Wrap long line.
1846 (i386bsd_dr_get_status): Fix typo in comment.
1847 (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New
1848 file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
1849 (i386bsd_in_sigtramp): New prototype.
1850 (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
1851 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
1852 (external) variables.
1853 (SIGCONTEXT_PC_OFFSET): Removed.
1854 (FRAME_SAVED_PC): New define.
1855 (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt
1856 (TDEPFILES): Add i386bsd-tdep.o.
1857
d1bacddc
DJ
18582001-07-12 Daniel Jacobowitz <[email protected]>
1859
1860 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
1861 definition.
1862
9a973a8f
MK
18632001-07-13 Mark Kettenis <[email protected]>
1864
1865 * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
1866 are no registered LWPs yet.
1867
6ef7fa21
DJ
18682001-07-12 Daniel Jacobowitz <[email protected]>
1869
1870 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right
1871 function.
1872 (CANNOT_STORE_REGISTER): Likewise.
1873
75e266ac
KS
18742001-07-12 Keith Seitz <[email protected]>
1875
1876 * remote-rdp.c: Include "serial.h"
1877
d0608e50
DJ
18782001-07-12 Daniel Jacobowitz <[email protected]>
1879
1880 * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
1881 in HAVE_TERMIO/HAVE_TERMIOS cases.
1882
1e4fac59
MK
18832001-07-12 Mark Kettenis <[email protected]>
1884
de4ca854
MK
1885 * lin-lwp.c (stop_wait_callback): Add support for flushing
1886 signals. Use that in favour of the old code to get rid of
1887 superfluous SIGINTs.
1888 (lin_lwp_wait): Use the new support in stop_wait_callback to
1889 flush all but one SIGINT.
1890
635b0cc1
MK
1891 * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
1892 to comment.
1893 (i386_store_return_value): Improve comments about storing
1894 floating-point return values.
1895
1e4fac59
MK
1896 * config/arm/xm-linux.h, config/i386/xm-linux.h,
1897 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
1898 config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
1899 Removed. Taken care of by autoconf and terminal.h.
1900
49e790b0
DJ
19012001-07-12 Daniel Jacobowitz <[email protected]>
1902
1903 * mips-tdep.c (mips_type_needs_double_align): New function.
1904 (mips_push_arguments): Align o32 structs to even argument
1905 registers if necessary.
1906
e7df8212
DJ
19072001-07-11 Daniel Jacobowitz <[email protected]>
1908
1909 * config/djgpp/fnchange.lst: Add entries for
1910 mips-linux-nat.c and mips-linux-tdep.c.
1911
2b2d558c
MK
19122001-07-12 Mark Kettenis <[email protected]>
1913
9e158af1
MK
1914 * config/powerpc/xm-linux.h: Fix corrupted file.
1915
2b2d558c
MK
1916 * configure.in: Add check for sigsetjmp.
1917 * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
1918 * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
1919 * configure, config.in: Regenerated.
1920
3bbfbb92
EZ
19212001-07-11 Elena Zannoni <[email protected]>
1922
1923 * config/sh/tm-sh.h (struct gdbarch_tdep): Add
1924 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
1925 PR_REGNUM fields.
1926
1927 * sh-tdep.c (sh_skip_prologue_hard_way): Rename from
1928 skip_prologue_hard_way().
1929 (skip_prologue_hard_way): Make it a function pointer.
1930 (sh_print_register): Use function pointer do_pseudo_register,
1931 instead of sh_do_pseudo_register.
1932 (sh_do_registers_info): Ditto.
1933 (sh_gdbarch_init): Initialize do_pseudo_register.
1934 (IS_MOV_TO_R14): Rename from IS_MOV_R14.
1935 (skip_prologue_hard_way): Update.
1936 (sh_gdbarch_init): Move setting of frame_chain,
1937 get_saved_register, init_extra_frame_info, push_arguments,
1938 extract_return_value, pop_frame, store_struct_return,
1939 extract_struct_value_address, use_struct_convention,
1940 init_extra_frame_info to before target specific settings.
1941 (sh_gdbarch_init): Initialize new tdep fields
1942 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
1943 PR_REGNUM.
1944 (sh_push_arguments): Use new gdbarch_tdep fields
1945 {ARG0,ARGLAST}_REGNUM.
1946 (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
1947 sh_init_extra_frame_info, sh_push_return_address,
1948 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
1949 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
1950 gdbarch_tdep->PR_REGNUM.
1951 (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
1952
e64c0717
DJ
19532001-07-11 Daniel Jacobowitz <[email protected]>
1954
1955 * config/mips/tm-linux.h: Include "tm-linux.h" instead of copying
1956 from it. Move definitions of REALTIME_LO and REALTIME_HI above
1957 include.
1958
6c8e04b5
DJ
19592001-07-11 Daniel Jacobowitz <[email protected]>
1960
1961 * MAINTAINERS: List myself for MIPS/Linux
1962 port.
1963
94dfea5d
DJ
19642001-07-11 Daniel Jacobowitz <[email protected]>
1965
1966 * gdbserver/remote-utils.c (remote_open): Only
1967 check for F_SETOWN if we had F_SETFL and FASYNC.
1968
f175af98
DJ
19692001-07-11 Daniel Jacobowitz <[email protected]>
1970
1971 From Michael Fedrowitz <[email protected]>:
1972
1973 * config/m68k/linux.mh: Remove core-regset.o.
1974 * m68klinux-nat.c: Fix comment.
1975 (supply_gregset): Change argument to elf_gregset_t *.
1976 (supply_fpregset): Change argument to elf_fpregset_t *.
1977 (fetch_core_registers): New function.
1978 (linux_elf_core_fns): Define.
1979 (_initialize_m68k_linux_nat): New function.
1980
21624696
AC
19812001-07-11 Andrew Cagney <[email protected]>
1982
1983 * configure.tgt: Mark d10v as pure multi-arch.
1984 * config/d10v/tm-d10v.h: Delete file.
1985 * config/d10v/d10v.mt (TM_FILE): Delete.
1986
819cc324
AC
19872001-07-10 Andrew Cagney <[email protected]>
1988
1989 * serial.h (typedef serial_t): Delete. Replace all references to
1990 serial_t with `struct serial *'.
1991 * serial.c: Update.
1992 * nindy-share/ttyflush.c: Update.
1993 * nindy-share/ttyflush.c: Update.
1994 * nindy-share/Onindy.c: Update.
1995 * nindy-share/nindy.c: Update.
1996 * remote-rdp.c: Update.
1997 * remote-sds.c: Update.
1998 * remote-st.c: Update.
1999 * remote-nindy.c: Update.
2000 * remote-mips.c: Update.
2001 * remote-e7000.c: Update.
2002 * remote-os9k.c: Update.
2003 * remote-nrom.c: Update.
2004 * remote-es.c: Update.
2005 * remote-array.c: Update.
2006 * ocd.c: Update.
2007 * mon960-rom.c: Update.
2008 * dsrec.c: Update.
2009 * inflow.c: Update.
2010 * ser-e7kpc.c: Update.
2011 * sparclet-rom.c: Update.
2012 * srec.h: Update.
2013 * ser-tcp.c: Update.
2014 * ser-go32.c: Update.
2015 * sparcl-tdep.c: Update.
2016 * w89k-rom.c: Update.
2017 * utils.c: Update.
2018 * sh3-rom.c: Update.
2019 * remote.c: Update.
2020 * ser-pipe.c: Update.
2021 * ser-unix.c: Update.
2022 * ser-unix.h: Update.
2023 * xmodem.c: Update.
2024 * xmodem.h: Update.
2025
30120c46
AC
20262001-07-11 J.T. Conklin <[email protected]>
2027
2028 From Greg McGary <[email protected]>:
cf30a8e1
C
2029 * gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
2030 of SIGIO.
2031 (input_interrupt): Don't block on read, in case we got redundant
2032 SIGIO. Don't gripe about redundant SIGIO.
2033 * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO
2034 handler while waiting.
2035 * gdbserver/low-linux.c (mywait): Likewise.
2036 * gdbserver/low-nbsd.c (mywait): Likewise.
2037 * gdbserver/low-sparc.c (mywait): Likewise.
2038
84c6c83c
KS
20392001-07-11 Keith Seitz <[email protected]>
2040
2041 * infrun.c (print_stop_reason): Add missing uiout field
2042 "reason" for SIGNAL_RECEIVED case.
2043
e6da861e
MK
20442001-07-11 Mark Kettenis <[email protected]>
2045
82de0203
MK
2046 * config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
2047 Remove unused macro's.
2048
e6da861e
MK
2049 * config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
2050 used.
2051
d8c852a1
EZ
20522001-07-11 Eli Zaretskii <[email protected]>
2053
2054 * go32-nat.c (info_dos_cmdlist): New variable.
2055 (go32_info_dos_command): New function.
2056 (_initialize_go32_nat): Convert all DOS-specific commands into
2057 subcommands of "info dos". Suggested by Andrew Cagney
2058 <[email protected]>.
2059
f8d13125
MK
20602001-07-11 Mark Kettenis <[email protected]>
2061
11d18042
MK
2062 * config/nm-linux.h: Fix comments.
2063
936742ab
MK
2064 * thread-db.c (enable_thread_event_reporting): Correct warning
2065 message about getting thread death breakpoint.
2066 Reported by John S Kallal <[email protected]>.
2067
ccb945b8
MK
2068 * i386-tdep.c (i386_extract_return_value): "Fix" comment.
2069 (i386_store_return_value): Frob FPU status and tag word to make
2070 sure the return value is the only value on the FPU stack.
2071
f8d13125
MK
2072 * config/tm-linux.h: Do not include <signal.h>. Instead provide
2073 reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
2074 already defined.
2075 * config/nm-linux.h: Include <signal.h>.
2076 [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
2077 (__SIGRTMAX + 1) respectively.
2078
56ff796a
AC
20792001-07-10 Andrew Cagney <[email protected]>
2080
2081 * mcore-rom.c: Include "serial.h".
2082 * Makefile.in (mcore-rom.o): Depends on "serial.h".
2083
899ff3a2
AC
20842001-07-10 Andrew Cagney <[email protected]>
2085
2086 * Makefile.in (remote-bug.o): Depends on serial.h.
2087 * remote-bug.c: Include "serial.h".
2088 * MAINTAINERS: Mark m88k target as buildable.
2089 * TODO: Update.
2090
2bf1f4a1
JB
20912001-07-10 Jim Blandy <[email protected]>
2092
75af7f68
JB
2093 Clean up the D10V port so that GDB and the target program no
2094 longer disagree on how big pointers are.
2095 * findvar.c (value_from_register): Remove special case code for D10V.
2096 * printcmd.c (print_frame_args): Same.
2097 * valops.c (value_at, value_fetch_lazy): Same.
2098 * values.c (unpack_long): Same.
2099 * gdbarch.sh: Changes to effect the following:
2100 * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
2101 gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
2102 set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
2103 gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
2104 set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
2105 gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
2106 set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
2107 gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
2108 set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
2109 gdbarch_d10v_convert_daddr_to_raw_ftype,
2110 gdbarch_d10v_convert_daddr_to_raw,
2111 set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
2112 gdbarch_d10v_convert_iaddr_to_raw_ftype,
2113 gdbarch_d10v_convert_iaddr_to_raw,
2114 set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
2115 * gdbarch.c: Delete the corresponding definitions.
2116 (struct gdbarch): Delete members d10v_make_daddr,
2117 d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
2118 d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
2119 (startup_gdbarch): Remove initializers for the above.
2120 (verify_gdbarch, gdbarch_dump): Don't verify or dump them any
2121 more.
2122 * d10v-tdep.c (d10v_register_virtual_type): Rather that
2123 claiming the stack pointer and PC are 32 bits long (which they
2124 aren't), say that the stack pointer is an int16_t, and the
2125 program counter is a function pointer. This allows the rest
2126 of GDB to make the appropriate conversions between the code
2127 pointer format and real addresses.
2128 (d10v_register_convertible, d10v_register_convert_to_virtual,
2129 d10v_register_convert_to_raw): Delete function; no registers
2130 are convertible now, so we use
2131 generic_register_convertible_not instead.
2132 (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
2133 methods.
2134 (d10v_push_arguments, d10v_extract_return_value): Remove special
2135 cases for code and data pointers.
2136 (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
2137 the target agree on how large pointers are. Say that addresses
2138 are 32 bits long. Register the address_to_pointer and
2139 pointer_to_address conversion functions. Since no registers are
2140 convertible now, register generic_register_convertible_not as the
2141 gdbarch_register_convertible method instead of
2142 d10v_register_convertible. Remove registrations for
2143 d10v_register_convert_to_virtual,
2144 d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
2145 gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
2146 gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
2147 gdbarch_d10v_convert_iaddr_to_raw.
2148
ef166cf4
JB
2149 * printcmd.c (print_scalar_formatted): If we are printing an
2150 address, remember that TARGET_ADDR_BIT is not always equal to
2151 TARGET_PTR_BIT.
2152
2bf1f4a1
JB
2153 * valops.c (value_cast): When casting a pointer to an integer,
2154 don't convert it to an address.
2155
ba3a8523
AC
21562001-07-10 Andrew Cagney <[email protected]>
2157
2158 * remote-utils.h (struct serial): Declare as opaque. Remove
2159 include of "serial.h".
2160 * Makefile.in (remote_utils_h): Update.
2161
2162 * monitor.h (struct serial): Declare as opaque. Remove include of
2163 "serial.h".
2164 (struct monitor_ops): Replace serial_t with `struct serial *'.
2165 * monitor.c (monitor_desc): Ditto.
2166
2aa830e4
DJ
21672001-07-10 Daniel Jacobowitz <[email protected]>
2168
2169 * mips-linux-tdep.c: New file.
2170 * mips-linux-nat.c: New file.
2171 * config/mips/linux.mh: New file.
2172 * config/mips/linux.mt: New file.
2173 * config/mips/xm-linux.h: New file.
2174 * config/mips/nm-linux.h: New file.
2175 * config/mips/tm-linux.h: New file.
2176 * configure.host: Recognize mips*-*-linux*.
2177 * configure.tgt: Likewise.
2178 * NEWS: Mention mips*-*-linux* port.
2179
65e2f740
AC
21802001-07-09 Andrew Cagney <[email protected]>
2181
2182 * serial.h (struct serial): Rename `struct _serial_t'.
2183 * serial.c (XMALLOC): Define.
2184 (serial_open): Update. Use XMALLOC.
2185 (serial_fdopen): Ditto.
2186
090a2205
AC
21872001-07-07 Andrew Cagney <[email protected]>
2188
2189 * gdbtypes.h (builtin_type_void_data_ptr): Rename
2190 builtin_type_ptr.
2191 * gdbtypes.c (builtin_type_void_data_ptr): Update.
2192 (build_gdbtypes): Update.
2193 (_initialize_gdbtypes): Update.
2194 * values.c (value_as_pointer): Update.
2195 * utils.c (host_pointer_to_address): Update.
2196 (address_to_host_pointer): Update.
2197
8059d5aa
AC
21982001-07-08 Andrew Cagney <[email protected]>
2199
2200 * remote-udi.c (udi_wait): Make type, instead of name, of first
2201 parameter a ptid_t.
2202
cc61049c
AC
22032001-07-07 Andrew Cagney <[email protected]>
2204
2205 * ser-mac.c: Make obsolete.
2206 * Makefile.in (ser-mac.o): Ditto.
2207
10ba702d
EZ
22082001-07-08 Eli Zaretskii <[email protected]>
2209
2210 * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)
2211 (read_memory_region, get_descriptor, display_descriptor)
2212 (go32_sldt, go32_sgdt, go32_sidt): New functions.
2213 (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef
2214 away `disable' from dos.h, since breakpoint.h defines an enum
2215 member of the same name, and GCC 2.7.2 barfs.
2216 (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt,
2217 dos-gdt, and dos-idt, all of them in the "info" class
2218
44312dba
KB
22192001-07-07 Kevin Buettner <[email protected]>
2220
2221 * procfs.c (create_procinfo): Allocate space for saved_entryset
2222 and saved_exitset.
2223 (destroy_one_procinfo): Free space allocated to saved_entryset
2224 and saved_exitset.
2225
5329c756
AC
22262001-07-07 Andrew Cagney <[email protected]>
2227
2228 * TODO (5.1): Update.
2229
51cc5b07
AC
22302001-07-07 Andrew Cagney <[email protected]>
2231
2232 * symtab.c (main_name): New function.
2233 (set_main_name): New function.
2234 * symtab.h: Declare.
2235 * TODO: Update
2236
2237 From 2000-03-05 Anthony Green <[email protected]>:
2238 * dbxread.c (process_one_symbol): Handle the N_MAIN stab by
2239 setting main_name.
2240 * blockframe.c (inside_main_func): Use main_name instead of
2241 "main".
2242 * symtab.c (find_main_psymtab): Ditto.
2243 * source.c (select_source_symtab): Ditto.
2244 * nlmread.c (nlm_symfile_read): Ditto.
2245 * rs6000-tdep.c (skip_prologue): Ditto.
2246
56ddd993
AC
22472001-07-07 Andrew Cagney <[email protected]>
2248
2249 * TODO: Convert most items into PRs.
2250
58eeadba
MK
22512001-07-07 Mark Kettenis <[email protected]>
2252
2253 * lin-lwp.c (status_to_str): New function.
2254 (lin_lwp_wait): Use it to print debug messages where appropriate.
2255
7f1659e6
MC
22562001-07-06 Michael Chastain <[email protected]>
2257
2258 * i387-tdep.c (print_i387_value): Fix pointer glitch.
2259
00d4fce6
MK
22602001-07-07 Mark Kettenis <[email protected]>
2261
2262 * lin-lwp.c (count_events_callback): Fix formatting. Turn check
2263 commented with "paranoia" into gdb_assert.
2264 (select_event_lwp_callback): Likewise.
2265 (cancel_breakpoints_callback): Bail out early if LP is the event
2266 LWP. Add comment about backup up breakpoints. Fix formatting and
2267 debug message.
2268 (select_event_lwp): Make solely repsonsible for switching event
2269 LWP. Fix formatting and remove bogus "ERROR" debug message.
2270 Don't backup breakpoints from here.
2271 (lin_lwp_wait): Don't touch LP->status, let select_event_lwp
2272 handle that. Only call select_event_lwp if we're not waiting for
2273 a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
2274
7de45904
MS
22752001-07-06 Michael Snyder <[email protected]>
2276
2277 * procfs.c (procfs_resume): Silence noisy warning.
2278
b1aeb4c5
MS
22792001-06-12 Michael Snyder <[email protected]>
2280
2281 * lin-lwp.c: Prevent thread starvation by using a monte carlo
2282 method to choose which of several event threads to handle next.
2283
2284 (stop_wait_callback): Defer pushback of breakpoint events until
2285 later; add SIGTRAP events to the queue of unhandled events.
2286 Keep calling waitpid until SIGSTOP retrieved. If more than one
2287 non-SIGSTOP event is retrieved, push them back onto the process
2288 queue using kill.
2289 (count_events_callback, select_singlestep_lwp_callback,
2290 select_event_lwp_callback, cancel_breakpoints_callback,
2291 select_event_lwp): New functions. Implement monte carlo method
2292 for selecting which of several SIGTRAP threads to handle next.
2293 Push back the breakpoint event for all threads other than the
2294 selected one.
2295 (lin_lwp_wait): Call select_event_lwp to decide which of several
2296 sigtrapped lwps to handle next.
2297 (resume_callback): Disable code that attempts to handle
2298 step_resume breakpoints. Let core gdb handle this.
2299
ee3a7b7f
JB
23002001-07-06 Jim Blandy <[email protected]>
2301
2302 * gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
2303 * gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
2304 (build_gdbtypes): Initialize it.
2305 (_initialize_gdbtypes): Swap it.
2306
e135b889 23072001-07-04 Daniel Jacobowitz <[email protected]>
ee3a7b7f 2308
e135b889
DJ
2309 * mips-tdep.c (mips32_op): Correct offset.
2310 (itype_op): Likewise.
2311 (itype_rs): Fix formatting.
2312 (itype_immediate): Fix formatting.
2313 (jtype_op): Correct offset.
2314 (jtype_target): Fix formatting.
2315 (rtype_op): Correct offset.
2316 (rtype_rs): Fix formatting.
2317 (rtype_rt): Likewise.
2318 (rtype_rd): Likewise.
2319 (rtype_shamt): Likewise.
2320 (rtype_funct): Likewise.
2321
2322 (mips32_next_pc): Fix formatting and comments. Recognize
2323 coprocessor 1 branches. Check the correct field for BLT family
2324 branches. Use itype_rt instead of itype_rs for the second register
2325 of a BNE or BNEL branch. Move (unreachable) default case.
2326
9dc5e2a9
AC
23272001-07-04 Andrew Cagney <[email protected]>
2328
2329 * ui-out.h (struct ui_out_impl): Add field is_mi_like_p.
2330 (ui_out_is_mi_like_p): Declare.
2331 * ui-out.c (ui_out_is_mi_like_p): Define.
2332 (default_ui_out_impl): Initialize is_mi_like_p to zero.
2333 * cli-out.c (cli_ui_out_impl): Ditto.
2334 * breakpoint.c (print_it_typical): Use ui_out_is_mi_like_p.
2335 (watchpoint_check, print_one_breakpoint, mention): Ditto.
2336 * infrun.c (print_stop_reason, normal_stop): Ditto.
2337
9022177c
DJ
23382001-07-05 Daniel Jacobowitz <[email protected]>
2339
2340 * mips-tdep.c (mips_software_single_step): New function.
2341 * config/mips/tm-mips.h: Add prototype for
2342 mips_software_single_step.
2343
2ac44c70
DJ
23442001-07-05 Daniel Jacobowitz <[email protected]>
2345
2346 * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
2347 of greg_t.
2348 (fill_gregset): Likewise.
2349
bdda63b0
AC
23502001-07-05 Andrew Cagney <[email protected]>
2351
2352 * objfiles.c (open_mapped_file): Use lbasename instead of
2353 basename.
2354
af703f96
JB
23552001-07-05 Jim Blandy <[email protected]>
2356
7b570125
JB
2357 * d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
2358 show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
2359 d10v_write_sp, d10v_write_fp, d10v_read_fp,
2360 d10v_push_return_address): Call the functions d10v_make_daddr,
2361 d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
2362 d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
2363 D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
2364 D10V_CONVERT_DADDR_TO_RAW.
2365
af703f96
JB
2366 * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
2367
e087d0d6
MK
23682001-07-05 Mark Kettenis <[email protected]>
2369
2370 * config/i386/xm-go32.h (HOST_I386): Removed.
2371 * config/i386/xm-linux.h (HOST_I386): Removed.
2372
c96646d0
MK
23732001-07-04 Mark Kettenis <[email protected]>
2374
2375 * i387-tdep.c (print_i387_value): Add extra space after final full
2376 stop in comment.
2377
af6c57ea
AC
23782001-07-04 Andrew Cagney <[email protected]>
2379
2380 * TODO (5.1): Update. Doco changes committed.
2381
9da8e4f8
AC
23822001-06-29 Andrew Cagney <[email protected]>
2383
2384 * config/arm/tm-arm.h: Include "floatformat.h".
2385
d0df8472
AC
23862001-06-29 Andrew Cagney <[email protected]>
2387
2388 * i387-tdep.c: Include "gdb_assert.h".
2389 (print_i387_value): Use extract_floating to extract the FP value
2390 from a zero padded local buffer.
2391
291903b1
AC
23922001-06-28 Andrew Cagney <[email protected]>
2393
2394 * TODO: Delete all thread items. The thread code was overhauled.
2395
80629b1b
EZ
23962001-07-04 Elena Zannoni <[email protected]>
2397
2ed3d0b5
EZ
2398 * memattr.c (create_mem_region): Move n to next memory region,
2399 to avoid infinite loop.
2400
80629b1b
EZ
2401 * memattr.h: Add copyright statement.
2402 * memattr.c: Ditto.
2403
2541c7cf
JB
24042001-07-04 Jim Blandy <[email protected]>
2405
0b010bcc
JB
2406 * dwarf2read.c (struct partial_die_info): New member: has_pc_info.
2407 (read_partial_die): Delete fourth argument; we return this info in
2408 the struct partial_die_info object itself now.
2409 (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
2410 has_pc_info field of the partial die struct, rather than passing a
2411 variable by reference to read_partial_die.
2412
2541c7cf 2413 * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
9faef8a7 2414 code in loop condition.
2541c7cf 2415
5d12882f
MS
24162001-07-03 Michael Snyder <[email protected]>
2417
2418 * thread_db (find_new_threads_callback, thread_db_thread_alive,
2419 attach_thread): Update comments.
2420
00783ba9
MS
24212001-06-29 Ken Whaley <[email protected]>
2422
2423 * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
2424 to TD_THR_UNKNOWN when looking for defunct zombie threads.
2425 (thread_db_thread_alive): Ditto.
2426 (find_new_threads_callback): Ditto.
2427
f7856c8f 24282001-07-02 Daniel Jacobowitz <[email protected]>
2740bf6c
DJ
2429
2430 * MAINTAINERS: Add myself to the write-after-approval list.
2431
24322001-07-02 Daniel Jacobowitz <[email protected]>
2433
f7856c8f
DJ
2434 * solib-svr4.c: Include "elf/mips.h".
2435 (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
2436
f9aca02d
JB
24372001-07-02 Jim Blandy <[email protected]>
2438
2439 * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
2440 dump_die_list, store_in_ref_table, follow_die_ref): Make these
2441 static; they're private functions.
2442
42a076f0
EZ
24432001-07-01 Mark Elbrecht <[email protected]>
2444
2445 * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
2446
77467810
EZ
24472001-06-28 Elena Zannoni <[email protected]>
2448
2449 * TODO: Add import of readline 4.2 as a gdb 5.2 task.
2450
85593179
AC
24512001-06-29 Andrew Cagney <[email protected]>
2452
2453 * config/djgpp/fnchange.lst: Sort.
2454
cde2d0fb
AC
24552001-06-28 Andrew Cagney <[email protected]>
2456
2457 * config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
2458 mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
2459
37965979
AJ
24602001-06-29 Andreas Jaeger <[email protected]>
2461
2462 * MAINTAINERS: Add myself to the write-after-approval list.
2463
a1337894
AC
24642001-06-28 Andrew Cagney <[email protected]>
2465
2466 * remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
2467 (get_hex_word): Don't use HOST_BYTE_ORDER.
2468 (array_fetch_registers): Add variable ``reg''. Use
2469 store_unsigned_integer to byte-swap the register. Delete unused
2470 local ``regs''.
2471
aa8aac68
AC
24722001-06-28 Andrew Cagney <[email protected]>
2473
2474 * MAINTAINERS: Add Per Bothner to Java maintainers.
2475
a8016339
AC
24762001-06-28 Andrew Cagney <[email protected]>
2477
2478 * rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
2479 * rdi-share/hostchan.h (__unix): Hack, provide a default value.
2480 * rdi-share/host.h (__unix): Hack, define when __NetBSD__.
2481 * TODO: Update.
2482 * MAINTAINERS: Update. arm-elf builds.
2483
f5e1cf12
JB
24842001-06-28 Jim Blandy <[email protected]>
2485
bf93dfed
JB
2486 * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
2487
2488 * d10v-tdep.c (d10v_frame_chain_valid, d10v_use_struct_convention,
f5e1cf12
JB
2489 d10v_breakpoint_from_pc, d10v_register_byte,
2490 d10v_register_raw_size, d10v_register_virtual_size,
2491 d10v_register_virtual_type, d10v_register_convertible,
2492 d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
2493 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
2494 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
2495 d10v_store_struct_return, d10v_store_return_value,
2496 d10v_extract_struct_value_address, d10v_frame_saved_pc,
2497 d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
2498 d10v_frame_chain, d10v_frame_init_saved_regs,
2499 d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
2500 d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
2501 d10v_push_return_address, d10v_push_arguments,
2502 d10v_extract_return_value): Make these functions static.
2503
100a02e1
AC
25042001-06-28 Andrew Cagney <[email protected]>
2505
2506 From Fernando Nasser:
2507 * infrun.c (handle_inferior_event): Handle "nexti" inside function
2508 prologues.
2509
80b34fab
MS
25102001-06-28 Michael Snyder <[email protected]>
2511
2512 * infrun.c (handle_inferior_event): Replace prev_pc test in all
2513 calls to bpstat_stop_status (removed in 1999-09-24). This test
2514 helps distinguish stepping over a breakpoint trap from stepping
2515 thru a jump to the instruction after a breakpoint trap.
2516 (handle_inferior_event): Don't bother writing the PC if
2517 DECR_PC_AFTER_BREAK is zero (optimization).
2518 * breakpoint.c (bpstat_stop_status): Add comment explaining the
2519 purpose and usage of the "not_a_breakpoint" argument in computing
2520 the breakpoint address.
2521
1456ad8e
AC
25222001-06-28 Andrew Cagney <[email protected]>
2523
2524 From 2000-12-03 Stephane Carrez <[email protected]>:
2525 * monitor.c (setmem_resp_delim_pattern): New regexp pattern.
2526 (setreg_resp_delim_pattern): Likewise.
2527 (setmem_resp_delim_fastmap): New buffer.
2528 (setreg_resp_delim_fastmap): Likewise.
2529 (monitor_open): Initialize above regexp if they are defined.
2530 (monitor_write_memory): Use regexp to check the result of write.
2531 (monitor_store_register): Likewise to check result of register set.
2532
399371f6
AC
25332001-06-28 Andrew Cagney <[email protected]>
2534
2535 From 2000-06-14 John Marshall <[email protected]>:
2536 * coff-solib.c: Include symfile.h and objfiles.h to make
2537 OBJF_SHARED visible.
2538
b0e2e90a
AC
25392001-06-28 Andrew Cagney <[email protected]>
2540
2541 * configure.in (--enable-gdbmi): Enable by default.
2542 * configure: Regenerate.
2543 * TODO: Update.
2544 * NEWS: Update
2545
ad98fdaf
JB
25462001-06-28 Joel Brobecker <[email protected]>
2547
2548 * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
2549 explaining the consequences of always returning zero. No code
2550 change.
2551
49dd83ba
AC
25522001-06-28 Andrew Cagney <[email protected]>
2553
2554 From 2001-06-08 Daniel Jacobowitz <[email protected]>:
2555 * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
2556 to TARGET_SIGNAL_REALTIME_127.
2557 * target.c (struct signals): Add SIG63 to SIG127.
2558 (target_signal_from_host): Handle up to 127 signals.
2559 (do_target_signal_to_host): Likewise.
2560
29372230
AC
25612001-06-27 Andrew Cagney <[email protected]>
2562
2563 * remote-sds.c (sds_start_remote): Change type of ``c'' to int
2564 from possibly unsigned char.
2565
a196c81c
AC
25662001-06-27 Andrew Cagney <[email protected]>
2567
2568 * ser-ocd.c: Delete file.
2569 * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
2570 (ser-ocd.o): Delete target.
2571 * TODO: Update.
2572 * NEWS: Update.
2573
e7745bde
AC
25742001-06-27 Andrew Cagney <[email protected]>
2575
2576 * MAINTAINERS (Write After Approval): Sort.
f4c100a7 2577 (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
e7745bde 2578
d7faa9e7
AC
25792001-06-26 Andrew Cagney <[email protected]>
2580
2581 * breakpoint.c (breakpoint_1): Always output the breakpoint
2582 headings. Leave it to ui-out to decide which
2583
68c81b54
AC
25842001-06-25 Andrew Cagney <[email protected]>
2585
2586 * stack.c (print_frame): For ui_out, output a list of arguments.
2587
834091c8
KB
25882001-06-25 Kevin Buettner <[email protected]>
2589
2590 * MAINTAINERS (paper trail): Update.
2591
ef5cf84e
MS
25922001-06-25 Michael Snyder <[email protected]>
2593
2594 * infrun.c: Eliminate the "thread_step_needed" state variable,
2595 and replace it with a relatively simple test in resume.
2596 (resume): Replace thread_step_needed logic with a test for
2597 stepping, breakpoint_here_p and breakpoints_inserted.
2598 Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
2599 (proceed): Discard thread_step_needed logic.
2600 (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
2601 Discard thread_step_needed logic.
2602
cb90e81a
FN
26032001-06-24 Fernando Nasser <[email protected]>
2604
2605 * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
2606 * rdi-share/host.h: Add missing parenthesis in conditional.
2607
39812ceb
C
26082001-06-22 J.T. Conklin <[email protected]>
2609
2610 * configure.in: include nlist.h when checking for member som_addr
2611 in struct so_map.
2612 * configure: regenerate.
2613
8d2139f3
KS
26142001-06-21 Keith Seitz <[email protected]>
2615
2616 * cli-out.c (cli_out_new): Initialize new structure member
2617 "suppress_output".
2618
b25959ec
AC
26192001-06-20 Andrew Cagney <[email protected]>
2620
2621 * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
2622 (table_header_ftype): Ditto.
2623 * cli-out.c (cli_table_header): Update.
2624 * ui-out.c (ui_out_table_header): Update.
2625 (uo_table_header): Update.
2626 (default_table_header): Update.
2627 (append_header_to_list): Update.
2628 (struct ui_out_header): Add field ``col_name''.
2629 (append_header_to_list): Use xstrdup. Initialize col_name.
2630 * breakpoint.c (breakpoint_1): Pass COL_NAME to
2631 ui_out_table_header.
2632
698384cd
AC
26332001-06-19 Andrew Cagney <[email protected]>
2634
2635 * cli-out.c: Include "gdb_assert.h'.
2636 (struct ui_out_data): Add field ``suppress_output.
2637 (cli_table_begin): When NR_ROWS is zero, suppress_output.
2638 (cli_table_end): Clear suppress_output.
2639 (cli_table_body): Check suppress_output.
2640 (cli_table_header, cli_begin): Ditto.
2641 (cli_end, cli_field_int, cli_field_skip): Ditto.
2642 (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
2643 (cli_text, cli_message, cli_wrap_hint): Ditto.
2644 * breakpoint.c (breakpoint_1): Close the ui_out table before
2645 printing the breakpoint not found message.
2646
d63f1d40
AC
26472001-06-18 Andrew Cagney <[email protected]>
2648
2649 * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
2650 (default_table_begin): Ditto.
2651 (uo_table_begin): Ditto.
2652 * cli-out.c (cli_table_begin): Ditto.
2653 * ui-out.h (ui_out_table_begin): Update
2654 (table_begin_ftype): Update.
2655 * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
2656 ui_out_table_begin.
2657
7f3b0473
AC
26582001-06-16 Andrew Cagney <[email protected]>
2659
2660 * breakpoint.c (breakpoint_1): Restructure. Compute the
2661 nr_printable_breakpoints. Move the header output to before the
2662 main print breakpoints loop.
2663 (user_settable_breakpoint): New function.
2664
b30bf9ee
AC
26652001-06-18 Andrew Cagney <[email protected]>
2666
2667 * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
2668 "mi", "mi0" and "mi1".
2669
83905903
AC
26702001-06-17 Andrew Cagney <[email protected]>
2671
2672 * gdbarch.sh: Generate an error when conflicting macro
2673 definitions. Generate an error when both pure multi-arch and
2674 "tm.h".
2675 * gdbarch.h, gdbarch.c: Regenerate.
2676 * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
2677
c2202abf
AC
26782001-06-17 Andrew Cagney <[email protected]>
2679
2680 * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
2681 GDB_MULTI_ARCH_PARTIAL from two.
2682
0d70f41b
FN
26832001-06-17 Fernando Nasser <[email protected]>
2684
2685 From 2001-06-15 Eirik Fuller <[email protected]>
2686 * cli/cli-script.c (free_command_lines): Reset list pointer.
2687
7824d2f2
AC
26882001-06-16 Andrew Cagney <[email protected]>
2689
2690 * arch-utils.c (init_frame_pc_default): New function
2691 * arch-utils.h (init_frame_pc_default): Declare.
2692 * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
2693 not init_frame_pc_noop.
2694 * gdbarch.h, gdbarch.c: Re-generate.
2695 * blockframe.c (INIT_FRAME_PC): Delete macro definition.
2696 * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
2697 init_frame_pc_noop.
2698
1622c8f7
AC
26992001-06-16 Andrew Cagney <[email protected]>
2700
2701 * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
2702
01fb7433
AC
27032001-06-15 Andrew Cagney <[email protected]>
2704
2705 * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
2706 (CANNOT_STORE_REGISTER): Ditto.
2707 * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
2708 (CANNOT_STORE_REGISTER): Ditto.
2709 * regcache.c (CANNOT_STORE_REGISTER): Ditto.
2710 * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
2711 * arch-utils.h (cannot_register_not): Define.
2712 * arch-utils.c (cannot_register_not): Declare.
2713
10312cc4
AC
27142001-06-15 Andrew Cagney <[email protected]>
2715
2716 * gdbarch.sh: Clarify pre/post default
2717 (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
2718 * blockframe.c (get_prev_frame): Remove #ifdef from around
2719 INIT_FRAME_PC_FIRST call.
2720 * arch-utils.c (init_frame_pc_noop): Define.
2721 * arch-utils.h (init_frame_pc_noop): Declare.
2722 * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
2723 (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
2724 * mips-tdep.c (mips_init_frame_pc_first): Make static.
2725 (mips_gdbarch_init): Initialize init_frame_pc_first.
2726 (mips_dump_tdep): Update.
2727
dd80620e
MS
27282001-06-15 Michael Snyder <[email protected]>
2729
2730 * infrun.c (context_switch): New function. Abstract the operation
2731 of saving and restoring infrun's state when switching threads.
2732 (handle_inferior_event): Normalize the handling of the 'thread hop'
2733 event (when the wrong thread hits a thread-specific breakpoint,
2734 and we need to solo-step that thread past the breakpoint).
2735 Call keep_going, instead of target_resume. Handle the subsequent
2736 singlestep-trap as a normal event instead of just resuming.
2737
875e1767
AC
27382001-06-15 Andrew Cagney <[email protected]>
2739
2740 * arch-utils.c (core_addr_identity): New function. Rename
2741 default_convert_from_func_ptr_addr.
2742 * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
2743 (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
2744 * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
2745 * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
2746 * mips-tdep.c (mips_addr_bits_remove): Make static.
2747 (mips_gdbarch_init): Initialize addr_bits_remove.
2748
4009c677
AC
27492001-06-15 Andrew Cagney <[email protected]>
2750
2751 From 2001-02-26 D.J. Barrow <[email protected]>:
2752 * configure.tgt: Add S/390 31 & 64 bit target configuration.
2753 * configure.host: Ditto for host.
2754
d6dd581e
AC
27552001-06-15 Andrew Cagney <[email protected]>
2756
2757 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
2758 (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
2759 predicate.
2760 * gdbarch.h, gdbarch.c: Regenerate.
2761 * values.c (value_being_returned): Change the reference to
2762 EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
2763
09843d7f
JB
27642001-06-15 Joel Brobecker <[email protected]>
2765
2766 * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
2767 Write After Approval list.
2768
dc8acb97
MS
27692001-06-14 Michael Snyder <[email protected]>
2770
2771 * remote.c (show_remote_protocol_qSymbol_packet_cmd,
2772 set_remote_protocol_qSymbol_packet_cmd): New functions.
2773 (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
2774 (remote_check_symbols): New function. Implement qSymbol packet,
2775 allowing target to request symbol lookup service from gdb.
2776 (remote_open_1, remote_async_open_1): Call remote_check_symbols,
2777 allowing symbol lookup from exec_bfd on connection to target.
2778 (remote_new_objfile): New function. Catch new objfile notifications
2779 from shared library module, and call remote_check_symbols.
2780 (_initialize_remote): Hook remote_new_objfile into the shared
2781 library notification chain. Add "set remote symbol-lookup" command.
2782
578c1fe6
KS
27832001-06-14 Keith Seitz <[email protected]>
2784
2785 * tracepoint.c (trace_command): We now have tracepoint
2786 events. Get rid of those ugly hooks.
2787 (tracepoint_operation): Likewise.
2788 (trace_pass_command): Likewise.
2789
6c0d3f6a
MS
27902001-06-13 Michael Snyder <[email protected]>
2791
2792 * gdbthread.h (struct thread_info): Add new fields:
2793 current_line, current_symtab, step_sp, for saved infrun state.
2794 * thread.c (save_infrun_state, load_infrun_state): Save and
2795 restore current_line, current_symtab, and step_sp.
2796 (add_thread): Rather than adding assignments to initialize
2797 the new fields, just use memset (tp, 0, sizeof (*tp).
2798 This way future new fields will not be overlooked.
2799 * infrun.c (handle_inferior_event): Save and restore save_sp,
2800 current_line, and current_symtab when switching threads.
2801
16075ace
EZ
28022001-06-13 Elena Zannoni <[email protected]>
2803
2804 * MAINTAINERS: Add Andrew Cagney as co-maintainer of
2805 testsuite/gdb.mi.
2806
31889e00
AC
28072001-06-11 Andrew Cagney <[email protected]>
2808
2809 * symtab.c (lookup_symtab_1): Replace basename with lbasename.
2810 (lookup_partial_symtab, file_matches): Ditto.
2811 (make_source_files_completion_list): Ditto.
2812 (make_file_symbol_completion_list): Ditto. Make local char*
2813 variable ``tail'' constant.
2814 (make_source_files_completion_list): Ditto with ``base_name''.
2815 * source.c (open_source_file): Use lbasename. Make ``p'' const
2816 char *.
2817
4ac40b29
EZ
28182001-06-13 Eli Zaretskii <[email protected]>
2819
2820 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
bfefb583 2821 (SLASH_STRING): Remove unused definitions.
4ac40b29
EZ
2822 * config/i386/xm-cygwin.h: Likewise.
2823
6b28c186
AC
28242001-06-12 Andrew Cagney <[email protected]>
2825
2826 * ui-out.c (ui_out_list_begin): Add parameter ``id''.
2827 (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
2828 * ui-out.h: Update declarations.
2829
1f8cc6db
AC
2830Mon Jun 11 17:26:43 2001 Andrew Cagney <[email protected]>
2831
2832 * source.c (openp): Make parameters ``path'' and ``string''
2833 constant.
2834 (openp): Use alloca to safely duplicate ``string''. Make local
2835 variables ``p'' and ``p1'' constant. Delete char* casts.
2836 * defs.h: Update.
2837
2838 * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
2839 (lookup_symtab, lookup_partial_symtab): Ditto.
2840 * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
2841
88379baf
AC
28422001-06-11 Andrew Cagney <[email protected]>
2843
2844 * ui-out.h (ui_out_table_begin): Make char* parameters constant.
2845 (ui_out_table_header, ui_out_field_int): Ditto.
2846 (ui_out_field_core_addr, ui_out_field_string): Ditto.
2847 (ui_out_field_stream, ui_out_field_fmt): Ditto.
2848 (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
2849 * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
2850 (ui_out_field_core_addr, ui_out_field_stream): Update.
2851 (ui_out_field_string, ui_out_field_fmt): Update.
2852 (ui_out_text, ui_out_message): Update.
2853 (append_header_to_list): Make char* parameters constant.
2854 (uo_table_header, uo_table_begin): Ditto.
2855 (uo_field_int, uo_field_skip): Ditto.
2856 (uo_field_string, uo_field_fmt): Ditto.
2857 (uo_text, uo_message): Ditto.
2858
c94fdfd0
EZ
28592001-06-11 Eli Zaretskii <[email protected]>
2860
2861 * completer.c (gdb_completer_loc_break_characters): New variable.
2862 (line_completion_function): If we are completing on locations,
2863 back up the start of word pointer past all characters which can
2864 appear in a location spec.
2865 (location_completer): New function.
2866
2867 * completer.h: Add prototype for location_completer.
2868
2869 * symtab.c (make_source_files_completion_list)
2870 (add_filename_to_list, not_interesting_fname): New functions.
2871 (filename_seen): New function, body extracted from
2872 output_source_filename.
2873 (output_source_filename): Call filename_seen to check if the file
2874 was already printed.
2875 (make_symbol_completion_list): If TEXT includes a
2876 double-quoted string, return an empty list, not NULL.
2877 (make_file_symbol_completion_list): New function, similar to
2878 make_symbol_completion_list but with an additional argument
2879 SRCFILE.
2880
2881 * symtab.h (make_file_symbol_completion_list)
2882 (make_source_files_completion_list): Add prototypes.
2883
2884 * breakpoint.c (_initialize_breakpoint): Make location_completer
2885 be the completion function for all commands which set breakpoints
2886 and watchpoints.
2887 (top-level): #include "completer.h".
2888
2889 * tracepoint.c (_initialize_tracepoint): Make location_completer
2890 be the completion function for the "trace" command.
2891 (top-level): #include "completer.h".
2892
2893 * printcmd.c (_initialize_printcmd): Make location_completer be
2894 the completion function for the "print", "inspect", "call", and
2895 "disassemble" commands.
2896 (top-level): #include "completer.h".
2897
2898 * infcmd.c (_initialize_infcmd): Make location_completer be the
2899 completion function for the "go", "jump", and "until" commands.
2900 (top-level): #include "completer.h".
2901
0b6a968e
CF
29022001-06-10 Christopher Faylor <[email protected]>
2903
2904 * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
2905 * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
2906 * values.c (unpack_double): Remove obsolete check for _MSC_VER.
2907 * defs.h: Ditto.
2908 * m32r-rom.c: Ditto.
2909 * p-exp.y: Ditto.
2910 * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
2911 faster compilation.
2912 (get_ds_base): Remove _MSC_VER version of this function.
67bfdb89
CF
2913 * nindy-share/ttyflush.c: Ditto.
2914 * rdi-share/host.h: Ditto.
0b6a968e
CF
2915 * ser-go32.c (dos_readchar): Remove call to obsolete function.
2916 * remote-sim.c (gdb_os_poll_quit): Ditto.
2917 * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
2918
2919 * main.c (captured_main): Eliminate special Cygwin checks.
2920 * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
2921
e2e11a41
AC
29222001-06-09 Andrew Cagney <[email protected]>
2923
bf5efbab
AC
2924 * Makefile.in (gdbcmd_h): Add ui_out_h.
2925 (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
2926 (thread.o, top.o): Ditto.
2927
e2e11a41
AC
2928 * ui-out.h (table_begin_ftype): Make string parameters constant.
2929 (table_header_ftype): Ditto.
2930 (field_int_ftype): Ditto.
2931 (field_skip_ftype): Ditto.
2932 (field_string_ftype): Ditto.
2933 (field_fmt_ftype): Ditto.
2934 (text_ftype): Ditto.
2935 (message_ftype): Ditto.
2936 * cli-out.c (cli_table_begin): Ditto.
2937 (cli_table_header): Ditto.
2938 (cli_field_int): Ditto.
2939 (cli_field_skip): Ditto.
2940 (cli_field_string): Ditto.
2941 (cli_field_fmt): Ditto.
2942 (cli_text): Ditto.
2943 (cli_message): Ditto.
2944 (out_field_fmt): Ditto.
2945 * ui-out.c (default_table_begin): Ditto.
2946 (default_table_header): Ditto.
2947 (default_field_int): Ditto.
2948 (default_field_skip): Ditto.
2949 (default_field_string): Ditto.
2950 (default_field_fmt): Ditto.
2951 (default_text): Ditto.
2952 (default_message): Ditto.
2953
2e663524
MS
29542001-06-08 Michael Snyder <[email protected]>
2955
2956 * breakpoint.c (delete_breakpoint): Pass mark_inserted to
2957 remove_breakpoint, so that the subsequent test for
2958 bpt->inserted will succeed, and duplicates will be fixed up.
2959
bebd888e
PB
29602001-06-08 Per Bothner <[email protected]>
2961
2962 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
2963
8f45b7fe
KS
29642001-06-07 Keith Seitz <[email protected]>
2965
2966 * tracepoint.c (tracepoint_opertation): Add ui event
2967 notifications.
2968 (trace_pass_command): Ditto.
2969
b76a2a57
AC
29702001-06-07 Andrew Cagney <[email protected]>
2971
2972 * MAINTAINERS (Write After Approval): Note the entry criteria.
a4f1e24f 2973 (HP/PA): Jeff Law stepped down
b76a2a57 2974
72e74a21
JB
29752001-06-07 Jim Blandy <[email protected]>
2976
2977 * gdbarch.sh: Make sure that '[' doesn't interpret interesting
2978 variable values as operators.
2979
8c6ee715
KS
29802001-06-07 Keith Seitz <[email protected]>
2981
2982 * gdb-events.sh: Fix quote escaping which was obsoleted
2983 by last patch.
2984
9e791099
KS
29852001-06-07 Keith Seitz <[email protected]>
2986
2987 * gdb-events.sh: Make if statements and tests
2988 a little more portable.
2989 Don't use shell's echo command to put strings containing
2990 escaped characeters into a file -- different flavors of /bin/sh
2991 require differnt levels of escaping. Use cat <<EOF instead.
2992 Our internal field separator is a colon. Change all
2993 commands which assume it is a space.
2994
fce0e6e1
MK
29952001-06-06 Mark Kettenis <[email protected]>
2996
2997 * lin-lwp.c (struct lwp_info): Add member `resumed'.
2998 (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
2999 LWP it's called for.
3000 (lin_lwp_attach): Mark LWP as resumed to make sure the fake
3001 SIGSTOP is reported.
3002 (resume_clear_callback): New function.
3003 (resume_set_callback): New function.
3004 (lin_lwp_resume): Mark all LWP's that we're going to resume as
3005 resumed, and unmark all others.
3006 (status_callback): Only report a pending wait status if we pretend
3007 that LP has been resumed.
3008 (resumed_callback): New function.
3009 (lin_lwp_wait): Add assertions to check that LWP's are properly
3010 marked as resumed. Partially revert 2001-05-25 patch by Michael
3011 Snyder: do not resume all threads. Add comment explaining the
3012 problems associated with this bit of code.
3013
54403c59
KS
30142001-06-07 Keith Seitz <[email protected]>
3015
3016 * MAINTAINTERS: Syd Polk is stepping down from
3017 maintaining libgui. I am replacing him.
3018
1d06468c
EZ
30192001-06-07 Eli Zaretskii <[email protected]>
3020
3021 * config/mips/tm-irix6.h: New file.
3022
3023 * config/mips/irix6.mh: New file.
3024
3025 * config/mips/irix6.mt: New file.
3026
3027 * config/mips/xm-irix6.h: New file.
3028
3029 * config/mips/nm-irix6.h: New file.
3030
3031 * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
3032 disassembler info in tm_print_insn_info as appropriate for the N32
3033 ABI. Force N32 ABI to be the default if the CPU is R8000 or
3034 R10000.
3035
3036 * configure.tgt (mips*-sgi-irix6*): Map to irix6.
3037
3038 * configure.host (mips*-sgi-irix6*): Ditto.
3039
3d499020
AC
30402001-06-07 Andrew Cagney <[email protected]>
3041
3042 * gnu-v3-abi.c: Include "gdb_assert.h".
3043 (build_gdb_vtable_type): Replace abort() with gdb_assert().
3044
ceaa8edf
JB
30452001-06-06 Jim Blandy <[email protected]>
3046
c5f5341b
JB
3047 * cp-abi.h: Rearrange code to put documentation comments above the
3048 functions we export. The actual function table itself simply
3049 refers to those functions. Minor doc fixes.
3050
ceaa8edf
JB
3051 * gdbarch.sh: Changes to effect the following:
3052 * gdbarch.c (initialize_non_multiarch): New function.
3053 * gdbarch.h (initialize_non_multiarch): New declaration.
3054 * arch-utils.c (initialize_current_architecture): For
3055 non-multiarch configurations, call initialize_non_multiarch.
3056
0cd64fe2
AC
30572001-06-06 Andrew Cagney <[email protected]>
3058
3059 * symfile.c (compare_psymbols): Replace PTR with void*. Delete
3060 declaration.
3061 (compare_symbols): Ditto.
3062
8849f47d
JL
30632001-06-06 Jonathan Larmour <[email protected]>
3064
3065 * arch-utils.c (generic_prepare_to_proceed): Allow for having
3066 stopped due to a Ctrl-C as well as breakpoints.
3067
3068 * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
3069 support thread switches after Ctrl-C.
3070 * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
3071 * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
3072 * m3-nat.c (mach3_prepare_to_proceed): Ditto.
3073
b3cc3077
JB
30742001-06-06 Jim Blandy <[email protected]>
3075
3076 * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
3077 per-architecture data should be registered at initialization time,
3078 before any gdbarch objects get used, so the generality is
3079 unnecessary.
3080
ba9fe036
KS
30812001-06-06 Keith Seitz <[email protected]>
3082
3083 * gdb-events.sh (function_list): Add tracepoint_create,
3084 tracepoint_delete, and tracepoint_modify events.
3085 * gdb-events.c: Regenerated.
3086 * gdb-events.h: Regenerated.
3087
e28f816a
KS
30882001-06-06 Keith Seitz <[email protected]>
3089
3090 * gdb-events.sh: Update copyrights.
3091 Change free to xfree.
3092 * gdb-events.c: Regenerated.
3093 * gdb-events.h: Regenerated.
3094
c3690141
EZ
30952001-06-06 Eli Zaretskii <[email protected]>
3096
3097 * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
3098 instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
3099 * completer.c: Ditto.
3100 * cli/cli-cmds.c (cd_command): Ditto.
3101
37ba1196
EZ
31022001-06-04 Eli Zaretskii <[email protected]>
3103
1012bd0e
EZ
3104 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
3105 (mips_set_processor_type_command): Remove unused variable j.
3106 (mips_breakpoint_from_pc): Declare breakpoint instruction
3107 sequences as unsigned char, to avoid compiler warnings.
3108
fe4e3eb8
EZ
3109 * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
3110 instead of system-specific define's like _WIN32 and __MSDOS__.
3111 Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
3112 ROOTED_P.
3113 (top-level): #include "filenames.h".
3114
3115 * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
3116 instead of SLASH_CHAR, ROOTED_P and SLASH_P.
3117 (top-level): #include "filenames.h".
3118
3119 * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
3120 (SLASH_STRING): Define only for _WIN32.
3121
3122 * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
3123 __MSDOS_.
3124
3125 * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
3126 IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
3127 system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
3128 (top-level): #include "filenames.h".
3129
37ba1196
EZ
3130 * go32-nat.c (go32_wait): Change the return value to ptid_t.
3131
3132 * config/djgpp/fnchange.lst: Add two new files in the
3133 gdb/testsuite/gdb.c++/ directory to the remapped names.
3134
3135 * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
3136
3c875b6f
JB
31372001-06-01 Jim Blandy <[email protected]>
3138
3139 Expand the gdbarch per-architecture data vector as needed, rather
3140 than requiring that all per-architecture data be registered before
3141 the first gdbarch object is allocated.
3142 * gdbarch.sh: Changes to effect the following:
3143 * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
3144 declarations and definitions.
3145 (check_gdbarch_data): New function, and declaration.
3146 (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
3147 zero is good enough.
3148 (free_gdbarch_data): Tolerate a null data pointer. Free only
3149 those data items gdbarch->data actually has allocated.
3150 (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
3151 (gdbarch_update_p): No need to call init_gdbarch_data.
3152
98f96ba1
KB
31532001-06-01 Kevin Buettner <[email protected]>
3154
3155 * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
3156 on types that we wish to recurse on.
3157 (slot_alignment_is_next_even): New function.
3158 (ia64_push_arguments): Call slot_alignment_is_next_even() to
3159 examine the type in order to decide if it's necessary to skip
3160 an odd slot.
3161
c6ad9598
MS
31622001-06-01 Michael Snyder <[email protected]>
3163
8601f500
MS
3164 * thread.c (delete_step_resume_breakpoint): New function.
3165 Maintain internal consistency of the thread list while deleting
3166 a step_resume_breakpoint.
3167 * gdbthread.h (delete_step_resume_breakpoint): Export.
3168 * breakpoint.c (bpstat_find_step_resume_breakpoint):
3169 Make thread-aware: don't return a step_resume_breakpoint
3170 for the wrong thread.
3171 * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
3172 instead of delete_breakpoint_current_contents.
3173 (fetch_inferior_event): Ditto.
3174 (handle_inferior_event): Call delete_step_resume_breakpoint
3175 instead of delete_breakpoint.
c6ad9598
MS
3176 * infrun.c (handle_inferior_event): After singlestepping over a
3177 thread-specific breakpoint, use currently_stepping() to decide
3178 whether to step or continue.
3179
531017df
JB
31802001-06-01 Jim Blandy <[email protected]>
3181
b27b8843
JB
3182 * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
3183 these static --- there's no reason other files should use these.
3184
d0bbfec7
JB
3185 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
3186 Fix memory leak.
3187
531017df
JB
3188 * partial-stab.h: New complaint: function_outside_compilation_unit.
3189 (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
3190 complain, and don't try to set pst's start address.
3191
d469a809
KB
31922001-05-31 Kevin Buettner <[email protected]>
3193
3194 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
3195 match the location at which the kernel is placing the sigcontext
3196 struct.
3197
58ab00f9
KB
3198 * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
3199 (refine_prologue_limit): New function.
3200 (examine_prologue): Further limit number of instructions
3201 scanned by calling refine_prologue_limit(). Revise way in
3202 which the end of prologue address is computed for frameless
3203 functions.
3204
9fd7143a
CF
32052001-05-29 Christopher Faylor <[email protected]>
3206
3207 * partial-stab.h: Revert previous patch.
3208
34a7837a
CF
32092001-05-29 Christopher Faylor <[email protected]>
3210
3211 * partial-stab.h: Consistently guard against pst being NULL.
3212
ad53e288
AO
32132001-05-29 Alexandre Oliva <[email protected]>
3214
3215 * symfile.c (compare_psymbols, compare_symbols): Declare using
3216 PTR, as in the definition.
09d011c5
AO
3217 * minsyms.c (compare_minimal_symbols): Likewise.
3218 * coffread.c (find_targ_sec): Likewise.
3219 * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
3220 * mipsread.c (alphacoff_locate_sections): Likewise.
3221 * mdebugread.c (compare_blocks): Likewise.
ad53e288 3222
b41be06e
ND
32232001-05-25 Nick Duffek <[email protected]>
3224
3225 * solib.c (update_solib_list): Move target_resize_to_sections()
3226 into solib_map_sections() loop.
3227 (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
3228 bfd_get_arch_size() fails.
3229
a1cd1908
ND
32302001-05-25 Nick Duffek <[email protected]>
3231
3232 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
3233 solib-osf.o.
3234 * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
3235 with solib-osf.o and solib.o.
3236 * config/alpha/alpha-osf2.mh: Likewise.
3237 * config/alpha/alpha-osf3.mh: Likewise.
3238 * solib-osf.c: New file, renamed and largely rewritten from
3239 osfsolib.c.
3240
aa6c0017
MS
32412001-05-25 Michael Snyder <[email protected]>
3242
c4365b19
MS
3243 * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
3244 to consume the SIGSTOP generated by PTRACE_ATTACH.
3245 (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
3246 try again to get the SIGSTOP event.
3247 (lin_lwp_wait): Resume all threads when ignoring a signal.
3248 This will insure that newly attached threads get resumed.
5f885618 3249 * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
aa6c0017
MS
3250 * remote.c (remote_write_bytes): Update 'p' packet pointer.
3251
4b1fedf1
JB
32522001-05-25 Jim Blandy <[email protected]>
3253
3254 * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
3255 VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
3256 useful value, then we should fix that instead.
3257
fa3b51d2
ND
32582001-05-24 Nick Duffek <[email protected]>
3259
3260 * solist.h (struct so_list): Document the requirement that
3261 current_sos initialize some fields to 0.
3262
2747183e
MK
32632001-05-24 Mark Kettenis <[email protected]>
3264
3265 * gnu-nat.c: Include <ctype.h>.
3266 (gnu_pid_to_exec_file): Add PID parameter.
3267 (set_sig_thread_cmd): Use PIDGET on return value from
3268 thread_id_to_pid.
3269 (proc_string): Use MERGEPID to construct argument to
3270 pid_to_thread_id.
3271
e4f237da
KB
32722001-05-22 Kevin Buettner <[email protected]>
3273
3274 * breakpoint.c (breakpoint_address_is_meaningful): New function.
3275 (check_duplicates): Don't compare non-meaningful addresses.
3276
5fd913cc
MS
32772001-05-22 Michael Snyder <[email protected]>
3278
3279 * thread-db.c: Allow for defunct zombie threads.
3280 (attach_thread): Do not attempt to attach zombie thread.
3281 (thread_db_thread_alive): Return false for defunct zombie thread.
3282 (find_new_threads_callback): Don't add defunct zombie thread to list.
3283
7ed49443
JB
32842001-05-22 Jim Blandy <[email protected]>
3285
3286 Add support for the GNU V3 C++ ABI.
3287 (Includes changes by Dan Berlin.)
3288
3289 * gnu-v3-abi.c: New file.
3290 * minsyms.c: #include "value.h" and "cp-abi.h".
3291 (install_minimal_symbols): Check the minimal symbol table for
3292 symbols that look mangled in the V3 style, and select the V3 ABI
3293 if we find any.
3294 * Makefile.in (SFILES): Add gnu-v3-abi.c.
3295 (COMMON_OBS): Add gnu-v3-abi.o.
3296 (gnu-v3-abi.o): Add new rule.
3297 (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
3298
a44999d5
JB
32992001-05-21 Jim Blandy <[email protected]>
3300
8d65888a
JB
3301 * values.c (value_primitive_field): If we're extracting a base
3302 class, then the type of the result should be the base class being
3303 extracted, not the type of which it is a base class.
3304
a44999d5
JB
3305 * value.h (struct value): Doc fix, and rearrange members to place
3306 them near their explanations.
3307
6c3f2dbf
MS
33082001-05-21 Michael Snyder <[email protected]>
3309
3310 * remote.c (remote_async_wait): Added new variable fieldsize.
3311 Add fieldsize (return value of hex2bin) to string pointer p.
3312
b4fa4770
SC
33132001-05-20 Stephane Carrez <[email protected]>
3314
3315 * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
3316 (m68hc11_analyze_instruction): Update the pc correctly.
3317 (m68hc11_guess_from_prologue): Take into account the stack correction
3318 for the saving address.
3319
2b127877
DB
33202001-05-07 Daniel Berlin <[email protected]>
3321
3322 Changes by Jim Ingham:
3323
3324 * values.c (value_change_enclosing_type): New function. If the
3325 new enclosing type is larger than the old one, we need to allocate
3326 more space.
3327 * value.h: Add value_change_enclosing_type prototype.
3328 * valops.c (value_cast): Use it.
3329 (value_assign): Use it.
3330 (value_addr): Use it.
3331 (value_ind): Use it.
3332 (value_full_object): Use it.
3333
33342001-05-07 Daniel Berlin <[email protected]>
3335
984e377c
JB
3336 * values.c (value_static_field): Handle static fields that have a
3337 constant value.
2b127877 3338
736d0890
MS
33392001-05-17 Michael Snyder <[email protected]>
3340
3341 * blockframe.c (create_new_frame): Zero all the fields via memset,
3342 rather than zeroing them one by one.
3343
a577b05c
EZ
33442001-05-17 Eli Zaretskii <[email protected]>
3345
3346 * top.c (user_args): Remove unused declaration.
3347
b8adfa9f
MS
33482001-05-16 Michael Snyder <[email protected]>
3349
3350 * infcmd.c (do_registers_info): Move alloca outside of loop.
3351
97345198
MS
33522001-05-15 John S Kallal <[email protected]>
3353
3354 * remote.c (remote_wait): Added new variable fieldsize.
3355 Add fieldsize (return value of hex2bin) to string pointer p.
3356
aca21d9a
MK
33572001-05-15 Mark Kettenis <[email protected]>
3358
3359 * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
3360 info.bfd_arch_info.
3361
b08cfdb6
KB
33622001-05-14 Kevin Buettner <[email protected]>
3363
3364 * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
3365 Adjust format strings for printing LWPs to account for the fact
3366 that the type returned by GET_LWP() is now a long instead of an
3367 int.
3368
ca6724c1
KB
33692001-05-14 Kevin Buettner <[email protected]>
3370
3371 * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
3372 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
3373 (ptid_get_tid, ptid_equal): New function declarations.
3374 * infrun.c (null_ptid, minus_one_ptid): New variables.
3375 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
3376 (ptid_get_tid, ptid_equal): New functions.
3377 (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
3378 inferior_ptid, and target_last_wait_ptid.
3379
3380 * defs.h (ptid_t): Redefine to be a struct rather than an int.
3381 (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
3382 (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
3383 new ptid accessors and constructor.
3384
3385 * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
3386 MKLID, MKTID, ISTID): Provide new definitions for these macros.
3387 The old macros are retained, but disabled via #if 0 in order
3388 to aid in future restructuring. See FIXME.
3389
3390 * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
3391 * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
3392 * infptrace.c (PIDGET, TIDGET): Likewise.
3393 * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3394 * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3395 * proc-service.c (MERGEPID): Likewise.
3396 * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
3397 * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3398 * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3399 * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
3400 Likewise.
3401 * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
3402 Likewise.
3403
3404 * lin-lwp.c (THREAD_FLAG): Delete macro definition.
3405 (GET_LWP): Redefine in terms of ptid_get_lwp().
3406 (GET_PID): Redefine in terms of ptid_get_pid().
3407 (is_lwp): Redefine without the need for THREAD_FLAG.
3408 (BUILD_LWP): Redefine in terms of ptid_build().
3409 * lin-thread.c (THREAD_FLAG): Delete macro definition.
3410 (GET_LWP): Redefine in terms of ptid_get_lwp().
3411 (GET_PID): Redefine in terms of ptid_get_pid().
3412 (GET_THREAD): Redefine in terms of ptid_get_tid().
3413 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
3414 (is_lwp, is_thread): Redefine.
3415 (linux_child_wait, check_all_signal_numbers)
3416 (linuxthreads_discard_global_state, attach_thread): Declare these
3417 functions to squash warnings about missing declarations.
3418 * sol-thread.c (THREAD_FLAG): Delete macro definition.
3419 (GET_PID): Redefine in terms of ptid_get_pid().
3420 (GET_LWP): Redefine in terms of ptid_get_lwp().
3421 (GET_THREAD): Redefine in terms of ptid_get_tid().
3422 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
3423 (is_lwp, is_thread): Redefine.
3424 * thread-db.c (THREAD_FLAG): Delete macro definition.
3425 (GET_PID): Redefine in terms of ptid_get_pid().
3426 (GET_LWP): Redefine in terms of ptid_get_lwp().
3427 (GET_THREAD): Redefine in terms of ptid_get_tid().
3428 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
3429 (is_lwp, is_thread): Redefine.
3430
3431 * corelow.c (add_to_thread_list, get_core_register_section):
3432 Eliminate hacks needed to prevent regressions when inferior_ptid
3433 wasn't wide enough to hold the core file thread id in the pid
3434 component of inferior_ptid.
3435
234fa6d1
MS
34362001-05-14 Michael Snyder <[email protected]>
3437
3438 * remote.c (hex2bin): Make first argument const.
3439 Require explicit count, don't accept null-terminated str.
3440 (remote_resume, remote_async_resume): White space fix-up.
3441 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
3442
caadab2c
MK
34432001-05-13 Mark Kettenis <[email protected]>
3444
3445 * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
3446 basename (NAME). The FreeBSD basename returns a pointer to a
3447 static buffer, even if it's simply returning a string identical to
3448 its argument.
3449 (lookup_partial_symtab): Likewise.
3450
2644f393
MS
34512001-05-14 Michael Snyder <[email protected]>
3452
cb0ba49e 3453 * solib.c, solib.h: Add comment for function no_shared_libraries.
2644f393 3454
183a2f1a
KB
34552001-05-14 Kevin Buettner <[email protected]>
3456
3457 * solib.h (no_shared_libraries): Make declaration match definition
3458 in solib.c.
3459
1dd1751e
AC
34602001-05-14 Andrew Cagney <[email protected]>
3461
3462 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
3463 * solib.h (no_shared_libraries): Declare.
3464
b732d07d
AC
34652001-05-12 Andrew Cagney <[email protected]>
3466
3467 * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
3468 (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
3469 user specified values when available.
3470 * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
3471 architecture from info.bfd_arch_info.
3472 * gdbarch.c, gdbarch.h: Regenerate.
3473
67dd5ca6
FN
34742001-05-12 Fernando Nasser <[email protected]>
3475
3476 * remote-e7000.c (e7000_open): Check for bad baud rate.
3477 * remote-st.c (st2000_open): Ditto.
3478
529acb48
JB
34792001-05-11 Jim Blandy <[email protected]>
3480
f8e42d24
JB
3481 * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
3482 and ui_out_tuple_end instead of ui_out_list_begin and
3483 ui_out_list_end.
3484
529acb48
JB
3485 * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
3486 dependencies. Reorder dependencies to match #includes in file,
3487 for easier verification.
3488
666547aa
AC
3489Fri May 11 13:32:50 2001 Andrew Cagney <[email protected]>
3490
3491 * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
3492 make_cleanup_ui_out_list_end with ui_out_tuple_begin,
3493 ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
3494 * cli/cli-setshow.c: Ditto.
3495 * printcmd.c: Ditto.
3496 * stack.c: Ditto.
3497
3498 * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
3499 * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
3500 (ui_out_tuple_begin): New function.
3501 (ui_out_tuple_end): New function.
3502 (ui_out_tuple_begin_end): New function.
3503 (make_cleanup_ui_out_list_begin_end): Replace
3504 make_cleanup_ui_out_list_end function.
3505 * ui-out.h (ui_out_list_begin): Update declaration.
3506 (make_cleanup_ui_out_list_begin_end): Replace
3507 make_cleanup_ui_out_list_end declaration.
3508 (ui_out_tuple_begin, ui_out_tuple_end): Declare.
3509 (ui_out_tuple_begin_end): Declare.
3510
30c98d84
JB
35112001-05-11 Jim Blandy <[email protected]>
3512
3513 * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
3514
1faa59a8
AC
35152001-05-11 Andrew Cagney <[email protected]>
3516
3517 From 2001-03-26 Rodney Brown <[email protected]>
3518 * config/pa/tm-hppa.h: Remove trigraph.
3519 * hp-symtab-read.c (hpread_type_translate): Provide return value.
3520 (hpread_read_struct_type): Remove trigraph. Add parameter in
3521 `warning'.
3522 (hpread_read_array_type): Provide return value.
3523 (hpread_type_lookup): Avoid ambiguous `else'. Provide return
3524 value.
3525 * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
3526 trigraph.
3527
99567b1b
JB
35282001-05-11 Jim Blandy <[email protected]>
3529
3530 * mips-tdep.c (mips_store_return_value,
3531 mips_extract_return_value): Pass arguments to
3532 return_value_location in the proper order.
3533
d3814881
AC
35342001-05-11 Andrew Cagney <[email protected]>
3535
3536 * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
3537 (version.c): Depends on file ``version.in''. Extract version
3538 number from ``version.in'' file.
3539 (clean mostlyclean): Update.
3540 * version.in: New file.
5d6640b1 3541 * NEWS: Update.
d3814881 3542
4d28f7a8
KB
35432001-05-11 Kevin Buettner <[email protected]>
3544
3545 * breakpoint.c (set_raw_breakpoint): Add new parameter
3546 representing the breakpoint's type. Adjust all callers.
3547 (create_longjmp_breakpoint, create_temp_exception_breakpoint)
3548 (create_thread_event_breakpoint): Don't test for zero return
3549 value from set_raw_breakpoint(). It can never be zero.
3550 (create_exception_catchpoint, watch_command_1): Move logic
3551 which calculates the breakpoint type prior to the call to
3552 set_raw_breakpoint().
3553
08b4f080
FN
35542001-05-11 Fernando Nasser <[email protected]>
3555
3556 * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
3557 (hardwire_setbaudrate): Set errno to EINVAL and return with error
3558 if the conversion of the baud rate to code fails.
3559
127431f9
AC
35602001-05-10 Andrew Cagney <[email protected]>
3561
3562 * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
3563 * ui-out.c (struct ui_out_end_cleanup_data): Define.
3564 (do_cleanup_end): New function. Replace do_list_end.
3565 (make_cleanup_ui_out_end): New function.
3566 (make_cleanup_ui_out_begin_end): New function.
3567 (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
3568
5dbc5e5f
EZ
35692001-05-10 Elena Zannoni <[email protected]>
3570
3571 * MAINTAINERS: Declare xcoffread.c open to all maintainers,
3572 and make Kevin Buettner ([email protected]) the reference person.
3573
8e40d292
EZ
35742001-05-10 Elena Zannoni <[email protected]>
3575
3576 * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
3577
5a703563
FN
35782001-05-10 Fernando Nasser <[email protected]>
3579
3580 * MAINTAINERS: Add testsuite subdirectory co-maintainers.
3581
6311b07d
AC
3582Thu May 10 16:26:47 2001 Andrew Cagney <[email protected]>
3583
3584 * Makefile.in (mi-main.o): Compile with -Werror.
3585
30559e10
MS
35862001-05-10 Michael Snyder <[email protected]>
3587
f78f6cf1
MS
3588 * remote.c (remote_open_1): Call no_shared_libraries, so that
3589 symbols for shared libraries can be reloaded per session.
3590 (remote_async_open_1): Ditto.
30559e10
MS
3591 * remote.c (bin2hex, hex2bin): New functions. Factor out these
3592 two conversions which are coded for repeatedly in this module.
3593 (remote_threads_extra_info, remote_wait, remote_async_wait,
3594 store_register_using_P, remote_store_registers, remote_write_bytes,
3595 remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
3596 of coding the conversions inline.
3597 (fromhex): Not exported, change from extern to static.
3598
0a1d9791
AC
35992001-05-10 Andrew Cagney <[email protected]>
3600
3601 * arch-utils.c (initialize_current_architecture): Delete obsolete
3602 ``info architecture'' command.
3603 (info_architecture): Delete function.
3604
ee055267
AC
36052001-05-10 Andrew Cagney <[email protected]>
3606
3607 * TODO (5.1, 5.2): Update.
3608
85886af6
AC
36092001-05-09 Andrew Cagney <[email protected]>
3610
3611 * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
3612 stuff.
30559e10 3613
ecb9ce7e
KS
36142001-05-10 Keith Seitz <[email protected]>
3615
3616 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
3617 and gdbtk-stack.o.
3618 (SUBDIR_GDBTK_SRCS): Ditto for the sources.
3619 (gdbtk-bp.o): New rule.
3620 (gdbtk-register.o): New rule.
3621 (gdbtk-stack.o): New rule.
3622 (gdbtk-cmds.o): Update dependencies.
3623 (gdbtk.o): Ditto.
3624 (gdbtk-hooks.o): Ditto.
3625 (gdbtk-varobj.o): Ditto.
3626
f7635dd9
FN
36272001-05-10 Fernando Nasser <[email protected]>
3628
3629 * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
3630 variables, not just unregister them.
3631
0755e6c1
FN
36322001-05-10 Fernando Nasser <[email protected]>
3633
3634 * varobj.c (c_number_of_children): Check for target type of void*,
3635 not the target type name. Allow dereferencing char*.
3636
d7db6da9
FN
36372001-05-10 Fernando Nasser <[email protected]>
3638
3639 * symfile.c (symbol_file_add_main_1): New static function.
3640 Passes the flags arguments to symbol_file_add() and takes care
3641 of any necessary reinitializations.
3642 (symbol_file_command): Call symbol_file_add_main_1() instead of
3643 symbol_file_add().
3644 (symbol_file_add_main): Ditto.
3645
3d6e28e2
KB
36462001-05-09 Kevin Buettner <[email protected]>
3647
3648 * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
3649 string change in 2001-05-03 changes.
3650 (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
3651 changes.
3652
01263b57
KB
36532001-05-09 Kevin Buettner <[email protected]>
3654
3655 * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
3656 component from inferior_ptid.
3657 (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
3658 ptid.
3659
74a151fa
EZ
36602001-05-09 Elena Zannoni <[email protected]>
3661
3662 * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
3663 conditional for help with connections through parallel ports,
3664 given that the actual code for downloading through a parallel port
3665 is not conditionalized.
3666
3667 * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
3668 unmaintaned, and probably on its way to obsolescence.
3669
d7a0d72c
MK
36702001-05-09 Mark Kettenis <[email protected]>
3671
0d17c81d
MK
3672 * i386-tdep.c (i386_frame_saved_pc): New function.
3673 * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
3674 i386_frame_saved_pc.
3675 (i386_frame_saved_pc): New prototype.
3676
d7a0d72c
MK
3677 * i386-tdep.c (i386_register_virtual_type): New function.
3678 (i386_register_convertible): New function.
3679 * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
3680 of i386_register_virtual_type.
3681 (REGISTER_CONVERTIBLE): Redefine in terms of
3682 i386_register_convertible.
3683 (i386_register_virtual_type, i386_register_convertible): New
3684 prototypes.
3685
ad8fe2ce
JB
36862001-05-08 Jim Blandy <[email protected]>
3687
33757489
JB
3688 * Makefile.in (mn10300-tdep.o): New rule.
3689
3690 * Makefile.in (gdb_string_h): Define. Use it throughout.
3691 Some rules were already using this, even though it isn't defined.
3692
c2c197ae
JB
3693 * Makefile.in (obstack_h, target_h): Define; these are already
3694 used elsewhere, but have been expanding to the empty string.
3695 (memattr_h): Define; needed by target_h.
3696
c064f384
JB
3697 * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
3698 static. (This was accidentally omitted from the earlier patch.)
3699
23436510
JB
3700 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
3701 (mn10300_gdbarch_init): Register it as the architecture's
3702 dwarf2_reg_to_regnum method.
3703
ae83b20d
JB
3704 Correct and expand handling of `movm' instruction, and register
3705 saves in general.
3706 * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
3707 MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
3708 (enum movm_register_bits): New enum.
3709 * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
3710 bits, not hex literals. Handle the `other', `exreg0', and
3711 `exother' bits. Correct handling of `exreg1': it saves r4, r5,
3712 r6, and r7, not r2, r3, r4, and r5.
3713 (saved_regs_size): New function.
3714 (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
3715 of computing the same thing inline, incorrectly.
3716
bf4b70a5
JB
3717 * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
3718 dummy_breakpoint_offset; it's zero.
3719
ee9f9641
JB
3720 * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
3721 stuff out into mn10300_pop_frame_regular, and use
3722 generic_pop_current_frame. This lets us share code, and also
3723 makes this function's prototype match that expected by gdbarch.
3724 Make this function static.
3725 (mn10300_pop_frame_regular): New function.
3726 (mn10300_gdbarch_init): Register mn10300_pop_frame as the
3727 gdbarch's pop_frame method.
3728 * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
3729 (mn10300_pop_frame): Delete declaration.
3730
2ac51b36
JB
3731 * mn10300-tdep.c (mn10300_saved_pc_after_call,
3732 mn10300_extract_return_value,
3733 mn10300_extract_struct_value_address, mn10300_store_return_value,
3734 mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
3735 mn10300_frame_chain, mn10300_skip_prologue,
3736 mn10300_push_arguments, mn10300_push_return_address,
3737 mn10300_store_struct_return, mn10300_frame_saved_pc,
3738 mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
3739 Make these functions static; they should only be visible to the
3740 outside world as gdbarch methods.
3741
af4e72e9
JB
3742 * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
3743 unused declaration.
3744
584f96a8
JB
3745 * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
3746 in some rational order.
3747
82d983b6
JB
3748 * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
3749 generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
3750
ad8fe2ce
JB
3751 Use gdbarch for most target parameters for the MN10300, rather
3752 than the tm-*.h file.
3753 * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
3754 REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
3755 FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
3756 SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
3757 FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
3758 EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
3759 STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
3760 FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
3761 FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
3762 CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
3763 CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
3764 TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
3765 SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
3766 REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
3767 Delete definitions. We register gdbarch methods for these now.
3768 (struct frame_info, struct type, struct value): Delete forward
3769 declarations of these types; they're no longer necessary, since we
3770 don't have function declarations here any more.
3771 * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
3772 some default gdbarch methods.
3773 (mn10300_store_struct_return): Return void, as expected by
3774 gdbarch.
3775 (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
3776 as expected by gdbarch.
3777 (mn10300_frame_init_saved_regs): Provide dummy definition for
3778 this, as required by gdbarch.
3779 (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
3780 by gdbarch. Register gdbarch methods or values for all the stuff
3781 removed from tm-10300.h, listed above.
3782
631ec795
AC
37832001-05-08 Andrew Cagney <[email protected]>
3784
3785 * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
3786 cli_list_end.
3787 (cli_ui_out_impl): Update.
3788
3789 * ui-out.c (default_begin, default_end): Replace
3790 default_list_begin and default_list_end.
3791 (default_ui_out_impl): Update.
3792 (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
3793 (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
3794 ui_out_list_end.
3795 (ui_out_list_begin, ui_out_list_end): New. Compatibility
3796 functions.
3797 (struct ui_out_level): Add field type.
3798 (push_level, pop_level): Update. Add type parameter.
3799
3800 * ui-out.h (enum ui_out_type): Declare.
3801 (ui_out_begin, ui_out_end): Declare.
3802 (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
3803 and list_end_ftype.
3804 (struct ui_out_impl): Update.
3805
80f49b30
AC
38062001-05-07 Andrew Cagney <[email protected]>
3807
3808 * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
3809 ``list_flag'' to ``depth''.
3810 * ui-out.c (default_list_begin, default_list_end): Update.
3811 (uo_list_begin, uo_list_end): Update.
3812 (MAX_UI_OUT_LEVELS): Define.
3813 (struct ui_out_level): Define.
3814 (top-level): Include "gdb_assert.h".
3815 (struct ui_out): Add fields ``level'' and ``levels''. Delete
3816 fields ``list_flag'' and ``field_count''.
3817 (ui_out_new): Update.
3818 (verify_field_proper_position): Update.
3819 (current_level, push_level, pop_level): New functions.
3820 (ui_out_list_begin): Use push_level.
3821 (ui_out_list_end): Use pop_level.
3822 (ui_out_field_int): Use current_level.
3823 (ui_out_field_skip): Ditto.
3824 (ui_out_field_fmt): Ditto.
3825
7aedc9f8
MS
38262001-05-08 Michael Snyder <[email protected]>
3827
3828 * language.c (longest_local_hex_string_custom): Strlen test is
3829 inverted -- reverse the sense of the test.
3830
c6ec85d6
MK
38312001-05-08 Mark Kettenis <[email protected]>
3832
3833 * config/i386/tm-i386v.h (struct frame_info, struct
3834 frame_saved_regs): Remove declarations.
3835 (i386_frame_num_args): Remove prototype.
3836
f938fa6a
AC
38372001-05-07 Andrew Cagney <[email protected]>
3838
3839 * MAINTAINERS: I'm no longer actively maintaining the mn10300
3840 target.
3841
fb106663
AC
38422001-05-04 Andrew Cagney <[email protected]>
3843
3844 * main.c (captured_main): Delete #ifndef _WIN32 conditional for
3845 WinGDB.
3846
ce696e05
KB
38472001-05-06 Kevin Buettner <[email protected]>
3848
3849 * inferior.h (save_inferior_ptid): Declare.
3850 * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
3851
3852 * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
3853 Delete these functions.
3854 * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3855 * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3856 * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
3857 Likewise.
3858 * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
3859 Likewise.
3860 * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3861 * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3862
3863 * somsolib.c (reset_inferior_ptid): Delete.
3864 (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
3865 build the cleanup struct.
3866
3867 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
3868 a cleanup to save/restore inferior_ptid.
3869
c194fbe1
MK
38702001-05-06 Mark Kettenis <[email protected]>
3871
3872 Implement attach/detach for multi-threaded programs on Linux.
3873 * thread-db.c (keep_thread_db): Adjust comment.
3874 (deactivate_target): Removed.
3875 (thread_db_new_objfile): Don't call deactivate_target. Implement
3876 guts of deactivate_target inline instead.
3877 (attach_thread): Call ATTACH_LWP unconditionally if defined.
3878 (thread_db_attach): New function.
3879 (thread_db_detach): Don't call deactivate_target. Do necessary
3880 cleanup inline instead. Set inferior_ptid to LWP corresponding to
3881 the current user-level thread.
3882 (thread_db_kill): Set inferior_ptid to LWP corresponding to the
3883 current user-level thread.
3884 (thread_db_create_inferior): Deactivate target vector if
3885 KEEP_THREAD_DB is zero.
3886 (thread_db_mourn_inferior): Don't call deactivate_target. Do
3887 necessary cleanup inline instead.
3888 (init_thread_db_ops): Initialize to_attach field to
3889 thread_db_attach.
3890 * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
3891 (stop_wait_callback): Add prototype.
3892 (init_lwp_list): Add comment about when to re-initialize the LWP
3893 list.
3894 (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
3895 Avoid adding publicates to the LWP list. Only mark an LWP as
3896 signalled if it doesn't correspond to a cloned process.
3897 (lin_lwp_attach): Add initial process to the LWP list. Make sure
3898 it's stopped and fake a SIGSTOP.
3899 (detach_callback): New function.
3900 (lin_lwp_detach): Implement.
3901 (lin_lwp_create_inferior): Don't re-initialize LWP list here.
3902 Call child_ops.to_create_inferior directly instead of via
3903 target_beneath local.
3904 (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
3905 directly instead of via target_beneath local.
3906
a7fdf62f
EZ
39072001-05-06 Eli Zaretskii <[email protected]>
3908
3909 * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
3910 instead of non-portable search for `/'. Use FILENAME_CMP instead
3911 of STREQ, to account for case-insensitive filesystems.
3912 (top-level): #include "filenames.h".
3913
9f60f21b
JB
39142001-05-05 Jim Blandy <[email protected]>
3915
644a1fe1
JB
3916 * breakpoint.c (check_duplicates): Use the breakpoint's type, not
3917 its address, to decide whether it's a watchpoint or not. Zero
3918 is a valid code address.
3919 (update_breakpoints_after_exec): Admonishing comments.
3920 * breakpoint.h (struct breakpoint): Doc fixes.
3921
9f60f21b
JB
3922 * breakpoint.c (check_duplicates): Take a breakpoint object as an
3923 argument, rather than an address and section. All callers changed.
3924
39f77062
KB
39252001-05-03 Kevin Buettner <[email protected]>
3926
3927 * defs.h (ptid_t): New typedef.
3928 (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
3929
3930 * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
3931 blockframe.c, breakpoint.c, breakpoint.h,
3932 config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
3933 config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
3934 config/mips/nm-irix4.h, config/mips/nm-irix5.h,
3935 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
3936 config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
3937 corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
3938 dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
3939 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
3940 hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
3941 i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
3942 infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
3943 inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
3944 linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
3945 m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
3946 mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
3947 ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
3948 regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
3949 remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
3950 remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
3951 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
3952 remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
3953 solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
3954 standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
3955 target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
3956 uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
3957 (inferior_pid): Rename to inferior_ptid everywhere - even in
3958 comments and obsolete ports. In cases where this variable
3959 really is supposed to be used as a process id, use PIDGET() to
3960 extract the process id component from inferior_ptid. The
3961 other cases, either involving other variables whose types had
3962 to be changed or functions whose signatures had to changed
3963 are listed separately below.
3964
3965 * arm-linux-nat.c (get_thread_id): Change type of argument
3966 representing a combined process/thread id from ``int'' to
3967 ``ptid_t''. Also change parameter name to ptid.
3968 * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
3969 * corelow.c (core_file_thread_alive): Likewise.
3970 * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
3971 * defs.h (*target_wait_hook): Likewise.
3972 * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
3973 (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
3974 * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
3975 (gnu_resume): Likewise.
3976 * go32-nat.c (go32_wait, go32_resume): Likewise.
3977 * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
3978 * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
3979 * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
3980 (hppa_pid_or_tid_to_str, child_post_startup_inferior)
3981 (child_thread_alive): Likewise.
3982 * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
3983 (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
3984 * i386-linux-nat.c (child_resume): Likewise.
3985 * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
3986 (store_debug_register, fetch_debug_register_pair)
3987 (store_debug_register_pair, ia64_linux_insert_watchpoint)
3988 (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
3989 Likewise.
3990 * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
3991 * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
3992 (generic_target_write_pc, ptrace_wait, child_resume)
3993 (get_last_target_status): Likewise.
3994 * infptrace.c (ptrace_wait, child_resume): Likewise.
3995 * inftarg.c (child_wait, child_post_wait, child_thread_live)
3996 (child_pid_to_str): Likewise.
3997 * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
3998 (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
3999 * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
4000 (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
4001 (lin_lwp_pid_to_str): Likewise.
4002 * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
4003 (thread_db_resume, thread_db_wait): Likewise.
4004 * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
4005 (linuxthreads_resume, linuxthreads_wait): Likewise.
4006 * lynx-nat.c (child_wait, child_thread_alive, child_resume)
4007 (child_pid_to_str): Likewise.
4008 * m3-nat.c (mach_really_wait, m3_resume): Likewise.
4009 * mac-nat.c (child_wait, child_resume): Likewise.
4010 * mips-tdep.c (mips_read_pc): Likewise.
4011 * monitor.c (monitor_wait, monitor_resume): Likewise.
4012 * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
4013 * ppc-bdm.c (bdm_ppc_wait): Likewise.
4014 * procfs.c (do_attach, procfs_wait, procfs_resume)
4015 (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
4016 (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
4017 (procfs_find_LDT_entry): Likewise.
4018 * regcache.c (read_register_pid, read_signed_register_pid)
4019 (write_register_pid, generic_target_read_pc, read_pc_pid)
4020 (generic_target_write_pc, write_pc_pid): Likewise.
4021 * regcache.h (read_register_pid, read_signed_register_pid)
4022 (write_register_pid): Likewise.
4023 * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
4024 * remote-array.c (array_wait, array_resume): Likewise.
4025 * remote-bug.c (bug_wait, bug_resume): Likewise.
4026 * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
4027 * remote-eb.c (eb_wait, eb_resume): Likewise.
4028 * remote-es.c (es1800_wait, es1800_resume): Likewise.
4029 * remote-mips.c (mips_wait, mips_resume): Likewise.
4030 * remote-mm.c (mm_wait, mm_resume): Likewise.
4031 * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
4032 * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
4033 * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
4034 * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
4035 * remote-sds.c (sds_wait, sds_resume): Likewise.
4036 * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
4037 * remote-st.c (st2000_wait, st2000_resume): Likewise.
4038 * remote-udi.c (udi_wait, udi_resume): Likewise.
4039 * remote-vx.c (vx_wait, vx_resume): Likewise.
4040 * remote.c (remote_current_thread, remote_resume, remote_wait)
4041 (remote_async_resume, remote_async_wait, remote_cisco_wait)
4042 (remote_thread_alive): Likewise.
4043 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
4044 (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
4045 (solaris_pid_to_str): Likewise.
4046 * symm-nat.c (child_wait, child_resume): Likewise.
4047 * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
4048 (debug_to_notice_signals, debug_to_thread_alive)
4049 (normal_target_post_startup_inferior, normal_pid_to_str)
4050 (debug_to_post_startup_inferior): Likewise.
4051 * target.h (to_resume, to_wait, to_post_wait)
4052 (to_post_startup_inferior, to_notice_signals, to_thread_alive)
4053 (to_pid_to_str [all in struct target_ops]): Likewise.
4054 (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
4055 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
4056 (attach_thread, detach_thread, thread_db_resume, check_event)
4057 (thread_db_post_startup_inferior, thread_db_thread_alive)
4058 (thread_db_pid_to_str): Likewise.
4059 * thread.c (add_thread, delete_thread, find_thread_pid)
4060 (pid_to_thread_id, in_thread_list, load_infrun_state)
4061 (save_infrun_state, switch_to_thread, restore_current_thread)
4062 (make_cleanup_restore_current_thread): Likewise.
4063 * top.c (target_wait_hook): Likewise.
4064 * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
4065 (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
4066 (uw_thread_pid_to_str): Likewise.
4067 * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
4068 * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
4069 (cywin_pid_to_str): Likewise.
4070 * wince.c (child_wait, child_resume, win32_child_thread_alive):
4071 Likewise.
4072 * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
4073 * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
4074 * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4075 * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4076 * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
4077 * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
4078 (procfs_set_watchpoint): Likewise.
4079 * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4080 * config/i386/nm-ptx4.h (child_wait): Likewise.
4081 * config/i386/nm-symmetry.h (child_wait): Likewise.
4082 * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
4083 * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
4084 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
4085 (lin_lwp_attach_lwp): Likewise.
4086 * config/mips/nm-irix4.h, config/mips/nm-irix5.h
4087 (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
4088 * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
4089 (hppa_pid_or_tid_to_str): Likewise.
4090 * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
4091 * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4092 * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
4093 (procfs_set_watchpoint): Likewise.
4094
4095 * gdbthread.h (thread_id_to_pid): Change return type which
4096 represents a combined process/thread id from ``int'' to
4097 ``ptid_t''.
4098 * gnu-nat.c (gnu_wait): Likewise.
4099 * go32-nat.c (go32_wait): Likewise.
4100 * hpux-thread.c (hpux_thread_wait): Likewise.
4101 * inferior.h (procfs_first_available): Likewise.
4102 * inftarg.c (child_wait): Likewise.
4103 * infttrace.c (ptrace_wait): Likewise.
4104 * lin-lwp.c (lin_lwp_wait): Likewise.
4105 * lin-thread.c (thread_db_wait): Likewise.
4106 * linux-thread.c (linuxthreads_wait): Likewise.
4107 * lynx-nat.c (child_wait): Likewise.
4108 * m3-nat.c (mach_really_wait): Likewise.
4109 * mac-nat.c (child_wait): Likewise.
4110 * monitor.c (monitor_wait): Likewise.
4111 * ppc-bdm.c (bdm_ppc_wait): Likewise.
4112 * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
4113 * remote-adapt.c (adapt_wait): Likewise.
4114 * remote-array.c (array_wait): Likewise.
4115 * remote-bug.c (bug_wait): Likewise.
4116 * remote-e7000.c (e7000_wait): Likewise.
4117 * remote-eb.c (eb_wait): Likewise.
4118 * remote-es.c (es1800_wait): Likewise.
4119 * remote-mips.c (mips_wait): Likewise.
4120 * remote-mm.c (mm_wait): Likewise.
4121 * remote-nindy.c (nindy_wait): Likewise.
4122 * remote-os9k (rombug_wait): Likewise.
4123 * remote-rdi.c (arm_rdi_wait): Likewise.
4124 * remote-rdp.c (remote_rdp_wait): Likewise.
4125 * remote-sds.c (sds_wait): Likewise.
4126 * remote-sim.c (gdbsim_wait): Likewise.
4127 * remote-st.c (st2000_wait): Likewise.
4128 * remote-udi.c (udi_wait): Likewise.
4129 * remote-vx.c (vx_wait): Likewise.
4130 * remote.c (remote_wait, remote_async_wait, remote_current_thread)
4131 (remote_cisco_wait): Likewise.
4132 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
4133 Likewise.
4134 * symm-nat.c (child_wait): Likewise.
4135 * target.c (debug_to_wait): Likewise.
4136 * target.h (to_wait [in struct target_ops]): Likewise.
4137 * thread.c (thread_id_to_pid): Likewise.
4138 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
4139 Likewise.
4140 * top.c (*target_wait_hook): Likewise.
4141 * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
4142 * v850ice.c (v850ice_wait): Likewise.
4143 * win32-nat.c (child_wait): Likewise.
4144 * wince.c (child_wait): Likewise.
4145 * config/nm-lynx.h (child_wait): Likewise.
4146 * config/i386/nm-ptx4.h (child_wait): Likewise.
4147 * config/i386/nm-symmetry.h (child_wait): Likewise.
4148
4149 * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
4150 to wait_ptid and change its type from ``int'' to ``ptid_t''.
4151 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
4152 but rename saved_inferior_pid to saved_inferior_ptid.
4153 * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
4154 save_pid to save_ptid.
4155 * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
4156 * hppah-nat.c (child_pid_to_exec): Likewise, but rename
4157 saved_inferior_pid to saved_inferior_ptid.
4158 * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
4159 * infrun.c (previous_inferior_pid [static global]): Likewise,
4160 but rename to previous_inferior_ptid.
4161 (resume): Likewise, but rename resume_pid to resume_ptid.
4162 (struct execution_control_state): Likewise, but rename
4163 pid to ptid, saved_inferior_pid to saved_inferior_ptid,
4164 and waiton_pid to waiton_ptid.
4165 (target_last_wait_pid): Likewise, but rename to
4166 target_last_wait_ptid.
4167 * infttrace.c (saved_real_pid): Likewise, but rename to
4168 saved_real_ptid.
4169 (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
4170 to saved_inferior_ptid.
4171 * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
4172 (trap_ptid): Likewise, but renamed from trap_pid.
4173 * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
4174 to gdb_ptid.
4175 * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
4176 (thread_db_wait): Likewise, but rename ret_pid to retptid.
4177 * procfs.c (procfs_wait): Likewise, for retval whose name
4178 doesn't change. Also, ``temp'' becomes two separate variables,
4179 one named temp_tid (an int) and the other temp_ptid.
4180 (procfs_notice_thread): Likewise (type change) for gdb_threadid
4181 whose name does not change.
4182 * regcache.c (registers_ptid): Likewise, but renamed from
4183 registers_pid.
4184 (read_register_pid, read_signed_register_pid, write_register_pid):
4185 Likewise, but rename save_pid to save_ptid.
4186 (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
4187 to saved_inferior_ptid.
4188 * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
4189 * sol-thread.c (struct ps_prochandle): Likewise.
4190 (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
4191 (sol_thread_wait): Likewise, for rtnval whose name does not
4192 change, and for save_pid which becomes save_ptid.
4193 (solaris_pid_to_str): Likewise for lwp whose name does not change.
4194 (sol_find_new_threads_callback): Likewise, for pid which becomes
4195 ptid.
4196 * target.h (target_resume, target_wait, target_post_wait)
4197 (target_post_startup_inferior, target_notice_signals)
4198 (target_thread_alive): Likewise.
4199 * thread.c (info_threads_command): Likewise, but rename
4200 current_pid to current_ptid.
4201 (struct current_thread_cleanup): Likewise, but rename field
4202 inferior_pid to inferior_ptid.
4203 * thread-db.c (find_new_threads_callback): Likewise, but rename
4204 pid to ptid.
4205 * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
4206 change.
4207 (lwp_to_tr): Likewise fo tid whose name remains unchanged.
4208 (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
4209 but rename pid to ptid.
4210 * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
4211 * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
4212 * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
4213 * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
4214 * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
4215 * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
4216
4217 * arch-utils.c (generic_prepare_to_proceed): Test for the
4218 "zero" ptid by using ptid_equal() to test to see if variable
4219 in question is the same as null_ptid. This replaces a direct
4220 test against zero.
4221 * cxux-nat.c (add_shared_symbol_files): Likewise.
4222 * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
4223 * infcmd.c (run_command): Likewise.
4224 * inflow.c (kill_command): Likewise.
4225 * infttrace.c (call_ttrace): Likewise.
4226 * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
4227 * lin-thread.c (thread_db_kill): Likewise.
4228 * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
4229 * remote-es.c (es1800_kill): Likewise.
4230 * sol-thread.c (sol_thread_create_inferior): Likewise.
4231 * solib.c (locate_base): Likewise.
4232 * target.c (nosupport_runtime): Likewise.
4233 * thread-db.c (thread_db_wait): Likewise.
4234 * top.c (quit_confirm, quit_force): Likewise.
4235 * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
4236
4237 * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
4238 Use ptid_equal to compare value of process/thread ids instead of
4239 ``=='' and ``!='' operators.
4240 lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
4241 (stop_wait_callback, lin_lwp_wait): Likewise.
4242 * procfs.c (procfs_wait): Likewise.
4243 * regcache.c (read_register_bytes, read_register_gen)
4244 (write_register_gen, read_register, read_register_pid)
4245 (read_signed_register, read_signed_register_pid, write_register)
4246 (write_register_pid, supply_register): Likewise.
4247 * remote-vx.c (vx_resume): Likewise.
4248 * sol-thread.c (sol_thread_wait): Likewise.
4249 * symm-nat.c (kill_inferior): Likewise.
4250 * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
4251 (in_thread_list, info_threads_command, switch_to_thread)
4252 (restore_current_thread): Likewise.
4253 * uw-thread (libtread_stub): Likewise.
4254
4255 * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
4256
4257 * corelow.c (add_to_thread_list): Convert argument in add_thread()
4258 call to a ptid_t.
4259 * gnu-nat.c (inf_validate_procs): Likewise.
4260 * linux-thread.c (stop_thread, update_stop_threads): Likewise.
4261 * remote.c (record_currthread, remote_threads_info): Likewise.
4262 * win32-nat.c (child_add_thread): Likewise.
4263
4264 * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
4265 respectively, to save_inferior_ptid() and restore_inferior_ptid().
4266 Adjust implementations to operate on ``ptid_t'' instead of ``int''.
4267 * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
4268 * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
4269 * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
4270 * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
4271 * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
4272 * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
4273
4274 * infrun.c (RESUME_ALL): New macro representing the -1 ptid
4275 to be passed to target_resume() when all threads should resume.
4276 (resume): Set resume_ptid to RESUME_ALL rather than -1.
4277 (handle_inferior_event): Invoke target_resume() with RESUME_ALL
4278 instead of -1.
4279 * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
4280 a ptid_t in target_resume() call.
4281 * osfsolib.c (solib_create_inferior_hook): Likewise.
4282 * solib-svr4.c (solib_create_inferior_hook): Likewise.
4283
4284 * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
4285 PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
4286 difference being that the 0xffff pattern will be interpreted
4287 as -1.
4288 * lin-thread.c (PIDGET, PIDGET0): Likewise.
4289 * thread-db.c (PIDGET, PIDGET0): Likewise.
4290 * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
4291 * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
4292 * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
4293 * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
4294
4295 * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
4296 mach_really_wait rather than mach_really__wait.
4297 * lin-thread.c (check_for_thread_event): Fix warning; make function
4298 actually return a value.
4299
4300 * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
4301 ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
4302 pid to ptid.
4303 * gdbarch.h, gdbarch.c: Regenerated.
4304
31e28849
JL
43052001-05-03 Jonathan Larmour <[email protected]>
4306
4307 * rdi-share/devsw.c: Include <time.h> for struct tm
4308
8d341142
EZ
43092001-05-03 Eli Zaretskii <[email protected]>
4310
4311 * config/djgpp/fnchange.lst: Add mappings for the new
4312 opcodes/openrisc-* files.
4313
9572d2b6
MS
43142001-05-01 Michael Snyder <[email protected]>
4315
9085700c 4316 * lin-lwp.c: Change printf to fprintf_unfiltered.
9572d2b6
MS
4317 * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
4318
977adac5
ND
43192001-05-01 Nicholas Duffek <[email protected]>
4320
4321 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
4322 (rs6000_in_solib_return_trampoline): Declare.
4323 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
4324 function.
4325 (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
4326 * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
4327 check after the CSECT check rather than before it. Allocate
4328 separate symtabs for CSECTs whose names begin with '@'.
4329 (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
4330 Activate the misc_func_recorded mechanism for whose names begin
4331 with '@'.
4332
6d799331
C
43332001-04-30 J.T. Conklin <[email protected]>
4334
4335 * ppcnbsd-nat.c (fetch_inferior_registers)
4336 (store_inferior_registers, fetch_core_registers): Changed to use
4337 fpreg[] instead of r_regs[] to access floating point registers.
4338
7f4dbe94
EZ
43392001-04-30 Elena Zannoni <[email protected]>
4340
4341 * sh-tdep.c: Get rid of the function prototypes.
4342 (sh_sh4_build_float_register_type): Move earlier in file.
4343 (fv_reg_base_num): Ditto.
4344 (dr_reg_base_num): Ditto.
4345
540af400
MS
43462001-04-30 Michael Snyder <[email protected]>
4347
4348 * thread-db.c: Revert 2001-04-26 change for debugging output.
7ca673cd
MS
4349 * lin-lwp.c: Ditto.
4350 * lin-lwp.c: Add set/show debug lin-lwp command. Use this
4351 command to turn extra debugging output on / off.
540af400 4352
f5a6fc05
EZ
43532001-04-30 Eli Zaretskii <[email protected]>
4354
4355 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
4356 (top-level): #include filenames.h.
4357
4358 * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
4359 FILENAME_CMP, to DTRT on non-Posix platforms.
4360 (top-level): #include filenames.h.
4361
4362
502dcf4e
AC
43632001-04-27 Andrew Cagney <[email protected]>
4364
4365 * gdbtypes.c (check_stub_method): Always initialize ``p''.
4366
cc3f9cbb
AC
43672001-04-27 Andrew Cagney <[email protected]>
4368
4369 * configure.host: Delete romp host.
4370 * TODO: Update.
4371
ed9c5cf2
AC
43722001-04-27 Andrew Cagney <[email protected]>
4373
4374 * TODO: Updates to 5.1. No more targets to obsolete.
4375
d1a310e7
DH
43762001-04-27 Don Howard <[email protected]>
4377
128437e6
DH
4378 (Changes from Kevin Buettner, with minor update by Don Howard.)
4379
4380 * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
4381 typos in which hexadecimal constants were really intended to be
4382 binary constants.
4383 (i387_tag): Swap logic regarding zero vs non-zero exponents.
d1a310e7
DH
4384 * MAINTAINERS (Misc): Added myself to the write-after-approval
4385 list.
4386
015a42b4
JB
43872001-04-26 Jim Blandy <[email protected]>
4388
4389 (Changes from Daniel Berlin, with revisions by Jim Blandy.)
4390
4391 Abstract out operations specific to particular C++ ABI's, and
4392 invoke them through a function table. This removes the C++ ABI
4393 dependencies scattered throughout the code, and allows us to
4394 cleanly add support for new C++ ABI's.
4395 * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
4396 * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
4397 jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
4398 #include "cp-abi.h". These files all use functions now declared
4399 there.
4400 * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
4401 Deleted. These services are now provided by functions declared in
4402 cp-abi.h.
4403 * value.h (value_rtti_type, value_virtual_fn_field): Same.
4404 * values.c (value_virtual_fn_field): Same, for this definition.
4405 * valops.c (value_rtti_type): Same.
4406 * c-typeprint.c (c_type_print_base): Use the functions from
4407 "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
4408 tests.
4409 * dbxread.c (record_minimal_symbol): Same.
4410 * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
4411 virtual_base_index_skip_primaries): Same.
4412 * jv-typeprint.c (java_type_print_base): Same.
4413 * linespec.c (find_methods, decode_line_1): Same.
4414 * symtab.c (gdb_mangle_name): Same.
4415 * Makefile.in (SFILES): Add the new .c files mentioned above.
4416 (cp_abi_h): New variable.
4417 (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
4418 (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
4419 (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
4420 jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
4421 dependency on $(cp_abi_h).
4422
f3fb8c85
MS
44232001-04-26 Michael Snyder <[email protected]>
4424
20b8570d
MS
4425 * thread-db.c (_initialize_thread_db): Add set/show command
4426 "debug-linux-threads" for debugging output.
4427 * lin-lwp.c (various): Use global "debug_linux_threads to
4428 turn on extra debugging output.
4c8de859 4429 * lin-lwp.c: Minor cleanups in comments.
f3fb8c85
MS
4430 * target.c (normal_pid_to_str): Get rid of an ancient hack.
4431 * remote.c (remote_pid_to_str): New function for remote target.
4432
7f0b5c30
JB
44332001-04-24 Jim Blandy <[email protected]>
4434
4435 * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
4436 qualifier on C++ references; all references are innately const.
4437
0af5533d
MK
44382001-04-20 Mark Kettenis <[email protected]>
4439
4440 * event-top.h: Fix formatting.
4441
d036b4d9
AC
44422001-04-17 Andrew Cagney <[email protected]>
4443
4444 * source.c (openp): Obsolete #ifdef MPW code.
4445 (open_source_file): Ditto.
4446 * event-top.c (display_gdb_prompt): Ditto.
4447 * utils.c (query): Ditto.
4448 (init_page_info): Ditto.
4449 (init_page_info): Delete #ifndef MPW.
4450 * top.c (gdb_readline): Ditto.
4451 * mac-xdep.c: Obsolete.
4452 * mac-gdb.r: Obsolete.
4453 * config/powerpc/xm-mpw.h: Obsolete.
4454 * config/xm-mpw.h: Obsolete.
4455 * mpw-make.sed: Obsolete.
4456 * mpw-config.in: Obsolete.
4457 * TODO: Update
4458 * NEWS: Update
4459
539ffe0b
MK
44602001-04-19 Mark Kettenis <[email protected]>
4461
4462 * i386-tdep.c (i386_frameless_function_invocation): New function.
4463 * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
4464 in terms of i386_frameless_function_invocation. Adjust comment.
4465 (i386_frameless_function_invocation): New prototype.
4466
67e1e03a
MH
44672001-04-18 Martin M. Hunt <[email protected]>
4468
4469 * top.c (gdb_init): Don't call cli_out_new() to
4470 create global uiout if init_ui_hook is set. uiout will
4471 have to be initialized there.
4472
fbec36e2
AC
44732001-04-18 Andrew Cagney <[email protected]>
4474
4475 * arch-utils.c: Include "regcache.h".
4476
ed84f6c1
MK
44772001-04-18 Mark Kettenis <[email protected]>
4478
4479 * i386-tdep.c (i386_saved_pc_after_call): New function.
4480 * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
4481 of i386_saved_pc_after_call.
4482 (i386_saved_pc_after_call): New prototype.
4483
c60a7562
MS
44842001-04-17 Michael Snyder <[email protected]>
4485
c9e030cf 4486 * i386-nat.c: Fix typo in comment.
c60a7562
MS
4487 * solib.c (no_shared_libraries): New function. Discard all symbols
4488 from shared libraries.
4489 (_initialize_solib): Add command "nosharedlibrary" as complement
4490 to the command "sharedlibrary". Unloads symbols for all solibs.
4491
514e603d
AC
44922001-04-16 Andrew Cagney <[email protected]>
4493
4494 * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
4495 * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
4496 (m68*-est-*, m68*-sony-*, m68*-isi-*):
4497 * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
4498 * config/m68k/xm-news.h: Obsolete.
4499 * config/m68k/tm-news.h:
4500 * config/m68k/xm-news1000.h: Obsolete.
4501 * config/m68k/news.mh: Obsolete.
4502 * config/m68k/news.mt: Obsolete.
4503 * config/m68k/nm-news.h: Obsolete.
4504 * config/m68k/news1000.mh: Obsolete.
4505 * news-xdep.c: Obsolete.
4506 * Makefile.in (isi-xdep.o): Obsolete.
4507 (ALLDEPFILES): Delete isi-xdep.c.
4508 (tm-isi.h): Obsolete.
4509 * m68k-tdep.c (altos_skip_prologue): Update comments.
4510 (isi_skip_prologue): Obsolete.
4511 * isi-xdep.c: Obsolete.
4512 * config/m68k/xm-isi.h: Obsolete.
4513 * config/m68k/isi.mh: Obsolete.
4514 * config/m68k/tm-isi.h: Obsolete.
4515 * config/m68k/isi.mt: Obsolete.
4516
4517 * TODO: Update.
4518 * NEWS: Update.
4519
6240bebf
MS
45202001-04-17 Michael Snyder <[email protected]>
4521
4522 * remote.c (remote_open_1): On opening the remote target, activate
4523 the solib_create_inferior_hook, so that it can detect when the
4524 target loads shared libraries.
4525 (remote_async_open_1): Ditto.
4526
75ac9d7b
MS
45272001-04-17 Michael Snyder <[email protected]>
4528
4529 * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
4530 * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
4531 * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
4532 * testsuite/gdb.trace/infotrace.exp: Ditto.
4533 * testsuite/gdb.trace/passcount.exp: Ditto.
4534 * testsuite/gdb.trace/while-stepping.exp: Ditto.
4535
b9569773
MS
45362001-04-17 Michael Snyder <[email protected]>
4537
4538 * thread-db.c (check_thread_signals): When looping over all
4539 signals, ignore signal zero.
4540 (disable_thread_signals): Ditto.
4541
81490ea1
MS
45422001-04-17 Eirik Fuller <[email protected]>
4543
4544 * thread.c (do_captured_thread_select): Allow the argument to the
4545 thread command to be an expression rather than a literal integer.
4546
e5434c3d
MK
45472001-04-17 Mark Kettenis <[email protected]>
4548
4549 * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
4550 read_memory_unsigned_integer instead of read_memory_integer.
4551
00c7912d
KB
45522001-04-16 Kevin Buettner <[email protected]>
4553
4554 * solib-aix5.c (map_index_vs_section_name_okay): New function.
4555 (aix5_relocate_main_executable): Don't use file offsets for
4556 determining corresponding sections and map file entries. Call
4557 map_index_vs_section_name_okay() to do this instead.
4558
4d1bcd09
KB
45592001-04-16 Kevin Buettner <[email protected]>
4560
4561 * procfs.c (open_with_retry): New function.
4562 (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
4563 (proc_get_LDT_entry): Call open_with_retry() instead of open().
4564
097e5c0b 45652001-04-16 Kevin Buettner <[email protected]>
1186f287
KB
4566
4567 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
4568 comparison against TRAP_HWBKPT constant yet again to account
4569 for the various values used by different kernel versions.
4570
9e0c176c
DB
45712001-04-16 Daniel Berlin <[email protected]>
4572
4573 * demangle.c (_initialize_demangler): Use xcalloc on the
4574 demangling_style_names, and make it a null terminated array of
4575 names, to avoid a crash.
4576
c833a37e
MK
45772001-04-16 Mark Kettenis <[email protected]>
4578
4579 * i386-tdep.c (i386_frame_chain): New function.
4580 * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
4581 i386_frame_chain.
4582 (i386_frame_chain): New prototype.
4583
46c6cdcf
C
45842001-04-14 J.T. Conklin <[email protected]>
4585
4586 * target.h (target_ops): Removed to_core_file_to_sym_file vector
4587 function.
4588 * corelow.c (core_ops): Updated for above change.
4589 * gnu-nat.c (core_ops): Likewise.
4590 * inftarg.c (child_ops): Likewise.
4591 * monitor.c (monitor_ops): Likewise.
4592 * ppc-bdm.c (bdm_ppc_ops): Likewise.
4593 * remote-adapt.c (adapt_ops): Likewise.
4594 * remote-bug.c (bug_ops): Likewise.
4595 * remote-e7000.c (e7000_ops): Likewise.
4596 * remote-eb.c (eb_ops): Likewise.
4597 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
4598 * remote-mm.c (mm_ops): Likewise.
4599 * remote-nindy.c (nindy_ops): Likewise.
4600 * remote-nrom.c (nrom_ops): Likewise.
4601 * remote-os9k.c (rombug_ops): Likewise.
4602 * remote-rdp.c (remote_rdp_ops): Likewise.
4603 * remote-sim.c (gdbsim_ops): Likewise.
4604 * remote-st.c (st2000_ops): Likewise.
4605 * v850ice.c (v850ice_ops): Likewise.
4606 * target.c (cleanup_target): Likewise
4607 (update_current_target): Likewise.
4608 (setup_target_debug): Likewise
4609 (debug_to_core_file_to_sym_file): Removed.
4610
4611 * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
4612 sets symbol file from information obtained from the core file.
4613 * corelow.c (core_file_to_sym_file): Removed.
4614
d1566ff5
FN
46152001-04-13 Fernando Nasser <[email protected]>
4616
4617 From Adam Mirowski <[email protected]>
4618 Fixed Insight on Solaris. It was not possible to debug a process
4619 because of EINTR "errors".
4620 * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
4621 with EINTR, retry the call.
4622
6c98e688
KB
46232001-04-12 Kevin Buettner <[email protected]>
4624
4625 * solib-aix5.c (enum maptype): Delete.
4626 (struct lm_info): Add new member ``nmappings''. Make ``mapping''
4627 member a pointer instead of a statically sized array.
4628 (build_so_list_from_mapfile): Dynamically allocate ``mapping''
4629 array.
4630 (aix5_relocate_main_executable, aix5_relocate_section_addresses,
4631 aix5_find_global_pointer): Search for correct mapping to use
4632 based on file offset instead of knowledge of whether the section
4633 is read-only or read/write.
4634 (aix5_find_gate_addresses): Use the first mapping instead of
4635 the (now defunct) MT_READONLY mapping.
4636
49282387
ND
46372001-04-12 Nicholas Duffek <[email protected]>
4638
4639 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
4640 "@".
4641
7f6b83a5
KB
46422001-04-12 Kevin Buettner <[email protected]>
4643
4644 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
4645
24f89b68
AC
46462001-04-09 Andrew Cagney <[email protected]>
4647
4648 Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
4649 * config/i386/sun386.mh: Obsolete.
4650 * config/i386/sun386.mt: Obsolete.
4651 * config/i386/xm-sun386.h: Obsolete.
4652 * config/i386/tm-sun386.h: Obsolete.
4653 * config/i386/nm-sun386.h: Obsolete.
4654 * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
4655 (sun386-nat.o): Target is obsolete.
4656 * sun386-nat.c: Obsolete.
4657 * configure.tgt (i[3456]86-*-sunos*): Obsolete.
4658 * configure.host (i[3456]86-*-sunos*): Obsolete.
4659 * NEWS: Update.
4660 * TODO: Update.
4661
c114dcd5
C
46622001-04-10 J.T. Conklin <[email protected]>
4663
4664 * maint.c: Fix typo in comment.
4665
6755f5ad
KS
46662001-04-09 Keith Seitz <[email protected]>
4667
4668 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
4669
7700434b
KB
46702001-04-08 Kevin Buettner <[email protected]>
4671
4672 * fork-child.c (fork_inferior, clone_and_follow_inferior):
4673 Document fact that apparent call to vfork() might actually be
4674 a call to fork() instead.
4675 * ser-pipe.c (pipe_open): Likewise.
4676
d493eb33
KB
46772001-04-08 Kevin Buettner <[email protected]>
4678
4679 * printcmd.c (print_frame_args): Use a cleanup to invoke
4680 ui_out_list_end() so that the list count nesting flag will
4681 be decremented properly when an error occurs.
4682 * stack.c (print_frame): Likewise.
4683
af471f3c
C
46842001-04-06 J.T. Conklin <[email protected]>
4685
c839c4db
C
4686 * dcache.c (dcache_write_line): Fixed bugs where cache line was
4687 not written to target correctly.
4688
af471f3c
C
4689 * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
4690 void return value;
4691 * gdbserver/low-nbsd.c: Likewise.
4692 * gdbserver/low-sparc.c: Likewise.
4693 * gdbserver/low-sun3.c: Likewise.
4694
d8e275b4
GK
46952001-04-06 Geoffrey Keating <[email protected]>
4696
4697 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
4698 (PTRACE_DETACH): Don't define.
4699
e02bc4cc
DS
47002001-04-06 David Smith <[email protected]>
4701
4702 * arch-utils.c (default_prepare_to_proceed)
4703 (generic_prepare_to_proceed): Added new functions.
4704 * arch-utils.h: New function declarations for
4705 default_prepare_to_proceed() and generic_prepare_to_proceed().
4706 * gdbarch.sh: Added PREPARE_TO_PROCEED.
4707 * gdbarch.c: Regenerated.
4708 * gdbarch.h: Regenerated.
4709 * inferior.h: Added get_last_target_status() declaration.
4710 * infrun.c (get_last_target_status): Added new function.
4711 (handle_inferior_event): Saves last pid and waitstatus, which will
4712 get returned by get_last_target_status().
4713
4714 * hppa-tdep.c (prepare_to_proceed): Added comment stating that
4715 prepare_to_proceed() is potentially redundant since
4716 default_prepare_to_proceed() has been added.
4717 * linux-thread.c (prepare_to_proceed): Ditto.
4718 * lin-lwp.c (prepare_to_proceed): Ditto.
4719 * m3-nat.c (prepare_to_proceed): Ditto.
4720
1b2b2c16
AC
47212001-04-05 Andrew Cagney <[email protected]>
4722
4723 Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
4724 and powerpc-*-netware* target.
4725 * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
4726 Obsolete.
4727 * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
4728 (powerpcle-*-solaris*): Obsolete.
4729 * config/powerpc/tm-cygwin.h: Obsolete.
4730 * config/powerpc/cygwin.mt: Obsolete.
4731 * config/powerpc/xm-cygwin.h: Obsolete.
4732 * config/powerpc/cygwin.mh: Obsolete.
4733 * config/powerpc/nm-solaris.h: Obsolete.
4734 * config/powerpc/xm-solaris.h: Obsolete.
4735 * config/powerpc/tm-solaris.h: Obsolete.
4736 * config/powerpc/solaris.mt: Obsolete.
4737 * config/powerpc/tm-ppc-nw.h: Obsolete.
4738 * config/powerpc/ppc-nw.mt: Obsolete.
4739 * TODO: Update.
4740 * NEWS: Update.
4741
063fd668
FN
47422001-04-06 Fernando Nasser <[email protected]>
4743
4744 * buildsym.c (record_line): Turn off unused addr bits.
4745
a250df2e
FN
47462001-04-06 Fernando Nasser <[email protected]>
4747
4748 From David Deephanphongs <[email protected]>
4749 * inferior.h: Fix declarations of get_inferior_args and
4750 set_inferior_args, which were missing the trailing 's'.
4751
1fcef334
JH
47522001-04-05 Jeff Holcomb <[email protected]>
4753
4754 * monitor.c (monitor_supply_register): Only report an error if we
4755 don't get a valid value.
4756
f032fb6e
EZ
47572001-04-05 Eli Zaretskii <[email protected]>
4758
4759 * README: Don't mention gdba.el.
4760
0191bed7
EZ
47612001-04-05 Elena Zannoni <[email protected]>
4762
4763 From Jimmy Guo <[email protected]>
4764 * top.c (init_main): set prompt if annotation_level>1,
4765 this is necessary when annotation_level is set to 2 via
4766 --annotate=2 command line option.
4767
4a1968f4
AC
47682001-04-04 Andrew Cagney <[email protected]>
4769
4770 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
4771 * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
4772 * configure.host (a29k-*-*): Obsolete.
4773 * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
4774 ultra3-xdep.c.
4775 (ultra3-nat.o, ultra3-xdep.o): Obsolete.
4776 * config/a29k/tm-ultra3.h: Obsolete.
4777 * config/a29k/ultra3.mt: Obsolete.
4778 * config/a29k/ultra3.mh: Obsolete.
4779 * config/a29k/nm-ultra3.h: Obsolete.
4780 * config/a29k/xm-ultra3.h: Obsolete.
4781 * ultra3-xdep.c: Obsolete.
4782 * ultra3-nat.c: Obsolete.
4783 * config/a29k/a29k-kern.mt: Obsolete.
4784 * NEWS: Update.
4785 * TODO: Update.
4786
608506ed
CF
4787Wed Apr 4 21:48:42 2001 Christopher Faylor <[email protected]>
4788
4789 * main.c: Remove windows.h use.
4790 (gdbtk_test): Use PATH_MAX for home var calculation.
4791 * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
4792 Win32 in colon test.
4793 * ser-tcp.c: Use modern __CYGWIN__ conditional.
4794 * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
4795 (openp): Ditto.
4796 * symfile.c (symfile_bfd_open): Ditto.
608506ed 4797
6457bd47
MH
47982001-04-04 Martin M. Hunt <[email protected]>
4799
4800 * main.c (captured_main): For GDBtk, don't use tui_fileopen().
4801 Handle all stream setup in gdbtk_init
4802
3df1b9b4
MK
48032001-04-04 Mark Kettenis <[email protected]>
4804
4805 * i386-tdep.c (i386_extract_return_value): Don't return the return
4806 value of a void function.
4807 (i386_store_return_value): Likewise.
4808
76f4ea53
AC
48092001-04-03 Andrew Cagney <[email protected]>
4810
4811 Obsolete w65-*-* target.
4812 * configure.tgt (w65-*-*): Obsolete.
4813 * config/w65/w65.mt: Obsolete.
4814 * config/w65/tm-w65.h: Obsolete.
4815 * w65-tdep.c: Obsolete.
4816 * NEWS: Update. Fix TiC80 description.
4817 * TODO: Update.
4818
52071915
AC
48192001-04-03 Andrew Cagney <[email protected]>
4820
4821 Obsolete tic80-*-* target.
4822 * configure.tgt (tic80-*-*): Obsolete.
4823 * config/tic80/tic80.mt: Obsolete.
4824 * config/tic80/tm-tic80.h: Obsolete.
4825 * tic80-tdep.c: Obsolete.
4826 * TODO: Update
4827 * NEWS: Update.
4828
44eaed12
C
48292001-04-02 J.T. Conklin <[email protected]>
4830
ba79cc81
C
4831 * remote-mips.c (S_IROTH): Moved definition from here.
4832 * gdb_stat.h (S_IROTH): to here.
4833
44eaed12
C
4834 * remote.c (remote_protocol_e, remote_protocol_E): Define.
4835 (set_remote_protocol_e_packet_cmd)
4836 (set_remote_protocol_E_packet_cmd)
4837 (show_remote_protocol_e_packet_command)
4838 (show_remote_protocol_E_packet_command): New functions.
4839 (init_all_packet_configs): Initialize remote_protocol_e and
4840 remote_protocol_E.
4841 (remote_resume, remote_async_resume): Support e/E command
4842 packets.
4843 (show_remote_cmd): Show state of remote_protocol_e and
4844 remote_protocol_E.
4845 (_initialize_remote): Add "set remote step-over-range-packet"
4846 and "set remote step-over-range-w-signal-packet" to CLI.
4847
bb19ff3b
AC
48482001-04-01 Andrew Cagney <[email protected]>
4849
4850 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
4851 ns32k-utek-*.
4852 * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
4853 (umax-xdep.o, ns32km3-nat.o): Obsolete.
4854 * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
4855 Obsolete.
4856 * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
4857 Obsolete.
4858 * config/ns32k/merlin.mh: Obsolete.
4859 * config/ns32k/merlin.mt: Obsolete.
4860 * config/ns32k/xm-merlin.h: Obsolete.
4861 * config/ns32k/tm-merlin.h: Obsolete.
4862 * config/ns32k/nm-umax.h: Obsolete.
4863 * config/ns32k/umax.mh: Obsolete.
4864 * config/ns32k/umax.mt: Obsolete.
4865 * config/ns32k/xm-umax.h: Obsolete.
4866 * umax-xdep.c: Obsolete.
4867 * config/ns32k/ns32km3.mh: Obsolete.
4868 * config/ns32k/ns32km3.mt: Obsolete.
4869 * config/ns32k/tm-ns32km3.h: Obsolete.
4870 * config/ns32k/xm-ns32km3.h: Obsolete.
4871 * ns32km3-nat.c: Obsolete.
4872 * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
4873 (merlin_frame_num_args): Ditto.
4874 * NEWS: Update.
4875 * TODO: Update.
4876
d6259d75
EZ
48772001-04-02 Eli Zaretskii <[email protected]>
4878
4879 * config/djgpp/fnchange.lst: Tweak due to
4880 expect/example/chesslib.c.
4881
971ff545
KB
48822001-04-02 Kevin Buettner <[email protected]>
4883
4884 * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
4885 unsigned int to unsigned long. Also, fix format string.
4886 (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
4887 use an undeclared variable. Also, delete declaration and
4888 initialization of ``fp'' because it is otherwise unused.
4889 * remote-bug.c (sleep): Delete declaration.
4890 (bug_store_register, bug_write_memory, bug_read_memory)
4891 (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
4892 format statements and cast certain sprintf() arguments to
4893 eliminate warnings.
4894 (bug_load): Likewise for call to printf_filtered().
4895 * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
4896 assignment to ``pc''. The necessary assignment is done in
4897 hand_function_call() after the invocation of FIX_CALL_DUMMY().
4898
4e4f46a1
DB
48992001-03-20 Daniel Berlin <[email protected]>
4900
4901 * symtab.c (completion_list_add_name): Remove duplicate string checks,
4902 readline already does this, and it's much faster at it, too.
4903
ba8629a9
EZ
49042001-04-01 Eli Zaretskii <[email protected]>
4905
4906 * go32-nat.c: Minor tweaks, to pacify the ari script.
4907
7bf0983e
MK
49082001-04-01 Mark Kettenis <[email protected]>
4909
f7af9647
MK
4910 * i386-tdep.c (i386_extract_struct_value_address): New function.
4911 * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
4912 in terms of i386_extract_struct_value_address.
4913 (i386_extract_struct_value_address): New prototype.
4914
7bf0983e
MK
4915 * i386-linux-nat.c (i386_linux_dr_get): Change type of return
4916 value to `unsigned long'. Change type of `value' to `unsigned
4917 long'.
4918 (i386_linux_dr_set): Change type of second argument to `unsigned
4919 long'.
4920 (i386_linux_dr_set_control): Change type of first argument to
4921 `unsigned long'.
4922 (i386_linux_dr_get_status): Change type of return value to
4923 unsigned long.
4924 * config/i386/nm-linux.h (i386_linux_dr_set_control,
4925 i386_linux_dr_get_status): Adjust prototypes accordingly.
4926
6e4862ff
KB
49272001-03-31 Kevin Buettner <[email protected]>
4928
4929 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
4930 TRAP_HWBKPT constant to match that in the kernel headers for
4931 Linux/IA-64.
521f1f96 4932
1e8d0a7b
MK
49332001-03-31 Mark Kettenis <[email protected]>
4934
0afdd437
MK
4935 * i386bsd-nat.c: Include "gdb_assert.h".
4936 [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
4937 already defined.
4938 [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
4939 i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
4940 i386bsd_dr_get_status): New functions.
4941 * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
4942 (I386_USE_GENERIC_WATCHPOINTS): Define.
4943 Include "i386/nm-i386.h".
4944 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
4945 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
4946 (i386bsd_dr_set_control, i386bsd_dr_set_addr,
4947 i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
4948 * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
4949 * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
4950 ptrace request.
4951 * config.in, configure: Regenerate.
4952
4bcc3944
MK
4953 * i386-nat.c (i386_insert_aligned_watchpoint): Set address
4954 register before enabling it by setting the control register.
4955 (i386_remove_aligned_watchpoint): Reset address register after
4956 disabling it by setting the control register.
4957
1e8d0a7b
MK
4958 * i386-tdep.c (i386_extract_return_value): If the type of the
4959 return value is TYPE_STRUCT and the number of fields is one, call
4960 ourselves with TYPE set tp the type of the first field.
4961 (i386_store_return_value): Likewise.
4962 This fixes a problem with returning structs consisting of a single
4963 `float' or `double' on *BSD.
4964
95a85621
MK
49652001-03-30 Mark Kettenis <[email protected]>
4966
40564aca
MK
4967 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
4968 we're absolutely sure we're going to resume it.
4969
95a85621
MK
4970 * thread-db.c (check_event): Don't report an error if we encounter
4971 a thread creation event for a thread that's already in the thread
4972 list, since that may legitemately happen. Instead only call
4973 attach_thread if it's not already in the thread list.
4974
2e94c453
AC
49752001-03-28 Andrew Cagney <[email protected]>
4976
4977 * config/pa/xm-hppah.h (malloc): Really delete declaration
4978 (MALLOC_INCOMPATIBLE): Really delete macro.
4979 * cli/cli-cmds.c (apropos_command): Use xcalloc.
4980
93d56215
AC
49812001-03-28 Andrew Cagney <[email protected]>
4982
4983 * configure.in (build_warnings): Add -Wuninitialized.
4984 * configure: Regenerate.
4985
4986 * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
4987 * sparc-tdep.c (sparc64_push_arguments): Add default case to
4988 switch.
4989 * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
4990 expression with if statement.
4991 * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
4992 ``stack_size''.
4993 * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
4994 (mips_dump_tdep): Fix setting of ef_mips_arch.
4995 * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
4996 * dsrec.c (make_srec): Always initialize ``binbuf''.
4997 * monitor.c (monitor_read_memory_single): Do not pass an
4998 uninitialized buffer to monitor_error. Make ``i'' more local.
4999
381bab78
AC
50002001-03-28 Andrew Cagney <[email protected]>
5001
5002 * MAINTAINERS: Change ns32k target to ,-Werror.
5003
5004 * ns32k-tdep.c: Include "gdbcore.h"
5005 (flip_bytes): Change first argument to void*. Add forward
5006 declaration.
5007 (sign_extend): Add declaration.
5008 (merlin_frame_num_args): Add final else clause to if-else chain.
5009 (umax_frame_num_args): Ditto.
5010 * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
5011 (flip_bytes): Ditto.
5012
b9511b9a
MK
50132001-03-28 Mark Kettenis <[email protected]>
5014
b05f2432
MK
5015 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
5016 config/i386/nm-linux.h (including comment).
5017 (i386_linux_frame_chain): New function implementing guts of the
5018 former FRAME_CHAIN macro, but using read_memory_unsigned_integer
5019 instead of read_memory_integer.
5020 (i386_linux_frame_saved_pc): Removed doc pointing to
5021 i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
5022 now lives in this file.
5023 * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
5024 i386-linux-tdep.c (including comment).
5025 (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
5026 (i386_linux_frame_chain): New prototype.
5027
0eebe06a
MK
5028 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
5029 make it work again.
5030 (NUM_FREGS): Redefine to 0.
5031 (NUM_REGS): Redefine as NUM_GREGS.
5032 (i386_register_byte, i386_register_raw_size): Update from
5033 i386-tdep.c. Add comment about their origin.
5034 (regmap, register_u_addr): Take these from i386-linux-nat.c.
5035 (i386_register_u_addr): Removed.
5036
b9511b9a
MK
5037 * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
5038 fails instead of calling perror_with_name. This should fix
5039 debugging remote i386 targets with a native Linux/x86 GDB. Add
5040 FIXME for this hack.
5041
3172dc30
C
50422001-03-19 J.T. Conklin <[email protected]>
5043
5044 * arch-utils.c (#include "gdbthread.h"): Removed.
5045 (#include "symfile.h"): Removed.
5046 (XMALLOC): Removed unused macro.
5047 * breakpoint.c (tbreak_command): Removed local declaration.
5048 (awatch_command, do_enable_breakpoint, set_breakpoint_count):
5049 Remove duplicate declarations.
5050 (bpstat_should_step, bpstat_have_active_hw_watchpoints)
5051 (remove_solib_event_breakpoints): Fix indentation botch.
5052 * c-typeprint.c (#include "command.h"): Removed.
5053 (#include "gdbcmd.h"): Removed.
5054 * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
5055 (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
5056 Removed duplicate declarations.
5057 * ch-typeprint.c (#include "command.h"): Removed.
5058 (#include "gdbcmd.h"): Removed.
5059 * corefile.c (#include "frame.h"): Removed
5060 (#include "symfile.h"): Removed.
5061 (#include "language.h"): Removed.
5062 * dbxread.c (#include "command.h"): Removed.
5063 * environ.c (#include "gdbcore.h"): Removed.
5064 * event-loop.c (#include "top.h"): Removed.
5065 * f-typeprint.c (#include "command.h"): Removed.
5066 (#include "gdbcmd.h"): Removed.
5067 (#include "language.h"): Removed.
5068 (#include "typeprint.h"): Removed.
5069 (#include "frame.h"): Removed.
5070 * gdbtypes.h (print_type_scalar): Removed declaration.
5071 * infcmd.c (#include "completer.h"): Removed.
5072 * language.c (#include "frame.h"): Removed.
5073 * m2-typeprint.c (#include "command.h"): Removed.
5074 (#include "gdbcmd.h"): Removed.
5075 (#include "language.h"): Removed.
5076 * m2-valprint.c (#include "valprint.h"): Removed.
5077 * p-typeprint.c (#include "command.h"): Removed.
5078 (#include "gdbcmd.h"): Removed.
5079 * p-valprint.c (#include "typeprint.h"): Removed.
5080 * parse.c (#include "linespec.h"): Removed.
5081 * regcache.c (#include "frame.h"): Removed.
5082 * remote.c (#include "frame.h"): Removed.
5083 (getpkt_sane): Make static.
5084 * source.c (#include "completer.h"): Removed.
5085 * stack.c (#include "symfile.h"): Removed.
5086 (#include "objfiles.h"): Removed.
5087 * symfile.c (#include "completer.h"): Removed.
5088 * tracepoint.c (#include "completer.h"): Removed.
5089 * values.c (#include "frame.h"): Removed.
5090 * varobj.c (#include "valprint.h"): Removed.
5091 * wrapper.c (#include "frame.h"): Removed.
5092
5093 * memattr.c (create_mem_region): Removed unused variable.
5094 * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
5095
397b41ad
NC
50962001-03-27 Nick Clifton <[email protected]>
5097
5098 * remote-rdp.c (rdp_set_command_line): Add missing double quote.
5099
ed817e68
KB
51002001-03-27 Kevin Buettner <[email protected]>
5101
5102 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
5103 of free().
5104
b75e0a6b
EZ
51052001-03-27 Eli Zaretskii <[email protected]>
5106
5107 * TODO (Cleanups): Remove the item about converting docs to GFDL.
5108
2fc3ac7e
KB
51092001-03-26 Kevin Buettner <[email protected]>
5110
5111 * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
5112 type of ``bundle'' from unsigned char * to char *.
5113 (ia64_get_saved_register): Use alloca() to allocate register
5114 buffers.
5115
224d8953
KB
5116 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
5117
37de36c6
KB
51182001-03-26 Kevin Buettner <[email protected]>
5119
5120 * proc-utils.h (procfs_ctl_t): New typedef.
5121 * proc-api.c (write_with_trace): Change type of ``opcode'' from
5122 long to procfs_ctl_t. Don't assume that the target has defined
5123 BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
5124 * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
5125 * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
5126 (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
5127 (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
5128 Conditionally define as appropriate for AIX/non-AIX systems. Use
5129 these defines/typedefs as appropriate elsewhere in file.
5130 (struct procinfo): Change type of saved_sigset and saved_sighold
5131 from sigset_t to gdb_sigset_t. Make saved_exitset and
5132 saved_entryset pointer variables. Add two new fields, num_syscalls
5133 and syscall_names.
5134 (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
5135 (sysset_t_size, sysset_t_alloc): New functions.
5136 (load_syscalls, free_syscalls, find_syscall): New functions for
5137 platforms which define DYNAMIC_SYSCALLS.
5138 (create_procinfo): Call load_syscalls.
5139 (destroy_one_procinfo): Call free_syscalls.
5140 (GDBRESET): Don't define twice.
5141 (proc_modify_flag): Change type of operation code array `arg'
5142 from long to procfs_ctl_t.
5143 (proc_stop_process, proc_wait_for_stop, proc_run_process)
5144 (proc_set_traced_signals, proc_set_traced_faults)
5145 (proc_set_traced_sysentry, proc_set_traced_sysexit)
5146 (proc_set_held_signals, proc_clear_current_fault)
5147 (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
5148 (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
5149 (proc_set_traced_sysentry): Dynamically allocate variable sized
5150 struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
5151 (proc_set_traced_sysexit): Dynamically allocate variable
5152 sized struct gdb_proc_ctl_pcsexit. Also, free it at
5153 function exit.
5154 (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
5155 for reading the sysset_t struct on AIX5.
5156 (procfs_debug_inferior): Don't assume that SYS_exit will be
5157 defined. Add new code for finding certain syscalls on AIX5.
5158 (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
5159 (syscall_is_lwp_create): New functions.
5160 (procfs_wait): Restructured code which checks for certain
5161 system calls to use the new syscall_is_... functions.
5162 (procfs_notice_signals): Account for the fact that saved_entryset
5163 and saved_exitset in struct procinfo are now pointers.
5164
25d53da1
KB
51652001-03-26 Kevin Buettner <[email protected]>
5166
5167 * symtab.c (find_pc_sect_line): Revise method used for finding
5168 the ending pc.
5169
50e27f84
MK
51702001-03-26 Mark Kettenis <[email protected]>
5171
5172 * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
5173 i386_linux_sigtramp_saved_sp): Make static.
5174 (i386_linux_frame_saved_pc): New function based on the old
5175 FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
5176 of read_memory_integer.
5177 * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
5178 (i386_linux_sigtramp_saved_pc): Remove prototype.
5179 (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
5180 (i386_linux_frame_saved_pc): New prototype.
5181
1a5cef06
AC
51822001-03-26 Andrew Cagney <[email protected]>
5183
5184 * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
5185 * TODO (GDB 5.1 - Cleanups): Update.
5186
af802127
AC
51872001-03-26 Andrew Cagney <[email protected]>
5188
5189 * fork-child.c (clone_and_follow_inferior): Delete #ifdef
5190 HAVE_VFORK.
5191
22f8ba57
MK
51922001-03-26 Mark Kettenis <[email protected]>
5193
5b31405b
MK
5194 * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
5195
22f8ba57
MK
5196 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
5197 functions.
5198 * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
5199 (STORE_STRUCT_RETURN): Redefine in terms of
5200 i386_store_struct_return.
5201 (i386_push_arguments, i386_store_struct_return): New prototypes.
5202 * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
5203 definition was identical to the definition in "i386/tm-i386.h" so
5204 the new definition should suffice too.
5205
49baf819 52062001-03-26 Eli Zaretskii <[email protected]>
4d277981 5207
b78a4f26
EZ
5208 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
5209 definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
5210
4d277981
EZ
5211 * config/djgpp/djconfig.sh: Add copyright notice.
5212
5213 * ser-go32.c (rawclock): Remove prototype; include time.h instead.
5214 (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
5215 (top level) <string.h>: Include gdb_string.h instead.
5216 (dos_noop, dos_raw, dos_noflush_set_tty_state)
5217 (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
5218
5219 * go32-nat.c (go32_create_inferior): Move the declaration of
5220 `environ' to here from the top level.
5221 (top level) <_initialize_go32_nat>: Remove redundant prototype.
5222 <gdb_string.h>: Include it instead of string.h.
5223 (store_register): Call register_buffer instead of accessing
5224 registers[] directly.
5225 (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
5226 (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
5227 the function names at the start of the line.
5228 (go32_set_dr): Throw internal_error if the argument is not a valid
5229 debug register number.
5230 (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
5231 (go32_wait, go32_xfer_memory, go32_files_info)
5232 (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
5233
8f3ee2ae
JB
52342001-03-25 Jim Blandy <[email protected]>
5235
5236 * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
5237
6ec4c4bd
EZ
52382001-03-25 Elena Zannoni <[email protected]>
5239
5240 From Andrew Cagney <[email protected]>
5241
5242 * coffread.c: Include "gdb_assert.h".
5243 (coff_symtab_read): Cast the integer s_sclass to a long before
5244 casting it to a pointer.
5245
b9179dbc
EZ
52462001-03-25 Elena Zannoni <[email protected]>
5247
5248 From Andrew Cagney <[email protected]>
5249
5250 * coffread.c (coff_symtab_read): Initialize
5251 ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
5252 the ``.ef'' info.
5253 * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
5254
64c4637f
AC
52552001-03-23 Andrew Cagney <[email protected]>
5256
5257 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
5258 GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
5259 multi-arch.
5260
5261 * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
5262 * gdbarch.h, gdbarch.c: Re-generate.
5263
5264 * target.h (SOFTWARE_SINGLE_STEP_P)
5265 (SOFTWARE_SINGLE_STEP): Delete macro definitions.
5266
61a0eb5b
AC
52672001-03-23 Andrew Cagney <[email protected]>
5268
5269 * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
5270 * gdbarch.h, gdbarch.c: Regenerate.
5271
5272 * regcache.h (regcache_read, regcache_write): Declare.
5273 (registers, register_valid, register_buffer): Add note that these
5274 interfaces are deprecated.
5275
5276 * regcache.c: Include "gdb_assert.h".
5277 (legacy_write_register_gen): Rename write_register_gen.
5278 (legacy_read_register_gen): Rename read_register_gen.
5279 (regcache_read, regcache_write): New function.
5280 (read_register_gen, write_register_gen): New function.
5281 (write_register): Simplify. Use write_register_gen.
5282 (read_register): Ditto using read_register_gen.
5283 (read_signed_register): Ditto.
5284 (read_register_bytes): Ditto!!!!
5285 (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
5286 replaced by gdbarch_register_read.
5287
5288 * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
5289 deprecate.
5290
c2bd2ed9
JB
52912001-03-23 Jim Blandy <[email protected]>
5292
f34754ee
JB
5293 Fix from Dan Berlin:
5294
c2bd2ed9
JB
5295 * stabsread.c (read_cpp_abbrev): Properly construct the names of
5296 virtual function table pointer fields.
5297
c0e61796
AC
52982001-03-19 Andrew Cagney <[email protected]>
5299
5300 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
5301 xmrealloc): Move existing declarations to the one place and
5302 re-order to be consistent.
5303 (xmcalloc, xmfree): Declare.
5304 (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
5305 declaration.
5306
5307 * utils.c (size_t): Delete #ifdef defining size_t.
5308 (mmalloc, mrealloc, mcalloc, mfree): Re-order.
5309 (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
5310 corresponding malloc, realloc, calloc.
5311 (mfree): Call free directly.
5312 (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
5313 (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
5314 function bodies to here.
5315 (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
5316
c65ecaf3
AC
53172001-03-23 Andrew Cagney <[email protected]>
5318
5319 * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
5320 ``shell_file'' static locals.
5321
5322 * jv-lang.c (java_link_class_type): Initialize ``field'' and
5323 ``method''.
5324
5325 * jv-valprint.c (java_value_print): Initialize ``next_element''.
5326
207e433e
MK
53272001-03-23 Mark Kettenis <[email protected]>
5328
5329 * config/i386/nm-i386.h: Fix formatting and change reference to
5330 i386-tdep.c to i386-nat.c.
5331
6c5cfe5b
DS
53322001-03-23 David Smith <[email protected]>
5333
5334 * configure.in: Corrected spelling errors.
5335 * configure: Regenerated.
5336
5300940c
AC
53372001-03-22 Andrew Cagney <[email protected]>
5338
5339 * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
5340
17e78a56
AC
53412001-03-22 Andrew Cagney <[email protected]>
5342
5343 * Makefile.in (NTSSTART): Delete.
5344 (NTSOBS): Delete.
5345 (kdb): Delete target.
5346 * kdb-start.c, stuff.c: Mark as obsolete.
5347 * NEWS: Update.
5348
41899c04
AC
53492001-03-22 Andrew Cagney <[email protected]>
5350
5351 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
5352 compiles using an ISO-C compiler.
5353 (MALLOC_INCOMPATIBLE): Ditto.
5354 * linespec.c (decode_line_1): Delete hack to work around
5355 HPPA_COMPILER_BUG.
5356
88665544
AC
53572001-03-22 Andrew Cagney <[email protected]>
5358
5359 * exec.c (xfer_memory): Always initialize section.
5360 * infrun.c (normal_stop): Always initialize source_flag.
5361
a2061976
AC
53622001-03-22 Andrew Cagney <[email protected]>
5363
5364 * TODO (Remote Protocol Support): Review. Add notes about ``!'',
5365 non-use of a continue address and typical use of ``q'' packet.
5366
e24d4c64
EZ
53672001-03-22 Eli Zaretskii <[email protected]>
5368
5369 Make DJGPP use the new unified support for hardware
5370 breakpoints and watchpoints on x86 targets:
5371
5372 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
5373 include nm-i386.h instead.
5374 (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
5375 (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
5376 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
5377 (target_stopped_data_address, target_insert_watchpoint)
5378 (target_remove_watchpoint, target_insert_hw_breakpoint)
5379 (target_remove_hw_breakpoint): Don't define.
5380 (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
5381 (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
5382 (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
5383 functions from go32-nat.c.
5384
5385 * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
5386
5387 * go32-nat.c <top level>: Remove prototypes for watchpoint-
5388 related functions. Remove definitions of watchpoint-related
5389 macros.
5390 (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
5391 private cleanup_dregs function.
5392 (cleanup_dregs, go32_insert_watchpoint)
5393 (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
5394 (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
5395 (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
5396 (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
5397 (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
5398
c26e1c2b
KB
53992001-03-21 Kevin Buettner <[email protected]>
5400
5401 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
5402 than two instead of generating an error.
5403
272ba48f
JB
54042001-03-21 Jim Blandy <[email protected]>
5405
5406 * cp-valprint.c: Reformat to bring into line with GNU coding
5407 standards.
5408
84346e11
MK
54092001-03-21 Mark Kettenis <[email protected]>
5410
5411 Make Linux use the new unified support for hardware breakpoints
5412 and watchpoints on x86 targets.
5413 * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
5414 [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
5415 (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
5416 appropriate value if not already defined.
5417 (register_u_addr): New function.
5418 (kernel_u_size): New function.
5419 (i386_linux_dr_get, i386_linux_dr_set): New functions.
5420 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
5421 i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
5422 * config/i386/nm-linux.h: Don't include "nm-i386v.h".
5423 (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
5424 (TARGET_HAS_HARDWARE_WATCHPOINTS,
5425 TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
5426 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
5427 target_remove_watchpoint): Remove macros.
5428 (i386_stopped_by_watchpoint, i386_insert_watchpoint,
5429 i386_remove_watchpoint): Remove prototypes.
5430 (register_u_addr): New prototype.
5431 (REGISTER_U_ADDR): Define in terms of register_u_addr.
5432 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
5433 i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
5434 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
5435 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
5436 * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
5437 i386-nat.o.
5438
13b57657
JB
54392001-03-21 Jim Blandy <[email protected]>
5440
f34754ee
JB
5441 Fix from Dan Berlin:
5442
13b57657
JB
5443 * linespec.c (find_methods): Whitespace differences aren't
5444 significant in *un*mangled method names. Use strcmp_iw to compare
f34754ee 5445 them, not STREQ.
13b57657 5446
eee30e78
AC
54472001-03-21 Andrew Cagney <[email protected]>
5448
5449 * gdbarch.sh: Allow a non- multi-arch target to override a
5450 predicate.
5451 * gdbarch.h: Regenerate.
5452
b77be6cf
AC
54532001-03-21 Andrew Cagney <[email protected]>
5454
5455 * gdbarch.sh: Avoid use of ``!''.
5456
379d08a1
AC
54572001-03-20 Andrew Cagney <[email protected]>
5458
5459 * target.h (enum target_signal): Move definition from here.
5460 * defs.h (enum target_signal): To here.
5461
5462 * config/arc/tm-arc.h (arc_software_single_step): Change type of
5463 first parameter to enum target_signal.
5464 * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
5465 * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
5466 * rs6000-tdep.c (rs6000_software_single_step): Update.
5467
64485362
AC
54682001-03-20 Andrew Cagney <[email protected]>
5469
5470 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
5471 already defined.
5472
5473 From 2000-08-25 Stephane Carrez <[email protected]>:
5474 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
5475 or a reference ('a') can be in a pseudo register.
5476 * infcmd.c (do_registers_info): Must take into account the pseudo
5477 registers to print their value.
5478 (registers_info): Likewise.
5479 * stack.c (frame_info): Likewise.
5480 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
5481
52b98211
EZ
54822001-03-21 Eli Zaretskii <[email protected]>
5483
5484 Unified support for hardware breakpoints and watchpoints on
5485 x86 targets:
5486
5487 * config/i386/nm-i386.h: New file.
5488
5489 * config/i386/nm-i386.h: (i386_cleanup_dregs)
5490 (i386_insert_watchpoint, i386_remove_watchpoint)
5491 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
5492 (i386_stopped_data_address, i386_insert_hw_breakpoint)
5493 (i386_remove_hw_breakpoint): Declare prototypes.
5494 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
5495 Define if not already defined.
5496 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
5497 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
5498 (target_insert_watchpoint, target_remove_watchpoint)
5499 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
5500 to call the appropriate i386_* functions.
5501
5502 * i386-nat.c: New file.
5503
5504 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
5505 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
5506 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
5507 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
5508 (maint_show_dr): New variables.
5509 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
5510 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
5511 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
5512 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
5513 (i386_stopped_data_address, i386_stopped_by_hwbp)
5514 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
5515 functions.
5516 (_initialize_i386_nat): New function.
5517 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
5518 `show-debug-regs', sets maint_show_dr to non-zero value and
5519 activates debugging print-outs in functions which insert, remove,
5520 and test watchpoints and hardware breakpoints.
5521
5522 * Makefile.in (i386-nat.o): New target.
5523 (ALLDEPFILES): Add i386-nat.o.
5524
28e9e0f0
MK
55252001-03-21 Mark Kettenis <[email protected]>
5526
5527 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
5528 appropriate comment.
5529
e40eccb4
KB
55302001-03-20 Kevin Buettner <[email protected]>
5531
5532 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
5533 thread-db.o, and lin-lwp.o for thread support instead of
5534 linux-thread.o and lin-thread.o.
5535 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
5536 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
5537 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
5538 (lin_lwp_attach_lwp): Declare.
5539
bea7bb93
JB
55402001-03-20 Jim Blandy <[email protected]>
5541
f34754ee
JB
5542 Fix from Dan Berlin:
5543
bea7bb93
JB
5544 * Makefile.in: Clean up dependencies on ../include/demangle.h.
5545 (demangle_h): New variable.
5546 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
5547
b0ed3589
AC
55482001-03-20 Andrew Cagney <[email protected]>
5549
5550 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
5551 * breakpoint.c (bpstat_stop_status): Update.
5552 * infrun.c (handle_inferior_event): Ditto.
5553 * mips-tdep.c (mips_dump_tdep): Ditto.
5554 * infrun.c (resume): Ditto.
5555 * infptrace.c (child_resume): Ditto.
5556 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5557 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5558 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5559 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5560 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5561 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5562 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5563
df087c62
AC
55642001-03-20 Andrew Cagney <[email protected]>
5565
5566 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
5567 with internal_error.
5568
8bd1f2c6
JB
55692001-03-20 Jim Blandy <[email protected]>
5570
f34754ee
JB
5571 Fix from Dan Berlin:
5572
8bd1f2c6
JB
5573 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
5574 than asking for sym_class's type; that's circuitous. Remove
5575 sym_class, since the last use of it is gone.
5576
c97fe386
EZ
55772001-03-20 Eli Zaretskii <[email protected]>
5578
5579 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
5580 Correct the order of calls to ui_out_field_string and
5581 ui_out_list_begin when bs->old_val is NULL.
5582
486363b6
KB
55832001-03-19 Kevin Buettner <[email protected]>
5584
5585 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
5586 * configure: Regenerate.
5587 * config.in: Regenerate.
5588 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
5589
087bb2e2
KB
55902001-03-19 Kevin Buettner <[email protected]>
5591
5592 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
5593 same line to avoid problems with Unixware 7's make when building
5594 a cross debugger.
5595
3c37485b
AC
55962001-03-19 Andrew Cagney <[email protected]>
5597
5598 * defs.h (malloc): Move declaration from here.
5599 * utils.c (malloc): To here.
5600 * config/pa/xm-hppah.h (malloc): Delete declaration.
5601
5602 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
5603 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
5604 (hpread_quick_traverse): Ditto.
5605 * infttrace.c (create_thread_info): Ditto.
5606 (kill_inferior): Ditto.
5607 * gnu-nat.c (make_inf): Ditto, and don't check return value.
5608 * procfs.c (proc_update_threads): Ditto.
5609 * valprint.c (print_decimal_chars): Ditto.
5610 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
5611 malloc and sprintf.
5612 * remote-rdp.c (rdp_set_command_line): Ditto.
5613
0e52036f
AC
56142001-03-19 Andrew Cagney <[email protected]>
5615
5616 * defs.h (realloc): Move declaration from here.
5617 * utils.c (realloc): To here.
5618 * config/pa/xm-hppah.h (realloc): Delete declaration.
5619 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
5620 * symfile.c (add_filename_language): Ditto.
5621 * event-loop.c (create_file_handler): Ditto.
5622
81b8eb80
AC
56232001-03-19 Andrew Cagney <[email protected]>
5624
5625 * defs.h (free): Move declaration from here.
5626 * utils.c (free): To here.
5627 (xfree): Document as the only call to free().
5628 * config/pa/xm-hppah.h (free): Delete declaration.
5629
8cca004a
KB
56302001-03-19 Kevin Buettner <[email protected]>
5631
5632 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
5633 this list.
5634
cf4eee44
AC
56352001-03-19 Andrew Cagney <[email protected]>
5636
5637 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
5638 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
5639 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
5640
1c5b31ef
AC
56412001-03-19 Andrew Cagney <[email protected]>
5642
5643 * TODO: List known problems with TUI.
5644
3a0c66d4
AC
56452001-03-19 Andrew Cagney <[email protected]>
5646
5647 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
5648 gdb.hp).
5649
ce359b09
AC
56502001-03-19 Andrew Cagney <[email protected]>
5651
5652 * remote.c (remote_cisco_section_offsets): Do not cast result from
5653 bfd_get_section_name.
5654 (compare_sections_command): Ditto.
5655 (remote_cisco_section_offsets): Make ``p'' a const pointer.
5656 (compare_sections_command): Ditto for ``sectname''.
5657
0b3f98d3
AC
56582001-03-19 Andrew Cagney <[email protected]>
5659
5660 From Mon Nov 20 13:59:29 2000 Andrew Cagney <[email protected]>:
5661 * valops.c (hand_function_call): Simplify computation of the
5662 address of the pushed argument.
5663
7451d027
AC
56642001-03-17 Andrew Cagney <[email protected]>
5665
5666 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
5667 Code copied from c-exp.y.
5668
fb70ab0c
KB
56692001-03-18 Kevin Buettner <[email protected]>
5670
5671 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
5672 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
5673 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
5674 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
5675 of the Solaris procfs testing section. Instead, group with...
5676 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
5677 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
5678 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
5679 * configure: Regenerate.
5680 * config.in: Regenerate.
5681
5682 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
5683 new configure macros to choose which (if any) code to
5684 compile in. Added code to explicitly handle *BSD systems;
5685 these systems were previously handled only through macro
5686 redefinition. Also, due to the way the autoconf tests are set
5687 up, this function will no longer return a non-zero value when
5688 GDB is configured as a cross debugger. I.e, cross debuggers
5689 will no longer be able to "accidentally" get the host system's
5690 link map offsets.
5691
8aa16b78
KB
56922001-03-18 Kevin Buettner <[email protected]>
5693
5694 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
5695 line to avoid build problem on NetBSD 1.4.
5696
559e75c0
MC
56972001-03-17 Michael Chastain <[email protected]>
5698
5699 * win32-nat.c (child_attach): check args for NULL before passing
5700 to strtoul. This fixes PR gdb/43.
5701
fc338970
MK
57022001-03-17 Mark Kettenis <[email protected]>
5703
7daede3b
MK
5704 * i387-nat.h: Doc Fix.
5705
fc338970
MK
5706 * i386-tdep.c: Fix formatting.
5707 (i386_get_frame_setup, i386_follow_jump, codestream_read,
5708 codestream_seek, codestream_fill, skip_trampoline_code,
5709 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
5710 prototypoes.
5711
e3c6d36d
MK
57122001-03-17 Mark Kettenis <[email protected]>
5713
5714 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
5715 no longer used. Also remove associated FIXME.
5716
4a5c6a1d
AC
57172001-03-16 Andrew Cagney <[email protected]>
5718
5719 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
5720 not generate macro wrappers for multi-arch functions or
5721 predicates.
5722 (class_is_info_p, class_is_predicate_p): Update.
5723 (class_is_function_p, class_is_variable_p): Ditto.
5724 (class_is_multiarch_p): New class function.
5725
7256e1a5
C
57262001-03-16 J.T. Conklin <[email protected]>
5727
5728 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
5729 h8300_frame_args_address from frame_args_address.
5730 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
5731 from frame_locals_address.
5732 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
5733 from print_register_hook.
5734 (h8300_frame_args_address): Declare.
5735 (h8300_frame_find_saved_regs): Declare.
5736 (h8300_frame_locals_address): Declare.
5737 (h8300_frame_saved_pc): Declare.
5738 (h8300_pop_frame): Declare.
5739 (h8300_print_register_hook): Declare.
5740 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
5741 (h8300_frame_args_address): Renamed from frame_args_address.
5742 (h8300_frame_locals_address): Renamed from frame_locals_address.
5743 (h8300_pop_frame): Renamed from pop_frame.
5744 (h8300_print_register_hook): Renamed from print_register_hook.
5745
435b259c
KB
57462001-03-16 Kevin Buettner <[email protected]>
5747
5748 * solib-svr4.c (bfd_lookup_symbol): Change type of
5749 ``storage_needed'' from unsigned int to long in order to
5750 match return type of bfd_get_symtab_upper_bound() and
5751 bfd_get_dynamic_symtab_upper_bound().
5752 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
5753 REASONABLE_LIMIT hack which had been added to work around this
5754 problem.
5755
80117be2
KB
57562001-03-15 Kevin Buettner <[email protected]>
5757
5758 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
5759 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
5760 to free() with calls to xfree().
5761 (bfd_lookup_symbol): Eliminate use of PTR.
5762 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
5763
77cd5909
MH
57642001-03-15 Martin Hunt <[email protected]>
5765
5766 * linespec.c (decode_line_1): Remove trailing quote
5767 when parsing double quotes.
5768
f7f5a202
KB
57692001-03-15 Kevin Buettner <[email protected]>
5770
5771 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
5772 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
5773 argument in the to_xfer_memory calls.
5774
0d35ddba
AC
57752001-03-15 Andrew Cagney <[email protected]>
5776
5777 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
5778 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
5779
043780a1
AC
57802001-03-15 Andrew Cagney <[email protected]>
5781
5782 * wince.c (child_xfer_memory): Add attrib parameter.
5783 * symm-nat.c (child_xfer_memory): Ditto.
5784 * mac-nat.c (child_xfer_memory): Ditto.
5785 * infttrace.c (child_xfer_memory): Ditto.
5786 * procfs.c (procfs_xfer_memory): Ditto.
5787 * lin-thread.c (thread_db_xfer_memory): Ditto.
5788 * gnu-nat.c (gnu_xfer_memory): Ditto.
5789
9b9c068d
AC
57902001-03-14 Andrew Cagney <[email protected]>
5791
5792 * NEWS: Mention that Harris/CXUX m88k is obsolete.
5793
f88e2c52
AC
57942001-03-13 Andrew Cagney <[email protected]>
5795
5796 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
5797 to regcache functions.
5798 * config/m68k/tm-m68k.h: Ditto.
5799 * config/i386/tm-i386v.h: Ditto.
5800 * config/mcore/tm-mcore.h: Ditto.
5801 * config/m88k/tm-m88k.h: Ditto.
5802 * config/m68k/tm-news.h: Ditto.
5803 * config/m68k/tm-linux.h: Ditto.
5804 * config/m68k/tm-delta68.h: Ditto.
5805 * config/m68k/nm-sun3.h: Ditto.
5806 * config/m32r/tm-m32r.h: Ditto.
5807 * config/i386/tm-symmetry.h: Ditto.
5808 * config/i386/tm-sun386.h: Ditto.
5809 * config/i386/tm-i386.h: Ditto.
5810 * config/i386/nm-symmetry.h: Ditto.
5811 * config/i386/nm-sun386.h: Ditto.
5812 * config/i386/nm-ptx4.h: Ditto.
5813 * config/i386/nm-i386mach.h: Ditto.
5814 * config/h8500/tm-h8500.h: Ditto.
5815 * config/h8300/tm-h8300.h: Ditto.
5816 * config/fr30/tm-fr30.h: Ditto.
5817 * config/d30v/tm-d30v.h: Ditto.
5818 * config/arm/tm-arm.h: Ditto.
5819 * config/arc/tm-arc.h: Ditto.
5820 * config/alpha/tm-alpha.h: Ditto.
5821 * config/a29k/tm-vx29k.h: Ditto.
5822 * config/a29k/tm-a29k.h: Ditto.
5823 * config/w65/tm-w65.h: Ditto.
5824 * config/vax/tm-vax.h: Ditto.
5825 * config/v850/tm-v850.h: Ditto.
5826 * config/tic80/tm-tic80.h: Ditto.
5827 * config/sparc/tm-sparclite.h: Ditto.
5828 * config/sparc/tm-sparclet.h: Ditto.
5829 * config/sparc/tm-sparc.h: Ditto.
5830 * config/sparc/nm-sun4sol2.h: Ditto.
5831 * config/sparc/nm-sun4os4.h: Ditto.
5832 * config/sparc/nm-nbsd.h: Ditto.
5833 * config/powerpc/nm-solaris.h: Ditto.
5834 * config/pa/tm-hppao.h: Ditto.
5835 * config/pa/tm-hppa.h: Ditto.
5836 * config/pa/nm-hppab.h: Ditto.
5837 * config/ns32k/tm-umax.h: Ditto.
5838 * config/ns32k/tm-merlin.h: Ditto.
5839 * config/nm-m3.h: Ditto.
5840 * config/nm-gnu.h: Ditto.
5841
0981ead9
AC
58422001-03-14 Andrew Cagney <[email protected]>
5843
5844 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
5845 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
5846 Specify an m88k target. Include sample GAWK script to generate
5847 target list. Delete non-existant romp target.
5848 * TODO (GDB 5.1 - Cleanups): Update.
5849
91c1720e
KS
58502001-03-14 Keith Seitz <[email protected]>
5851
5852 * linespec.c (decode_line_1): Skip argptr over a leading
5853 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
5854
3cc122b3
KB
58552001-03-14 Kevin Buettner <[email protected]>
5856
5857 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
5858
5bb367b1
AC
58592001-03-13 Andrew Cagney <[email protected]>
5860
5861 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
5862 * m3-nat.c: Ditto.
5863 * p-lang.h: Ditto.
5864 * printcmd.c (printf_command): Ditto.
5865 * ch-exp.c (match_integer_literal): Ditto.
5866 * scm-tags.h: Ditto.
5867 * ser-go32.c: Ditto.
5868 * hppa-tdep.c (unwind_command): Ditto.
5869 * defs.h (volatile): Delete macro definition. Assume __STDC__.
5870 * remote-adapt.c (volatile): Ditto.
5871 * remote-eb.c (volatile): Ditto.
5872 * remote-mm.c (volatile): Ditto.
5873 * defs.h (alloca): Assume __STDC__, declare returning void *.
5874
a728f042
AC
58752001-03-08 Andrew Cagney <[email protected]>
5876
5877 * inferior.h (ARCH_NUM_REGS): Delete definition.
5878 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
5879 * regcache.c (registers_changed): Ditto.
5880 (registers_fetched): Ditto.
5881 * infptrace.c (fetch_inferior_registers): Ditto.
5882 (store_inferior_registers): Ditto.
5883 * infcmd.c (do_registers_info): Ditto.
5884 (registers_info): Ditto.
5885 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
5886 (old_store_inferior_registers): Ditto.
5887 * gdbserver/low-linux.c (register_addr): Ditto.
5888 * gdbserver/low-hppabsd.c (register_addr): Ditto.
5889 * core-aout.c: Don't include "inferior.h".
5890 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
5891 (register_addr): Ditto.
5892
f48ff60a
FN
58932001-03-13 Fernando Nasser <[email protected]>
5894
5895 From Steven Johnson <[email protected]>
5896 * cli/cli-script.c (define_command): Fix setting of post hooks.
5897
305d65ca
MK
58982001-03-13 Mark Kettenis <[email protected]>
5899
5900 * i386-linux-tdep.c: Fix formatting and clarify comments.
5901 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
5902 where appropriate.
5903
bf62e5b4
AC
59042001-03-12 Andrew Cagney <[email protected]>
5905
5906 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
5907 (proc_update_sc): Use gdb_assert instead of assert.
5908 (proc_abort): Ditto.
5909 (inf_set_step_thread): Ditto.
5910 (gnu_wait): Ditto.
5911 (S_exception_raise_request): Ditto.
5912 (gnu_terminal_init_inferior): Ditto.
5913
21479ded
KB
59142001-03-09 Kevin Buettner <[email protected]>
5915
5916 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
5917 (solib-legacy.o): New makefile target.
5918 * solib-legacy.c: New file.
5919 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
5920 (default_svr4_fetch_link_map_offsets): Delete.
5921 (set_solib_svr4_fetch_link_map_offsets): Declare.
5922 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
5923 * solib-svr4.c (elf/common.h): Include.
5924 (link.h): Only include for SunOS shared library support.
5925 (_SYSCALL32): Don't define.
5926 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
5927 (default_svr4_fetch_link_map_offsets): Made static; added forward
5928 declaration.
5929 (fetch_link_map_offsets): New static global.
5930 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
5931 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
5932 of what used to be in this function now reside in
5933 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
5934 (open_symbol_file_object): Fix declaration in SunOS section
5935 of the code.
5936 (set_solib_svr4_fetch_link_map_offsets): New extern function.
5937 (init_fetch_link_map_offsets): New static function.
5938 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
5939 under multiarch control.
5940
5941 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
5942 list.
5943 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
5944 * config/arm/linux.mt (TDEPFILES): Likewise.
5945 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5946 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
5947 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
5948 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
5949 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
5950 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
5951 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
5952 * config/i386/linux.mt (TDEPFILES): Likewise.
5953 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
5954 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
5955 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
5956 * config/i386/ptx4.mh (XDEPFILES): Likewise.
5957 * config/i386/sun386.mt (TDEPFILES): Likewise.
5958 * config/ia64/linux.mt (TDEPFILES): Likewise.
5959 * config/m68k/linux.mt (TDEPFILES): Likewise.
5960 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
5961 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
5962 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
5963 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
5964 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
5965 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
5966 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
5967 * config/powerpc/linux.mt (TDEPFILES): Likewise.
5968 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
5969 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
5970 * config/sh/linux.mt (TDEPFILES): Likewise.
5971 * config/sparc/linux.mt (TDEPFILES): Likewise.
5972 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
5973 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
5974 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
5975 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
5976 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
5977
d7fa9de0
KB
59782001-03-09 Kevin Buettner <[email protected]>
5979
5980 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
5981
f8241bd1
AC
59822001-03-09 Andrew Cagney <[email protected]>
5983
5984 * MAINTAINERS (Write After Approval): Update Philip Blundell.
5985
e6b4b0c2
KS
59862001-03-09 Keith Seitz <[email protected]>
5987
5988 * MAINTAINERS: Add myself to write after approval list.
5989
96836138
MK
59902001-03-09 Mark Kettenis <[email protected]>
5991
5992 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
5993 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
5994
1b594327
AC
59952001-03-08 Andrew Cagney <[email protected]>
5996
5997 * configure.host (m88*-harris-cxux*): Mark as obsolete.
5998 * configure.tgt: Ditto.
5999 * config/m88k/xm-cxux.h: Ditto.
6000 * config/m88k/tm-cxux.h: Ditto.
6001 * config/m88k/nm-cxux.h: Ditto.
6002 * config/m88k/cxux.mt: Ditto.
6003 * config/m88k/cxux.mh: Ditto.
6004
4a32a1e4
AC
60052001-03-08 Andrew Cagney <[email protected]>
6006
6007 * Makefile.in: Delete rules for obsolete files.
6008
ec9a3449
DT
6009Thu Mar 8 15:43:40 2001 David Taylor <[email protected]>
6010
6011 * stack.c (parse_frame_specification): For one argument case,
6012 handle the situation where the argument is an integer, not an
6013 address -- arguably the most common case. This matters on
6014 targets where pointers and addresses are different.
6015
a50c34dc
AC
60162001-03-08 Andrew Cagney <[email protected]>
6017
6018 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
6019 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
6020 general.
6021
cfc046cf
AC
60222001-03-07 Andrew Cagney <[email protected]>
6023
6024 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
6025 with SID on Solaris 8.
6026
39424bef
MK
60272001-03-07 Mark Kettenis <[email protected]>
6028
6029 * defs.h: Provide prototypes for floatformat_is_negative,
6030 floatformat_is_nan and floatformat_mantissa.
6031 * utils.c: Include "gdb_assert.h".
6032 (floatformat_is_negative): New function.
6033 (floatformat_is_nan): New function.
6034 (floatformat_mantissa): New function.
6035 * valprint.c: Include "floatformat.h".
6036 (print_floating): Get rid of the Linux-specific
6037 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
6038 help these new functions. Print NaN's in a format conforming to
6039 ISO C99.
6040
7a1bd56a
EZ
60412001-03-07 Eli Zaretskii <[email protected]>
6042
6043 * top.c (init_main): Make `set history file name' complete on file
6044 names.
6045
5565b556
C
60462001-03-06 J.T. Conklin <[email protected]>
6047
21a12a30
C
6048 * Makefile.in (LINTFLAGS): Update to contain all of the macros
6049 which define include paths used when compiling.
6050
6051 * util.c (savestring, msavestring): Change type of length argument.
6052 * defs.h (savestring, msavestring): Update to match.
6053
5565b556
C
6054 * symtab.h (decode_line_1): Removed declaration.
6055
6056 * symfile.c (#include <assert.h>): Removed.
6057
6058 * arch-utils.c (#include <ctype.h>): Removed.
6059 * c-typeprint.c: Likewise.
6060 * dbxread.c: Likewise.
6061 * gdbtypes.c: Likewise.
6062 * target.c: Likewise.
6063 * os9kread.c: Likewise.
6064
6065 * c-valprint.c (#include "demangle.h"): Removed.
6066 * ch-typeprint.c: Likewise.
6067 * eval.c: Likewise.
6068 * f-typeprint.c: Likewise.
6069 * f-valprint.c: Likewise.
6070 * m2-typeprint.c: Likewise.
6071 * typeprint.c: Likewise.
6072 * p-typeprint.c: Likewise.
6073 * valarith.c: Likewise.
6074 * valprint.c: Likewise.
6075
6076 * m2-typeprint.c (#include "gdb_string.h"): Removed.
6077 * nlmread.c: Likewise.
6078
6079 * mdebugread.c (#include "gdb-stabs.h"): Removed.
6080 * minsyms.c: Likewise.
6081 * mipsread.c: Likewise.
6082 * nlmread.c: Likewise.
6083
6084 * m2-typeprint.c (#include "obstack.h"): Removed.
6085 * m2-valprint.c: Likewise.
6086
6087 * event-loop.c (#include <setjmp.h>): Removed.
6088
e8be95ae
SS
60892001-03-06 Stan Shebs <[email protected]>
6090
6091 * MAINTAINERS: Remove self from specific maintenance domains
6092 (macos, gdbserver, documentation, testsuite).
6093
b6ba6518
KB
60942001-03-06 Kevin Buettner <[email protected]>
6095
6096 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
6097 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
6098 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
6099 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
6100 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
6101 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
6102 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
6103 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
6104 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
6105 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
6106 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
6107 coff-solib.h, coffread.c, command.h, complaints.c,
6108 complaints.h, completer.c, completer.h,
6109 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
6110 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
6111 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
6112 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
6113 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
6114 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
6115 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
6116 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
6117 config/arm/nm-linux.h, config/arm/tm-arm.h,
6118 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
6119 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
6120 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
6121 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
6122 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
6123 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
6124 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
6125 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
6126 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
6127 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
6128 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
6129 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
6130 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
6131 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
6132 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
6133 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
6134 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
6135 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
6136 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
6137 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
6138 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
6139 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
6140 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
6141 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
6142 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
6143 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
6144 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
6145 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
6146 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
6147 config/i960/tm-i960.h, config/i960/tm-mon960.h,
6148 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
6149 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
6150 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
6151 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
6152 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
6153 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
6154 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
6155 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
6156 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
6157 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
6158 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
6159 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
6160 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
6161 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
6162 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
6163 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
6164 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
6165 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
6166 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
6167 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
6168 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
6169 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
6170 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
6171 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
6172 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
6173 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
6174 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
6175 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
6176 config/mips/nm-irix5.h, config/mips/nm-mips.h,
6177 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
6178 config/mips/tm-embed.h, config/mips/tm-embed64.h,
6179 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
6180 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
6181 config/mips/tm-mips.h, config/mips/tm-mips64.h,
6182 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
6183 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
6184 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
6185 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
6186 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
6187 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
6188 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
6189 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
6190 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
6191 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
6192 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
6193 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
6194 config/nm-sysv4.h, config/none/nm-none.h,
6195 config/none/tm-none.h, config/none/xm-none.h,
6196 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
6197 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
6198 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
6199 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
6200 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
6201 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
6202 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
6203 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
6204 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
6205 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
6206 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
6207 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
6208 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
6209 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
6210 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
6211 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
6212 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
6213 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
6214 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
6215 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
6216 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
6217 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
6218 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
6219 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
6220 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
6221 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
6222 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
6223 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
6224 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
6225 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
6226 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
6227 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
6228 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
6229 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
6230 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
6231 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
6232 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
6233 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
6234 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
6235 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
6236 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
6237 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
6238 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
6239 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
6240 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
6241 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
6242 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
6243 gdbserver/low-sim.c, gdbserver/low-sparc.c,
6244 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
6245 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
6246 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
6247 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
6248 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
6249 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
6250 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
6251 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
6252 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
6253 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
6254 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
6255 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
6256 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
6257 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
6258 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
6259 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
6260 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
6261 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
6262 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
6263 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
6264 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
6265 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
6266 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
6267 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
6268 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
6269 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
6270 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
6271 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
6272 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
6273 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
6274 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
6275 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
6276 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
6277 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
6278 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
6279 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
6280 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
6281 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
6282 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
6283 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
6284 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
6285 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
6286 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
6287 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
6288 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
6289 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
6290 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
6291 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
6292 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
6293 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
6294 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
6295 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
6296 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
6297 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
6298 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
6299 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
6300 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
6301 notices.
6302
596c9d4b
KB
63032001-03-05 Kevin Buettner <[email protected]>
6304
6305 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
6306 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
6307 macros.
6308 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
6309 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
6310 (sys/fault.h, sys/select.h): Test for presence of these
6311 header files.
6312 (ia64-*-aix*): Define NEW_PROC_API for this host.
6313 * configure: Regenerate.
6314 * config.in: Regenerate.
6315
6316 * configure.host (ia64-*-aix*): New host.
6317 * configure.tgt (ia64-*-aix*): New target.
8a5c92d3 6318
eccbb20d
AC
63192001-03-05 Andrew Cagney <[email protected]>
6320
6321 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
6322
9ff2efe5
CF
6323Mon Mar 5 11:56:09 2001 Christopher Faylor <[email protected]>
6324
6325 * wince.c: Change realloc to xrealloc throughout.
61e2d1f3 6326 (handle_load_dll): Use void * rather than PTR in argument.
9ff2efe5 6327
58841d58
AC
63282001-03-04 Andrew Cagney <[email protected]>
6329
6330 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
6331 * ocd.c (ocd_xfer_memory): Ditto.
6332 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
6333 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
6334 buildable with ,-Werror.
6335
6336 * Makefile.in (symfile_h): Define.
6337 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
6338 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
6339 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
6340 ,-Werror.
6341
6342 * dsrec.c (make_srec): Fix internal_error fmt arg.
6343 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
6344
3cad1ac9
KB
63452001-03-03 Kevin Buettner <[email protected]>
6346
6347 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
6348 as an lvalue.
6349
b9fa2e73
AC
63502001-03-02 Andrew Cagney <[email protected]>
6351
130c39e6
AC
6352 * MAINTAINERS (paper trail): Update.
6353
b9fa2e73
AC
6354 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
6355
c53efe6e
AC
63562001-03-02 Andrew Cagney <[email protected]>
6357
6358 From 2001-03-01 Tom Rix <[email protected]>:
6359 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
6360 parameter to mn10200_analyze_prologue.
6361
6362 * config/mn10200/tm-mn10200.h: Include "regcache.h".
6363 * MAINTAINERS: Document that mn10200-elf target is buildable.
6364
52b5c2eb
KB
63652001-03-02 Kevin Buettner <[email protected]>
6366
6367 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
6368 from here...
6369 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
6370 (MONTEREY): Don't define.
6371 (AIX5): Define.
6372
2edb46b1
MH
63732001-03-02 Matt Hiller <[email protected]>
6374
6375 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
6376
92c71a3e
KB
63772001-03-02 Kevin Buettner <[email protected]>
6378
82a2886f 6379 * sparc-nat.c (sparc-nat.c): Don't include self.
92c71a3e 6380
e2a4c6c1
C
63812001-03-01 J.T. Conklin <[email protected]>
6382
3a644c8d
C
6383 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
6384 if __CYGWIN32__ is set from here.
6385 * config/i386/xm-cygwin.h: To here.
6386 * config/powerpc/xm-cygwin.h: To here.
6387
e2a4c6c1
C
6388 * i386-stub.c (handle_exception): Use 'T' response packet.
6389
4b33390a
MS
63902001-03-01 Michael Snyder <[email protected]>
6391
6392 * m32r-tdep.c: Fix cut and paste error in comment.
6393
63942001-02-28 Michael Snyder <[email protected]>
6395
6396 * symtab.c (print_msymbol_info): Print addresses by portable method
6397 longest_local_hex_string_custom. Allow for 64-bit addresses.
6398
ba41d549
C
63992001-03-01 J.T. Conklin <[email protected]>
6400
6401 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
6402 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
6403 (MIN_OF_TYPE): Likewise.
6404
6405 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
6406
088d891f
AC
64072001-03-01 Andrew Cagney <[email protected]>
6408
6409 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
6410 * os9kread.c (os9k_process_one_symbol): Add assert to detect
6411 ``loses if sizeof (char *) > sizeof (int)''.
6412
38266776
AC
64132001-03-01 Andrew Cagney <[email protected]>
6414
6415 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
6416
2ad43c4f
AC
64172001-03-01 Andrew Cagney <[email protected]>
6418
6419 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
6420 lists.
6421 (mi-main.o): Ditto.
6422
367e21d8
AC
64232001-03-01 Andrew Cagney <[email protected]>
6424
6425 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
6426 dependency lists.
6427
d85310f7
MS
64282001-02-28 Michael Snyder <[email protected]>
6429
c0d8fd9a
MS
6430 * printcmd.c (print_address_numeric): Update comments to refer
6431 to sizeof addr, not sizeof pointer.
6432 (x_command): Remove needless whitespace (shorten long line).
6433
d85310f7
MS
6434 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
6435 (read_memory_nobpt): Ditto.
6436 (ep_is_catchpoint): Ditto.
6437 (ep_is_shlib_catchpoint): Ditto.
6438 (ep_is_exception_catchpoint): Ditto.
6439 (describe_other_breakpoints): Ditto.
6440
97900206
AC
6441Wed Feb 28 20:37:36 2001 Andrew Cagney <[email protected]>
6442
6443 * regcache.h (register_valid): Fix comment documenting valid
6444 states.
6445
4e052eda
AC
6446Tue Feb 27 23:56:23 2001 Andrew Cagney <[email protected]>
6447
6448 From Steven Johnson:
6449 * regcache.h: New file.
6450
6451 * value.h (read_register_bytes, read_register_gen)
6452 (write_register_gen, write_register_bytes)
6453 (read_register, read_register_pid)
6454 (read_signed_register, read_signed_register_pid)
6455 (write_register, write_register_pid)
6456 (register_cached, set_register_cached)
6457 (register_changed, register_buffer)
6458 (registers_changed, supply_register): Move declaration from here.
6459 * regcache.h: To here.
6460 * gdbcore.h (registers_fetched): Ditto.
6461 * inferior.h (registers, registers_valid): Ditto.
6462
6463 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
6464 generic_target_write_pc, write_pc_pid, write_pc,
6465 generic_target_read_sp, read_sp, generic_target_write_sp,
6466 write_sp, generic_target_read_fp, read_fp,
6467 generic_target_write_fp, write_fp): Add note that these functions
6468 will be moved from this file.
6469
6470 * a29k-tdep.c: Include "regcache.h".
6471 * a68v-nat.c: Ditto.
6472 * abug-rom.c: Ditto.
6473 * alpha-nat.c: Ditto.
6474 * alpha-tdep.c: Ditto.
6475 * alphabsd-nat.c: Ditto.
6476 * arc-tdep.c: Ditto.
6477 * arm-linux-nat.c: Ditto.
6478 * arm-linux-tdep.c: Ditto.
6479 * arm-tdep.c: Ditto.
6480 * blockframe.c: Ditto.
6481 * core-aout.c: Ditto.
6482 * core-sol2.c: Ditto.
6483 * corelow.c: Ditto.
6484 * cpu32bug-rom.c: Ditto.
6485 * cxux-nat.c: Ditto.
6486 * d10v-tdep.c: Ditto.
6487 * d30v-tdep.c: Ditto.
6488 * dbug-rom.c: Ditto.
6489 * dink32-rom.c: Ditto.
6490 * dve3900-rom.c: Ditto.
6491 * findvar.c: Ditto.
6492 * fr30-tdep.c: Ditto.
6493 * frame.c: Ditto.
6494 * go32-nat.c: Ditto.
6495 * h8300-tdep.c: Ditto.
6496 * h8500-tdep.c: Ditto.
6497 * hp300ux-nat.c: Ditto.
6498 * hppa-tdep.c: Ditto.
6499 * hppab-nat.c: Ditto.
6500 * hppah-nat.c: Ditto.
6501 * hppam3-nat.c: Ditto.
6502 * hpux-thread.c: Ditto.
6503 * i386-linux-nat.c: Ditto.
6504 * i386-linux-tdep.c: Ditto.
6505 * i386-tdep.c: Ditto.
6506 * i386aix-nat.c: Ditto.
6507 * i386b-nat.c: Ditto.
6508 * i386bsd-nat.c: Ditto.
6509 * i386gnu-nat.c: Ditto.
6510 * i386ly-tdep.c: Ditto.
6511 * i386m3-nat.c: Ditto.
6512 * i386mach-nat.c: Ditto.
6513 * i386nbsd-nat.c: Ditto.
6514 * i386v4-nat.c: Ditto.
6515 * i387-nat.c: Ditto.
6516 * i387-tdep.c: Ditto.
6517 * i960-tdep.c: Ditto.
6518 * ia64-aix-nat.c: Ditto.
6519 * ia64-linux-nat.c: Ditto.
6520 * ia64-tdep.c: Ditto.
6521 * infptrace.c: Ditto.
6522 * infrun.c: Ditto.
6523 * irix4-nat.c: Ditto.
6524 * irix5-nat.c: Ditto.
6525 * lin-lwp.c: Ditto.
6526 * lin-thread.c: Ditto.
6527 * lynx-nat.c: Ditto.
6528 * m3-nat.c: Ditto.
6529 * m32r-rom.c: Ditto.
6530 * m32r-tdep.c: Ditto.
6531 * m68hc11-tdep.c: Ditto.
6532 * m68k-tdep.c: Ditto.
6533 * m68klinux-nat.c: Ditto.
6534 * m68knbsd-nat.c: Ditto.
6535 * m68knbsd-tdep.c: Ditto.
6536 * m88k-nat.c: Ditto.
6537 * m88k-tdep.c: Ditto.
6538 * mac-nat.c: Ditto.
6539 * mcore-rom.c: Ditto.
6540 * mcore-tdep.c: Ditto.
6541 * mi/mi-main.c: Ditto.
6542 * mips-nat.c: Ditto.
6543 * mips-tdep.c: Ditto.
6544 * mipsm3-nat.c: Ditto.
6545 * mipsv4-nat.c: Ditto.
6546 * mn10200-tdep.c: Ditto.
6547 * mn10300-tdep.c: Ditto.
6548 * monitor.c: Ditto.
6549 * ns32km3-nat.c: Ditto.
6550 * ns32knbsd-nat.c: Ditto.
6551 * ocd.c: Ditto.
6552 * pa64solib.c: Ditto.
6553 * ppc-bdm.c: Ditto.
6554 * ppc-linux-nat.c: Ditto.
6555 * ppc-linux-tdep.c: Ditto.
6556 * ppcbug-rom.c: Ditto.
6557 * ppcnbsd-nat.c: Ditto.
6558 * ptx4-nat.c: Ditto.
6559 * regcache.c: Ditto.
6560 * remote-adapt.c: Ditto.
6561 * remote-array.c: Ditto.
6562 * remote-bug.c: Ditto.
6563 * remote-e7000.c: Ditto.
6564 * remote-eb.c: Ditto.
6565 * remote-es.c: Ditto.
6566 * remote-est.c: Ditto.
6567 * remote-hms.c: Ditto.
6568 * remote-mips.c: Ditto.
6569 * remote-mm.c: Ditto.
6570 * remote-nindy.c: Ditto.
6571 * remote-os9k.c: Ditto.
6572 * remote-rdi.c: Ditto.
6573 * remote-rdp.c: Ditto.
6574 * remote-sds.c: Ditto.
6575 * remote-sim.c: Ditto.
6576 * remote-st.c: Ditto.
6577 * remote-udi.c: Ditto.
6578 * remote-utils.c: Ditto.
6579 * remote-vx.c: Ditto.
6580 * remote-vx29k.c: Ditto.
6581 * remote-vx68.c: Ditto.
6582 * remote-vx960.c: Ditto.
6583 * remote-vxmips.c: Ditto.
6584 * remote-vxsparc.c: Ditto.
6585 * remote.c: Ditto.
6586 * rom68k-rom.c: Ditto.
6587 * rs6000-nat.c: Ditto.
6588 * rs6000-tdep.c: Ditto.
6589 * sh-tdep.c: Ditto.
6590 * sh3-rom.c: Ditto.
6591 * sol-thread.c: Ditto.
6592 * solib-svr4.c: Ditto.
6593 * somsolib.c: Ditto.
6594 * sparc-nat.c: Ditto.
6595 * sparc-tdep.c: Ditto.
6596 * sparcl-tdep.c: Ditto.
6597 * sparclet-rom.c: Ditto.
6598 * sun3-nat.c: Ditto.
6599 * sun386-nat.c: Ditto.
6600 * symm-nat.c: Ditto.
6601 * target.c: Ditto.
6602 * thread-db.c: Ditto.
6603 * thread.c: Ditto.
6604 * tic80-tdep.c: Ditto.
6605 * tracepoint.c: Ditto.
6606 * ultra3-nat.c: Ditto.
6607 * umax-xdep.c: Ditto.
6608 * uw-thread.c: Ditto.
6609 * v850-tdep.c: Ditto.
6610 * v850ice.c: Ditto.
6611 * valops.c: Ditto.
6612 * w65-tdep.c: Ditto.
6613 * w89k-rom.c: Ditto.
6614 * win32-nat.c: Ditto.
6615 * wince.c: Ditto.
6616 * z8k-tdep.c: Ditto.
6617
07d48ebc
MH
66182001-02-28 Matt Hiller <[email protected]>
6619
6620 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
6621
2edb46b1
MH
66222001-02-27 Matt Hiller <[email protected]>
6623
6624 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
6625 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
6626 mn10300_stab_reg_to_regnum.
6627
993f3aa5
DT
6628Tue Feb 27 16:56:13 2001 David Taylor <[email protected]>
6629
6630 * symtab.c (search_symbols): Fix off by one error in test for
6631 error.
6632
86168def
AC
66332001-02-23 Andrew Cagney <[email protected]>
6634
6635 * config/sparc/sp64linux.mt: New file.
6636 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
6637 * configure.host: Recognize sparc64-*-linux* as a linux host.
6638
6639 From 2000-03-17 Jakub Jelinek <[email protected]>:
6640 * config/sparc/tm-sp64linux.h: New file.
6641
e1e9e218
KB
66422001-02-24 Kevin Buettner <[email protected]>
6643
6644 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
6645 with call to internal_error().
6646 * dbxread.c (process_one_symbol): Likewise.
6647 * exec.c (build_section_table, xfer_memory): Likewise.
6648 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
6649 Likewise.
6650 * hpread.c (hpread_type_translate, hpread_read_array_type)
6651 (hpread_type_lookup): Likewise.
6652 * i386-tdep.c (gdb_print_insn_i386): Likewise.
6653 * i960-tdep.c (mem): Likewise
6654 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
6655 * infptrace.c (child_resume): Likewise.
6656 * infttrace.c (_initialize_infttrace): Likewise.
6657 * language.c (binop_result_type, add_language): Likewise.
6658 * lynx-nat.c (store_inferior_registers): Likewise.
6659 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
6660 * mdebugread.c (parse_partial_symbols): Likewise.
6661 * monitor.c (monitor_printf_noecho, monitor_printf)
6662 (monitor_dump_regs): Likewise.
6663 * ocd.c (stu_put_packet): Likewise.
6664 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
6665 * remote-bug.c (bug_open): Likewise.
6666 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
6667 * remote-es.c (es1800_read_bytes): Likewise.
6668 * remote-mips.c (common_breakpoint): Likewise.
6669 * remote-rdp.c (send_rdp): Likewise.
6670 * remote-sds.c (putmessage): Likewise.
6671 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
6672 Likewise.
6673 * sparcl-tdep.c (sparclite_download): Likewise.
6674 * symtab.c (lookup_partial_symbol): Likewise.
6675 * target.c (push_target, pop_target, initialize_targets): Likewise.
6676 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
6677 Likewise.
6678 * valprint.c (print_decimal, print_longest, print_longest)
6679 (strcat_longest): Likewise.
6680 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
6681 * xmodem.c (xmodem_send_packet): Likewise.
6682 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
6683 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
6684 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
6685 (STORE_RETURN_VALUE): Likewise.
6686 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
6687 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
6688 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
6689 Likewise.
6690
17fceda3
AC
66912001-02-23 Andrew Cagney <[email protected]>
6692
2126d5fb
AC
6693 * CONTRIBUTE: Document how to cite a problem report.
6694 * TODO: Note need to replace CONTRIBUTE with generated file.
6695
17fceda3
AC
6696 * CONTRIBUTE: Mention that patches do not need to include the
6697 generated files gdbarch.h and gdbarch.c.
6698
60edd51d
AC
66992001-02-21 Andrew Cagney <[email protected]>
6700
6701 * value.h (get_saved_register): Move from here.
6702 * frame.h: To here.
6703
d7fa2ae2
KB
67042001-02-21 Kevin Buettner <[email protected]>
6705
6706 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
6707 (in_solib_dynsym_resolve_code): Add declaration.
6708 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
6709 in_solib_dynsym_resolve_code() rather than
6710 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
6711 which caused this macro to only be defined when
6712 SVR4_SHARED_LIBS is defined.
6713 * solib.c (in_solib_dynsym_resolve_code): New function.
6714 * solist.h (struct target_so_ops): Add new member
6715 in_dynsym_resolve_code.
6716 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
6717 in_svr4_dynsym_resolve_code. Also, made static.
6718 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
6719 member in aix5_so_ops.
6720 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
6721 in_svr4_dynsym_resolve_code. Also, added second version
6722 of this function which will be used when SVR4_SHARED_LIBS
6723 is not defined.
6724 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
6725 member in svr4_so_ops.
6726
6727 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
6728 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
6729 config/ia64/xm-aix.h: New files.
6730 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
6731 (ia64_aix_sigcontext_register_address): New declaration.
aacc1edd 6732 (ia64_gdbarch_init): Provide for initialization of
d7fa2ae2
KB
6733 sigcontext_register_address member of struct tdep when
6734 on target is detected to be running AIX.
6735 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
6736 this list.
6737
fbad0893
KB
67382001-02-20 Kevin Buettner <[email protected]>
6739
6740 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
6741 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
6742 for thread support instead of linux-thread.o and lin-thread.o.
6743 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
6744 ATTACH_LWP): Define to use the following lin-lwp.c functions...
6745 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
6746 lin_lwp_attach_lwp): Declare.
6747
1adad886
AC
67482001-02-20 Andrew Cagney <[email protected]>
6749
6750 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
6751 formatting.
6752
0579d647
KB
67532001-02-20 Kevin Buettner <[email protected]>
6754
6755 * solib-aix5.c (solib-svr4.h): Remove include.
6756 (solib_break_names): Delete names which aren't actually
6757 used by AIX5.
6758 (bkpt_names): Remove.
6759 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
6760 to STREQ() with equivalent calls to strcmp().
6761 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
6762 aix5_solib_create_inferior_hook): Revise comments.
6763 (enable_break): Remove old ``bkpt_names'' code.
6764
d65fe839
AC
67652001-02-19 Andrew Cagney <[email protected]>
6766
6767 * Makefile.in (SFILES): Add frame.c .
6768 (COMMON_OBS): Add frame.o .
6769 (frame.o): New target.
6770
6771 * frame.c (find_saved_register):
6772 (default_get_saved_register):
6773 (get_saved_register):
6774 (read_relative_register_raw_bytes_for_frame):
6775 (read_relative_register_raw_bytes): Moved to here.
6776 * regcache.c: From here.
6777
60cf7a85
KB
67782001-02-20 Kevin Buettner <[email protected]>
6779
6780 * solib-aix5.c: New file.
6781
291b7e04
MH
67822001-02-20 Martin M. Hunt <[email protected]>
6783
a43ad351
MH
6784 * solib.c (info_sharedlibrary_command): Don't assume pointers
6785 are the same size of long, call longest_local_hex_string_custom().
6786
58bc91c9
MH
6787 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
6788 extract_signed_integer() should be called instead of
6789 extract_address().
6790
67912001-02-20 Martin M. Hunt <[email protected]>
6792
291b7e04
MH
6793 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
6794
d02ee681
AC
67952001-02-19 Andrew Cagney <[email protected]>
6796
6797 Frm 2001-02-09 Jim Kingdon <[email protected]>:
6798 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
6799 then floating point registers are 8 bytes.
6800
a858089e
MS
68012001-02-19 Michael Snyder <[email protected]>
6802
6803 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
6804 accomodate 64-bit addresses.
6805
23cc649f
EZ
68062001-02-19 Elena Zannoni <[email protected]>
6807
6808 From Peter Schauer <[email protected]>
6809 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
6810 lookup_symbol, when trying to find a symbol with a mangled name,
6811 to avoid infinite recursion.
6812
0db23c95
AC
68132001-02-18 Andrew Cagney <[email protected]>
6814
6815 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
6816
911413e6
JL
68172001-02-19 Jonathan Larmour <[email protected]>
6818
6819 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
6820 (save_prologue_cache): Ditto.
6821
8d1de4b7
EZ
68222001-02-19 Elena Zannoni <[email protected]>
6823
6824 From: [email protected]:
6825 * partial-stab.h (switch): Check that pst is not null
6826 before dereferencing it.
6827
3017564a
EZ
68282001-02-19 Elena Zannoni <[email protected]>
6829
6830 From Andrew Cagney <[email protected]>:
6831 * symfile.c (add_symbol_file_command): Always initialize
6832 my_cleanup using a NULL cleanup.
6833
fa58ee11
EZ
68342001-02-19 Eli Zaretskii <[email protected]>
6835
6836 * demangle.c (demangling_style_names): New variable.
6837 (_initialize_demangler): Fill demangling_style_names with the
6838 names of known demangling styles from libiberty_demanglers[]. Use
6839 add_set_enum_cmd instead of add_set_cmd, to get completion on
6840 demangling style names.
6841
6842 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
6843 file-name completion.
6844
6845 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
6846
6847 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
6848 `solib-absolute-prefix'.
6849
6850 * tracepoint.c (_initialize_tracepoint): Ditto for
6851 `save-tracepoints'.
6852
6853 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
6854
6855 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
6856 file-name completion.
6857
6858 * infcmd.c (_initialize_infcmd): Make the following commands use
6859 the file-name completer: `tty', `args', `path', `paths', and
6860 `run'.
6861
7830cf6f
EZ
68622001-02-18 Eli Zaretskii <[email protected]>
6863
89dea5aa
EZ
6864 * go32-nat.c: Include i387-nat.h.
6865 (fetch_register): New function, uses some of the guts of
6866 go32_fetch_registers and calls i387_supply_register.
6867 (go32_fetch_registers): Most of the code moved into
6868 fetch_register. Use i387_supply_fsave.
6869 (store_register): Use i387_fill_fsave instead of custom code.
6870 (go32_store_registers): Use i387_fill_fsave.
6871
6872 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
6873
6874 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
6875
7830cf6f
EZ
6876 * completer.c (gdb_completer_file_name_break_characters): Remove
6877 slash from file-name break characters.
6878 [__MSDOS__]: Special definition for DOS/Windows file names.
6879 (line_completion_function): When completing on file names, bump
6880 `p' to the first file-name constituent character of `word', before
6881 invoking the completer.
6882
f31e928c
MK
68832001-02-17 Mark Kettenis <[email protected]>
6884
6885 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
6886 consistently for parameter names. Fix comments accordingly.
6887 (i387_supply_register): New function.
6888 (i387_supply_fsave): Implement using i387_supply_register.
6889 * i387-nat.h: Use regnum instead of regno consistently for
6890 parameter names. Fix comments accordingly.
6891 (i387_supply_register): New prototype.
6892
d696208f
MS
68932001-02-16 Michael Snyder <[email protected]>
6894
6895 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
6896 instead of TARGET_PTR_BIT (to support Harvard architectures).
6897
971429b4
AC
68982001-02-16 Andrew Cagney <[email protected]>
6899
6900 From 2001-02-11 Paul Hilfinger <[email protected]>
6901 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
6902 argument to parameter list and to call in order to conform to
6903 to_xfer_memory field of struct target_ops.
6904
9ca0e47c
MC
69052001-02-12 Michael Chastain <[email protected]>
6906
da7dd56f 6907 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
6908 section relocation feature of syms_from_objfile. Do my own
6909 section relocation, offsetting each section of the som by
6910 either text_addr - text_link_addr or data_start.
6911
7d65bd2d
AC
69122001-02-16 Andrew Cagney <[email protected]>
6913
6914 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
6915
e33e9692
AC
69162001-02-16 Andrew Cagney <[email protected]>
6917
6918 * MAINTAINERS (paper trail): Update.
6919
17dee195
MK
69202001-02-16 Mark Kettenis <[email protected]>
6921
6922 * target.h (target_fetch_registers): Fix comment.
6923
0f6e1ba6
AC
69242001-02-15 Andrew Cagney <[email protected]>
6925
6926 * f-exp.y: Include <ctype.h>.
6927 (parse_number): Ensure that ``i'' is always initialized.
6928
9a069618
JK
69292001-02-14 Jim Kingdon <[email protected]>
6930
6931 * MAINTAINERS: Add myself to paper trail section.
6932
fc24370e
MS
69332001-02-14 Michael Sokolov <[email protected]>
6934
6935 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
6936 * configure, config.in: Regenerate.
6937 * corelow.c: Include <sys/file.h> if present.
6938
4b69c284
AC
69392001-02-14 Andrew Cagney <[email protected]>
6940
6941 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
6942 declare when have SIGTTOU.
6943
7904f322
EZ
69442001-02-14 Eli Zaretskii <[email protected]>
6945
6946 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
6947
9e798668
JK
69482001-02-12 Jim Kingdon <[email protected]>
6949
6950 * MAINTAINERS: Update my email address.
6951
65d5a54a
EZ
69522001-02-11 Eli Zaretskii <[email protected]>
6953
6954 * NEWS: Document that "info symbol" works with COFF debug info and
6955 its variants.
6956
6957 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
6958 symbols whose SYMBOL_BFD_SECTION is NULL.
6959
0cff82d9 69602001-02-10 Peter Schauer <[email protected]>
a8079a9b
PS
6961
6962 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
6963 * xcoffsolib.c (xcoff_solib_address): Renamed from
6964 pc_load_segment_name. Return NULL if address is not in a shared
6965 library. Cleanup shared library name construction, using xasprintf.
6966 Format shared library member names consistent with format in exec.c.
6967 (solib_info): Format shared library member names consistent with
6968 format in exec.c.
6969 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
6970 using xcoff_solib_address for PC_SOLIB definition.
6971 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
6972 needed.
6973
0cff82d9 69742001-02-10 Peter Schauer <[email protected]>
4b2e4867
PS
6975
6976 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
6977 with xmalloc calls and cleanups.
6978
0cff82d9 69792001-02-10 Peter Schauer <[email protected]>
d737ece6
PS
6980
6981 * rs6000-nat.c (child_xfer_memory): Add missing parameter
6982 'struct mem_attrib *' required by 2001-01-23 change.
6983
c5bb1243
JK
69842001-02-08 Jim Kingdon <[email protected]>
6985
6986 Updates to "make TAGS":
6987 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
6988 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
6989 tahoe-tdep.c.
6990 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
6991
c799ae7b
EZ
69922001-02-08 Eli Zaretskii <[email protected]>
6993
6994 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
6995
12685e01
AC
6996Wed Feb 7 22:39:26 2001 Andrew Cagney <[email protected]>
6997
6998 From Dean Luick <[email protected]>:
6999 * defs.h (continuation): Remove unused global variable.
7000
7fcca85b
AC
7001Wed Feb 7 22:28:31 2001 Andrew Cagney <[email protected]>
7002
7003 * configure.tgt: Remove references to convex, pyramid, altos and
7004 tahoe.
7005 * configure.host: Ditto.
7006 * MAINTAINERS: Ditto.
7007 * NEWS: Update.
7008
7009 * tahoe-tdep.c: Delete obsolete file.
7010 * pyr-xdep.c: Ditto.
7011 * pyr-tdep.c: Ditto.
7012 * convex-tdep.c: Ditto.
7013 * convex-xdep.c: Ditto.
7014 * config/tahoe/xm-tahoe.h: Ditto.
7015 * config/tahoe/tm-tahoe.h: Ditto.
7016 * config/tahoe/tahoe.mt: Ditto.
7017 * config/tahoe/tahoe.mh: Ditto.
7018 * config/pyr/xm-pyr.h: Ditto.
7019 * config/pyr/tm-pyr.h: Ditto.
7020 * config/pyr/pyramid.mt: Ditto.
7021 * config/pyr/pyramid.mh: Ditto.
7022 * config/m68k/xm-altos.h: Ditto.
7023 * config/m68k/tm-altos.h: Ditto.
7024 * config/m68k/altos.mt: Ditto.
7025 * config/m68k/altos.mh: Ditto.
7026 * config/convex/xm-convex.h: Ditto.
7027 * config/convex/tm-convex.h: Ditto.
7028 * config/convex/convex.mt: Ditto.
7029 * config/convex/convex.mh: Ditto.
7030 * config/convex/Convex.notes: Ditto.
7031 * config/arm/xm-arm.h: Ditto.
7032 * config/arm/nm-arm.h: Ditto.
7033 * config/arm/arm.mt: Ditto.
7034 * config/arm/arm.mh: Ditto.
7035 * arm-convert.s: Ditto.
7036 * arm-xdep.c: Ditto.
7037 * altos-xdep.c: Ditto.
7038
8e65ff28
AC
7039Wed Feb 7 19:41:21 2001 Andrew Cagney <[email protected]>
7040
7041 * defs.h (internal_error, internal_verror): Add __FILE__ and
7042 __LINE__ parameter.
7043 * utils.c (internal_error, internal_verror): Update.
7044
7045 * v850-tdep.c: Update calls to internal_error.
7046 * utils.c: Ditto.
7047 * ui-out.c: Ditto.
7048 * ui-file.c: Ditto.
7049 * target.h: Ditto.
7050 * symtab.h: Ditto.
7051 * symm-nat.c: Ditto.
7052 * sparc-tdep.c: Ditto.
7053 * source.c: Ditto.
7054 * serial.c: Ditto.
7055 * rs6000-tdep.c: Ditto.
7056 * rs6000-nat.c: Ditto.
7057 * remote.c: Ditto.
7058 * remote-vx.c: Ditto.
7059 * remote-sim.c: Ditto.
7060 * remote-mips.c: Ditto.
7061 * regcache.c: Ditto.
7062 * objfiles.h: Ditto.
7063 * objfiles.c: Ditto.
7064 * mn10300-tdep.c: Ditto.
7065 * mips-tdep.c: Ditto.
7066 * maint.c: Ditto.
7067 * m68k-tdep.c: Ditto.
7068 * m3-nat.c: Ditto.
7069 * language.c: Ditto.
7070 * infptrace.c: Ditto.
7071 * inferior.h: Ditto.
7072 * infcmd.c: Ditto.
7073 * ia64-tdep.c: Ditto.
7074 * i386-tdep.c: Ditto.
7075 * i386-linux-nat.c: Ditto.
7076 * hppah-nat.c: Ditto.
7077 * go32-nat.c: Ditto.
7078 * findvar.c: Ditto.
7079 * f-lang.c: Ditto.
7080 * elfread.c: Ditto.
7081 * event-loop.c: Ditto.
7082 * dwarf2read.c: Ditto.
7083 * dsrec.c: Ditto.
7084 * d30v-tdep.c: Ditto.
7085 * d10v-tdep.c: Ditto.
7086 * cli/cli-setshow.c: Ditto.
7087 * cli/cli-script.c: Ditto.
7088 * ch-exp.c: Ditto.
7089 * breakpoint.c: Ditto.
7090 * ax-gdb.c: Ditto.
7091 * arch-utils.c: Ditto.
7092 * a29k-tdep.c: Ditto.
7093 * gdb_assert.h: Ditto.
7094 * gdbarch.sh: Ditto.
7095 * gdbarch.h, gdbarch.c: Re-generate.
7096
72290732
AC
70972001-02-07 Andrew Cagney <[email protected]>
7098
7099 From Mark Kettenis <[email protected]>:
7100 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
7101
a6da1910
AC
71022001-02-07 Andrew Cagney <[email protected]>
7103
7104 * remote-sim.c (dump_mem): Cleanup printf format argument.
7105 * MAINTAINERS: Update, mn10300-elf now builds.
7106
153f9905
MK
71072001-02-07 Mark Kettenis <[email protected]>
7108
7109 * event-top.c: Remove duplicate #include <signal.h>.
7110
f042532c
AC
71112001-02-06 Andrew Cagney <[email protected]>
7112
7113 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
7114 allocated buffer.
7115 (save_inferior_pid): Restore the PID from that tempoary
7116 buffer. Delete the buffer.
7117 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
7118
58cfabe6
AC
71192001-02-06 Andrew Cagney <[email protected]>
7120
7121 * MAINTAINERS: Add ``The Obvious Fix Rule''.
7122
ea8a41b8
AC
71232001-02-06 Andrew Cagney <[email protected]>
7124
7125 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
7126
95160752
AC
71272001-02-06 Andrew Cagney <[email protected]>
7128
7129 * gdbarch.sh: Include "gdb_assert.h".
7130 (struct gdbarch): Change ``nr_data'' to unsigned.
7131 (alloc_gdbarch_data, free_gdbarch_data): New functions.
7132 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
7133 architecture vector.
7134 (struct gdbarch_data, struct gdbarch_data_registration): Move init
7135 method to gdbarch_data. Add free method, make index unsigned.
7136 (struct gdbarch_data_registry): Make nr unsigned.
7137 (register_gdbarch_data): Add free parameter. Store in
7138 gdbarch_data.
7139 (init_gdbarch_data): Use set_gdbarch_data.
7140 (set_gdbarch_data): New function.
7141
7142 * gdbarch.h, gdbarch.c: Re-generate.
7143
64122a8b
MS
71442001-02-06 Michael Sokolov <[email protected]>
7145
7146 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
7147 fprintf_filtered with correct arguments.
7148
e6cbd02a
MS
71492001-02-06 Michael Snyder <[email protected]>
7150 Submitted by Paul Hilfinger ([email protected])
7151 and Andrei Petrov ([email protected]).
7152 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
7153 must be allocated dynamically, since these are no longer constants.
7154 * infcmd.c: Ditto.
7155 * regcache.c: Ditto.
7156 * remote.c: Ditto.
7157 * sol-thread.c: Ditto.
7158 * valops.c: Ditto.
7159 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
7160 work-around for a missing Sun header file in solaris for sparc64.
7161
713f0374
PB
71622001-02-04 Philip Blundell <[email protected]>
7163
7164 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
7165 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
7166 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
7167 GET_THREAD_SIGNALS): Define.
7168 * arm-linux-nat.c (fill_gregset): Correct type of argument.
7169 (supply_gregset): Likewise.
7170 (fill_fpregset): Likewise.
7171 (supply_fpregset): Likewise.
7172
4603e466
DT
7173Tue Feb 6 11:58:57 2001 David Taylor <[email protected]>
7174
7175 * valops.c (value_cast): If casting a scalar to a pointer, do not
7176 issue a message about truncation unless it exceeds the length of
7177 an address, not the length of a pointer. This is because what the
7178 user gives us is an address, not a pointer, and we will ultimately
7179 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
7180 to a pointer. This allows things like "print *(int *)0x01000234"
7181 to work without generating a misleading message on a target having
7182 two byte pointers and four byte addresses.
7183
554cb486
CF
71842001-02-05 Christopher Faylor <[email protected]>
7185
7186 * win32-nat.c: Change PTR to void * throughout.
7187
042be3a9
C
71882001-02-05 J.T. Conklin <[email protected]>
7189
7190 * signals.h: Removed.
7191 * event-top.c (#include <signal.h>): Changed from signals.h.
7192 * inflow.c: Likewise.
7193 * mac-xdep.c: Likewise.
7194 * ser-pipe.c: Likewise.
7195 * ser-tcp.c: Likewise.
7196 * standalone.c: Likewise.
7197 * top.c: Likewise.
7198 * utils.c: Likewise.
7199 * Makefile.in: Removed signals.h from dependencies.
7200
a4acd088
CF
72012001-02-05 Christopher Faylor <[email protected]>
7202
7203 Change suggested by Dean Luick <[email protected]>
7204 * inferior.h (step_over_calls_kind): Remove trailing comma from
7205 last enum element.
7206 (step_over_calls): Declare as extern rather than global.
7207
3116c80a
EZ
72082001-02-05 Elena Zannoni <[email protected]>
7209
7210 * sh-tdep.c: Update copyright.
7211 (sh_extract_return_value): Rewrite.
7212 (sh3e_sh4_extract_return_value): New function.
7213 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
7214 version of the function for sh3e and sh4 CPUs.
7215
240be855
MC
72162001-02-05 Michael Chastain <[email protected]>
7217
7218 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
7219 to conform with interface change.
7220
a17b5c4e
EZ
72212001-02-04 Eli Zaretskii <[email protected]>
7222
32fe0950
EZ
7223 * config/djgpp/fnchange.lst: Tweak to make consistent with the
7224 new files.
7225
619cbaf7
EZ
7226 * config/djgpp/djconfig.sh: Use explicit absolute file name when
7227 invoking `find'.
7228
cd42d3a8
EZ
7229 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
7230 UART_FIFO_WORKS is defined. Otherwise use outportb.
7231 From Francisco Pastor <[email protected]>
7232
a17b5c4e
EZ
7233 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
7234 with target.h's `to_xfer_memory' member.
7235
86ddecc5
C
72362001-02-02 J.T. Conklin <[email protected]>
7237
7238 * ppc-bdm.c (#include <signal.h>): Removed.
7239 * remote-array.c: Likewise.
7240 * remote-bug.c: Likewise.
7241 * remote-e7000.c: Likewise.
7242 * remote-mips.c: Likewise.
7243 * remote-os9k.c: Likewise.
7244 * remote-st.c: Likewise.
7245 * remote-udi.c: Likewise.
7246 * remote-vx29k.c: Likewise.
7247 * remote-vx68.c: Likewise.
7248 * remote-vx960.c: Likewise.
7249 * remote-vxmips.c: Likewise.
7250 * remote-vxsparc.c: Likewise.
7251
338d7c5c
JM
72522001-02-02 John Moore <[email protected]>
7253
7254 * remote-utils.h (sr_set_device): Changed free() to xfree() where
7255 appropriate. Also changed Copyright to include 2001.
7256 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
7257 * value.h (value_free): Likewise.
7258 * gdbarch.sh (gdbarch_free): Likewise.
7259 * gdbarch.c, gdbarch.h: Regenerated.
7260
2b5436af
JM
72612001-02-02 John Moore <[email protected]>
7262
7263 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 7264 xfree(). Also changed Copyright to include 2001.
2b5436af 7265
82467003
C
72662001-02-02 J.T. Conklin <[email protected]>
7267
7268 * monitor.c (#include "gdb_wait.h"): Removed.
7269 * ocd.c: Likewise.
7270 * ppc-bdm.c: Likewise.
7271 * remote-adapt.c: Likewise.
7272 * remote-array.c: Likewise.
7273 * remote-bug.c: Likewise.
7274 * remote-e7000.c: Likewise.
7275 * remote-eb.c: Likewise.
7276 * remote-es.c: Likewise.
7277 * remote-mips.c: Likewise.
7278 * remote-mm.c: Likewise.
7279 * remote-nindy.c: Likewise.
7280 * remote-os9k.c: Likewise.
7281 * remote-rdi.c: Likewise.
7282 * remote-rdp.c: Likewise.
7283 * remote-sds.c: Likewise.
7284 * remote-sim.c: Likewise.
7285 * remote-st.c: Likewise.
7286 * remote-udi.c: Likewise.
7287 * remote-vx.c: Likewise.
7288 * remote-vx29k.c: Likewise.
7289 * remote-vx68.c: Likewise.
7290 * remote-vx960.c: Likewise.
7291 * remote-vxmips.c: Likewise.
7292 * remote-vxsparc.c: Likewise.
7293 * remote.c: Likewise.
7294 * ser-pipe.c: Likewise.
7295 * ser-unix.c: Likewise.
7296 * Makefile.in: Updated dependencies.
7297
27b82ed2
DS
72982001-01-31 David Smith <[email protected]>
7299
7300 * event-loop.c: Change inclusion of string.h to gdb_string.h and
7301 updated the copyright notice.
7302 * ser-pipe.c: Ditto.
7303 * mi/mi-cmds.c: Ditto.
7304 * mi/mi-console.c: Ditto.
7305 * mi/mi-getopt.c: Ditto.
7306 * mi/mi-parse.c: Ditto.
7307
ab9cc815
DS
73082001-01-31 David Smith <[email protected]>
7309
7310 * MAINTAINERS: Add David Smith to Write After Approval list.
7311
d1f4cff8
AC
7312Tue Jan 30 15:43:08 2001 Andrew Cagney <[email protected]>
7313
7314 * cli/cli-utils.c (putchar_filtered): Move function from here.
7315 * utils.c (putchar_filtered): To here.
7316 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
7317 * defs.h (putchar_filtered): To here.
7318
74c1b268
AC
7319Tue Jan 30 17:27:11 2001 Andrew Cagney <[email protected]>
7320
7321 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
7322 AC_FUNC_VFORK macro.
7323 * config.in, configure: Re-generate.
7324
7325 * gdb_vfork.h: New file.
7326 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
7327 * fork-child.c (fork_inferior): Ditto.
7328
4fcf66da
AC
7329Tue Jan 30 17:09:07 2001 Andrew Cagney <[email protected]>
7330
7331 * defs.h (strsave): Delete declaration.
7332 * utils.c (strsave): Delete definition.
7333 * TODO (strsave): Update
7334
7335 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
7336 * sparcl-tdep.c (sparclite_open): Ditto.
7337 * mips-tdep.c (mips_set_processor_type_command): Ditto.
7338 (_initialize_mips_tdep): Ditto.
7339 * solib.c (solib_open): Ditto.
7340 * symfile.c (add_filename_language): Ditto.
7341 (set_ext_lang_command): Ditto.
7342 * source.c (init_source_path): Ditto.
7343 (mod_path): Ditto.
7344 * sh3-rom.c (sh3_open): Ditto.
7345 (sh3e_open): Ditto.
7346 * serial.c (serial_open): Ditto.
7347 * remote-mips.c (common_open): Ditto.
7348 * monitor.c (monitor_open): Ditto.
7349 * m32r-rom.c (m32r_upload_command): Ditto.
7350 * infcmd.c (path_command): Ditto.
7351 * f-exp.y (parse_number): Ditto.
7352 * breakpoint.c (create_longjmp_breakpoint): Ditto.
7353 (create_thread_event_breakpoint): Ditto.
7354 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
7355 (_initialize_arc_tdep): Ditto.
7356
e191e0ab
AC
7357Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
7358
7359 * cli/cli-script.c (define_command): Check for a bad hook value in
7360 switch statement.
7361
10214f55
C
73622001-01-30 J.T. Conklin <[email protected]>
7363
7364 * configure/sh/embed.mt: New file.
7365 * configure/sh/linux.mt: New file.
7366 * configure/sh/sh.mt: Removed.
7367 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
7368 (sh-*-*): Removed.
7369
c9049fc9
MC
73702001-01-29 Michael Chastain <[email protected]>
7371
a4f30b31 7372 * symtab.c (lookup_block_symbol): Use 'namespace' parameter in
c9049fc9
MC
7373 symbol comparisons in binary search.
7374
0cff82d9 73752001-01-27 Christopher Faylor <[email protected]>
aea02b6b
CF
7376
7377 * win32-nat.c (child_xfer_memory): Add missing argument required by
7378 2001-01-23 change.
7379
e6e0bfab
MK
73802001-01-27 Mark Kettenis <[email protected]>
7381
7382 * ui-out.c (do_list_end): New function.
7383 (make_cleanup_ui_out_list_end): New function.
7384 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
7385 * stack.c (print_frame) [UI_OUT]: Call
7386 make_cleanup_ui_out_list_end to make sure we mark the end of the
7387 list if we do a non-local exit. At the end of the function,
7388 instead of calling ui_out_list_end directly, let do_cleanups
7389 handle it.
7390
1adeb98a
FN
73912001-01-26 Fernando Nasser <[email protected]>
7392
7393 Fix double parsing of filenames passed as command line arguments
7394 to GDB (causes weird handling of escape characters).
7395 Also, remove dependencies on the CLI from libgdb.
7396 * call-cmds.h: Remove declaration of exec_file_command().
7397 * gdbcore.h: Remove declaration of exec_file_command().
7398 Add declarations for exec_open() and exec_file_clear().
7399 * symfile.h: Add declarations for symbol_file_add_main() and
7400 symbol_file_clear().
7401 * exec.c (exec_open): New function. Implements to_open for exec
7402 targets.
7403 (exec_file_clear): New function. Makes GDB forget about a previously
7404 specified executable file.
7405 (exec_file_attach): Move parsing of arguments from here ...
7406 (exec_file_command): ... to here.
7407 (init_exec_ops): Use exec_open(), not exec_file_command() to
7408 implement to_open for exec targets.
7409 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
7410 with default values. Used when the file name has already been parsed.
7411 (symbol_file_clear): New function. Makes GDB forget about previously
7412 read symbols.
7413 (symbol_file_command): Call the above function instead of inline code.
7414 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
7415 "call-cmds.h".
7416 (captured_main): Call exec_file_attach() and symbol_file_add_main()
7417 instead of exec_file_command() and symbol_file_command().
7418 (captured_main): Add comment.
7419 * corefile.c: Include "symfile.h".
7420 (core_file_command): Call symbol_file_add_main() instead of
7421 symbol_file_command().
7422 (reopen_exec_file): Call exec_open() instead of exec_file_command().
7423 * infcmd.c: Include "symfile.h".
7424 (attach_command): Call symbol_file_add_main() instead of
7425 symbol_file_command().
7426 * infrun.c: Remove comment about the inclusion of "symfile.h",
7427 not any longer appropriate.
7428 (follow_exec): Call symbol_file_add_main() instead of
7429 symbol_file_command().
7430 * remote-es.c: Include "symfile.h".
7431 (es1800_load): Call symbol_file_add_main() instead of
7432 symbol_file_command().
7433 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
7434 not any longer appropriate.
7435 (vx-wait): Call symbol_file_add_main() instead of
7436 symbol_file_command().
7437 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
7438 instead of symbol_file_command().
7439 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
7440 symbol_file_add_main() instead of exec_file_command() and
7441 symbol_file_command().
7442 * Makefile.in: Update dependencies.
7443
5b616ba1
JH
74442001-01-26 Jeff Holcomb <[email protected]>
7445
7446 * remote-udi.c (udi_open): Change strdup to xstrdup.
7447 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
7448 Update copyright message.
7449 * varobj.c (delete_variable_1): Likewise.
7450
7451 * gdb_string.h: Remove declaration of strdup. Update copyright
7452 message.
7453 * config/xm-mpw.h: Likewise.
7454 * config/i386/xm-i386mach.h: Likewise.
7455 * config/m68k/xm-apollo68b.h: Likewise.
7456 * config/m68k/xm-hp300bsd.h: Likewise.
7457 * config/rs6000/xm-rs6000.h: Likewise.
7458 * config/vax/xm-vaxult.h: Remove declaration of strdup.
7459 * config/vax/xm-vaxult2.h: Likewise.
7460
b91d87cf
JH
74612001-01-26 Jeff Holcomb <[email protected]>
7462
7463 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
7464
873406a6
C
74652001-01-25 J.T. Conklin <[email protected]>
7466
7467 * target.c (target_xfer_memory_partial): Return -1 on failure due
7468 to invalid access mode attribute.
7469
0613c401
CF
74702001-01-25 Christopher Faylor <[email protected]>
7471
7472 * win32-nat.c (_initialize_core_win32): Prototype correctly.
7473
efd59e3f
MK
74742001-01-25 Mark Kettenis <[email protected]>
7475
7476 * config/alpha/tm-fbsd.h: Update copyright.
7477 (USE_STRUCT_CONVENTION): Define in terms of
7478 alphabsd_use_struct_convention.
7479 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
7480 * alphafbsd-tdep.c: New file.
7481
388e1ff2
FN
74822001-01-24 Fernando Nasser <[email protected]>
7483
7484 * top.c (print_gdb_version): Update Copyright year.
7485
f4d650ec
C
74862001-01-24 J.T. Conklin <[email protected]>
7487
7488 * dcache.c (dcache_write_line): Fix typo.
7489
7490 * memattr.c (delete_mem_region): Replace free() with xfree().
7491 (mem_number): Add explicit type.
7492
7493 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
7494 (rw_common): Likewise.
7495
07091751
FN
74962001-01-24 Fernando Nasser <[email protected]>
7497
7498 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
7499 for the inferior program arguments.
7500 (run_command, run_no_args_command, init_infcmd)): Use accessor
7501 functions to set the inferior program arguments.
7502 * inferior.h: Add definitions to the accessor functions above.
7503
090c42a4
JB
75042001-01-23 Jim Blandy <[email protected]>
7505
7506 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
7507 Implement these correctly, using make_cv_type.
7508
f29d9b6d 75092001-01-23 J.T. Conklin <[email protected]>
29e57380
C
7510
7511 * exec.c (xfer_memory): Add attrib argument.
7512 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 7513 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
7514 * monitor.c (monitor_xfer_memory): Likewise.
7515 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
7516 * remote-array.c (array_xfer_memory): Likewise.
7517 * remote-bug.c (bug_xfer_memory): Likewise.
7518 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
7519 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
7520 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
7521 * remote-mips.c (mips_xfer_memory): Likewise.
7522 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
7523 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
7524 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
7525 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
7526 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
7527 * remote-sds.c (sds_xfer_memory): Likewise.
7528 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
7529 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
7530 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
7531 * remote-vx.c (vx_xfer_memory): Likewise.
7532 * remote.c (remote_xfer_memory): Likewise.
7533 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
7534 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 7535 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
7536
7537 * target.h (#include "memattr.h"): Added.
7538 (target_ops.to_xfer_memory): Add attrib argument.
7539
7540 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
7541 * dcache.h (set_dcache_state): Removed declaration.
7542 * dcache.c (set_dcache_state): Removed definition
7543
7544 * dcache.c: Update module comment, as dcache is now enabled and
7545 disabled with memory region attributes instead of by the global
7546 variable "remotecache". Add comment describing the interaction
7547 between dcache and memory region attributes.
7548 (dcache_xfer_memory): Add comment describing benefits of moving
7549 cache writeback to a higher level.
7550 (dcache_struct): Removed cache_has_stuff field. This was used to
7551 record whether the cache had been accessed in order to invalidate
7552 it when it was disabled. However, this is not needed because the
7553 cache is write through and the code that enables, disables, and
7554 deletes memory regions invalidate the cache. Add comment which
7555 suggests that we could be more selective and only invalidate those
7556 cache lines containing data from those memory regions.
7557 (dcache_invalidate): Updated.
7558 (dcache_xfer_memory): Updated.
f29d9b6d 7559
29e57380
C
7560 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
7561 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
7562 perform a uncached transfer if dcache_enabled_p was clear. This
7563 function is now only called if caching is enabled for the memory
7564 region.
7565 (dcache_info): Always print cache info.
7566
7567 * target.c (do_xfer_memory): Add attrib argument.
7568 (target_xfer_memory, target_xfer_memory_partial): Break transfer
7569 into chunks defined by memory regions, pass region attributes to
7570 do_xfer_memory().
7571 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
7572
7573 * Makefile.in (SFILES): Add memattr.c.
7574 (COMMON_OBS): Add memattr.o.
7575 (dcache.o): Add target.h to dependencies.
7576 * memattr.c: New file.
7577 * memattr.h: Likewise.
7578
f29d9b6d
C
7579 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
7580 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
7581 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
7582 * gdbserver/low-sim.c (#include "defs.h"): Removed.
7583 (mygeneric_load): Rename from generic_load.
7584
7585 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
7586 (#include "defs.h"): Removed.
7587 (inferior_pid, perror_with_name): Remove declarations.
7588 * gdbserver/low-linux.c: Likewise.
7589 * gdbserver/low-nbsd.c: Likewise.
7590 * gdbserver/low-sparc.c: Likewise.
7591 * gdbserver/low-sun3.c: Likewise.
7592
7593 * i386-stub.c: Re-indent.
7594 * m68k-stub.c: Re-indent.
7595
58d5518e
ND
75962001-01-22 Nicholas Duffek <[email protected]>
7597
7598 * gdbarch.sh (PARM_BOUNDARY): Define.
7599 * gdbarch.c: Regenerate.
7600 * gdbarch.h: Regenerate.
7601
f6427ade
C
76022001-01-22 J.T. Conklin <[email protected]>
7603
7604 * ns32k-tdep.c: #include "frame.h"
7605 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
7606 appears to have been inadvertantly removed sometime in May 1999.
7607
7608 * Revert 2000-11-09 changes where shared library objects were
7609 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
7610 we'd like to be able to debug dynamically linked executables,
7611 this makes it impossible to build a cross debugger on a many
7612 hosts.
7613
7614 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
7615 * config/i386/nbsdelf.mt: Likewise.
7616 * config/m68k/nbsd.mt: Likewise.
7617 * config/ns32k/nbsd.mt: Likewise.
7618 * config/powerpc/nbsd.mt: Likewise.
7619 * config/sparc/nbsd.mt: Likewise.
7620 * config/sparc/nbsdelf.mt: Likewise.
7621 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
7622 * config/i386/nbsdelf.mh: Likewise.
7623 * config/m68k/nbsd.mh: Likewise.
7624 * config/ns32k/nbsd.mh: Likewise.
7625 * config/powerpc/nbsd.mh: Likewise.
7626 * config/sparc/nbsd.mh: Likewise.
7627
8052a17a
JM
76282001-01-19 Jason Merrill <[email protected]>
7629
7630 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
7631 (process_one_symbol): Likewise.
7632 * dwarfread.c (handle_producer): Likewise.
7633
21a6f6bb
AC
7634Thu Jan 18 12:08:57 2001 Andrew Cagney <[email protected]>
7635
7636 * configure.in (build_warnings): Disable -Wuninitialized until GDB
7637 compiles with -Wuninitialized,-Werror.
7638 * configure: Regenerate.
7639
7640 * MAINTAINERS: Add list of buildable targets.
7641
494b7ec9
AC
7642Thu Jan 18 12:48:04 2001 Andrew Cagney <[email protected]>
7643
7644 * defs.h (STRCMP): Delete macro.
7645
7646 * objfiles.c (objfile_relocate): Replace STRCMP with call to
7647 strcmp.
7648 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
7649 * symfile.c (compare_symbols): Ditto.
7650 * standalone.c (open): Ditto.
7651 * remote-es.c (verify_break): Ditto.
7652 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
7653
7654 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
7655
8038e1e2
AC
7656Thu Jan 18 12:25:06 2001 Andrew Cagney <[email protected]>
7657
7658 * varobj.c (FREEIF): Delete macro.
7659 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
7660 call.
7661
ea8d0b28
NC
76622001-01-18 Nick Clifton <[email protected]>
7663
7664 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
7665 (arc_print_insn): No bfd available, so pass NULL to
7666 arc_get_disassembler.
7667
5dbd9048
JB
76682001-01-09 James Ingham <[email protected]>
7669
7670 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
7671 a mangled symbol rather than recursing into lookup_symbol, since
7672 this will just re-unmangle the name & call lookup_symbol_aux -
7673 leading to an infinite recursion.
7674
28ae27b1
MK
76752001-01-18 Mark Kettenis <[email protected]>
7676
7677 * infcmd.c (print_return_value): Restore another space lost by
7678 switch to UIOUT. ``$NN='' should be ``$NN =''.
7679
6ab3a9c9
AC
7680Fri Jan 19 02:31:40 2001 Andrew Cagney <[email protected]>
7681
7682 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
7683 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
7684 definition in parenthesis.
7685
ad6525fc
AC
7686Fri Jan 19 02:13:40 2001 Andrew Cagney <[email protected]>
7687
7688 From 2000-10-27 Mark Salter <[email protected]>:
7689 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
7690 packet.
7691 (remote_insert_hw_breakpoint): Ditto.
7692
6259c7e2
C
76932001-01-17 J.T. Conklin <[email protected]>
7694
7695 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 7696 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
7697 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
7698 * m68knbsd-tdep.c: New file.
7699
7700 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
7701
7702 * m68knbsd-nat.c: #include gdbcore.h.
7703
abdcb2a5
AC
7704Wed Jan 17 09:41:58 2001 Andrew Cagney <[email protected]>
7705
7706 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
7707
e7a8479f
MS
77082001-01-16 Michael Snyder <[email protected]>
7709
aaeb7efa
MS
7710 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
7711 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
7712 * source.c (openp): Fix typo in comment.
7713
7036d6ce
ND
77142001-01-12 Nicholas Duffek <[email protected]>
7715
7716 * blockframe.c (generic_get_saved_register): Spelling fix.
7717 * frame.h (FRAME_FP): Spelling fix.
7718
9549d9c1
AC
7719Fri Jan 12 18:29:46 2001 Andrew Cagney <[email protected]>
7720
7721 * infcmd.c (print_return_value): Restore space lost by switch to
7722 UIOUT. ``$NN='' should be ``$NN =''.
7723
7302a204
ND
77242001-01-08 Nicholas Duffek <[email protected]>
7725
7726 * regcache.c (set_register_cached, register_buffer,
7727 real_register, pseudo_register fetch_register, store_register):
7728 New functions.
7729 (register_changed, read_relative_register_raw_bytes_for_frame,
7730 registers_changed, registers_fetched, read_register_bytes,
7731 read_register_gen, write_register_gen, read_register,
7732 read_signed_register, write_register, supply_register): Replace
7733 register_valid[] with register_cached() and
7734 set_register_cached().
7735 (read_register_bytes, read_register_gen, write_register_gen,
7736 read_register, read_signed_register, write_register,
7737 supply_register): Replace registers[] with register_buffer().
7738 (read_register_bytes, read_register_gen, read_register,
7739 read_signed_register): Call fetch_register().
7740 (write_register_gen, write_register): Call real_register() and
7741 store_register().
7742 (write_register_bytes): Call store_register().
7743 * value.h (set_register_cached, register_buffer): Prototype.
7744 * remote.c (remote_fetch_registers): Allocate regs[] with a
7745 run-time size. Replace register_valid[] with
7746 set_register_cached().
7747 (store_register_using_P, remote_store_registers): Replace
7748 registers[] with register_buffer().
7749
5ebd2499
ND
77502001-01-08 Nicholas Duffek <[email protected]>
7751
7752 * regcache.c: Change "write-back" comment to "write-through".
7753 Change "regno" to "regnum".
7754 (read_register, read_signed_register): Remove "raw" from return
7755 value description.
7756 (supply_register): Spelling fix.
7757 * value.h: Change "regno" to "regnum".
7758
1302fd5e
FN
77592001-01-08 Fernando Nasser <[email protected]>
7760
7761 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
7762 to be installed.
7763
9dcb560c
MS
77642001-01-04 Michael Snyder <[email protected]>
7765
7766 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
7767
0e2fb98e
ND
77682001-01-04 Nicholas Duffek <[email protected]>
7769
7770 * valops.c (VALUE_SUBSTRING_START): Delete.
7771
12cf3f1b
ND
77722001-01-04 Nicholas Duffek <[email protected]>
7773
7774 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
7775 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
7776 (cli_utils_h): New variable.
7777 (cli/cli-utils.o): New rule.
7778 * cli/cli-utils.c: New file.
7779 * cli/cli-utils.h: New file.
7780
cc533b9d
ND
77812001-01-04 Nicholas Duffek <[email protected]>
7782
7783 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
7784 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
7785
ad2a4d09
C
77862001-01-03 J.T. Conklin <[email protected]>
7787
7788 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
7789 comment.
7790
8140e7ac
MS
77912001-01-02 Michael Snyder <[email protected]>
7792
3116c80a
EZ
7793 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
7794 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 7795 non-float types.
779e876b 7796 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
7797 Update copyright notice.
7798
15f33b66 7799For older changes see ChangeLog-2000
c906108c
SS
7800\f
7801Local Variables:
7802mode: change-log
7803left-margin: 8
7804fill-column: 74
7805version-control: never
7806End:
This page took 1.361244 seconds and 4 git commands to generate.