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