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