2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
03905a3c
MS
12000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2
3 * procfs.c (proc_set_watchpoint): Declare addr parameter as
4 CORE_ADDR, to match call from procfs_set_watchpoint.
5
7d88144c
CF
62000-03-28 Christopher Faylor <cgf@cygnus.com>
7
8 * partial-stab.h: Add one more check against corrupted or irregular
9 stabs entry.
10
f25d2425
PDM
11Tue Mar 28 12:23:37 2000 Philippe De Muyter <phdm@macqel.be>
12
13 * gnu-regex.c (regerror): Function renamed from `__regerror'.
14 (Change also approved in the mainline glibc sources)
15
2171aa41
AC
16Tue Mar 28 18:19:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
17
18 From 2000-03-20 Jonathan Larmour <jlarmour@redhat.co.uk>:
19 * ser-unix.c (do_unix_readchar): Reorganise to be more robust,
20 particularly ensuring it can't return SERIAL_TIMEOUT when told
21 not to time out.
22
5d161b24
DB
232000-03-24 Daniel Berlin <dan@cgsoftware.com>
24
25 * gdbtypes.c (_initialize_gdbtypes): Add "set debug overload",
26 which never existed before, and thus, has no deprecated old command.
27
28 * gdbarch.c (_initialize_gdbarch): Add "set debug arch", deprecate
29 "set archdebug" (same goes for the show commands).
30 * gdb-events.c (_initialize_gdb_events): Add "set debug event",
31 deprecate "set eventdebug" (same goes for the show commands).
32 * gdbcmd.h: Add the setdebuglist and showdebuglist externs.
33 * top.c (init_main): Deprecate remotedebug, use "set/show debug remote"
34 instead.
35 x(init_main): Add the "set debug" and "show debug" commands.
36 Add setdebuglist and showdebuglist.
37
38Fri Mar 24 13:00:10 2000 Daniel Berlin <dan@cgsoftware.com>
39
40 * maint.c (maintenance_do_deprecate): Fix crash if you call with no arguments, and fixed the warning.
41 Added prototype for the deprecate command so it doesn't complain.
42
107b56f0
AC
43Tue Mar 28 11:52:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
44
45 * top.c (print_gdb_version): Bump copyright year to 2000.
46
c247e9c4
AC
47Tue Mar 28 10:13:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
48
49 * MAINTAINERS: Add Glen McCready to write after approval list.
50
3f1ef994
AC
51Tue Mar 28 09:59:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
52
53 * acconfig.h: Fix typo in comment describing HAVE_PTRACE_GETREGS.
54 * config.h: Regenerate.
55
138f88c0
AC
56Mon Mar 27 19:53:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
57
58 * TODO: Update. Add criteria for next release of GDB.
59
e7d0728a
AC
60Mon Mar 27 17:20:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
61
62 * acconfig.h: Provide default for HAVE_PTRACE_GETREGS.
63 * config.h: Regenerate.
64
ee29d710
AC
65Mon Mar 27 16:43:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
66
67 * Makefile.in (install-only): Create $(bindir) and $(man1dir)
68 before installing GDB.
69
2e022a79
AC
70Mon Mar 27 16:26:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
71
72 * Makefile.in (all-gdbtk): Check for an existing link/directory.
73 Re-format warning message. Document that post 5.0 this can be
74 deleted.
75
beb998c6
AC
76Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
77
78 * ChangeLog: Revert whitespace changes.
79
56a5d675
AC
80Mon Mar 27 10:20:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
81
82 * MAINTAINERS: Update folks who need accounts.
83
d6184fa1
AC
84Mon Mar 27 09:29:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
85
86 * MAINTAINERS: J.T. Conklin is NetBSD maintainer.
87
6e2e8c24
MK
882000-03-27 Mark Kettenis <kettenis@gnu.org>
89
90 * config/i386/tm-i386.h: Fix typo. It is TARGET_LONG_DOUBLE_BIT
91 instead of TARGET_LONG_DOUBLE_BITS.
92 * config/i386/tm-i386mk.h: Likewise.
93
ac27f131
MK
942000-03-26 Mark Kettenis <kettenis@gnu.org>
95
96 Provide `long double' support for most i386 targets.
97 * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT): Define as
98 &floatformat_i387_ext.
99 (TARGET_LONG_DOUBLE_BITS): Define as 96.
100 (REGISTER_VIRTUAL_TYPE): Change type for FPU registers to
101 `builtin_type_long_double'.
102 (REGISTER_CONVERT_TO_VIRTUAL): Call
103 i386_register_convert_to_virtual.
104 (REGISTER_CONVERT_TO_RAW): Call i386_register_convert_to_raw.
105 (i387_to_double, double_to_i387): Remove prototypes.
106 (i386_extract_return_value): Change prototype to match definition
107 in i386-tdep.c.
108 * config/i386/tm-i386mk.h (TARGET_LONG_DOUBLE_FORMAT): #undef.
109 (TARGET_LONG_DOUBLE_BITS): #undef.
110 * config/i386/tm-linux.h (TARGET_LONG_DOUBLE_BIT): Remove.
111 [HAVE_LONG_DOUBLE && HOST_I386] (LD_I387): Remove.
112 (i387_extract_floating, i387_store_floating): Remove prototypes.
113 (TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING): Remove.
114 (REGISTER_CONVERT_TO_VIRTUAL, REGOISTER_CONVERT_TO_RAW): Remove.
115 (REGISTER_VIRTUAL_TYPE): Remove.
116 * i386-tdep.c (i386_register_convert_to_virtual): New function.
117 (i386_register_convert_to_raw): New function.
118 * i387-tdep.c [LD_I387] (i387_extract_floating): Remove.
119 (i387_store_floating): Remove.
120
33f91161
AC
121Sat Mar 25 18:55:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
122
123 * maint.c: Re-indent.
124
6f122dc9
AC
125Sat Mar 25 18:51:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
126
127 * maint.c (_initialize_maint_cmds): Remove quoted trailing space.
128
ddda03b2
CF
1292000-03-24 Christopher Faylor <cgf@cygnus.com>
130
131 * config/mips/tm-wince.h: Fix typo which caused include of tm-mips.h to
132 be inoperative.
133
8227c82d
CF
1342000-03-24 Christopher Faylor <cgf@cygnus.com>
135
136 * win32-nat.c: Back out special frame walking code. It was broken.
137 (handle_exception): Correctly identify an illegal instruction.
138 * config/tm-cygwin.h: Eliminate special frame handling. Just use
139 normal i386 handling.
140
76a22209
C
1412000-03-24 J.T. Conklin <jtc@redback.com>
142
143 * i386/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
144 * i386nbsd-nat.c (i386nbsd_use_struct_convention): New function.
145 (fetch_core_registers): Read fp registers.
146 (i386nbsd_core_fns, _initialize_i386nbsd_nat): Added.
147
c7885828
JL
1482000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
149
150 * arm-tdep.c (thumb_skip_prologue): Take function end addr argument
151 so that we can stop searching for the prologue past the function end
152 (arm_skip_prologue): Call thumb_skip_prologue with function end addr
153
a91f7ea9
KB
1542000-03-24 Kevin Buettner <kevinb@redhat.com>
155
156 * linux-thread.c, lin-thread.c (save_inferior_pid,
157 restore_inferior_pid): Don't do compile time comparison
158 of TARGET_PTR_BIT and TARGET_INT_BIT.
159
89c3b6d3
PDM
160Thu Mar 23 13:18:26 2000 Philippe De Muyter <phdm@macqel.be>
161
162 * m68k-tdep.c (P_LINKL_FP, P_LINKW_FP): Macros renamed from P_LINK_L
163 and P_LINK_W.
164 (P_PEA_FP, P_MOVL_SP_FP): New macros.
165 (P_MOVL, P_LEAL, P_MOVML): Macros renamed from P_MOV_L, P_LEA_L and
166 P_MOVM_L.
167 (altos_skip_prologue, isi_skip_prologue): Use P_* macros, not octal
168 constants.
169 (delta68_in_sigtramp): New function.
170 (delta68_frame_args_address, delta68_frame_saved_pc): Ditto.
171 (m68k_skip_prologue): Use P_* macros, not hex constants.
172 (m68k_find_saved_regs): Do not expect a fixed sequence of register save
173 instructions, but accept them in any order; use P_* macros, not octal
174 or hex constants; recognize also `fmovemx to (fp + displacement)' and
175 `moveml to (fp + displacement)'.
176 * m68/tm-delta68.h (IN_SIGTRAMP): New macro.
177 (FRAME_SAVED_PC, FRAME_ARGS_ADDRESS): Ditto.
178
b83f3627
AC
179Fri Mar 24 13:44:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
180
181 * MAINTAINERS: Add Fernando Nasser to testsuite maintainers.
182
9452d09b
MS
1832000-03-23 Michael Snyder <msnyder@cleaver.cygnus.com>
184
185 * solib.c (open_symbol_file_object): to sneak an int argument
186 past catch_errors, instead of casting it to a pointer, simply
187 pass it by address.
188
74cc24b0
DB
1892000-03-23 Jimmy Guo <guo@cup.hp.com>
190
191 * gdbtypes.c (rank_function): Rank all N parameters and use correct
192 index into the prams[] and args[] arrays.
193
56382845
FN
1942000-03-23 Fernando Nasser <fnasser@cygnus.com>
195
196 From David Whedon <dwhedon@gordian.com>
197
198 * top.c (execute_command): Checks all commands beore executing
199 to see if the user needs to be warned that the command is
200 deprecated, warns user if appropriate.
201 (add_info), (add_info_alias), (add_com) , (add_com_alias): Changed
202 return values from void to struct cmd_list_element *.
203 * command.c (lookup_cmd_1): Check aliases before following link
204 in case user needs to be warned about a deprecated alias.
205 (deprecate_cmd): new exported function for command deprecation,
206 sets flags and posibly a replacement string.
207 (deprecated_cmd_warning): New exported funciton to warn user about
208 a deprecated command.
209 (lookup_cmd_composition): New exported function that determines
210 alias, prefix_command, and cmd based on a string. This is useful
211 is we want to full name of a command.
212 * command.h : Added prototypes for deprecate_cmd,
213 deprecated_warn_user and lookup_cmd_composition, added flags to
214 the cmd_list_element structure, changed return values for
215 add_com_* and add_info_* from void to cmd_list_element.
216 * maint.c : (maintenance_deprecate): New function to deprecate a
217 command. This exists only so that the testsuite can deprecate
218 commands at runtime and check the warning behavior.
219 (maintenance_undeprecate) : New function, drops deprecated flags.
220 (maintenance_do_deprecate): Actually does the (un)deprecation.
221 (initialize_maint_cmds): Added the above new deprecate commands.
222
2232000-03-22 Daniel Berlin <dan@cgsoftware.com>
224 * command.c (apropos_cmd_helper): New function, meat of the
225 apropos command.
226 (apropos_command): New apropos command to search command
227 names/documentation for regular expressions.
228 (_initialize_command): Add the apropos command.
229
0f4db1a1
MS
2302000-03-23 Michael Snyder <msnyder@cleaver.cygnus.com>
231
232 * sol-thread.c (ps_pglobal_lookup): Change argument type from
233 paddr_t to psaddr_t. This mistake appears to date from an
234 erroneous man page in Solaris 2.5 -- the correct type from the
235 system headers has always been psaddr_t.
236 (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): ditto.
237 (rw_common): ditto.
238
64a5b29c
KB
2392000-03-22 Kevin Buettner <kevinb@redhat.com>
240
241 * ia64-linux-nat.c: Fix copyright.
242 (fill_gregset): Minor formatting fix.
243 * ia64-tdep.c (template_encoding_table, fetch_instruction,
244 examine_prologue): Clean up some compiler warnings.
245 (is_float_or_hfa_type_recurse, is_float_or_hfa_type, find_func_descr,
246 find_global_pointer, find_extant_func_descr): New functions.
247 (ia64_use_struct_convention, ia64_extract_return_value,
248 ia64_push_arguments): Handle HFAs.
249 (ia64_push_arguments): Find (or build) a function descriptor
250 when given a function address.
251 (ia64_push_return_address): Moved code for finding the
252 global pointer into its own function, find_global_pointer ().
253
7e5cd2de
EZ
2542000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
255
256 * event-loop.c (handle_file_event): Run through indent.
257
44f45770
EZ
2582000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
259
260 From Philippe De Muyter <phdm@macqel.be>
261
262 * event-loop.c (sys/types.h): File now included unconditionally.
263 (use_poll): New variable..
264 (gdb_notifier): poll- and select-versions merged.
265 (add_file_handler): If HAVE_POLL, check whether poll is usable,
266 and reset `use_poll' if not.
267 (create_file_handler): Select poll- or select-version according to
268 `use_poll'.
269 (delete_file_handler, handle_file_event): Likewise.
270 (gdb_wait_for_event, poll_timers): Likewise.
271
593de6a6
PS
2722000-03-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
273
274 * printcmd.c (print_scalar_formatted): Truncate addresses to the
275 size of a target pointer before passing them to print_address.
276
1a309862
MK
2772000-03-22 Mark Kettenis <kettenis@gnu.org>
278
279 * config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove.
280 * config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM):
281 Remove
282 * i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines.
283 (i386_extract_return_value): Rewritten. Correctly support all
284 floating-point types and large integer types on targets that use
285 the standard i386 GDB register layout and return floating-point
286 values in the FPU.
287
6a08e74c
AC
288Wed Mar 22 15:09:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
289
290 * configure.in (CONFIG_INITS): Do not append remote-nrom.c
291
beb998c6
AC
2922000-03-21 J.T. Conklin <jtc@redback.com>
293
294 * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o.
295 * i386nbsd-nat.c: New file.
296
297 * i386/tm-nbsd.h (NUM_REGS): Removed.
298 (HAVE_I387_REGS): Defined.
299 * i386/nm-nbsd.h (FLOAT_INFO): Removed.
300
301 * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
302 SVR4_SHARED_LIBS.
5f04ac3d 303
f09cffe3
AC
304Wed Mar 22 11:18:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
305
306 * MAINTAINERS: Add Jim Blandy to breakpoint maintainers. David
307 taylor is the Solaris/SPARC maintainer. Add Jonathan Larmour to
308 the write after approval list.
309
62557bbc
KB
3102000-03-21 Kevin Buettner <kevinb@redhat.com>
311
312 * symtab.h (MAX_SECTIONS, struct section_addr_info,
313 symbol_file_add): Move declarations from here...
314 * symfile.h: ...to here.
315
316 * solib.c (symbol_add_stub): Make symbol_file_add () aware of
317 all section addresses, not just .text.
318 * symfile.h, symfile.c (free_section_addr_info,
319 build_section_addr_info_from_section_table): New functions.
320
321 * symfile.h (MAX_SECTIONS): Increase value to 40.
322 * symfile.c (syms_from_objfile): Add bounds check prior to
323 accessing ``other'' array in a section_addr_info_struct.
324 Remove unused variable section_offsets.
325 (add_symbol_file_command): Remove unused variable text_addr.
326
99e5c1c8
MS
3272000-03-21 Eli Zaretskii <eliz@is.elta.co.il>
328
329 * breakpoint.c (bpstat_stop_status): Don't stop if a read
330 watchpoint appears to break, but the watched value changed.
331
333a782f
JB
3322000-03-21 Jim Blandy <jimb@redhat.com>
333
334 * gdbarch.sh: Emit a definition and declaration for gdbarch_free,
335 a companion to gdbarch_alloc, which allows a gdbarch init function
336 to free partially-built gdbarch structures.
337 * gdbarch.c, gdbarch.h: Regenerated.
338
eafb8301
KB
3392000-03-20 Kevin Buettner <kevinb@redhat.com>
340
341 * configure.host, configure.tgt (ia64-*-linux*): New entry.
342
343 * gdbserver/low-linux.c (u_offsets, ia64_register_u_addr,
344 initialize_arch): Define for IA-64.
345 (initialize_arch): Add declaration.
346
2e70b7b9
MS
3472000-03-20 Eli Zaretskii <eliz@is.elta.co.il>
348
349 * breakpoint.c (insert_breakpoints, remove_breakpoint)
350 (bpstat_stop_status, can_use_hardware_watchpoint): Don't insert,
351 remove, or check status of hardware watchpoints for entire structs
352 and arrays unless the user explicitly asked to watch that struct
beb998c6 353 or array.
2e70b7b9
MS
354 (insert_breakpoints): Try to insert watchpoints for all the values
355 on the value chain, even if some of them fail to insert.
356
357 * values.c (value_primitive_field): Set the offset in struct value
358 we return when the field is a packed bitfield.
359
9d1f7ab2
MS
3602000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
361
362 * remote.c (remote_threads_extra_info): new function.
363 Implement the extra thread info query for "info threads".
364 (remote_threads_info): clean up a bit.
365 (use_threadinfo_query, use_threadextra_query): new variables.
beb998c6 366 Control whether GDB will use the new or old protocol for
9d1f7ab2
MS
367 thread info queries.
368 (remote_open_1): initialize new variables.
369 (remote_async_open_1): ditto.
370 (remote_cisco_open): ditto.
371
16461d7d
KB
3722000-03-20 Kevin Buettner <kevinb@redhat.com>
373
374 * ia64-linux-nat.c, ia64-tdep.c, config/ia64/linux.mh,
375 config/ia64/linux.mt, config/ia64/nm-linux.h, config/ia64/tm-ia64.h,
376 config/ia64/tm-linux.h, config/ia64/xm-linux.h: New files.
377
ba8966d6
KB
3782000-03-20 Kevin Buettner <kevinb@redhat.com>
379
380 * utils.c (floatformat_from_doublest): Don't assume that a long
381 will be exactly 32 bits in length. Also... make sure space
382 that we're writing the float to is completely initialized to
383 zeroes, even when the number of bits in the float is not
384 evenly divisible by FLOATFORMAT_CHAR_BIT.
385
e7ee86a9
JB
3862000-03-20 Jim Blandy <jimb@redhat.com>
387
388 * i386-linux-nat.c: No need to #include "frame.h" any more.
389 (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
390 LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
391 LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
392 LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
393 LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
394 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
395 linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
396 i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
397 i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
398 i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
399 i386_linux_sigtramp_saved_sp): Deleted. Folks rightly pointed
400 out that these are target-dependent, and useful in non-native
401 configurations. Moved to...
402 * i386-linux-tdep.c: ... Here, a new file.
403 * Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c.
404 (i386-linux-tdep.o): New rule.
405 (i386-linux-nat.o): We no longer depend on frame.h.
406 * config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o.
407
58a2c44a
EZ
4082000-03-04 Eli Zaretskii <eliz@is.elta.co.il>
409
410 * event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch.
411 Print an error at compile time if we are to use select, but FD_SET
412 is not available.
413 (SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only
414 if HAVE_POLL is not defined and NO_FD_SET *is* defined.
415 (create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR.
416 (delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET.
417 (gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly
418 instead of using memcpy and memset. Use FD_ISSET.
419
420 * config/i386/xm-go32.h (fd_mask): Remove typedef.
421
acd46a93
AC
422Mon Mar 20 19:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
423
424 * command.c (_initialize_command): Document requirements for ``!''
425 command.
426
b71896da
AC
427Mon Mar 20 18:12:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
428
429 From Fri 10 Mar 2000 Robert
430 <robert.melchers@drives.eurotherm.co.uk>:
431 * sh-tdep.c (sh_processor_type_table): Add entry for sh2.
432
4397a6ab
AC
433Mon Mar 20 17:33:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
434
435 From Thu Mar 16 16:49:27 EST 2000 John David Anglin
436 <dave@hiauly1.hia.nrc.ca>:
437 * configure.in (CONFIG_INITS): Don't include hpux-thread.c. Stops
438 _initialize_hpux_thread being called twice.
439 * configure: Regenerated.
440
c5201926
EZ
4412000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
442
443 * event-top.c (_initialize_event_loop): If instream is not
444 connected to a terminal device, turn editing off.
445
ded59a1e
EZ
4462000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
447
448 Support for building GDB with DJGPP, and running the test suite on
449 it:
450 * config/djgpp/djconfig.sh: New file.
451 * config/djgpp/config.sed: New file.
452 * config/djgpp/README: New file.
453 * config/djgpp/fnchange.lst: New file.
454 * config/djgpp/djcheck.sh: New file.
455
615b480f
EZ
4562000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
457
458 * ser-go32.c (ports): Make the initializers complete, to pacify
459 GCC 2.9X.
460
1cc26dd0
JB
4612000-03-17 Jim Blandy <jimb@redhat.com>
462
9f81f4aa
JB
463 * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
464 two-dimensional array, instead of faking it with explicit index
465 arithmetic.
466
467 * linux-thread.c (linuxthreads_attach, linuxthreads_detach,
468 linuxthreads_create_inferior): Fix typo in variable name: it's
469 linuxthreads_exit_status, not linux_exit_status.
470
471 * gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
472 to W_STOPCODE.
473
1cc26dd0
JB
474 * solib.c (solib_add): Delete debugging code.
475
ca9c33a5
MS
4762000-03-17 Mark Kettenis <kettenis@gnu.org>
477
478 * gdb_wait.h: add definitions of WSETSTOP and WSETEXIT for Linux.
479 * linux-thread.c: Use WSETSTOP instead of W_STOPCODE.
480
ccdaf797
PDM
481Fri Mar 17 11:06:59 2000 Philippe De Muyter <phdm@macqel.be>
482
483 * language.c (set_lang_str): Do not call `free' for a null pointer.
484 (set_type_str, set_range_str): Ditto.
485
7f869e41
JB
4862000-03-16 Jim Blandy <jimb@redhat.com>
487
17f9defb
JB
488 * i386-linux-nat.c (i386_linux_saved_pc_after_call): Lost in the
489 merge; reinstated.
490
7f869e41
JB
491 * solib.c (current_sos): Be more careful about freeing the new
492 so_list node if an error occurs.
493
11708b95
JB
494 * i386-tdep.c (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
495 LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
496 LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
497 LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
498 LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
499 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
500 linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
501 i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
502 i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
503 i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
17f9defb
JB
504 i386_linux_sigtramp_saved_sp): Deleted. These all implement
505 Linux-specific signal trampoline detection, and should be moved
506 to...
11708b95
JB
507 * i386-linux-nat.c: ... here.
508 * config/i386/tm-linux.h (I386_LINUX_SIGTRAMP): No need to define
509 this any more, since we're not enabling OS-specific code in a
510 OS-independent file.
beb998c6 511
3a95698a
EZ
5122000-03-16 Eli Zaretskii <eliz@is.elta.co.il>
513
2c33cc30 514 * Makefile.in (go32-nat.o): Add prerequisites.
3a95698a
EZ
515 (ALLDEPFILES): Add go32-nat.c.
516
0a83117a
MS
5172000-03-15 Michael Snyder <msnyder@cleaver.cygnus.com>
518
519 From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
520 * symfile.c (reread_symbols): Clear msymbol hash table.
521
07cd4b97
JB
5222000-03-15 Jim Blandy <jimb@redhat.com>
523
524 Deal with the inferior unloading shared objects.
525 * solib.c (current_sos): New function, replacing find_solib.
526 (find_solib): Deleted.
527 (free_so): New function.
528 (clear_solib): Call free_so, instead of writing it out.
529 (solib_add): Rewritten: compare the inferior's current list of
530 shared objects with GDB's list, and do the required loads and
531 unloads.
532 (info_sharedlibrary_command, solib_address): Don't use find_solib
533 to walk the list of shared libraries: call solib_add, and then
534 walk the list at so_list_head normally.
535 * objfiles.c (free_objfile): Don't call CLEAR_SOLIB, and don't
536 detach the core target. These tasks are taken care of elsewhere.
537 * target.c (remove_target_sections): New function.
538 * target.h (remove_target_sections): New declaration.
539
540 * solib.c (symbol_add_stub): Check whether we've already created
541 an objfile for this shared object first, before doing all that
542 work to compute section addresses, etc.
543
544 * objfiles.c (unlink_objfile): Report an internal error if objfile
545 doesn't occur in the object_files list.
546
547 * solib.c (special_symbol_handling): Delete argument; it's not
548 used.
beb998c6 549
07cd4b97
JB
550 Changes from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
551
552 * solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses
553 from solib structures. Use it throughout solib.c, get rid of all
554 CORE_ADDR casts.
555 (struct so_list): Change type of lmaddr to CORE_ADDR.
556 (first_link_map_member): Change return value type to CORE_ADDR,
557 update callers.
558 (solib_add_common_symbols): Change parameter type to CORE_ADDR,
559 update callers.
560 (open_symbol_file_object, find_solib): Change type of lm variable
561 to CORE_ADDR.
562
afbae4e3
EZ
5632000-03-15 Eli Zaretskii <eliz@is.elta.co.il>
564
565 * ser-go32.c (dos_noop, dos_raw, dos_noflush_set_tty_state)
566 (dos_print_tty_state, dos_info, _initialize_ser_dos): Convert
567 to ISO C. Use ATTRIBUTE_UNUSED to avoid compiler warnings.
568 (dos_info): Avoid compiler warning when printing a ptrdiff_t.
569
570 * ser-go32.c (dos_get_tty_state): Fail if the (fake) handle was
571 not opened by dos_open, but let the 3 standard handles go through
572 unharmed.
573
751a959b
EZ
5742000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
575
576 * eval.c (evaluate_subexp_with_coercion): Add call to
577 check_typedef, to handle typedeffed vars correctly.
578
1a0559af
AC
579Mon Mar 13 21:21:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
580
581 * defs.h (STREQ, STRCMP, STREQN): Document that these macros are
582 somewhat redundant.
583 (QUIT): Note that this can probably be replaced by a function.
584
73a93a32
JI
5852000-03-13 James Ingham <jingham@leda.cygnus.com>
586
beb998c6 587 Add support for a variable object that tries to evaluate itself in
73a93a32 588 the currently selected frame, rather than in a fixed frame.
beb998c6 589
73a93a32
JI
590 * wrapper.c,h (gdb_parse_exp_1): Added a wrapper for
591 gdb_parse_exp_1.
beb998c6 592 * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n
73a93a32
JI
593 of varobj_create.
594 * varobj.c (varobj_list): Return type indicates whether the
595 variable's type has changed (for current frame variables).
596 (varobj_update): Handle the case where the variable's type has
597 changed.
beb998c6 598 (delete_variable_1): Allow for deletion of variables that have not
73a93a32
JI
599 been installed yet.
600 (new_root_variable): Initialize use_selected_frame variable.
beb998c6 601 (value_of_root): This is where most of the work to handle "current
73a93a32
JI
602 frame" variables was added. Most of the complexity involves
603 handling the case where the type of the variable has changed.
604 (varobj_create): Add a "type" argument, to tell if the
605 variable is one of these "current frame" variables. Also protect
606 call to parse_exp_1 from long jumping.
beb998c6 607
0fff5247
EZ
6082000-03-13 Eli Zaretskii <eliz@is.elta.co.il>
609
610 * go32-nat.c (struct env387): Remove declaration.
611 (print_387_status, i386_go32_float_info): Remove redundant
612 functions.
613 (regno_mapping, sig_map, excepn_map): Add braces around inner
614 initializers.
615 (many functions): Use ATTRIBUTE_UNUSED to shut up the compiler;
616 fix code which mixed signed with unsigned.
617 (go32_resume): Use TARGET_SIGNAL_LAST instead of -1.
618 (go32_wait): Initialize INT3_addr.
619 (go32_fetch_registers): Extend all FP registers that are shorter
620 than 4 bytes to 32 bits. Support 32 standard FP registers defined
621 on config/i386/tm-i386.h.
622 (store_register): Support 32 FP registers.
623 (go32_create_inferior): Don't crash if handed a NULL pointer
624 instead of exec file name.
625 (ignore): Remove unused function.
626 (go32_insert_hw_breakpoint): Remove unused variables.
627 (init_go32_ops): Set value of processing_gcc_compilation to 2.
628
db577aea
AC
629Mon Mar 13 18:54:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
630
631 From 2000-03-10 Daniel Berlin <dan@cgsoftware.com> Fix C++
632 overloading, add support for seeing through references:
633 * valops.c (find_overload_match): Handle STABS overloading for
634 C++.
635 (find_overload_match): Look in right place for function arguments
636 in the debug info.
637 (find_overload_match): Rather than giving up when we have >1
638 perfect match, just choose one, especially since the
639 recommendation GDB gives ("disambiguate it by specifying function
640 signature"), is basically impossible.
641 (check_field_in): STREQ->strcmp_iw
642 (search_struct_field): STREQ->strcmp_iw
643 (find_method_list): STREQ->strcmp_iw
644 * gdbtypes.c (rank_one_type): Add ability to see through
645 references.
646 (rank_one_type): strcmp->strcmp_iw, because the whitespace could
647 be different.
648 (rank_function): Rank function properly (was doing it wrong
649 before, comparing the wrong parts of the arrays)
650 (rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD.
651 * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
652 associated with converting a non-reference to a reference.
653
654 * gdbtypes.c (rank_one_type): Add comment on how to eliminate the
655 #ifdef DEBUG_OLOAD.
beb998c6 656
f75c77fc
MK
6572000-03-11 Mark Kettenis <kettenis@gnu.org>
658
659 * gnu-nat.c: Fix the formatting where indent misinterpreted `&' as
660 a binary operator.
661 (gnu_attach): Change error message for missing
662 argument to be identical to the corresponding message in
663 `inftarg.c'. This makes the testsuite happy.
664
fb557744
MK
6652000-03-11 Mark Kettenis <kettenis@gnu.org>
666
667 * i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the
668 %eflags isn't modified. This fixes a bug where every call to a
669 function in the program beyond the first call would fail.
670
36c2118f
AC
671Fri Mar 10 11:44:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
672
673 * MAINTAINERS: Devolve responsibility for domain maintenance.
674
a79dea61
EZ
6752000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
676
677 * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
678
f1a6b754
SB
6792000-02-25 Scott Bambrough <scottb@netwinder.org>
680
681 * gdb.base/long_long.exp: Correct test suite failure when printing
682 a long long value as a double on ARM platforms.
683
513d6eba
AC
684Thu Mar 9 14:21:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
685
686 * MAINTAINERS (Core): Anthony Green is the Java - including
7b83ea04
AC
687 testsuite - maintainer. Reformat testsuite and language support
688 sections
513d6eba 689
4cc24188
MK
6902000-03-08 Mark Kettenis <kettenis@gnu.org>
691
692 * i386-tdep.c (i386_linux_saved_pc_after_call): New function.
693 * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call
694 i386_linux_saved_pc_after_call.
695
9227b5eb
JB
6962000-03-06 Jim Blandy <jimb@redhat.com>
697
698 From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
699
700 * minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
701 (compact_minimal_symbols): Added `objfile' argument.
702 Put symbols in the objfile's hash table.
703 (install_minimal_symbols): Put symbols in the objfile's demangled
704 hash table.
705 (lookup_minimal_symbol): Use hash table to find symbol in
706 objfile.
707 (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
708 functions.
709 (prim_record_minimal_symbol_and_info): Initialize the
710 hash link fields of the new minimal symbol.
711 * symtab.h (struct minimal_symbol): New fields `hash_next',
712 `demangled_hash_next'.
713 (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
714 * objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
715 (struct objfile): New fields `msymbol_hash',
716 `msymbol_demangled_hash'.
717
ef7904ee
JB
7182000-03-06 Jim Blandy <jimb@redhat.com>
719
720 * solib.c (first_link_map_member): Doc fix.
721
2f16bb32
EZ
7222000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
723
7b83ea04 724 From Eli Zaretskii <eliz@is.elta.co.il>:
2f16bb32
EZ
725
726 * event-loop.c (poll_timers): Don't compare delta.tv_sec with
727 zero, since time_t might be unsigned.
728
b948cda9
MK
7292000-03-06 Mark Kettenis <kettenis@gnu.org>
730
731 * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
732 in *FPREGSETP.
733 (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
734
9eaaac16
MK
7352000-03-05 Mark Kettenis <kettenis@gnu.org>
736
737 Allow GDB to run on Linux 2.0 again.
738 * config.in: Add HAVE_PTRACE_GETREGS.
739 * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
740 * configure: Regenerated.
741 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
742 CANNOT_STORE_REGISTER): New defines.
743 * i386-linux-nat.c (have_ptrace_getregs): New variable.
744 (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
745 old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
746 store_register, old_store_inferior_registers): Copied over from
747 `inptrace.c' as a temporary measure.
748 (fetch_regs, store_regs, fetch_fpregs, store_fpregs):
749 Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if
750 HAVE_PTRACE_GETREGS isn't defined.
751 (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
752 with EIO.
753 (fetch_inferior_registers, store_inferior_registers): Fall back on
754 the method use in `infptrace.c' (by calling
755 old_fetch_inferior_registers and old_store_inferior_registers) if
756 `have_ptrace_getregs' isn't set.
757
04cd15b6
MK
7582000-03-05 Mark Kettenis <kettenis@gnu.org>
759
760 * i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
761 of gregset_t and fpregset_t. Those are the only names that are
762 guaranteed to specify the right types for all supported Linux
763 systems out there.
764 Various doc fixes and gratitious local variable renames, all in an
765 attempt to stress similarities between the code and unify the
766 terminology used. Use ISO-C all over.
767 (regmap): Remove trailing comma.
768 (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
769 (convert_to_gregset): Make static. Remove GDB_REGS argument. It
770 is unnecessary and wasn't used anyway. All callers changed.
771 (convert_to_fpregset, convert_to_xfpregset): Likewise.
772 (fetch_regs, store_regs): Remove unused variable `regno'.
773 (fill_fpregs): If REGNO is not -1, only update the specified
774 register.
775 (fetch_core_registers): Renamed from
776 i386_linux_fetch_core_registers. There is no need for a unique
777 name since the function is static anyway.
778 (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
779 since it is more descriptive.
780
9ec7faef
AC
781Sun Mar 5 19:40:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
782
783 * MAINTAINERS (readline/): Expand to include host maintainers.
784
45a816d9
MK
7852000-03-04 Mark Kettenis <kettenis@gnu.org>
786
787 Fix support for Linux/i386 signal trampolines. The old approach
788 didn't work for Linux 2.2 and beyond, and didn't work with recent
789 versions of the GNU C library.
790 * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
791 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
792 (linux_rt_sigtramp_code): New variable.
793 (LINUX_RT_SIGTRAMP_LEN): New define.
794 (i386_linux_rt_sigtramp_start): New function. Detect start of
795 signal trampolines for RT signals.
796 (i386_linux_sigtramp): Removed.
797 (i386_linux_in_sigtramp): New function.
798 (i386_linux_sigcontext_addr): New function. Recognize the names
799 of the signal tranmpolines used by recent versions of the GNU C
800 library, and add support for RT signals.
7b83ea04 801 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New
45a816d9
MK
802 defines. Moved here from config/i386/tm-linux.h.
803 (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
804 Reimplement in terms of i386_linux_sigcontext_addr.
805 * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
7b83ea04
AC
806 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
807 Moved to i386-tdep.c.
45a816d9
MK
808 (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
809
109213fc 810Sat Mar 4 19:38:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
b70bc471 811
109213fc 812 By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
b70bc471
AO
813 * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
814
7158fd7f
AC
815Sat Mar 4 17:23:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
816
817 * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
7b83ea04 818 sim directory.
7158fd7f 819
e7411eaa
AC
820Sat Mar 4 16:19:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
821
822 * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
7b83ea04 823 ``Blanket Write Privs'' maintainers.
e7411eaa 824
392746e5
AC
825Sat Mar 4 15:58:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
826
9ec7faef 827 From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>:
392746e5 828 * language.c (longest_local_hex_string_custom): Don't compile
7b83ea04 829 'long long' section if host doesn't have 'long long'.
392746e5 830
7acb79c8
AC
831Sat Mar 4 15:45:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
832
833 * language.c (longest_raw_hex_string): Comment out. Appears
7b83ea04 834 unused.
7acb79c8 835
082faf24
AC
836Sat Mar 4 13:02:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
837
838 * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
7b83ea04 839 "mmalloc.h" which means using PTRs.
082faf24
AC
840 (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
841
a9ac8f51
AC
842Sat Mar 4 11:49:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
843
844 * defs.h (store_address, store_unsigned_integer, store_address):
7b83ea04 845 Replace PTR with void* in delcaration.
a9ac8f51 846 * findvar.c (extract_signed_integer, extract_unsigned_integer,
7b83ea04
AC
847 extract_long_unsigned_integer, extract_address,
848 store_signed_integer, store_unsigned_integer, store_address):
849 Convert definition to ISO-C. Replace PTR with void*.
a9ac8f51 850
e4005526
AC
851Sat Mar 4 10:57:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
852
853 * defs.h (make_cleanup_func): Document as deprecated.
854 (make_cleanup_ftype): New typedef. Make signature consistent with
7b83ea04
AC
855 other function typedefs. Document as not be used out side of
856 make_cleanup code. Use in make_cleanup declarations.
e54a9244 857 (null_cleanup): Replace PTR with void*.
beb998c6 858
e4005526 859 * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
7b83ea04
AC
860 make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
861 null_cleanup): Change K&R definition to ISO-C using void* and
862 make_cleanup_fytpe.
e4005526
AC
863 (discard_my_cleanups): Don't cast argument to free.
864
97bb9d91
EZ
8652000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
866
867 * defs.h (struct continuation_arg): Change type of field 'data'
7b83ea04 868 from PTR to void *.
97bb9d91
EZ
869
870 * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
871
872 * event-top.c: Ditto.
873
b3a90332
AC
874Fri Mar 3 15:39:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
875
876 * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
7b83ea04 877 configure.
b3a90332 878 (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
7b83ea04 879 SUBDIR_GDBTK_ALL): Define.
b3a90332
AC
880 (all-gdbtk, clean-gdbtk): New targets.
881 (all): Add CONFIG_ALL as dependency.
882 (clean): Add CONFIG_CLEAN as dependency.
beb998c6 883
b3a90332
AC
884 * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
885 (LN_S): Define. Delete GDBtk's link code.
886
379d6434
AC
887Fri Mar 3 13:12:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
888
889 * configure.in (ENABLE_GDBTK): Delete variable.
890 (enable-gdbtk): Only enable gdbtk when there is a GDBTK directory.
891 * Makefile.in: Update.
892 * configure: Regenerate
893
7b64ac2f
EZ
8942000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
895
896 * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
7b83ea04 897 NATDEPFILES list.
7b64ac2f 898
667620fa
MK
8992000-03-02 Mark Kettenis <kettenis@gnu.org>
900
901 * config/i386/tm-i386aix.h (NUM_FPREGS, NUM_REGS, REGISTER_BYTES):
902 Override definitions to include the normal FPU registers.
903 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
904 REGISTER_CONVERT_TO_RAW): Removed. The default definitions are
905 fine for AIX/i386.
906 (i387_to_double, double_to_i387): Remove prototypes.
907
3db87ba3
KB
9082000-03-02 Kevin Buettner <kevinb@redhat.com>
909
910 * findvar.c (extract_floating, store_floating): Use target
911 floating point type sizes rather host sizes to determine
912 which conversion needs to be done.
913
6c7e601e
ND
9142000-03-02 Nick Duffek <nsd@cygnus.com>
915
916 * uw-thread.c: Apply GNU conventions to comment formatting.
917 (deactivate_uw_thread): Call remove_thread_event_breakpoints().
918 (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints()
919 call to deactivate_uw_thread().
920
a09e9d09
AC
921Thu Mar 2 09:04:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
922
beb998c6 923 * MAINTAINERS: Daniel Berlin is C++ maintainer.
a09e9d09 924
ef7b4488
AC
925Thu Mar 2 08:55:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
926
927 * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
7b83ea04
AC
928 a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
929 share SCO/Unixware. Nick Duffek and Peter Schauer share
930 Solaris/x86.
a09e9d09 931
75660bc0 932Wed Mar 1 22:12:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
beb998c6 933
75660bc0
AC
934 From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
935 * remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
beb998c6 936 * remote-rdi.c (arm_rdi_close): Ditto.
75660bc0 937
15db4a06
AC
938Wed Mar 1 19:31:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
939
940 * CONTRIBUTE (configure.in): Note that patches to configure are
7b83ea04 941 not needed.
15db4a06 942
80582566
MK
9432000-03-01 Mark Kettenis <kettenis@gnu.org>
944
945 * MAINTAINERS: Correct my own mail address.
946
dfe25b3a
AC
947Wed Mar 1 11:26:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
948
949 * MAINTAINERS: Document people with paperwork pending.
950
05e28a7b
AC
951Wed Mar 1 00:49:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
952
953 From 2000-02-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
954 Make NEW_PROC_ABI interface functional on Solaris x86.
955 * sol-thread.c (ps_lgetLDT): Rewrite to use new
7b83ea04
AC
956 procfs_find_LDT_entry function from procfs.c, mostly copied from
957 lin-thread.c.
05e28a7b 958 * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
7b83ea04 959 needed.
05e28a7b 960
b241ba8e
AC
961Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
962
963 From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
964 * config/i386/tm-i386sol2.h (MERGEPID): Define.
965
1211c4e4
AC
966Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
967
968 From 1999-08-13 J.T. Conklin <jtc@redback.com>:
7b83ea04
AC
969 * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
970 FRAME_FIND_SAVED_REGS.
971 (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
972 * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
973 Update.
1211c4e4 974
2fc18c15
AC
975Tue Feb 29 23:56:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
976
977 From 2000-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
978 * objfiles.c (open_mapped_file): Fix obsolete references to `mapped'
979 parameter.
980
02409499
AC
981Tue Feb 29 18:47:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
982
983 From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
984 * config/i386/nm-go32.h (FLOAT_INFO): Remove macro definition.
985 (top level): Add prototypes for go32_* functions.
986 * config/i386/tm-go32.h (I386_DJGPP_TARGET): Define.
987 (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
988 Override definitions from tm-i386.h.
989 (REGISTER_VIRTUAL_TYPE): Remove macro definition.
990 * i386-tdep.c (i386_extract_return_value)
991 [I386_AIX_TARGET || I386_GNULINUX_TARGET]: Add I386_DJGPP_TARGET
992 to the list of targets which return FP values in FP registers.
993
994 * i386-tdep.c (i386_extract_return_value): Add FIXME recommending
7b83ea04 995 that this function be re-implemented using multi-arch.
02409499 996
9d271fd8
AC
997Tue Feb 29 18:40:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
998
999 From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
1000 * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols
1001 and ScreenRows.
1002 * ser-go32.c: Include string.h, for prototype of strncasecmp.
1003 (dpmi_regs, dpmi_sregs): Remove unused variables.
1004 (dos_flush_input): Return a value, to prevent compiler warning.
1005 * expprint.c (dump_prefix_expression): Use %ld in format and cast
1006 sizeof(union exp_element) to long, to prevent GCC from complaining
1007 about format/argument mismatch.
1008 (dump_postfix_expression): Likewise.
1009
30f6df08
AC
1010Tue Feb 29 18:09:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
1011
1012 * arm-tdep.c: Include <ctype.h>.
1013
d082b2bb
AC
1014Tue Feb 29 17:33:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
1015
1016 From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
1017 * stack.c (backtrace_command_1), infrun.c (normal_stop): Check
7b83ea04 1018 that the target's stack was valid.
d082b2bb 1019
244106e8
AC
1020Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
1021
1022 From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
7b83ea04 1023 * dwarf2read.c (read_address): Read 16-bits addresses.
244106e8 1024
56624b0a
SB
10252000-02-28 Scott Bambrough <scottb@netwinder.org>
1026
1027 * arm-linux-nat.c (fetch_nw_fpe_*):
7b83ea04 1028 Renamed to fetch_nwfpe_* to use the same naming convention
56624b0a
SB
1029 as in the Linux kernel. Modified prototype to get rid of
1030 unused parameters.
1031 (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
beb998c6 1032 naming convention as in the Linux kernel. Fixed calls to
56624b0a
SB
1033 fetch_nwfpe_*.
1034 (store_fpregs): Fixed calls to store_nwfpe_*. Removed
beb998c6 1035 unused variable.
56624b0a 1036
388c1733
AC
1037Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
1038
1039 * MAINTAINERS: Transfer d30v maintainership to David Taylor.
1040
f0d42432
CF
10412000-02-28 Christopher Faylor <cgf@cygnus.com>
1042
1043 * win32-nat.c: Remove unneeded header.
1044 * wince.c: Ditto.
1045
c322964e
AC
1046Mon Feb 28 13:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
1047
1048 * wince.c: Include "gdb_wait.h" and not "wait.h".
1049
8860ff2e
AC
1050Mon Feb 28 10:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
1051
1052 * MAINTAINERS: Mention mmalloc. Expand Host/Native and
7b83ea04 1053 Target/Architecture maintainers descriptions.
8860ff2e 1054
942fd805
MK
10552000-02-26 Mark Kettenis <kettenis@gnu.org>
1056
1057 * gnu-nat.c: Include "gdbthread.h". Include <hurd.h>.
1058 Reorder headers a bit. Overall cleanup and minor reformatting.
1059 (MIG_SERVER_DIED): Remove define.
1060 (proc_update_sc): Add braces to silence compiler warning.
1061 (proc_steal_exc_port): Initialize err to zero.
1062 (make_proc): Add braces to silence compiler warning.
1063 (inf_validate_task_sc): Add cast to silence compiler warning.
1064 (inf_set_traced): Reorganize a bit to silence compiler warning.
1065 (inf_validate_procs): Use mach_msg_type_number_t for all thread
1066 numbers and add braces to silence compiler warning.
1067 (gnu_wait): Add prototypes for server functions and add braces to
1068 silence compiler warnings.
1069 (S_exception_raise_request): Pass subcode to inf_debug call.
1070 (gnu_write_inferior): Remove unused variable `protection_changed'.
1071 (gnu_xfer_memory): Remove unused variable `result'.
1072 (set_sig_thread_cmd): Remove unused varible `tid'.
1073 (set_signals_cmd): Remve unused variable `trace'.
1074 (add_task_commands): Provide complete prototype. Reformat help
1075 strings a bit to make sure the first line is a full sentence.
1076 Call info_port_rights_cmd instead of info_send_rights_cmd for the
1077 "info port-rights" command.
1078 (add_thread_commands): Provide complete prototype. Make static.
1079 Reformat help strings a bit to make sure the first line is a full
1080 sentence.
1081 (_initialize_gnu_nat): Provide complete prototype.
1082
75c6e08a
MK
10832000-02-26 Mark Kettenis <kettenis@gnu.org>
1084
1085 Make cross-compilation for the Hurd more friendly.
1086 From Jeff Bailey <jbailey@gnu.org>:
1087 * configure.in: Use AC_CHECK_TOOL to find MiG.
1088 * Makefile.in (MIG): New variable.
1089 * config/i386/i386gnu.mh (MIG): Remove.
1090 * configure: Regenerated.
1091
ddb20c56
KB
10922000-02-26 Kevin Buettner <kevinb@redhat.com>
1093
1094 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add
1095 comment explaining motivation behind this function and why
1096 the generic facilities won't work for this platform.
1097 * rs6000-tdep.c (skip_prologue): Always test to make sure
1098 that an instruction is read successfully from the target's
1099 memory. Introduce notion of instructions which may appear in
1100 the prologue, but may not end the prologue. Added explicit
1101 check for nop instruction. Use memset() to zero the frame
1102 data instead of assignment from a statically allocated,
1103 uninitialized structure.
1104
2a20d068
AC
1105Sat Feb 26 17:15:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
1106
1107 * MAINTAINERS: Chris Faylor is responsible for all MS Windows
7b83ea04
AC
1108 systems. Note that Jim Blandy as maintainer for ``tracing
1109 bytecode stuff''
2a20d068 1110
608d5915
FN
11112000-02-25 Fernando Nasser <fnasser@cygnus.com>
1112
1113 From: Thomas Zenker <thz@Lennartz-electronic.DE>
1114 * rdi-share/hsys.c: to compile under 4.4BSD derived systems (FreeBSD,
1115 NetBSD...) sys_errlist should not be declared in hsys.c.
1116 NEED_SYSERRLIST is set already by configure, so we can use it.
1117 * rdi-share/unixcomm.c: 4.4BSD derived systems define BSD, but are
1118 posix compliant and we should not work with the old compatibility
1119 stuff. Because of that I undef BSD in case of FBSD etc and include
1120 sys/ioctl to get the flags.
1121 * rdi-share/unixcomm.c: If the TIOCEXCL flags exists set serial line
1122 for exclusive use.
1123
482ca3f5
KB
11242000-02-24 Kevin Buettner <kevinb@redhat.com>
1125
1126 * ppc-linux-tdep.c (ppc_sysv_abi_push_arguments): Put address
1127 of return structure in r3 if necessary.
1128 (ppc_linux_memory_remove_breakpoints): New function.
1129 * rs6000-tdep.c (skip_prologue): Make sure that the cases
1130 for storing either cr or lr to the stack only handle those
1131 cases. (I.e, don't let these cases match 0x00000000 which is
1132 found found in the shared library trampoline prior to the
1133 loading of the shared library.)
1134 * config/powerpc/tm-linux.h (ppc_linux_memory_remove_breakpoint):
1135 Declare.
1136 (MEMORY_REMOVE_BREAKPOINT): Define.
1137
a526d713
AC
1138Wed Feb 23 23:27:48 2000 Andrew Cagney <cagney@behemoth.cygnus.com>
1139
1140 * hppah-nat.c: Include "gdb_wait.h" instead of <wait.h>.
1141
e56ac5c3
AC
1142Thu Feb 24 18:42:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
1143
1144 * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
7b83ea04 1145 $(SUBDIR_*_INSTALL) when so configured.
e56ac5c3 1146 * configure: Regenerate.
beb998c6 1147
e56ac5c3 1148 * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
7b83ea04 1149 configure.
e56ac5c3 1150 (install-only): Add dependency on $(CONFIG_INSTALL). Delete code
7b83ea04 1151 installing GDBtk.
e56ac5c3
AC
1152 (uninstall): Add dependency on $(CONFIG_UNINSTALL).
1153 (SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL,
7b83ea04 1154 SUBDIR_GDBTK_INSTALL): Define.
e56ac5c3
AC
1155 (install-gdbtk): New target.
1156
b0b1b869
AC
1157Thu Feb 24 18:19:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1158
1159 * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
1160 * configure: Regenerate.
beb998c6 1161
091be84d
CF
11622000-02-24 Christopher Faylor <cgf@cygnus.com>
1163
1164 * configure.tgt: Add arm, mips, sh wince targets.
1165 * config/arm/tm-wince.h: New file.
33ee05bc 1166 * config/arm/wince.mt: New file.
091be84d 1167 * config/sh/tm-wince.h: New file.
33ee05bc 1168 * config/sh/wince.mt: New file.
091be84d 1169 * config/mips/tm-wince.h: New file.
33ee05bc 1170 * config/mips/wince.mt: New file.
091be84d
CF
1171 * wince.c: New file.
1172 * wince-stub.c: New file.
1173 * wince-stub.h: New file.
1174 * sh-tdep.c: Use correct register names for Windows CE.
1175
99eeeb0f
ND
1176Wed Feb 23 19:01:45 EST 2000 Nicholas Duffek <nsd@cygnus.com>
1177
1178 * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
1179 (error_return, quit_return): Merge into catch_return pointer.
1180 (return_to_top_level): Update comment. Longjmp to *catch_errors,
1181 and communicate reason to catch_errors via setjmp return value.
1182 (catch_errors): Always catch both quit and error, and if a catch
1183 wasn't requested by caller, throw it to the next catch_error.
1184 Replace dual longjmp buffer memcpy with single pointer change.
1185 Add FIXME for possibly adding new interface to tell caller what
1186 event was caught. Add extensive comments.
1187 * defs.h (enum return_reason): Reserve 0 for use as initial
1188 setjmp() return value.
1189 (RETURN_MASK): New public macro to generate RETURN_MASK_* from
1190 enum return_reason.
1191 (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
1192
242bfc55
FN
11932000-02-23 Fernando Nasser <fnasser@cygnus.com>
1194
1195 * infcmd.c (run_stack_dummy): Do not pop frame on random signal.
1196 * valops.c (_initialize_valops): Add command "set unwindonsignal".
1197 (hand_function_call): Test for unwind_on_signal and act accordingly.
1198
ff844c8d
AC
1199Wed Feb 23 12:58:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
1200
1201 * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long.
7b83ea04 1202 Match ../include/dis-asm.h change.
ff844c8d
AC
1203 * gdbarch.h: Regenerate.
1204 * corefile.c (dis_asm_read_memory): Update.
1205
fb40c209
AC
1206Mon Feb 21 13:57:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
1207
1208 * configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT.
1209 (ENABLE_CFLAGS): Move initialization to start of file.
1210 (enable-gdbmi): Add new configure option --enable-gdbmi. When
7b83ea04
AC
1211 selected and an ${srcdir}/mi directory is present enable MI
1212 interface.
fb40c209
AC
1213
1214 * configure: Regenerate.
beb998c6 1215
fb40c209 1216 * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS,
7b83ea04 1217 SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
fb40c209 1218 (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
7b83ea04
AC
1219 CONFIG_LDFLAGS): New macros. Initialized by autoconf via
1220 @CONFIG...@.
fb40c209 1221 (INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES,
7b83ea04 1222 INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
fb40c209
AC
1223
1224 * mi: New directory. MI interface to GDB.
1225
1226 * defs.h (interpreter_p): Declare when UI_OUT.
1227 * top.c (gdb_init): When interpreter_p, check that the interpreter
7b83ea04 1228 was recognized by one of the linked in interpreters.
fb40c209
AC
1229 * main.c (interpreter_p): Define.
1230 (captured_main): When UI_OUT, check for ``-i <interpreter>'' option.
1231 * event-top.c (display_gdb_prompt): When interpreter_p, assume
7b83ea04 1232 interpreter displays prompt.
fb40c209
AC
1233
1234 * breakpoint.c (print_it_typical, watchpoint_check,
7b83ea04 1235 print_one_breakpoint, mention): When MI include additional
fb40c209
AC
1236 target status information.
1237 * infrun.c (print_stop_reason, normal_stop): Ditto.
1238
14e0eb3b
JB
12392000-02-22 Jim Blandy <jimb@redhat.com>
1240
1241 * gdbarch.sh: Make the `default' field really default to zero, as
7b83ea04 1242 documented.
14e0eb3b
JB
1243
1244 Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
1245 * valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
1246 more function-like.
1247 (default_coerce_float_to_double, standard_coerce_float_to_double):
1248 New functions.
1249 (value_arg_coerce): Adjust for new definition.
1250 * value.h (default_coerce_float_to_double,
1251 standard_coerce_float_to_double): New declarations for the above.
1252 * gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
1253 * gdbarch.c, gdbarch.h: Regenerated.
1254 * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
7b83ea04
AC
1255 tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
1256 definitions.
14e0eb3b
JB
1257 * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
1258 function here.
1259 (mips_gdbarch_init): Install that as our coerce_float_to_double
1260 function.
1261
50c9bd31
KB
12622000-02-22 Kevin Buettner <kevinb@redhat.com>
1263
1264 * ppc-linux-nat.c (supply_gregset, supply_fpregset): Add return
1265 type.
1266 * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Add
1267 forward declaration.
1268
1269 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Handle case
1270 where the next frame is a signal handler caller.
1271
1272 * config/powerpc/tm-linux.h (PUSH_ARGUMENTS): Remove extraneous
1273 undef.
1274 (tm-linux.h): Include.
1275 (tm-sysv4.h): Don't include (directly). config/tm-linux.h will
1276 include this file for us.
1277 (REALTIME_LO, REALTIME_HI): Don't define. These are defined by
1278 config/tm-linux.h for us.
1279 (SOFUN_ADDRESS_MAYBE_MISSING): Define.
1280
223b8554
KB
12812000-02-21 Kevin Buettner <kevinb@redhat.com>
1282
1283 * Makefile.in (ppc-linux-nat.c, ppc-linux-tdep.c): New files.
1284 (ppc-linux-nat.o, ppc-linux-tdep.o): Add dependencies.
1285 * configure.tgt (powerpc-*-linux*): Separate from powerpc-*-eabi
1286 and like targets.
1287
1288 * ppc-linux-nat.c, ppc-linux-tdep.c, config/powerpc/linux.mt,
1289 config/powerpc/nm-linux.h, config/powerpc/tm-linux.h: New files.
1290 * config/powerpc/xm-linux.h: Substantially revised for native
1291 port.
8883511e
KB
1292 * config/powerpc/linux.mh (NAT_FILE): Redefine to be nm-linux.h.
1293 (NATDEPFILES): Update list to reflect the fact that we can
1294 now debug natively.
223b8554
KB
1295
1296 * rs6000-tdep.c, config/rs6000/tm-rs6000.h
1297 (rs6000_frameless_function_invocation, rs6000_frame_saved_pc):
1298 Renamed; The former names were lacking the rs6000_ prefix.
1299 * rs6000-tdep.c (rs6000_frame_saved_pc): Call FRAME_CHAIN
1300 instead of rs6000_frame_chain.
1301 (rs6000_frame_chain): Call FRAMELESS_FUNCTION_INVOCATION instead
1302 of rs6000_frameless_function_invocation.
1303
750334d7
EZ
13042000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1305
1306 From Philippe De Muyter <phdm@macqel.be>
1307
1308 * event-loop.c (handle_file_event): In case of poll, enable
7b83ea04
AC
1309 printing of informational message if an error/exception is
1310 detected on the file descriptor.
750334d7 1311
2403ff6f
JK
13122000-02-21 Jim Kingdon <kingdon@redhat.com>
1313
1314 * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
1315
f7cb3ef8
AC
1316Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
1317
91b9ff21 1318 * buildsym.c: Include "language.h" and "expression.h" for
7b83ea04 1319 longest_local_hex_string_custom.
f7cb3ef8 1320
0596389c
AC
1321Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
1322
1323 * gdbarch.sh: Include <gdb_wait.h> instead of <wait.h>.
1324 * gdbarch.c: Already updated by Wed Feb 9 18:59:16 2000 Andrew
7b83ea04 1325 Cagney <cagney@b1.cygnus.com>.
0596389c 1326
f5bca8e7
AC
1327Mon Feb 21 11:03:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
1328
1329 * MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando
7b83ea04
AC
1330 nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott
1331 Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol -
1332 to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI -
1333 Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
1334 Kingdon.
f5bca8e7 1335 * MAINTAINERS: Add Nick Clifton to write after approval list.
beb998c6 1336
538aae9d
AC
1337Mon Feb 21 10:30:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
1338
1339 * MAINTAINERS: Add note on multiple maintainers.
1340
55555bbc
FN
13412000-02-19 Philippe De Muyter <phdm@macqel.be>
1342
7b83ea04
AC
1343 * cli-out.c (cli_table_header): Type of parameter `alignment' is
1344 `enum ui_align', not `int'.
1345 (cli_field_string, cli_field_skip): Likewise.
55555bbc 1346
dea753cd 13472000-02-18 Jim Blandy <jimb@redhat.com>
9a90a845 1348
dea753cd 1349 From Jimmy Guo <guo@cup.hp.com>:
9a90a845
JB
1350 * buildsym.h (add_free_pendings): Declare.
1351 * buildsym.c (add_free_pendings): New function.
1352 (make_blockvector): 32x64 fix using longest_local_hex_string().
1353 (start_subfile): initialize variable 'subfile'.
1354
cca728d0
EZ
13552000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1356
1357 * remote.c (remote_async_detach): Use target_mourn_inferior(), to
7b83ea04
AC
1358 make sure that all is cleaned up after we disconnect from the
1359 target.
cca728d0
EZ
1360 (remote_detach): Ditto.
1361
e8b09175
FN
13622000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
1363
b8d86de3
FN
1364 From Rodney Brown <RodneyBrown@pmsc.com>
1365 * ui-out.c (ui_out_set_flags): Fix typo, removing warning and
1366 potentially harming mistake.
1367
41815666
FN
13682000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
1369
e8b09175
FN
1370 * arm-tdep.c: Use header file instead of extern declarations for
1371 the {get,set}_arm_regname* functions.
1372
d45b9300
FN
13732000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
1374
1375 * configure.in: Replaces obsolete gdbtk-variable.c with
1376 gdbtk-varobj.c.
1377 * configure: Regenerate.
1378 * Makefile.in: Remove obsolete/extraneous references to
1379 gdbtk-var* files.
1380
e95a43ad
MK
13812000-02-16 Mark Kettenis <kettenis@gnu.org>
1382
1383 * target.c (do_target_signal_to_host): Do not use REALTIME_LO in
1384 the conversion of the signal number. TARGET_SIGNAL_REALTIME_33 is
1385 33 by definition, whereas REALTIME_LO might be 32 on systems that
1386 have SIG32 such as Linux. Make sure that the signal number
1387 returned is within the range specified by REALTIME_LO and
1388 REALTIME_HI.
1389
7433da22
MK
13902000-02-16 Mark Kettenis <kettenis@gnu.org>
1391
1392 * configure: Regenerated.
1393
bc90b915
FN
13942000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
1395
1396 * arm-tdep.c (set_disassembly_flavor, arm_othernames,
1397 _initialize_arm_tdep): Allows the user to choose between any of
1398 the flavors available for the disassembly to be used in the "info
1399 reg" command and elsewhere in gdb. It prevents having to maintain
1400 this information in two places by using the data kept in the
1401 opcodes directory.
1402
83d37ec8
MK
14032000-02-09 Mark Kettenis <kettenis@gnu.org>
1404
1405 * configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
1406 prfpregset_t in <sys/procfs.h>.
1407 * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
1408 HAVE_PRFPREGSET_T.
1409 * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
1410 prgregset_t and prfpregset_t if they are not already present.
1411
eeefac92
AC
1412Wed Feb 16 19:00:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
1413
1414 From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>:
7b83ea04 1415 * procfs.c: Define MERGEPID if not defined. For osf4.0e.
eeefac92 1416
1a645206
JM
14172000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
1418
1419 * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
1420 'do-doc'.
1421
f6077098
KB
14222000-02-15 Kevin Buettner <kevinb@redhat.com>
1423
1424 Changes for AIX 4.3:
1425 * rs6000-tdep.c (rs6000_fix_call_dummy): Set TOC register
1426 to correct value for generic dummy frames. When using
1427 generic dummy frames, don't attempt to write TOC value or
1428 function to call into the call dummy.
7b83ea04 1429 (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
f6077098
KB
1430 code to also handle the PowerOpen ABI.
1431 (ppc_push_return_address): Enable for all ports.
1432 * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES,
beb998c6 1433 PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
f6077098
KB
1434 CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION,
1435 CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults
1436 provided by generic RS6000 definitions so that call dummies
1437 are implemented using generic dummy frames instead.
1438
1439 * rs6000-nat.c (store_inferior_registers): Call exec_one_dummy_insn()
1440 prior to changing the stack pointer via ptrace(). Also, ignore
1441 attempts to store to undefined registers that are less than
1442 NUM_REGS.
1443
1444 * rs6000-tdep.c (DUMMY_FRAME_SIZE): Change size of the dummy
1445 frame from 436 to 448 to account for alignment padding.
1446 (rs6000_push_arguments): Obtain actual register size instead
1447 of assuming the register is 4 bytes long. [There's still
1448 more work to be done to totally remove the 4 byte assumption,
1449 however.] Make sure the stack is 16 byte aligned as required
1450 by the PowerOpen ABI. Also, make sure that small structures
1451 passed in registers are properly aligned within the register.
1452
14532000-02-15 Jesper Skov <jskov@cygnus.co.uk>
1454
1455 Patch applied by Kevin Buettner <kevinb@redhat.com>
beb998c6 1456
f6077098
KB
1457 * rs6000-tdep.c (skip_prologue): skip copying of argument
1458 registers to local variable registers.
1459
70d5406d
JK
14602000-02-14 Jim Kingdon <kingdon@redhat.com>
1461
1462 * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
1463 sym->section->index number is not a SECT_OFF_* code.
1464
168770df
AC
1465Tue Feb 15 12:07:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
1466
1467 * MAINTAINERS (write after approval): Add H.J. Lu.
1468
031d1bf1
NC
14692000-02-14 Nick Clifton <nickc@cygnus.com>
1470
1471 * sh-tdep.c: Remove extraneous code.
1472
2bc8a457
JK
14732000-02-14 Amit S. Kale <akale@veritas.com>
1474
1475 * elfread.c (elf_symtab_read): Move the use of sym to after where
1476 it is set.
1477 Checked in by Jim Kingdon <kingdon@redhat.com>
1478
0c566c2e
AC
1479Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
1480
1481 * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
1482
3ca72b44
AC
1483Mon Feb 14 15:20:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
1484
1485 From 1999-11-24 Jason Merrill <jason@casey.cygnus.com>:
1486 * dwarf2read.c: (die_is_declaration): New fn.
1487 (read_structure_scope): Use it.
1488
1489 * dwarf2read.c: (die_is_declaration): Convert to ISO-C.
1490
d6e9fb05
JK
14912000-02-10 J.T. Conklin <jtc@redback.com>
1492
1493 * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
1494 * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
7b83ea04 1495 configdirs.
d6e9fb05 1496 * gdbserver/low-nbsd.c: New file.
beb998c6 1497
d6e9fb05
JK
1498 * gdbserver/Makefile.in: convert to autoconf.
1499 * gdbserver/configure.in: likewise.
1500 * gdbserver/configure: generate.
1501
41c8e009
AC
1502Sun Feb 13 11:21:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
1503
1504 * CONTRIBUTE: New file. How to contribute to GDB.
1505
15929d05
AC
1506Sun Feb 13 10:34:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
1507
1508 * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin
7b83ea04
AC
1509 Buettner to powerpc maintainers. Make Kevin Buettner the
1510 GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon
1511 and Jason Molenda to write after aproval list.
15929d05 1512
5185fdd7
AC
1513Sun Feb 13 10:18:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
1514
1515 * MAINTAINERS: Reformat. Separate into check-in categories.
1516
f086451a
ND
1517Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <nsd@cygnus.com>
1518
1519 * uw-thread.c: Remove __FUNCTION__ GNUism.
1520
fa292f23
JK
15212000-01-17 Amit S. Kale <akale@veritas.com>
1522
1523 * elfread.c (elf_symtab_read): Use offset for the section in which a
1524 symbol resides, instead of .text section for calculating address of a
1525 symbol.
1526 Checked in by Jim Kingdon <kingdon@redhat.com>
1527
e18ef0bd
JK
15282000-02-10 Mark Kettenis <kettenis@gnu.org>
1529
1530 * gnu-nat.c: Remove hackery to include <bits/waitflags.h>. It is
1531 no longer necessary now we have gdb_wait.h.
1532
f90b2b1d
JK
15332000-02-09 Mark Kettenis <kettenis@gnu.org>
1534
1535 * gnu-nat.c (proc_string): Make global.
1536 (do_mach_notify_dead_name): Suppress dead name notifications if we
1537 know that the task is dead.
1538
15391999-12-13 Mark Kettenis <kettenis@gnu.org>
1540
1541 * gnu-nat.c (inf_validate_task_sc): Get task info via proc server
1542 instead of directly from the kernel. Add some hackery to make
1543 sure that the info isn't influenced by suspension of the task in
1544 the proc server itself.
1545
09f99d3f
JK
15462000-02-10 Jim Kingdon <kingdon@redhat.com>
1547
1548 * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
1549 approved by Michael Snyder.
1550
203051af
AC
15512000-02-09 Mark Kettenis <kettenis@gnu.org>
1552
7b83ea04 1553 * linux-thread.c: Include defs.h before gdb_wait.h.
203051af 1554
03f2053f
AC
1555Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
1556
1557 * Makefile.in (wait_h): Delete macro. Update all dependencies
7b83ea04 1558 specifying gdb_wait.h instead.
03f2053f
AC
1559
1560 * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
7b83ea04
AC
1561 remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
1562 remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
1563 convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
1564 remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
1565 remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
1566 remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
1567 ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
1568 infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
1569 fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
1570 or <sys/wait.h>.
145679a8 1571 * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
03f2053f
AC
1572
1573 * gdb_wait.h: New file. Based on ../include/wait.h. Include
7b83ea04 1574 <sys/wait.h> or <wait.h> and then define any missing WIF macros.
03f2053f 1575
489137c0
AC
1576Wed Feb 9 01:14:54 2000 Andrew Cagney <cagney@amy.cygnus.com>
1577
1578 * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Define.
1579 * config/d10v/tm-d10v.h (STACK_ALIGN): Define.
1580 (d10v_stack_align): Declare.
1581 * d10v-tdep.c (d10v_stack_align): Define.
1582
ce808e91
AC
15831999-08-23 J.T. Conklin <jtc@redback.com>
1584
7b83ea04
AC
1585 * top.c (remote_timeout): Change default to 2. Add comment
1586 explaining history of changes to the default value.
1587 * remote.c (_initialize_remote): Remove code that adds set/
1588 show remotetimeout, as that's also done in top.c
ce808e91 1589
e9277ae8
AC
15901999-10-18 J.T. Conklin <jtc@redback.com>
1591
7b83ea04
AC
1592 * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
1593 Return E01 instead of P01 when 'P' command fails.
e9277ae8 1594
1216fa2c
AC
15952000-02-05 J.T. Conklin <jtc@redback.com>
1596
1597 * remote.c (putpkt_binary): Handle NAK from target stub.
1598
f2c4d933
EZ
15992000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1600
1601 * configure.in: Remove the addition of sol-thread.c to the
1602 CONFIG_INITS list. This caused problems with init.c, because
1603 sol-thread.c would be grepped twice for _initialize_* functions.
1604 * configure: Ditto.
1605 * Makefile.in: Add FIXME for init.c.
1606
745b8ca0
JK
16072000-02-07 Jim Kingdon <kingdon@redhat.com>
1608
1609 Clean up compiler warnings:
1610 * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
1611 stack.c, valprint.c: Change variables to unsigned.
1612 * bcache.c: Rearrange to avoid warnings about variables not being set.
1613 * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
1614 rather than declaring print_max and repeat_count_threashold
1615 ourselves (incorrectly).
1616 * valprint.h: Do declare repeat_count_threashold.
1617 * ch-exp.c: Use default case for internal error.
1618 * findvar.c: Don't omit argument type.
1619 * symtab.c: Remove unused variable.
1620
4d9ab7f6
JK
16212000-02-04 Jim Blandy <jimb@redhat.com>
1622
1623 * c-typeprint.c (remove_qualifiers): New function.
1624 (c_type_print_base): Use it to remove qualifiers from C++
1625 qualified names, not strrchr.
1626
1627 * c-typeprint.c (c_type_print_base): Recognize type conversion
1628 operators by calling is_type_conversion_operator.
1629 (is_type_conversion_operator): New function.
1630
dfcd3bfb
JM
16312000-02-04 Nick Clifton <nickc@cygnus.com>
1632
1633 * config/arm/tm-arm.h (LOWEST_PC): Define.
1634
16352000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1636
1637 * infrun.c (resume): Make just one call to target_resume(), instead
7b83ea04
AC
1638 of four: set up correct parameters in all the cases ahead of time,
1639 and do call at the end.
dfcd3bfb
JM
1640
16412000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1642
1643 * config/powerpc/tm-ppc-eabi.h: Define
7b83ea04 1644 SOFUN_ADDRESS_MAYBE_MISSING.
dfcd3bfb
JM
1645
16462000-02-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1647
1648 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy
1649 frames (revisited).
1650
1651Fri Feb 4 22:42:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
1652
1653 * Makefile.in (INIT_FILES): Append CONFIG_INITS
1654 * configure.in (CONFIG_INIT): Initialize.
3fc11d3e
JM
1655 (links): Link srcdir/gdbtk/library to gdbtcl2.
1656 * gdbtcl2: Moved to gdbtk/library.
1657 ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
7b83ea04
AC
1658 gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
1659 gdbtk.h: Moved to gdbtk/generic.
dfcd3bfb
JM
1660
16612000-02-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1662
1663 * printcmd.c (build_address_symbolic): New function. Returns all
7b83ea04
AC
1664 the parts that are necessary to print an address in a symbolic
1665 form.
dfcd3bfb 1666 (print_address_symbolic): Split into a printing part and an
7b83ea04 1667 information building part, build_address_symbolic().
dfcd3bfb
JM
1668
1669 * defs.h (build_address_symbolic): Export.
1670
16712000-02-03 Jim Blandy <jimb@redhat.com>
1672
1673 * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx
1674 opcode.
1675
8b93c638
JM
16762000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1677
1678 * arm-tdep.c (arm_push_arguments): Fix passing of floating point
1679 arguments on dummy frames.
1680
16812000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1682
1683 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy frames.
1684 (arm_pop_frame): Account fr dummy frames (as opposed to real ones).
1685
d9fcf2fb
JM
16862000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1687
1688 * remote.c (getpkt_sane): New function. It is the old getpkt(),
7b83ea04 1689 which now returns a timeout indication.
d9fcf2fb 1690 (getpkt): New function. Wrapper for getpkt_sane(), so that return
7b83ea04 1691 value can still be ignored.
d9fcf2fb 1692
8b93c638
JM
1693Tue Feb 1 18:47:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
1694
1695 * top.c (print_gdb_version): Print ``UI_OUT'' when configured with
7b83ea04 1696 UI_OUT.
8b93c638 1697
d9fcf2fb
JM
1698Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
1699
1700 * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename
7b83ea04
AC
1701 ``struct gdb_file'' to ``struct ui_file''. Delete typedef
1702 GDB_FILE.
beb998c6 1703
d9fcf2fb
JM
1704 * Makefile.in: Update.
1705
1706 * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
7b83ea04
AC
1707 c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
1708 ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
1709 cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
1710 expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
1711 frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
1712 gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
1713 jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
1714 m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
1715 printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
1716 remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
1717 ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
1718 serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
1719 target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
1720 utils.c, v850ice.c, valprint.c, valprint.h, value.h,
1721 config/pa/tm-hppa.h: Update.
8b93c638 1722 * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
d9fcf2fb 1723
da59e081
JM
17242000-01-31 Jason Molenda (jsm@bugshack.cygnus.com)
1725
a9e0ce2c
JM
1726 * config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh,
1727 config/i386/i386dgux.mh, config/i386/i386sol2.mh,
1728 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
1729 config/i386/ncr3000.mh, config/m68k/m68kv4.mh,
1730 config/m88k/delta88v4.mh, config/mips/irix4.mh,
1731 config/mips/irix5.mh, config/mips/mipsv4.mh,
da59e081 1732 config/powerpc/solaris.mh (NATDEPFILES): Change references to
a9e0ce2c 1733 proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to
da59e081
JM
1734 proc-api.o, proc-events.o, proc-flags.o, and proc-why.o.
1735
1736Mon Jan 31 17:14:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1737
1738 * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
1739
1740 * main.c (captured_main): Only use the legacy tui_file code when
7b83ea04 1741 linking in older code such as the TUI.
da59e081
JM
1742
1743 * gdb-file.h, gdb-file.c: New files.
1744 * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
7b83ea04
AC
1745 null_file_isatty, null_file_rewind, null_file_put,
1746 null_file_flush, null_file_write, null_file_fputs,
1747 null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
1748 gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
1749 set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
1750 set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
1751 set_gdb_file_data, struct accumulated_gdb_file,
1752 do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
1753 mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
1754 mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
1755 stdio_file_delete, stdio_file_flush, stdio_file_write,
1756 stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
1757 Moved to gdb-file.h and gdb-file.c.
da59e081 1758 * utils.c (enum streamtype, struct tui_stream, tui_file_new,
7b83ea04
AC
1759 tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
1760 tui_file_rewind, tui_file_put, tui_file_fputs,
1761 tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
da59e081 1762 fputs_unfiltered_hook):
7b83ea04 1763 Moved to tui/tui-file.c and tui/tui-file.h.
beb998c6 1764
da59e081
JM
1765 * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o.
1766 (tui-file.o, gdb-file.o): Add dependencies.
1767 (corefile.o, main.o, utils.o, simmisc.o): Update dependencies.
1768 * main.c: #include tui/tui-file.h.
1769
17702000-01-28 Fred Fish <fnf@cygnus.com>
1771
1772 * findvar.c (value_from_register): Special case handling of D10V
1773 pointer values fetched from registers.
1774
17752000-01-28 Fernando Nasser <fnasser@totem.to.cygnus.com>
1776
1777 * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add
b55cf2e4 1778 support for new style thumb prologues.
da59e081
JM
1779
17802000-01-28 Nick Clifton <nickc@redhat.com>
1781
1782 * arm-tdep.c: Remove extraneous dash at start of strings
1783 introduced in previous delta.
1784
17852000-01-27 Nick Clifton <nickc@redhat.com>
1786
1787 * arm-tdep.c: Replace uses of arm_toggle_renames() with
b55cf2e4 1788 parse_arm_disassembler_option().
da59e081
JM
1789
17902000-01-27 Jim Blandy <jimb@cygnus.com>
1791
1792 * symtab.c (decode_line_1): Don't let commas that are within
7b83ea04
AC
1793 quotes or parenthesis terminate the line spec. Don't use pp when
1794 removing the final double quote of a double-quoted string. Don't
1795 forget to skip the opening double quote. I have no clue whether
1796 this change is correct; probably we've just moved this function
1797 from one buggy place to another buggy place, and never came within
1798 an outhouse whiff of correctness.
da59e081
JM
1799 (find_toplevel_char): New function.
1800
18012000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1802
1803 * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
7b83ea04 1804 passing the pointer to a thumb function as an argument.
da59e081
JM
1805
18062000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1807
1808 * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints
1809 are reinserted for another run.
1810
8b93c638
JM
18112000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1812
1813 * cli-out.c (cli_filed_string): Test for NULL string.
1814
da59e081
JM
18152000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1816
1817 * infcmd.c (run_stack_dummy): Account for a random signal stopping
1818 the inferior as well as breakpoints being hit while performing an
1819 inferior function call.
1820 * valops.c (hand_function_call): Ditto.
1821
18222000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1823
1824 From Mark Kettenis <kettenis@gnu.org>
1825
1826 * config/i386/tm-i386gnu.h (THREAD_STATE_FLAVOR): Define to
1827 i386_REGS_SEGS_STATE.
1828 (HAVE_I387_REGS): Define.
1829 (FLOAT_INFO): Remove.
1830 * i386gnu-nat.c: Almost completely rewritten to use new i386
1831 register layout and `float info' implementation.
1832 * gnu-nat.c (inf_update_procs, proc_get_state, proc_string):
1833 Move prototypes from here.
1834 * gnu-nat.h: To here.
1835
0fda6bd2
JM
18362000-01-24 Kevin Buettner <kevinb@redhat.com>
1837
1838 * utils.c (get_field, put_field): Fix buffer underruns and
1839 overruns. Also, handle case where total_len is not evenly
1840 divisible by 8.
1841 (getfield): Make sure zeroing of unwanted bits occurs even
1842 when bit field to extract does not straddle two or more
1843 bytes.
1844
18452000-01-23 Christopher Faylor <cgf@cygnus.com>
1846
1847 * defs.h: Add gdb_thread_select declaration.
1848
18492000-01-23 Kevin Buettner <kevinb@redhat.com>
1850
1851 * linux-thread.c (_initialize_linuxthreads): Make sure that
1852 linuxthreads_block_mask does not block SIGCHLD.
1853
18542000-01-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
1855
1856 * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to
1857 text so that new lines work properly.
1858
18592000-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1860
1861 * proc-utils.h: New file. Export functions from proc-*.c.
1862
1863 * proc_api.c: Rename to:
1864 * proc-api.c: New file. Add include of proc-utils.h.
1865
1866 * proc_events.c: Rename to:
1867 * proc-events.c: New file.
1868
1869 * proc_flags.c: Rename to:
1870 * proc-flags.c: New file.
1871
1872 * proc_why.c: Rename to:
1873 * proc-why.c: New file. Add include of proc-utils.h.
1874
1875 * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
7b83ea04 1876 ctype.h, proc-utils.h.
0fda6bd2
JM
1877 (find_procinfo_or_die): Add braces to avoid ambiguous else clause.
1878 (open_procinfo_files): Conditionalize local variable tmp, to avoid
7b83ea04 1879 compiler warnings.
0fda6bd2 1880 (proc_iterate_over_mappings): Conditionalize local vars mapfd and
7b83ea04 1881 pathname.
0fda6bd2 1882 (procfs_wait): Adjust format in some printf_filetered calls to
7b83ea04 1883 avoid compiler warnings.
0fda6bd2 1884 (make_signal_thread_runnable): Ifdef 0. The calls to this function
7b83ea04 1885 are also ifdef'd 0 .
0fda6bd2
JM
1886 (procfs_resume): Add parentheses around '&&' operation.
1887 (procfs_set_exec_trap): Remove unused variable.
1888 (info_proc_cmd): Add braces to avoid ambiguous else clause.
1889
1890 * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
7b83ea04 1891 proc-why.o): Update dependencies.
0fda6bd2
JM
1892
1893 * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
1894 proc-*.o.
1895
c5394b80
JM
18962000-01-17 Jason Molenda (jsm@bugshack.cygnus.com)
1897
1898 * configure.in (NEW_PROC_API): Fix Unixware-matching regexp.
1899 Fix from Robert Lipe <robertl@sco.com>.
1900 * configure: Regenerated.
1901
19022000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1903
1904 * stack.c (print_frame_info_base): Break up into the frame info
7b83ea04 1905 (location) printing part and the rest (source line printing).
c5394b80 1906 (print_frame): New function. Take care of printing the location
7b83ea04 1907 information.
c5394b80
JM
1908 Update copyright.
1909
1910 * infrun.c (normal_stop): Use enum values rather than integers for the
1911 source_flag to be passed to show_and_print_stack_frame().
7b83ea04 1912 Update copyright.
beb998c6 1913
c5394b80 1914 * frame.h (print_what): New enum for 'source' argument to
7b83ea04 1915 print_frame_info_base(). Use this instead of obscure numbers.
c5394b80 1916 Update copyright.
beb998c6 1917
c5394b80
JM
1918Sun Jan 16 17:58:00 2000 David Taylor <taylor@texas.cygnus.com>
1919
1920 * event-top.c (stdin_event_handler): call quit_command rather than
7b83ea04
AC
1921 exit -- run cleanups, give target code a chance to say goodbye to
1922 the target. Fixes bug where the inferior processes were left
1923 around on Solaris (and probably elsewhere) by the testsuite.
c5394b80
JM
1924
19252000-01-14 Mark Salter <msalter@cygnus.com>
1926
1927 * v850-tdep.c (v850_target_architecture_hook): Setup correct
7b83ea04 1928 machine id for disassembly.
c5394b80 1929
0fda6bd2
JM
19302000-01-13 Jim Blandy <jimb@cygnus.com>
1931
1932 * i386-linux-nat.c (fill_gregset): Pass the correct arguments to
1933 convert_to_regset, when regno indicates a specific register.
1934
c5394b80
JM
1935Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek <nsd@cygnus.com>
1936
1937 * uw-thread.c: Document libthread.so debugging interface. Minor
1938 comment and formatting tweaks.
1939 (DEBUG): #define as 0 instead of 1.
1940 (CALL_BASE): Include function name in error msg.
1941 (libthread_stub): Adjust inferior_pid after thread exit.
1942 (uw_thread_create_inferior): Deactivate uw_thread_ops before
1943 asking procfs_ops to create inferior.
1944 (libthread_init): Don't return nonlocally on error.
1945
19462000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
1947
1948 * rdi-share/ardi.c (negotiate_params): Fix initialization of static
1949 variable.
1950
19512000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
1952
1953 * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure
1954 both sides are on the same state.
1955
19562000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
1957
1958 * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and
1959 115200 (minor syntax mistake).
1960
19612000-01-12 Jim Blandy <jimb@cygnus.com>
1962
1963 * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for
1964 this here, to go along with the definitions of PIDGET and TIDGET.
1965
19662000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1967
1968 * thread.c (do_captured_thread_select): New function. Switch
7b83ea04 1969 current thread, safely from within catch_errors().
c5394b80
JM
1970 (gdb_thread_select): New function. Switch threads safely.
1971 (thread_command): Use gdb_thread_select().
8b93c638
JM
1972 Include ui-out.h.
1973 (do_captured_list_thread_ids): New function.
1974 (gdb_list_thread_ids): New function.
1975
1976 * defs.h (gdb_thread_select, gdb_list_thread_ids): Export.
c5394b80
JM
1977
19782000-01-11 Christopher Faylor <cgf@cygnus.com>
1979
1980 * configure.in: Avoid linking -limagehlp unless it's a native build.
1981 * configure: Regenerate.
1982 * thread.cc (add_thread): Clear private data pointer here or suffer
1983 strange behavior when it is checked for NULL later.
1984
0d06e24b
JM
19852000-01-09 Christopher Faylor <cgf@cygnus.com>
1986
1987 * win32nat.c (handle_exceptions): Handle various arithmetic exceptions.
1988 * configure.in: Add an additional library to cygwin link.
1989 * configure: Regenerate.
1990
1991 Patch from Egor Duda <deo@logos-m.ru>:
1992 * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe"
1993 type.
1994
19952000-01-07 Michael Snyder <msnyder@cleaver.cygnus.com>
1996
1997 * uw-thread.c: New file to support UnixWare user-mode threads:
aa47baa9 1998 contributed by Nickolas Duffek <nsd@cygnus.com>.
0d06e24b
JM
1999 * target.h (struct target_ops): New vector, to_extra_thread_info,
2000 allows back-ends to give extra details in info thread display.
2001 (target_extra_thread_info): define new macro.
2002 (target_find_new_threads): simplify macro. Cleanup comments.
2003 * target.c (to_extra_thread_info): default and inherit new vector.
2004 (cleanup_target): eliminate PARAMS, break up long lines,
2005 provide default definition for to_extra_thread_info, and
2006 to_find_new_threads. Default to_thread_alive and to_query
2007 to return_zero, not target_ignore (they each return int not void).
2008 (debug_to_find_new_threads): new debug entry.
2009 (setup_target_debug): add debug_to_find_new_threads.
2010 * gdbthread.h: export struct thread_info, find_thread_pid, and
2011 iterate_over_threads. Add comments. Eliminate PARAMS. Update
2012 copyright. Add new private data pointer for use by target back-ends.
2013 * thread.c (struct thread_info): move definition to gdbthread.h.
2014 (find_thread_pid): new exported function for thread lookup.
2b266721 2015 (iterate_over_threads): new exported function for applying
0d06e24b
JM
2016 arbitrary operations to threads. Update copyright to 2000.
2017 (info_threads_command): use new target_extra_thread_info vector
2018 to display extra information about each thread (if implemented).
2019 * config/i386/tm-i386v42mp.h: remove obsolete #defines for procfs.
2020 Add defines for PIDGET, etc.
2021 * config/i386/tm-i386sol2.h: ditto.
2022 * config/sparc/tm-sun4sol2.h: ditto.
2023 * config/i386/i386v42mp.mh: add uw-thread.o to NATDEPFILES.
2024 * testsuite/gdb.threads/pthreads.exp: Try to link with -lthread
2025 if -lpthread and -lpthreads fail.
2026
2027 * procfs.c: (PIDGET, TIDGET, MERGEPID): change default to no-op.
2028 (proc_flags): combine flags that UnixWare splits into two locations.
2029 (proc_modify_flag): add support for PR_KLC (kill on last close).
2030 (proc_[un]set_kill_on_last_close): new functions.
beb998c6 2031
8b93c638
JM
20322000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2033
2034 * infrun.c (normal_stop): Print out thread id when we stop.
2035
0d06e24b
JM
20362000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2037
2038 * remote.c (remote_open_1): Fix message so it does not imply a
2b266721 2039 specific syntax for serial ports, as it is OS dependent.
0d06e24b
JM
2040 (remote_async_open_1): Ibid.
2041 (init_remote_ops): Ibid.
2042
20432000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2044
2045 * rdi-share/serdrv.c (SerialOpen): Use speed from "-b" argument or
2046 "set remotebaud" command (if set) when no speed is specified on
2047 the "target rdi" command.
2048
20492000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2050
2051 * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and
2052 115200.
2053 (baud_options[]): Ibid.
2054
20552000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2056
2057 * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix
2058 used by each operating system.
2059
20602000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2061
2062 * breakpoint.c (until_break_command): Add an argument for the
7b83ea04
AC
2063 continuation, the beginning of the cleanups set up by this
2064 command.
0d06e24b 2065 (until_break_command_continuation): Do cleanups until the one
7b83ea04 2066 passed in as argument instead of doing all of them.
0d06e24b
JM
2067
2068 * infcmd.c (finish_command_continuation): Expect a new argument,
7b83ea04
AC
2069 which indicates up to where to do cleanups. Update calls to
2070 do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
0d06e24b
JM
2071 (finish_command): Add another argument for the continuation: the
2072 starting cleanup for this command.
2073
c3f6f71d 20742000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 2075
c3f6f71d
JM
2076 From Grant Edwards <grante@visi.com> (original patch from Thomas
2077 Zenker ):
2078 * rdi-share/ardi.c: Allow interruption of interruptible
2079 targets with a <CNTL-C>.
ed9a39eb 2080
c3f6f71d 20812000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 2082
c3f6f71d
JM
2083 * rdi-share/etherdrv.c (fetch_ports): Send extra words on request
2084 to control port to accommodate some versions of Angel.
ed9a39eb 2085
c3f6f71d 20862000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 2087
c3f6f71d
JM
2088 * rdi-share/devsw.c (dumpPacket): Fix source of channel information.
2089 Add interpretation for C Support Library packets.
ed9a39eb 2090
c3f6f71d 20912000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 2092
c3f6f71d
JM
2093 * rdi-share/devsw.c (DevSW_Close): Remove const from argument that
2094 is now being modified.
2095 * rdi-share/devsw.h: Adjust declaration of the above funtion.
ed9a39eb 2096
c3f6f71d 2097For older changes see ChangeLog-99
c906108c
SS
2098\f
2099Local Variables:
2100mode: change-log
2101left-margin: 8
2102fill-column: 74
2103version-control: never
2104End:
This page took 0.202623 seconds and 4 git commands to generate.