2000-04-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8956470d
EZ
12000-04-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2
3 * xcoffsolib.c (solib_add): Fix call to vmap_symtab().
4
c2d1645f
PS
52000-04-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6
7 * TODO: Update.
8
e55e8cee
AC
9Wed Apr 19 19:10:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
10
11 * TODO: Document -Wreturn-type problem.
12
90515c23
AC
132000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
14
15 * maint.c (_initialize_maint_cmds): Add `mt i' alias for `mt info'.
16
7194c49b
AC
172000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18
19 * infcmd.c (_initialize_infcmd): Add `info r' alias for
20 `info registers'.
21
df02e9ed
AC
22Wed Apr 19 17:03:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
23
24 From Philippe De Muyter <phdm@macqel.be>:
25 * bcache.c (free_bcache): Do not free NULL.
26
9debab2f
AC
27Wed Apr 19 16:37:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
28
29 * TODO: Cleanup.
30 * NEWS: Update GDB version. Duplicate paragraph explaining
31 obsolete.
32
747d1ccb
AC
33Wed Apr 19 13:06:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
34
35 * Makefile.in (distclean): Delete tui/Makefile.
36 * TODO: Add deletion of tui/Makefile.in to list.
37
e7cf9df1
EZ
382000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
39
40 * symfile.h (struct section_addr_info ): Remove fields for special
41 treatment of .text, .data and .bss sections.
42
43 * solib.c (symbol_add_stub): The special field text_addr is not
44 available anymore. Search for the .text field the hard way.
45
46 * symfile.c (build_section_addr_info_from_section_table): Don't
47 fill in {text, data, bss}_addr any more.
48 (default_symfile_offsets): Don't use {text, data, bss}_addr fields
49 to fill in section_offsets for objfile.
50 (syms_from_objfile): Don't deal with {text, data, bss}_addr as a
51 special case anymore.
52 (add_symbol_file_command): Ditto.
53
4da95fc4
EZ
542000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
55
56 symfile.c: (symbol_file_command): Remove support for rombug, to
57 simplify code.
58
db162d44
EZ
592000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
60
61 * symfile.c (add_symbol_file_command): Rewrite the arguments
62 processing part. Simplify syntax of command. Remove support for
63 rombug.
64 (_initialize_symfile): Update help message for add-symbol-file
65 command.
66
301ab94d
AC
67Mon Apr 17 15:53:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
68
69 * gdbarch.sh (IEEE_FLOAT): Only dump when defined.
70 * gdbarch.h, gdbarch.c: Re-generate.
71
bc1821e6
AC
72Mon Apr 17 11:26:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
73
74 * remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
75 (MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h
76 (BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE),
77 gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR,
78 FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE,
79 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
80 REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS,
81 ADDRESS_TO_POINTER): Delete default definition. Handled by
82 gdbarch.
83
84 * gdbarch.sh: Make multi-arch defaults, defaults for non-
85 multi-arch targets.
86 (REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE,
87 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
88 D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC,
89 MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT,
90 REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION):
91 Provide default/legacy implementation.
92 (REGISTER_NAMES, CALL_DUMMY): Allow legacy definition.
93 * gdbarch.h, gdbarch.c: Re-generate.
94
0ce865f2
JB
952000-04-16 Jim Blandy <jimb@redhat.com>
96
97 * findvar.c (store_typed_address, extract_typed_address): Fix
98 function names in error messages.
99
6c9d75b8
EZ
1002000-04-16 Eli Zaretskii <eliz@is.elta.co.il>
101
102 * config/djgpp/config.sed: Fix the lines which edit clean: and
103 uninstall-info: targets.
104
8dc7983f
JB
1052000-04-14 Jim Blandy <jimb@redhat.com>
106
c41dbdb8
JB
107 Bring IEEE_FLOAT under gdbarch's control.
108 * gdbarch.sh (IEEE_FLOAT): New entry.
109 * gdbarch.c, gdbarch.h: Regenerated.
110 * valprint.c (IEEE_FLOAT): Provide a default #definition for this.
111 (print_floating): Use IEEE_FLOAT as if it were an expression; use
112 the code specific to IEEE-format numbers whenever the value of
113 IEEE_FLOAT is non-zero.
114 * config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
115 config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
116 config/h8300/tm-h8300.h, config/i386/tm-i386.h,
117 config/i960/tm-i960.h, config/m88k/tm-m88k.h,
118 config/mips/tm-mips.h, config/pa/tm-hppa.h,
119 config/sparc/tm-sparc.h, config/delta/tm-delta.h,
120 config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define
121 IEEE_FLOAT, make sure they give it the value (1).
122
8dc7983f
JB
123 Provide the hooks needed to support architectures on which
124 pointers are not always simple byte addresses.
125
126 * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
127 functions which architectures can redefine, defaulting to
128 generic_pointer_to_address and generic_address_to_pointer.
129 * findvar.c (extract_typed_address, store_typed_address,
130 generic_pointer_to_address, generic_address_to_pointer): New
131 functions.
132 (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default
133 definitions.
134 (extract_address, store_address): Doc fixes.
135 * values.c (value_as_pointer): Doc fix.
136 (value_from_pointer): New function.
137 * defs.h (extract_typed_address, store_typed_address): New
138 declarations.
139 * inferior.h (generic_address_to_pointer,
140 generic_pointer_to_address): New declarations.
141 * value.h (value_from_pointer): New declaration.
142
143 The following changes are all of the general form "Use these
144 functions instead of these other functions." In each case, the
145 change is because the new calls provide enough information to do
146 the appropriate address / pointer conversions, where the old calls
147 did not, or because the new functions are more appropriately named
148 for the operation being performed.
149
150 * ax-gdb.c (const_var_ref): Use value_from_pointer, not
151 value_from_longest.
152 * blockframe.c (generic_push_dummy_frame): Use read_pc and
153 read_sp, not read_register.
154 * c-valprint.c (c_val_print): Use extract_typed_address instead of
155 extract_address to extract vtable entries and references.
156 * cp-valprint.c (cp_print_value_fields): Use value_from_pointer
157 instead of value_from_longest to extract the vtable's address.
158 * eval.c (evaluate_subexp_standard): Use value_from_pointer
159 instead of value_from_longest to compute `this', and for doing
160 pointer-to-member dereferencing.
161 * findvar.c (read_register): Use extract_unsigned_integer, not
162 extract_address.
163 (read_var_value): Use store_typed_address instead of store_address
164 for building label values.
165 (locate_var_value): Use value_from_pointer instead of
166 value_from_longest.
167 * hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer,
168 instead of value_from_longest, to build arguments to __d_shl_get.
169 * printcmd.c (set_next_address): Use value_from_pointer, not
170 value_from_longest.
171 (x_command): Use value_from_pointer, not value_from_longest.
172 * tracepoint.c (set_traceframe_context): Use value_from_pointer,
173 not value_from_longest.
174 * valarith.c (value_add, value_sub): Use value_from_pointer, not
175 value_from_longest.
176 * valops.c (find_function_in_inferior, value_coerce_array,
177 value_coerce_function, value_addr, hand_function_call): Same.
178 * value.h (COERCE_REF): Use unpack_pointer, not unpack_long.
179 * values.c (unpack_long): Use extract_typed_address to produce
180 addresses from pointers and references, not extract_address.
181 (value_from_longest): Use store_typed_address instead of
182 store_address to produce pointer and reference values.
183
d84dd0c5
MK
1842000-04-13 Mark Kettenis <kettenis@gnu.org>
185
186 * acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T,
187 HAVE_PSADDR_T): Add them here instead of in config.in.
188
189 * acconfig.h (PRFPREGSET_T_BROKEN): New define.
190 * configure.in: Add check for broken prfpregset_t type.
191 * lin-thread.c (gdb_prfpregset): New typedef, depends on
192 definition of PRFPREGSET_T_BROKEN.
193 (ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs,
194 p_td_thr_setfpregs, thread_db_fetch_registers,
195 thread_db_store_registers): Use gdb_prfpregset_t instead of
196 prfpregset_t.
197 * config.in: Regenerated.
198 * configure: Regenerated.
199
65edb64b
DD
2002000-04-13 DJ Delorie <dj@cygnus.com>
201
202 * mips-tdep.c (do_fp_register_row): copy the number of bytes
203 allocated, not the size of the pointer.
204
14164c30
PS
2052000-04-13 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
206
207 * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Define.
208 * config/i386/tm-i386sol2.h (HAVE_I387_REGS): Define.
209 * i386v4-nat.c (supply_fpregset, fill_fpregset): Add code
210 to handle floating point registers if NUM_FREGS is not zero.
211
db348f27
ND
2122000-04-13 Nick Duffek <nsd@cygnus.com>
213
214 * sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
215 and document to_find_new_threads bug.
216
010a3cd9
EZ
2172000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
218
219 * infrun.c (proceed, normal_stop): Change the error message about
220 failure to insert breakpoints/watchpoints so that it makes sense
221 even if ptrace is not used or no other processes can be active.
222
413ccac7
AC
223Thu Apr 13 13:24:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
224
225 * configure.in: Add --enable-maintainer-mode.
226 * aclocal.m4, configure: Re-generate.
227
228 * Makefile.in ($(srcdir)/copying.c): Enable dependencies only when
229 on maintainer-mode. Update copying.c in source directory.
230 (copying.txt): Delete rule.
231 (copying.o): Add explict paths to $(srcdir) and explicit make
232 rule.
233
acf7b9e1
KB
2342000-04-12 Kevin Buettner <kevinb@redhat.com>
235
236 * ia64-linux-nat.c (IA64_PSR_DB, IA64_PSR_DD): Define.
237 (fetch_debug_register, fetch_debug_register_pair,
238 store_debug_register, store_debug_register_pair, is_power_of_2,
239 enable_watchpoints_in_psr, ia64_linux_insert_watchpoint,
240 ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
241 New functions.
242 * config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS,
243 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
244 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
245 target_remove_watchpoint): Define.
246 (ia64_linux_stopped_by_watchpoint, ia64_linux_insert_watchpoint,
247 ia64_linux_remove_watchpoint): Declare.
248
d03cef9d
EZ
2492000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
250
251 * go32-nat.c (go32_insert_hw_breakpoint): When there are no more
252 hardware breakpoint resources, return EBUSY.
253 (go32_handle_nonaligned_watchpoint): If the argument WHAT is not
254 one of the enumerated values, return EINVAL.
255
c63ce875
EZ
2562000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
257
258 * README: Mention special build instructions for DJGPP.
259 * NEWS: Update with FP features on x87 platforms, and
260 DJGPP-related changes.
261
ae678129
EZ
2622000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
263
264 * top.c (gdb_completer_file_name_break_characters): New variable.
265 (line_completion_function): When completing on file names, use
266 gdb_completer_file_name_break_characters as word break
267 characters for the readline library.
268
1d77867f
MK
2692000-04-12 Mark Kettenis <kettenis@gnu.org>
270
271 * i387-tdep.c (print_i387_value): Avoid call to
272 floatformat_to_doublest if long double type is the same on host
273 and target.
274
287e3058
FN
2752000-04-11 Fernando Nasser <fnasser@cygnus.com>
276
277 * wrapper.h: Remove definitions of internal functions.
278 * wrapper.c: Remove definitions of exported functions (which are
279 already in wrapper.h) and make static all internal wrap_* functions.
280
e48f66e4
AC
281Mon Apr 10 21:58:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
282
283 * acconfig.h (USE_INCLUDED_REGEX): Add.
284 * Makefile.in (REGEX_CFLAGS): Delete
285 * configure.in (REGEX_CFLAGS): Delete. Use AC_DEFINE instead.
286 * configure, config.in: Re-generate.
287
f38e884d
SB
2882000-04-10 Philip Blundell <philb@gnu.org>
289
290 * arm-linux-nat.c (arm_skip_solib_resolver): Remove and move to
291 arm-linux-tdep.c.
292 * arm-linux-tdep.c (arm_skip_solib_resolver): New.
293
9285ab80
FN
2942000-04-10 Fernando Nasser <fnasser@cygnus.com>
295
296 From 2000-04-10 Rodney Brown <rdb@redhat.com>:
297 * command.h (enum command_class): Remove trailing "," to placate
298 AIX xlc.
299
bc9e5bbf
AC
300Mon Apr 10 20:17:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
301
302 * TODO, NEWS: Update. Mention MI.
303
1ad03bde
AC
304Mon Apr 10 00:21:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
305
306 * gdbarch-utils.h, gdbarch-utils.c: Delete.
307 * arch-utils.h, arch-utils.c: New files. Avoid 14 character file
308 name problems.
309 * Makefile.in: Update.
310 * gdbarch.c: Update.
311
a5ea2558
AC
312Sun Apr 9 23:42:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
313
314 From 2000-04-07 Jonathan Larmour <jlarmour@redhat.co.uk>:
315 * mips-tdep.c (saved_gpreg_size_enums): Define enum command for
316 new "set mips saved-gpreg-size" command
317 (MIPS_SAVED_REGSIZE): Now a function mips_saved_regsize()
318 (MIPS_DEFAULT_SAVED_REGSIZE): Define for default MIPS_SAVED_REGSIZE,
319 either from target, or gdb multi-arch
320 (show_mips_command): New. For "show mips" prefix command
321 (set_mips_command): New. For "show mips" prefix command
322 (_initialize_mips_tdep): Add top-level mips prefix command
323 Add "set mips saved-gpreg-size" command
324
325 * mips-tdep.c (struct gdbarch_tdep): Rename mips_saved_regsize to
326 mips_default_saved_regsize.
327 (mips_gdbarch_init): Update.
328 (MIPS_DEFAULT_SAVED_REGSIZE): Update.
329 (mips_gdbarch_init): Use MIPS_REGSIZE as the default value for
330 mips_default_saved_regsize.
331
f7384f0f
AC
332Sun Apr 9 23:27:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
333
334 From 2000-04-07 J.T. Conklin <jtc@redback.com>:
335 * lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
336 replace calls to target_xfer_memory() with target_read_memory()
337 and target_write_memory().
338
85c9a9d5
AC
339Sun Apr 9 22:54:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
340
341 * valops.c (value_rtti_type): Compare VALUE_ADDRESS with ``0'' not
342 NULL. Macro returns a CORE_ADDR.
343
64367e0a
JB
3442000-04-08 Jim Blandy <jimb@redhat.com>
345
346 * dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
347 Don't include "bfd-elf.h".
348 (address_significant_size): Delete variable.
349 (dwarf2_build_psymtabs_hard): Don't set it, or check for
350 consistency between it and the Dwarf 2 compilation unit header
351 address size.
352 (read_address): Don't mask off bits above
353 address_significant_size.
354 * Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h).
355 (elf_bfd_h): Remove variable; it's no longer used.
356
3423db82
PS
3572000-04-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
358
359 * configure.in (NEW_PROC_API): Escape square brackets when testing
360 for solaris2.[678].
361 * configure: Regenerate.
362
134e61c4
SB
3632000-04-07 Scott Bambrough <scottb@netwinder.org>
364
365 * ChangeLog: Correct date on last entry.
366 * arm-linux-tdep.c (arm_linux_push_arguments): New function.
367 * config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux.
368 * config/arm/tm-embed: Fix build warning from redefinition of
369 LOWEST_PC.
370 * config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE.
371 * config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and
372 TARGET_BYTE_ORDER. Add TARGET_BYTE_ORDER_SELECTABLE_P to
373 override default in tm-arm.h. Use default target byte order
374 from tm-arm.h.
375
3762000-04-07 Scott Bambrough <scottb@netwinder.org>
03e0fb3a
SB
377
378 * Makefile.in: Add dependency information for arm-linux-tdep.c.
379 * config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.
380
291dcb3e
PS
3812000-04-07 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
382
383 * sol-thread.c (gdb_ps_addr_t): New typedef, depends on definition
384 of PROC_SERVICE_IS_OLD.
385 (ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite,
386 rw_common): Change argument type from psaddr_t to gdb_ps_addr_t.
387
1decb323
AC
388Fri Apr 7 17:18:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
389
390 * Makefile.in (CFLAGS): Set using configure.
391
392 * configure.in (WARN_CFLAGS): Enable by default when GCC.
393 * configure: Re-generate.
394
d311cd50
AC
395Fri Apr 7 13:33:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
396
397 From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
398 * procfs.c (init_procfs_ops): Set procfs_ops.to_has_memory and
399 procfs_ops.to_has_all_memory to 1.
400
401 * TODO: Update
402
6abadcf8
ND
4032000-04-06 Nick Duffek <nsd@cygnus.com>
404
405 * configure.in (_MSE_INT_H): Define on Solaris 7.
406 (NEW_PROC_API): Define on Solaris 7 and 8 as well as 6.
407 * acconfig.h (_MSE_INT_H): Define on Solaris 7.
408 * configure: Regenerate.
409 * config.in: Regenerate.
410
2f09097b
ND
4112000-04-06 Michael Snyder <msnyder@cygnus.com>
412
413 * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
414 Change to rely on PIDGET etc.
415 * config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
416 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
417 STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
418 define. Allow target to use procfs hardware watchpoints.
419 * config/sparc/nm-sun4sol2.h: ditto.
420 * config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
421 definitions to use 16 bits for the pid, 15 bits for the tid, and
422 1 bit for the flag.
423 * config/sparc/tm-sun4sol2.h: ditto.
424 (SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
425 * testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
426 for more than 15 thread increments.
427
bcea15ac
EZ
4282000-04-06 Eli Zaretskii <eliz@is.elta.co.il>
429
430 * top.c (filename_completer): Set subsequent_name to 1 early on,
431 to prevent an infinite loop if the first file in the directory is
432 a backup file (whose name ends in a `~').
433
c3f432d9
JB
4342000-04-05 Jim Blandy <jimb@redhat.com>
435
436 * solib.c (update_solib_list): New function.
437 (solib_add): Call update_solib_list, and then read symbols.
438 (info_sharedlibrary_command): Call update_solib_list, not
439 solib_add.
440
c20f6dea
SB
4412000-04-05 Scott Bambrough <scottb@netwinder.org>
442
443 * arm-linux-tdep.c: Resolve implicit function declarations by
444 including target.h and value.h. Inclusion of symtab.h is
445 no longer needed.
446
faf5f7ad
SB
4472000-04-05 Scott Bambrough <scottb@netwinder.org>
448
449 * arm-linux-tdep.c: New file.
450 * arm-linux-nat.c (fetch_fpregs): Remove unused code.
c20f6dea
SB
451 (arm_get_longjmp_target): Moved it and all defines
452 it uses to arm-linux-tdep.c.
453 (arm_linux_extract_return_value): Moved to
454 arm-linux-tdep.c.
faf5f7ad
SB
455 * config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.
456
c7e79b4b
ND
4572000-04-04 Nick Duffek <nsd@cygnus.com>
458
459 * infrun.c (handle_inferior_event): Call target_mourn_inferior
460 instead of kill_target.
461
eb3d1d19
DB
4622000-04-04 Daniel Berlin <dan@cgsoftware.com>
463
464 * TODO: Make note of various C++ things i have planned for 5.1.
465
eb90a51f
AC
466Tue Apr 4 12:13:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
467
468 * printcmd.c (print_scalar_formatted): Use local variable ptr_bit
469 in shift. Stop GCC thinking it has a shift overflow.
470
d66c34e2
L
4712000-04-03 H.J. Lu <hjl@gnu.org>
472
473 * TODO: Remove the regex entry.
474
88987551
L
4752000-04-03 H.J. Lu <hjl@gnu.org>
476
477 * gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX
478 is defined and <regex.h> otherwise.
479
480 * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h".
481 * monitor.c: Likewise.
482 * osfsolib.c: Likewise.
483 * solib.c: Likewise.
484 * source.c: Likewise.
485 * symtab.c: Likewise.
486
487 * Makefile.in (REGEX): Changed to @REGEX@.
488 (REGEX_CFLAGS): New.
489 (REGEX1): Removed.
490 (ADD_DEPS): Use $(REGEX) instead of $(REGEX1).
491 (INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS).
492
493 * configure.in (--with-included-regex): New switch.
494 (REGEX): New. Subsstitue @REGEX@ in Makefile.in.
495 (REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in.
496 * configure: Regenerated.
497
afc05dd4
KB
4982000-04-03 Kevin Buettner <kevinb@redhat.com>
499
500 * NEWS (powerpc-*-linux*): Mention.
501
c1ed99b8
C
5022000-04-03 J.T. Conklin <jtc@redback.com>
503
504 * config/i386/xm-nbsd.h (HOST_LONG_DOUBLE_FORMAT): Define.
505
76d689a6
KB
5062000-04-03 Kevin Buettner <kevinb@redhat.com>
507
508 * Makefile.in (ALLDEPFILES): Add ia64-linux-nat.c and ia64-tdep.c.
509 (ia64-linux-nat.o, ia64-tdep.o): Add dependencies.
510
511 * ia64-linux-nat.c (fill_gregset): Implement.
512 (supply_fpregset, fill_fpregset): New functions.
513
514 * ia64-tdep.c (ia64_init_extra_frame_info): Revise manner in
515 which the CFM is fetched for certain frames.
516 (find_global_pointer, find_extant_func_descr): Don't use
517 partial symtabs for locating sections.
518
d61e6540
KB
519 * config/ia64/linux.mh (LOADLIBES): Define.
520 (NATDEPFILES): Add linux-thread.o and lin-thread.o.
521 * config/ia64/nm-linux.h (nm-linux.h): Include this upper-level
522 file containing generic linux declarations/definitions.
523 (SVR4_SHARED_LIBS, ATTACH_DETACH): Remove defines; already
524 defined in generic nm-linux.h.
525 (solib.h): Remove include; already included in generic nm-linux.h.
526
f1656894
JB
5272000-04-03 Jim Blandy <jimb@redhat.com>
528
529 * solib.c (solib_add): Move all the code for loading symbol tables
530 below the code to sort out additions and removals. That way, we
531 always catch all loaded shared libraries whose symbols we haven't
532 grabbed yet.
533
534 * solib.c (solib_add): Don't try to free a shared object's objfile
535 if it doesn't have one. Duh.
536
537 * solib.c (solib_add): If a pattern was given, but it doesn't
538 match any currently loaded shared libraries, print a message;
539 don't just be silent.
540
184a103e
EZ
5412000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
542
543 * go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
544 two-dimensional array instead of faking it with index
545 arithmetics.
546
7f668b86
EZ
5472000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
548
549 * config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.
550
551 * config/i386/tm-go32.h (TARGET_LONG_DOUBLE_BIT): Remove
552 definition (and use the common one in tm-i386.h).
553 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Likewise.
554 (I386_DJGPP_TARGET): Don't define, it's no longer required.
555 (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Remove definition,
556 i386-tdep.c defines it for all x86 targets.
557 (LD_I387, HEX_LONG_DOUBLE_INPUT): Remove.
558
559 * config/djgpp/fnchange.lst: Add i386-linux-tdep.c.
560
561 * config/djgpp/djcheck.sh: Edit the copyright year out of the test
562 results. Fix editing of `main' arguments for non-GNU Sed.
563
515ad16c
EZ
5642000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
565
566 * symfile.c (map_overlay_command, unmap_overlay_command): Fix
567 error message: there's no "overlay on" command.
568
bf1798ea
EZ
5692000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
570
571 * Makefile.in (copying.c): Depend on copying.txt, not COPYING.
572 (copying.txt): New target, a link to COPYING.
573
9d6d78f2
AC
574Mon Apr 3 18:20:03 2000 Andrew Cagney <cagney@b1.cygnus.com>
575
576 * TODO: Update.
577
eb2f494a
AC
578Mon Apr 3 14:56:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
579
580 * top.c: Re-indent.
581 (set_hook, error_hook): Remove PARAMS.
582
a960f249
AC
583Mon Apr 3 14:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
584
585 * symtab.h (add_minsym_to_demangled_hash_table): Revert 2000-03-29
586 Daniel Berlin <dan@cgsoftware.com>. Function was static.
587 * minsyms.c (add_minsym_to_demangled_hash_table): Add prototype.
588
afbfc876
AC
589Mon Apr 3 14:10:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
590
591 * gdb-events.h, gdb-events.c, gdb-events.sh: Re-indent.
592
c91ecb25
ND
5932000-04-02 Nick Duffek <nsd@cygnus.com>
594
595 * gdbtypes.c (safe_parse_type): New wrapper function to ignore
596 error() during parse_and_eval_type().
597 (check_stub_method): Call safe_parse_type instead of
598 parse_and_eval_type().
599 * wrapper.c (gdb_parse_and_eval_type): New wrapper function.
600 (wrap_parse_and_eval_type): New support function.
601 * wrapper.h (gdb_parse_and_eval_type): Prototype.
602 (wrap_parse_and_eval_type): Prototype.
603
2df7b2a7
AC
604Sun Apr 2 10:32:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
605
606 * MAINTAINERS: Eli Zaretskii is a doco maintainer.
607
c0e8c252
AC
608Fri Mar 31 08:59:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
609
610 * gdbarch-utils.h, gdbarch-utils.c: New files.
611 * Makefile.in (SFILES, COMMON_OBS): Update.
612 (gdbarch_utils_h) Define.
613 (gdbarch-utils.o): Add dependencies.
614
615 * gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code
616 handling default method values.
617 (startup_gdbarch): Rename default_gdbarch, name misleading.
618 (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
619 (register_name): Default to legacy_register_name.
620 (call_dummy_words): Default to legacy_call_dummy_words.
621 (sizeof_call_dummy_words): Default to
622 legacy_sizeof_call_dummy_words.
623 (register_convertible): Default to
624 generic_register_convertible_not.
625 (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
626 (remote_translate_xfer_address): Default to
627 generic_remote_translate_xfer_address.
628 (frameless_function_invocation): Default to
629 generic_frameless_function_invocation_not.
630
b1ced013
MK
6312000-04-02 Mark Kettenis <kettenis@gnu.org>
632
ed40e7af
MK
633 * i386-linux-nat.c: Add copyright notice.
634
b1ced013
MK
635 * config/i386/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define as
636 &floatformat_i387_ext.
637 * config/i386/xm-i386gnu.h (HOST_LONG_DOUBLE_FORMAT): Likewise.
638
3956bd70
MK
6392000-03-29 Mark Kettenis <kettenis@gnu.org>
640
641 * findvar.c (extract_floating): Remove reference to
642 TARGET_EXTRACT_FLOATING.
643 (store_floating): Remove reference to TARGET_STORE_FLOATING.
644
8310b29b
FN
6452000-03-30 Fernando Nasser <fnasser@cygnus.com>
646
647 * wrapper.c (gdb_value_subscript, wrap_value_subscript): New functions.
648 Safe version of value_subscript.
649 * varobj.c (): Use gdb_value_subscript() to get an array element value.
650
1d1358b6
MS
6512000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
652
653 * ui-file.c: Include "gdb_string.h"
654 * cli-out.c: Include gdb_string.h to avoid compiler warnings.
655 * wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into
656 unions, since they are all used to hold both pointers and ints
657 at various times. Casting pointer to int and vice versa gives
658 warnings (and is not safe) if they are not the same size.
659
57e687d9
MS
6602000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
661
213c01f7 662 * defs.h (struct continuation_arg): Make 'data' a union, to avoid
57e687d9 663 casting problems when int and pointer are not the same size.
213c01f7
MS
664 * event-top.c (command_handler): Use data as a union.
665 (command_line_handler_continuation): Ditto.
666 * infcmd.c (step_1_continuation): Use data as a union. Re-indent.
667 (step_once): ditto. (finish_command_continuation): Ditto.
668 (finish_command): Ditto.
669 * breakpoint.c (until_break_command): Use data as a union.
670 (until_break_command_continuation): Ditto.
671 * utils.c (add_intermediate_continuation): Fix typo in comment.
57e687d9 672
59233f88
AC
673Thu Mar 30 12:09:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
674
675 * gdbarch.h, gdbarch.c: Re-indent. Remove FIXMEs.
676 * gdbarch.sh: Re-sync with gdbarch.[hc].
677
0729fd50
DB
6782000-03-29 Daniel Berlin <dan@cgsoftware.com>
679
680 * minsyms.c (add_minsym_to_demangled_hash_table): New function.
681 (install_minimal_symbols): Fix demangled symbol problems caused by
682 using add_minsym_to_hash_table for the demangled names, which is
683 wrong. Now we use add_minsym_to_demangled_hash_table.
684 (lookup_minimal_symbol): Fix problems with demangled symbol lookup
685 caused by weird control flow.
686 * symtab.h: Add add_minsym_to_demangled_hash_table prototype here.
687
d332c5ac
JM
6882000-03-29 Jason Merrill <jason@casey.cygnus.com>
689
690 * configure.in: -linux-gnu*, not -linux-gnu.
691
480ff1fb
AC
692Tue Mar 28 18:28:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
693
694 * remote.c (remote_threads_extra_info): Replace qfThreadExtraInfo
695 with qThreadExtraInfo.
696
62a4b482
AC
6972000-03-29 J.T. Conklin <jtc@redback.com>
698
699 * i386nbsd-nat.c (fetch_core_registers): Make static.
700
701 * m68knbsd-nat.c (fetch_core_registers): Make static.
702 (m68knbsd_core_fns, _initialize_m68knbsd_nat): Added.
703
67edb2c6
AC
704Wed Mar 29 13:40:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
705
706 * TODO: Update GDB 5 status.
707
80ce1ecb
AC
708Wed Mar 29 10:16:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
709
710 * breakpoint.h (remove_hw_watchpoints): Add declaration.
711 * breakpoints.c (remove_hw_watchpoints): Update.
712 * maint.c (maintenance_do_deprecate): Avoid assignment within IF
713 condition.
714
692590c1
MS
7152000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
716
717 breakpoint.c, breakpoint.h (remove_hw_watchpoints): New function.
718 infrun.c (resume): Remove hardware watchpoints before stepping
719 when CANNOT_STEP_HW_WATCHPOINTS is nonzero.
720
e529db18
MS
7212000-03-28 Michael Snyder <msnyder@cleaver.cygnus.com>
722
213c01f7 723 * Makefile.in: Anchor tui-file.h dependency to $srcdir.
e529db18 724
03905a3c
MS
7252000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
726
727 * procfs.c (proc_set_watchpoint): Declare addr parameter as
728 CORE_ADDR, to match call from procfs_set_watchpoint.
729
62a4b482
AC
730 * breakpoint.c (insert_breakpoints, do_enable_breakpoint):
731 Reselect the saved frame silently after frame selection for
c6902688
MS
732 watchpoint evaluation.
733 (insert_breakpoints): Add missing space in `Hardware watchpoint
734 deleted' message. Do not reinsert hardware watchpoint if it is
735 already marked for deletion at next stop.
736
7d88144c
CF
7372000-03-28 Christopher Faylor <cgf@cygnus.com>
738
739 * partial-stab.h: Add one more check against corrupted or irregular
740 stabs entry.
741
f25d2425
PDM
742Tue Mar 28 12:23:37 2000 Philippe De Muyter <phdm@macqel.be>
743
744 * gnu-regex.c (regerror): Function renamed from `__regerror'.
745 (Change also approved in the mainline glibc sources)
746
2171aa41
AC
747Tue Mar 28 18:19:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
748
749 From 2000-03-20 Jonathan Larmour <jlarmour@redhat.co.uk>:
750 * ser-unix.c (do_unix_readchar): Reorganise to be more robust,
751 particularly ensuring it can't return SERIAL_TIMEOUT when told
752 not to time out.
753
5d161b24
DB
7542000-03-24 Daniel Berlin <dan@cgsoftware.com>
755
756 * gdbtypes.c (_initialize_gdbtypes): Add "set debug overload",
757 which never existed before, and thus, has no deprecated old command.
758
759 * gdbarch.c (_initialize_gdbarch): Add "set debug arch", deprecate
760 "set archdebug" (same goes for the show commands).
761 * gdb-events.c (_initialize_gdb_events): Add "set debug event",
762 deprecate "set eventdebug" (same goes for the show commands).
763 * gdbcmd.h: Add the setdebuglist and showdebuglist externs.
764 * top.c (init_main): Deprecate remotedebug, use "set/show debug remote"
765 instead.
766 x(init_main): Add the "set debug" and "show debug" commands.
767 Add setdebuglist and showdebuglist.
768
769Fri Mar 24 13:00:10 2000 Daniel Berlin <dan@cgsoftware.com>
770
771 * maint.c (maintenance_do_deprecate): Fix crash if you call with no arguments, and fixed the warning.
772 Added prototype for the deprecate command so it doesn't complain.
773
107b56f0
AC
774Tue Mar 28 11:52:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
775
776 * top.c (print_gdb_version): Bump copyright year to 2000.
777
c247e9c4
AC
778Tue Mar 28 10:13:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
779
780 * MAINTAINERS: Add Glen McCready to write after approval list.
781
3f1ef994
AC
782Tue Mar 28 09:59:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
783
784 * acconfig.h: Fix typo in comment describing HAVE_PTRACE_GETREGS.
785 * config.h: Regenerate.
62a4b482 786
138f88c0
AC
787Mon Mar 27 19:53:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
788
789 * TODO: Update. Add criteria for next release of GDB.
790
e7d0728a
AC
791Mon Mar 27 17:20:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
792
793 * acconfig.h: Provide default for HAVE_PTRACE_GETREGS.
794 * config.h: Regenerate.
795
ee29d710
AC
796Mon Mar 27 16:43:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
797
798 * Makefile.in (install-only): Create $(bindir) and $(man1dir)
799 before installing GDB.
800
2e022a79
AC
801Mon Mar 27 16:26:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
802
803 * Makefile.in (all-gdbtk): Check for an existing link/directory.
804 Re-format warning message. Document that post 5.0 this can be
805 deleted.
806
beb998c6
AC
807Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
808
809 * ChangeLog: Revert whitespace changes.
810
56a5d675
AC
811Mon Mar 27 10:20:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
812
813 * MAINTAINERS: Update folks who need accounts.
814
d6184fa1
AC
815Mon Mar 27 09:29:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
816
817 * MAINTAINERS: J.T. Conklin is NetBSD maintainer.
818
6e2e8c24
MK
8192000-03-27 Mark Kettenis <kettenis@gnu.org>
820
821 * config/i386/tm-i386.h: Fix typo. It is TARGET_LONG_DOUBLE_BIT
822 instead of TARGET_LONG_DOUBLE_BITS.
823 * config/i386/tm-i386mk.h: Likewise.
824
ac27f131
MK
8252000-03-26 Mark Kettenis <kettenis@gnu.org>
826
827 Provide `long double' support for most i386 targets.
828 * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT): Define as
829 &floatformat_i387_ext.
830 (TARGET_LONG_DOUBLE_BITS): Define as 96.
831 (REGISTER_VIRTUAL_TYPE): Change type for FPU registers to
832 `builtin_type_long_double'.
833 (REGISTER_CONVERT_TO_VIRTUAL): Call
834 i386_register_convert_to_virtual.
835 (REGISTER_CONVERT_TO_RAW): Call i386_register_convert_to_raw.
836 (i387_to_double, double_to_i387): Remove prototypes.
837 (i386_extract_return_value): Change prototype to match definition
838 in i386-tdep.c.
839 * config/i386/tm-i386mk.h (TARGET_LONG_DOUBLE_FORMAT): #undef.
840 (TARGET_LONG_DOUBLE_BITS): #undef.
841 * config/i386/tm-linux.h (TARGET_LONG_DOUBLE_BIT): Remove.
842 [HAVE_LONG_DOUBLE && HOST_I386] (LD_I387): Remove.
843 (i387_extract_floating, i387_store_floating): Remove prototypes.
844 (TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING): Remove.
845 (REGISTER_CONVERT_TO_VIRTUAL, REGOISTER_CONVERT_TO_RAW): Remove.
846 (REGISTER_VIRTUAL_TYPE): Remove.
847 * i386-tdep.c (i386_register_convert_to_virtual): New function.
848 (i386_register_convert_to_raw): New function.
849 * i387-tdep.c [LD_I387] (i387_extract_floating): Remove.
850 (i387_store_floating): Remove.
851
33f91161
AC
852Sat Mar 25 18:55:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
853
854 * maint.c: Re-indent.
855
6f122dc9
AC
856Sat Mar 25 18:51:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
857
858 * maint.c (_initialize_maint_cmds): Remove quoted trailing space.
859
ddda03b2
CF
8602000-03-24 Christopher Faylor <cgf@cygnus.com>
861
862 * config/mips/tm-wince.h: Fix typo which caused include of tm-mips.h to
863 be inoperative.
864
8227c82d
CF
8652000-03-24 Christopher Faylor <cgf@cygnus.com>
866
867 * win32-nat.c: Back out special frame walking code. It was broken.
868 (handle_exception): Correctly identify an illegal instruction.
869 * config/tm-cygwin.h: Eliminate special frame handling. Just use
870 normal i386 handling.
871
62a4b482
AC
8722000-03-24 J.T. Conklin <jtc@redback.com>
873
874 * i386/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
875 * i386nbsd-nat.c (i386nbsd_use_struct_convention): New function.
876 (fetch_core_registers): Read fp registers.
877 (i386nbsd_core_fns, _initialize_i386nbsd_nat): Added.
878
c7885828
JL
8792000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
880
881 * arm-tdep.c (thumb_skip_prologue): Take function end addr argument
882 so that we can stop searching for the prologue past the function end
883 (arm_skip_prologue): Call thumb_skip_prologue with function end addr
884
a91f7ea9
KB
8852000-03-24 Kevin Buettner <kevinb@redhat.com>
886
887 * linux-thread.c, lin-thread.c (save_inferior_pid,
888 restore_inferior_pid): Don't do compile time comparison
889 of TARGET_PTR_BIT and TARGET_INT_BIT.
890
89c3b6d3
PDM
891Thu Mar 23 13:18:26 2000 Philippe De Muyter <phdm@macqel.be>
892
893 * m68k-tdep.c (P_LINKL_FP, P_LINKW_FP): Macros renamed from P_LINK_L
894 and P_LINK_W.
895 (P_PEA_FP, P_MOVL_SP_FP): New macros.
896 (P_MOVL, P_LEAL, P_MOVML): Macros renamed from P_MOV_L, P_LEA_L and
897 P_MOVM_L.
898 (altos_skip_prologue, isi_skip_prologue): Use P_* macros, not octal
899 constants.
900 (delta68_in_sigtramp): New function.
901 (delta68_frame_args_address, delta68_frame_saved_pc): Ditto.
902 (m68k_skip_prologue): Use P_* macros, not hex constants.
903 (m68k_find_saved_regs): Do not expect a fixed sequence of register save
904 instructions, but accept them in any order; use P_* macros, not octal
905 or hex constants; recognize also `fmovemx to (fp + displacement)' and
906 `moveml to (fp + displacement)'.
907 * m68/tm-delta68.h (IN_SIGTRAMP): New macro.
908 (FRAME_SAVED_PC, FRAME_ARGS_ADDRESS): Ditto.
62a4b482 909
b83f3627
AC
910Fri Mar 24 13:44:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
911
62a4b482
AC
912 * MAINTAINERS: Add Fernando Nasser to testsuite maintainers.
913
9452d09b
MS
9142000-03-23 Michael Snyder <msnyder@cleaver.cygnus.com>
915
213c01f7 916 * solib.c (open_symbol_file_object): To sneak an int argument
9452d09b
MS
917 past catch_errors, instead of casting it to a pointer, simply
918 pass it by address.
919
74cc24b0
DB
9202000-03-23 Jimmy Guo <guo@cup.hp.com>
921
922 * gdbtypes.c (rank_function): Rank all N parameters and use correct
923 index into the prams[] and args[] arrays.
924
56382845
FN
9252000-03-23 Fernando Nasser <fnasser@cygnus.com>
926
927 From David Whedon <dwhedon@gordian.com>
928
929 * top.c (execute_command): Checks all commands beore executing
930 to see if the user needs to be warned that the command is
931 deprecated, warns user if appropriate.
932 (add_info), (add_info_alias), (add_com) , (add_com_alias): Changed
933 return values from void to struct cmd_list_element *.
62a4b482 934 * command.c (lookup_cmd_1): Check aliases before following link
56382845
FN
935 in case user needs to be warned about a deprecated alias.
936 (deprecate_cmd): new exported function for command deprecation,
937 sets flags and posibly a replacement string.
938 (deprecated_cmd_warning): New exported funciton to warn user about
62a4b482 939 a deprecated command.
56382845
FN
940 (lookup_cmd_composition): New exported function that determines
941 alias, prefix_command, and cmd based on a string. This is useful
942 is we want to full name of a command.
943 * command.h : Added prototypes for deprecate_cmd,
944 deprecated_warn_user and lookup_cmd_composition, added flags to
945 the cmd_list_element structure, changed return values for
946 add_com_* and add_info_* from void to cmd_list_element.
947 * maint.c : (maintenance_deprecate): New function to deprecate a
948 command. This exists only so that the testsuite can deprecate
949 commands at runtime and check the warning behavior.
950 (maintenance_undeprecate) : New function, drops deprecated flags.
951 (maintenance_do_deprecate): Actually does the (un)deprecation.
952 (initialize_maint_cmds): Added the above new deprecate commands.
953
9542000-03-22 Daniel Berlin <dan@cgsoftware.com>
955 * command.c (apropos_cmd_helper): New function, meat of the
956 apropos command.
957 (apropos_command): New apropos command to search command
958 names/documentation for regular expressions.
959 (_initialize_command): Add the apropos command.
960
0f4db1a1
MS
9612000-03-23 Michael Snyder <msnyder@cleaver.cygnus.com>
962
963 * sol-thread.c (ps_pglobal_lookup): Change argument type from
964 paddr_t to psaddr_t. This mistake appears to date from an
965 erroneous man page in Solaris 2.5 -- the correct type from the
966 system headers has always been psaddr_t.
213c01f7
MS
967 (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Ditto.
968 (rw_common): Ditto.
0f4db1a1 969
64a5b29c
KB
9702000-03-22 Kevin Buettner <kevinb@redhat.com>
971
972 * ia64-linux-nat.c: Fix copyright.
973 (fill_gregset): Minor formatting fix.
974 * ia64-tdep.c (template_encoding_table, fetch_instruction,
975 examine_prologue): Clean up some compiler warnings.
976 (is_float_or_hfa_type_recurse, is_float_or_hfa_type, find_func_descr,
977 find_global_pointer, find_extant_func_descr): New functions.
978 (ia64_use_struct_convention, ia64_extract_return_value,
979 ia64_push_arguments): Handle HFAs.
980 (ia64_push_arguments): Find (or build) a function descriptor
981 when given a function address.
982 (ia64_push_return_address): Moved code for finding the
983 global pointer into its own function, find_global_pointer ().
984
7e5cd2de
EZ
9852000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
986
987 * event-loop.c (handle_file_event): Run through indent.
988
44f45770
EZ
9892000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
990
991 From Philippe De Muyter <phdm@macqel.be>
992
993 * event-loop.c (sys/types.h): File now included unconditionally.
994 (use_poll): New variable..
995 (gdb_notifier): poll- and select-versions merged.
996 (add_file_handler): If HAVE_POLL, check whether poll is usable,
997 and reset `use_poll' if not.
998 (create_file_handler): Select poll- or select-version according to
999 `use_poll'.
1000 (delete_file_handler, handle_file_event): Likewise.
1001 (gdb_wait_for_event, poll_timers): Likewise.
1002
593de6a6
PS
10032000-03-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1004
1005 * printcmd.c (print_scalar_formatted): Truncate addresses to the
1006 size of a target pointer before passing them to print_address.
1007
1a309862
MK
10082000-03-22 Mark Kettenis <kettenis@gnu.org>
1009
1010 * config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove.
1011 * config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM):
1012 Remove
1013 * i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines.
1014 (i386_extract_return_value): Rewritten. Correctly support all
1015 floating-point types and large integer types on targets that use
1016 the standard i386 GDB register layout and return floating-point
1017 values in the FPU.
1018
6a08e74c
AC
1019Wed Mar 22 15:09:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
1020
1021 * configure.in (CONFIG_INITS): Do not append remote-nrom.c
1022
62a4b482
AC
10232000-03-21 J.T. Conklin <jtc@redback.com>
1024
1025 * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o.
1026 * i386nbsd-nat.c: New file.
1027
1028 * i386/tm-nbsd.h (NUM_REGS): Removed.
1029 (HAVE_I387_REGS): Defined.
1030 * i386/nm-nbsd.h (FLOAT_INFO): Removed.
1031
1032 * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
1033 SVR4_SHARED_LIBS.
5f04ac3d 1034
f09cffe3
AC
1035Wed Mar 22 11:18:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
1036
1037 * MAINTAINERS: Add Jim Blandy to breakpoint maintainers. David
1038 taylor is the Solaris/SPARC maintainer. Add Jonathan Larmour to
1039 the write after approval list.
1040
62557bbc
KB
10412000-03-21 Kevin Buettner <kevinb@redhat.com>
1042
1043 * symtab.h (MAX_SECTIONS, struct section_addr_info,
1044 symbol_file_add): Move declarations from here...
1045 * symfile.h: ...to here.
1046
1047 * solib.c (symbol_add_stub): Make symbol_file_add () aware of
1048 all section addresses, not just .text.
1049 * symfile.h, symfile.c (free_section_addr_info,
1050 build_section_addr_info_from_section_table): New functions.
1051
1052 * symfile.h (MAX_SECTIONS): Increase value to 40.
1053 * symfile.c (syms_from_objfile): Add bounds check prior to
1054 accessing ``other'' array in a section_addr_info_struct.
1055 Remove unused variable section_offsets.
1056 (add_symbol_file_command): Remove unused variable text_addr.
1057
99e5c1c8
MS
10582000-03-21 Eli Zaretskii <eliz@is.elta.co.il>
1059
1060 * breakpoint.c (bpstat_stop_status): Don't stop if a read
1061 watchpoint appears to break, but the watched value changed.
1062
333a782f
JB
10632000-03-21 Jim Blandy <jimb@redhat.com>
1064
1065 * gdbarch.sh: Emit a definition and declaration for gdbarch_free,
1066 a companion to gdbarch_alloc, which allows a gdbarch init function
1067 to free partially-built gdbarch structures.
1068 * gdbarch.c, gdbarch.h: Regenerated.
1069
eafb8301
KB
10702000-03-20 Kevin Buettner <kevinb@redhat.com>
1071
1072 * configure.host, configure.tgt (ia64-*-linux*): New entry.
1073
1074 * gdbserver/low-linux.c (u_offsets, ia64_register_u_addr,
1075 initialize_arch): Define for IA-64.
1076 (initialize_arch): Add declaration.
1077
2e70b7b9
MS
10782000-03-20 Eli Zaretskii <eliz@is.elta.co.il>
1079
1080 * breakpoint.c (insert_breakpoints, remove_breakpoint)
1081 (bpstat_stop_status, can_use_hardware_watchpoint): Don't insert,
1082 remove, or check status of hardware watchpoints for entire structs
1083 and arrays unless the user explicitly asked to watch that struct
62a4b482 1084 or array.
2e70b7b9
MS
1085 (insert_breakpoints): Try to insert watchpoints for all the values
1086 on the value chain, even if some of them fail to insert.
1087
1088 * values.c (value_primitive_field): Set the offset in struct value
1089 we return when the field is a packed bitfield.
1090
9d1f7ab2
MS
10912000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
1092
213c01f7 1093 * remote.c (remote_threads_extra_info): New function.
9d1f7ab2 1094 Implement the extra thread info query for "info threads".
213c01f7
MS
1095 (remote_threads_info): Clean up a bit.
1096 (use_threadinfo_query, use_threadextra_query): New variables.
62a4b482 1097 Control whether GDB will use the new or old protocol for
9d1f7ab2 1098 thread info queries.
213c01f7
MS
1099 (remote_open_1): Initialize new variables.
1100 (remote_async_open_1): Ditto.
1101 (remote_cisco_open): Ditto.
9d1f7ab2 1102
16461d7d
KB
11032000-03-20 Kevin Buettner <kevinb@redhat.com>
1104
1105 * ia64-linux-nat.c, ia64-tdep.c, config/ia64/linux.mh,
1106 config/ia64/linux.mt, config/ia64/nm-linux.h, config/ia64/tm-ia64.h,
1107 config/ia64/tm-linux.h, config/ia64/xm-linux.h: New files.
1108
ba8966d6
KB
11092000-03-20 Kevin Buettner <kevinb@redhat.com>
1110
1111 * utils.c (floatformat_from_doublest): Don't assume that a long
1112 will be exactly 32 bits in length. Also... make sure space
1113 that we're writing the float to is completely initialized to
1114 zeroes, even when the number of bits in the float is not
1115 evenly divisible by FLOATFORMAT_CHAR_BIT.
1116
e7ee86a9
JB
11172000-03-20 Jim Blandy <jimb@redhat.com>
1118
1119 * i386-linux-nat.c: No need to #include "frame.h" any more.
1120 (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
1121 LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
1122 LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
1123 LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
1124 LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
1125 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
1126 linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
1127 i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
1128 i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
1129 i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
1130 i386_linux_sigtramp_saved_sp): Deleted. Folks rightly pointed
1131 out that these are target-dependent, and useful in non-native
1132 configurations. Moved to...
1133 * i386-linux-tdep.c: ... Here, a new file.
1134 * Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c.
1135 (i386-linux-tdep.o): New rule.
1136 (i386-linux-nat.o): We no longer depend on frame.h.
1137 * config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o.
1138
58a2c44a
EZ
11392000-03-04 Eli Zaretskii <eliz@is.elta.co.il>
1140
1141 * event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch.
1142 Print an error at compile time if we are to use select, but FD_SET
1143 is not available.
1144 (SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only
1145 if HAVE_POLL is not defined and NO_FD_SET *is* defined.
1146 (create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR.
1147 (delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET.
1148 (gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly
1149 instead of using memcpy and memset. Use FD_ISSET.
1150
1151 * config/i386/xm-go32.h (fd_mask): Remove typedef.
1152
acd46a93
AC
1153Mon Mar 20 19:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
1154
1155 * command.c (_initialize_command): Document requirements for ``!''
1156 command.
1157
b71896da
AC
1158Mon Mar 20 18:12:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
1159
1160 From Fri 10 Mar 2000 Robert
1161 <robert.melchers@drives.eurotherm.co.uk>:
1162 * sh-tdep.c (sh_processor_type_table): Add entry for sh2.
1163
4397a6ab
AC
1164Mon Mar 20 17:33:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
1165
1166 From Thu Mar 16 16:49:27 EST 2000 John David Anglin
1167 <dave@hiauly1.hia.nrc.ca>:
1168 * configure.in (CONFIG_INITS): Don't include hpux-thread.c. Stops
1169 _initialize_hpux_thread being called twice.
1170 * configure: Regenerated.
1171
c5201926
EZ
11722000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
1173
1174 * event-top.c (_initialize_event_loop): If instream is not
1175 connected to a terminal device, turn editing off.
1176
ded59a1e
EZ
11772000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
1178
1179 Support for building GDB with DJGPP, and running the test suite on
1180 it:
1181 * config/djgpp/djconfig.sh: New file.
1182 * config/djgpp/config.sed: New file.
1183 * config/djgpp/README: New file.
1184 * config/djgpp/fnchange.lst: New file.
1185 * config/djgpp/djcheck.sh: New file.
1186
615b480f
EZ
11872000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
1188
1189 * ser-go32.c (ports): Make the initializers complete, to pacify
1190 GCC 2.9X.
1191
1cc26dd0
JB
11922000-03-17 Jim Blandy <jimb@redhat.com>
1193
9f81f4aa
JB
1194 * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
1195 two-dimensional array, instead of faking it with explicit index
1196 arithmetic.
1197
1198 * linux-thread.c (linuxthreads_attach, linuxthreads_detach,
1199 linuxthreads_create_inferior): Fix typo in variable name: it's
1200 linuxthreads_exit_status, not linux_exit_status.
1201
1202 * gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
1203 to W_STOPCODE.
1204
1cc26dd0
JB
1205 * solib.c (solib_add): Delete debugging code.
1206
ca9c33a5
MS
12072000-03-17 Mark Kettenis <kettenis@gnu.org>
1208
1209 * gdb_wait.h: add definitions of WSETSTOP and WSETEXIT for Linux.
1210 * linux-thread.c: Use WSETSTOP instead of W_STOPCODE.
1211
ccdaf797
PDM
1212Fri Mar 17 11:06:59 2000 Philippe De Muyter <phdm@macqel.be>
1213
1214 * language.c (set_lang_str): Do not call `free' for a null pointer.
1215 (set_type_str, set_range_str): Ditto.
1216
7f869e41
JB
12172000-03-16 Jim Blandy <jimb@redhat.com>
1218
17f9defb
JB
1219 * i386-linux-nat.c (i386_linux_saved_pc_after_call): Lost in the
1220 merge; reinstated.
1221
7f869e41
JB
1222 * solib.c (current_sos): Be more careful about freeing the new
1223 so_list node if an error occurs.
1224
11708b95
JB
1225 * i386-tdep.c (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
1226 LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
1227 LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
1228 LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
1229 LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
1230 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
1231 linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
1232 i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
1233 i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
1234 i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
17f9defb
JB
1235 i386_linux_sigtramp_saved_sp): Deleted. These all implement
1236 Linux-specific signal trampoline detection, and should be moved
1237 to...
11708b95
JB
1238 * i386-linux-nat.c: ... here.
1239 * config/i386/tm-linux.h (I386_LINUX_SIGTRAMP): No need to define
1240 this any more, since we're not enabling OS-specific code in a
1241 OS-independent file.
62a4b482 1242
3a95698a
EZ
12432000-03-16 Eli Zaretskii <eliz@is.elta.co.il>
1244
2c33cc30 1245 * Makefile.in (go32-nat.o): Add prerequisites.
3a95698a
EZ
1246 (ALLDEPFILES): Add go32-nat.c.
1247
0a83117a
MS
12482000-03-15 Michael Snyder <msnyder@cleaver.cygnus.com>
1249
1250 From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
1251 * symfile.c (reread_symbols): Clear msymbol hash table.
1252
07cd4b97
JB
12532000-03-15 Jim Blandy <jimb@redhat.com>
1254
1255 Deal with the inferior unloading shared objects.
1256 * solib.c (current_sos): New function, replacing find_solib.
1257 (find_solib): Deleted.
1258 (free_so): New function.
1259 (clear_solib): Call free_so, instead of writing it out.
1260 (solib_add): Rewritten: compare the inferior's current list of
1261 shared objects with GDB's list, and do the required loads and
1262 unloads.
1263 (info_sharedlibrary_command, solib_address): Don't use find_solib
1264 to walk the list of shared libraries: call solib_add, and then
1265 walk the list at so_list_head normally.
1266 * objfiles.c (free_objfile): Don't call CLEAR_SOLIB, and don't
1267 detach the core target. These tasks are taken care of elsewhere.
1268 * target.c (remove_target_sections): New function.
1269 * target.h (remove_target_sections): New declaration.
1270
1271 * solib.c (symbol_add_stub): Check whether we've already created
1272 an objfile for this shared object first, before doing all that
1273 work to compute section addresses, etc.
1274
1275 * objfiles.c (unlink_objfile): Report an internal error if objfile
1276 doesn't occur in the object_files list.
1277
1278 * solib.c (special_symbol_handling): Delete argument; it's not
1279 used.
62a4b482 1280
07cd4b97
JB
1281 Changes from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
1282
1283 * solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses
1284 from solib structures. Use it throughout solib.c, get rid of all
1285 CORE_ADDR casts.
1286 (struct so_list): Change type of lmaddr to CORE_ADDR.
1287 (first_link_map_member): Change return value type to CORE_ADDR,
1288 update callers.
1289 (solib_add_common_symbols): Change parameter type to CORE_ADDR,
1290 update callers.
1291 (open_symbol_file_object, find_solib): Change type of lm variable
1292 to CORE_ADDR.
1293
afbae4e3
EZ
12942000-03-15 Eli Zaretskii <eliz@is.elta.co.il>
1295
1296 * ser-go32.c (dos_noop, dos_raw, dos_noflush_set_tty_state)
1297 (dos_print_tty_state, dos_info, _initialize_ser_dos): Convert
1298 to ISO C. Use ATTRIBUTE_UNUSED to avoid compiler warnings.
1299 (dos_info): Avoid compiler warning when printing a ptrdiff_t.
1300
1301 * ser-go32.c (dos_get_tty_state): Fail if the (fake) handle was
1302 not opened by dos_open, but let the 3 standard handles go through
1303 unharmed.
1304
751a959b
EZ
13052000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1306
1307 * eval.c (evaluate_subexp_with_coercion): Add call to
1308 check_typedef, to handle typedeffed vars correctly.
1309
1a0559af
AC
1310Mon Mar 13 21:21:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
1311
1312 * defs.h (STREQ, STRCMP, STREQN): Document that these macros are
1313 somewhat redundant.
1314 (QUIT): Note that this can probably be replaced by a function.
1315
73a93a32
JI
13162000-03-13 James Ingham <jingham@leda.cygnus.com>
1317
62a4b482 1318 Add support for a variable object that tries to evaluate itself in
73a93a32 1319 the currently selected frame, rather than in a fixed frame.
62a4b482 1320
73a93a32
JI
1321 * wrapper.c,h (gdb_parse_exp_1): Added a wrapper for
1322 gdb_parse_exp_1.
62a4b482 1323 * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n
73a93a32
JI
1324 of varobj_create.
1325 * varobj.c (varobj_list): Return type indicates whether the
1326 variable's type has changed (for current frame variables).
1327 (varobj_update): Handle the case where the variable's type has
1328 changed.
62a4b482 1329 (delete_variable_1): Allow for deletion of variables that have not
73a93a32
JI
1330 been installed yet.
1331 (new_root_variable): Initialize use_selected_frame variable.
62a4b482 1332 (value_of_root): This is where most of the work to handle "current
73a93a32
JI
1333 frame" variables was added. Most of the complexity involves
1334 handling the case where the type of the variable has changed.
1335 (varobj_create): Add a "type" argument, to tell if the
1336 variable is one of these "current frame" variables. Also protect
1337 call to parse_exp_1 from long jumping.
62a4b482 1338
0fff5247
EZ
13392000-03-13 Eli Zaretskii <eliz@is.elta.co.il>
1340
1341 * go32-nat.c (struct env387): Remove declaration.
1342 (print_387_status, i386_go32_float_info): Remove redundant
1343 functions.
1344 (regno_mapping, sig_map, excepn_map): Add braces around inner
1345 initializers.
1346 (many functions): Use ATTRIBUTE_UNUSED to shut up the compiler;
1347 fix code which mixed signed with unsigned.
1348 (go32_resume): Use TARGET_SIGNAL_LAST instead of -1.
1349 (go32_wait): Initialize INT3_addr.
1350 (go32_fetch_registers): Extend all FP registers that are shorter
1351 than 4 bytes to 32 bits. Support 32 standard FP registers defined
1352 on config/i386/tm-i386.h.
1353 (store_register): Support 32 FP registers.
1354 (go32_create_inferior): Don't crash if handed a NULL pointer
1355 instead of exec file name.
1356 (ignore): Remove unused function.
1357 (go32_insert_hw_breakpoint): Remove unused variables.
1358 (init_go32_ops): Set value of processing_gcc_compilation to 2.
1359
db577aea
AC
1360Mon Mar 13 18:54:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
1361
1362 From 2000-03-10 Daniel Berlin <dan@cgsoftware.com> Fix C++
1363 overloading, add support for seeing through references:
1364 * valops.c (find_overload_match): Handle STABS overloading for
1365 C++.
1366 (find_overload_match): Look in right place for function arguments
1367 in the debug info.
1368 (find_overload_match): Rather than giving up when we have >1
1369 perfect match, just choose one, especially since the
1370 recommendation GDB gives ("disambiguate it by specifying function
1371 signature"), is basically impossible.
1372 (check_field_in): STREQ->strcmp_iw
1373 (search_struct_field): STREQ->strcmp_iw
1374 (find_method_list): STREQ->strcmp_iw
1375 * gdbtypes.c (rank_one_type): Add ability to see through
1376 references.
1377 (rank_one_type): strcmp->strcmp_iw, because the whitespace could
1378 be different.
1379 (rank_function): Rank function properly (was doing it wrong
1380 before, comparing the wrong parts of the arrays)
1381 (rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD.
1382 * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
1383 associated with converting a non-reference to a reference.
1384
1385 * gdbtypes.c (rank_one_type): Add comment on how to eliminate the
1386 #ifdef DEBUG_OLOAD.
62a4b482 1387
f75c77fc
MK
13882000-03-11 Mark Kettenis <kettenis@gnu.org>
1389
1390 * gnu-nat.c: Fix the formatting where indent misinterpreted `&' as
1391 a binary operator.
1392 (gnu_attach): Change error message for missing
1393 argument to be identical to the corresponding message in
1394 `inftarg.c'. This makes the testsuite happy.
1395
fb557744
MK
13962000-03-11 Mark Kettenis <kettenis@gnu.org>
1397
1398 * i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the
1399 %eflags isn't modified. This fixes a bug where every call to a
1400 function in the program beyond the first call would fail.
1401
36c2118f
AC
1402Fri Mar 10 11:44:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
1403
1404 * MAINTAINERS: Devolve responsibility for domain maintenance.
1405
a79dea61
EZ
14062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1407
1408 * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
1409
f1a6b754
SB
14102000-02-25 Scott Bambrough <scottb@netwinder.org>
1411
1412 * gdb.base/long_long.exp: Correct test suite failure when printing
1413 a long long value as a double on ARM platforms.
1414
513d6eba
AC
1415Thu Mar 9 14:21:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
1416
1417 * MAINTAINERS (Core): Anthony Green is the Java - including
7b83ea04
AC
1418 testsuite - maintainer. Reformat testsuite and language support
1419 sections
513d6eba 1420
4cc24188
MK
14212000-03-08 Mark Kettenis <kettenis@gnu.org>
1422
1423 * i386-tdep.c (i386_linux_saved_pc_after_call): New function.
1424 * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call
1425 i386_linux_saved_pc_after_call.
1426
9227b5eb
JB
14272000-03-06 Jim Blandy <jimb@redhat.com>
1428
1429 From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
1430
1431 * minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
1432 (compact_minimal_symbols): Added `objfile' argument.
1433 Put symbols in the objfile's hash table.
1434 (install_minimal_symbols): Put symbols in the objfile's demangled
1435 hash table.
1436 (lookup_minimal_symbol): Use hash table to find symbol in
1437 objfile.
1438 (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
1439 functions.
1440 (prim_record_minimal_symbol_and_info): Initialize the
1441 hash link fields of the new minimal symbol.
1442 * symtab.h (struct minimal_symbol): New fields `hash_next',
1443 `demangled_hash_next'.
1444 (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
1445 * objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
1446 (struct objfile): New fields `msymbol_hash',
1447 `msymbol_demangled_hash'.
1448
ef7904ee
JB
14492000-03-06 Jim Blandy <jimb@redhat.com>
1450
1451 * solib.c (first_link_map_member): Doc fix.
1452
2f16bb32
EZ
14532000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1454
7b83ea04 1455 From Eli Zaretskii <eliz@is.elta.co.il>:
2f16bb32
EZ
1456
1457 * event-loop.c (poll_timers): Don't compare delta.tv_sec with
1458 zero, since time_t might be unsigned.
1459
b948cda9
MK
14602000-03-06 Mark Kettenis <kettenis@gnu.org>
1461
1462 * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
1463 in *FPREGSETP.
1464 (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
1465
9eaaac16
MK
14662000-03-05 Mark Kettenis <kettenis@gnu.org>
1467
1468 Allow GDB to run on Linux 2.0 again.
1469 * config.in: Add HAVE_PTRACE_GETREGS.
1470 * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
1471 * configure: Regenerated.
1472 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
1473 CANNOT_STORE_REGISTER): New defines.
1474 * i386-linux-nat.c (have_ptrace_getregs): New variable.
1475 (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
1476 old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
1477 store_register, old_store_inferior_registers): Copied over from
1478 `inptrace.c' as a temporary measure.
1479 (fetch_regs, store_regs, fetch_fpregs, store_fpregs):
1480 Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if
1481 HAVE_PTRACE_GETREGS isn't defined.
1482 (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
1483 with EIO.
1484 (fetch_inferior_registers, store_inferior_registers): Fall back on
1485 the method use in `infptrace.c' (by calling
1486 old_fetch_inferior_registers and old_store_inferior_registers) if
1487 `have_ptrace_getregs' isn't set.
1488
04cd15b6
MK
14892000-03-05 Mark Kettenis <kettenis@gnu.org>
1490
1491 * i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
1492 of gregset_t and fpregset_t. Those are the only names that are
1493 guaranteed to specify the right types for all supported Linux
1494 systems out there.
1495 Various doc fixes and gratitious local variable renames, all in an
1496 attempt to stress similarities between the code and unify the
1497 terminology used. Use ISO-C all over.
1498 (regmap): Remove trailing comma.
1499 (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
1500 (convert_to_gregset): Make static. Remove GDB_REGS argument. It
1501 is unnecessary and wasn't used anyway. All callers changed.
1502 (convert_to_fpregset, convert_to_xfpregset): Likewise.
1503 (fetch_regs, store_regs): Remove unused variable `regno'.
1504 (fill_fpregs): If REGNO is not -1, only update the specified
1505 register.
1506 (fetch_core_registers): Renamed from
1507 i386_linux_fetch_core_registers. There is no need for a unique
1508 name since the function is static anyway.
1509 (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
1510 since it is more descriptive.
1511
9ec7faef
AC
1512Sun Mar 5 19:40:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
1513
1514 * MAINTAINERS (readline/): Expand to include host maintainers.
1515
45a816d9
MK
15162000-03-04 Mark Kettenis <kettenis@gnu.org>
1517
1518 Fix support for Linux/i386 signal trampolines. The old approach
1519 didn't work for Linux 2.2 and beyond, and didn't work with recent
1520 versions of the GNU C library.
1521 * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
1522 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
1523 (linux_rt_sigtramp_code): New variable.
1524 (LINUX_RT_SIGTRAMP_LEN): New define.
1525 (i386_linux_rt_sigtramp_start): New function. Detect start of
1526 signal trampolines for RT signals.
1527 (i386_linux_sigtramp): Removed.
1528 (i386_linux_in_sigtramp): New function.
1529 (i386_linux_sigcontext_addr): New function. Recognize the names
1530 of the signal tranmpolines used by recent versions of the GNU C
1531 library, and add support for RT signals.
7b83ea04 1532 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New
45a816d9
MK
1533 defines. Moved here from config/i386/tm-linux.h.
1534 (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
1535 Reimplement in terms of i386_linux_sigcontext_addr.
1536 * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
7b83ea04
AC
1537 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
1538 Moved to i386-tdep.c.
45a816d9
MK
1539 (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
1540
109213fc 1541Sat Mar 4 19:38:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
b70bc471 1542
109213fc 1543 By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
b70bc471
AO
1544 * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
1545
7158fd7f
AC
1546Sat Mar 4 17:23:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
1547
1548 * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
7b83ea04 1549 sim directory.
7158fd7f 1550
e7411eaa
AC
1551Sat Mar 4 16:19:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
1552
1553 * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
7b83ea04 1554 ``Blanket Write Privs'' maintainers.
e7411eaa 1555
392746e5
AC
1556Sat Mar 4 15:58:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
1557
9ec7faef 1558 From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>:
392746e5 1559 * language.c (longest_local_hex_string_custom): Don't compile
7b83ea04 1560 'long long' section if host doesn't have 'long long'.
392746e5 1561
7acb79c8
AC
1562Sat Mar 4 15:45:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
1563
1564 * language.c (longest_raw_hex_string): Comment out. Appears
7b83ea04 1565 unused.
7acb79c8 1566
082faf24
AC
1567Sat Mar 4 13:02:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
1568
1569 * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
7b83ea04 1570 "mmalloc.h" which means using PTRs.
082faf24
AC
1571 (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
1572
a9ac8f51
AC
1573Sat Mar 4 11:49:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
1574
1575 * defs.h (store_address, store_unsigned_integer, store_address):
7b83ea04 1576 Replace PTR with void* in delcaration.
a9ac8f51 1577 * findvar.c (extract_signed_integer, extract_unsigned_integer,
7b83ea04
AC
1578 extract_long_unsigned_integer, extract_address,
1579 store_signed_integer, store_unsigned_integer, store_address):
1580 Convert definition to ISO-C. Replace PTR with void*.
a9ac8f51 1581
e4005526
AC
1582Sat Mar 4 10:57:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1583
1584 * defs.h (make_cleanup_func): Document as deprecated.
1585 (make_cleanup_ftype): New typedef. Make signature consistent with
7b83ea04
AC
1586 other function typedefs. Document as not be used out side of
1587 make_cleanup code. Use in make_cleanup declarations.
e54a9244 1588 (null_cleanup): Replace PTR with void*.
62a4b482 1589
e4005526 1590 * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
7b83ea04
AC
1591 make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
1592 null_cleanup): Change K&R definition to ISO-C using void* and
1593 make_cleanup_fytpe.
e4005526
AC
1594 (discard_my_cleanups): Don't cast argument to free.
1595
97bb9d91
EZ
15962000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1597
1598 * defs.h (struct continuation_arg): Change type of field 'data'
7b83ea04 1599 from PTR to void *.
97bb9d91
EZ
1600
1601 * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
1602
1603 * event-top.c: Ditto.
1604
b3a90332
AC
1605Fri Mar 3 15:39:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
1606
1607 * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
7b83ea04 1608 configure.
b3a90332 1609 (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
7b83ea04 1610 SUBDIR_GDBTK_ALL): Define.
b3a90332
AC
1611 (all-gdbtk, clean-gdbtk): New targets.
1612 (all): Add CONFIG_ALL as dependency.
1613 (clean): Add CONFIG_CLEAN as dependency.
62a4b482 1614
b3a90332
AC
1615 * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
1616 (LN_S): Define. Delete GDBtk's link code.
1617
379d6434
AC
1618Fri Mar 3 13:12:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
1619
1620 * configure.in (ENABLE_GDBTK): Delete variable.
1621 (enable-gdbtk): Only enable gdbtk when there is a GDBTK directory.
1622 * Makefile.in: Update.
1623 * configure: Regenerate
1624
7b64ac2f
EZ
16252000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1626
1627 * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
7b83ea04 1628 NATDEPFILES list.
7b64ac2f 1629
667620fa
MK
16302000-03-02 Mark Kettenis <kettenis@gnu.org>
1631
1632 * config/i386/tm-i386aix.h (NUM_FPREGS, NUM_REGS, REGISTER_BYTES):
1633 Override definitions to include the normal FPU registers.
1634 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
1635 REGISTER_CONVERT_TO_RAW): Removed. The default definitions are
1636 fine for AIX/i386.
1637 (i387_to_double, double_to_i387): Remove prototypes.
1638
3db87ba3
KB
16392000-03-02 Kevin Buettner <kevinb@redhat.com>
1640
1641 * findvar.c (extract_floating, store_floating): Use target
1642 floating point type sizes rather host sizes to determine
1643 which conversion needs to be done.
1644
6c7e601e
ND
16452000-03-02 Nick Duffek <nsd@cygnus.com>
1646
1647 * uw-thread.c: Apply GNU conventions to comment formatting.
1648 (deactivate_uw_thread): Call remove_thread_event_breakpoints().
1649 (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints()
1650 call to deactivate_uw_thread().
1651
a09e9d09
AC
1652Thu Mar 2 09:04:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
1653
62a4b482 1654 * MAINTAINERS: Daniel Berlin is C++ maintainer.
a09e9d09 1655
ef7b4488
AC
1656Thu Mar 2 08:55:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
1657
1658 * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
7b83ea04
AC
1659 a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
1660 share SCO/Unixware. Nick Duffek and Peter Schauer share
1661 Solaris/x86.
a09e9d09 1662
75660bc0 1663Wed Mar 1 22:12:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
62a4b482 1664
75660bc0
AC
1665 From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
1666 * remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
62a4b482 1667 * remote-rdi.c (arm_rdi_close): Ditto.
75660bc0 1668
15db4a06
AC
1669Wed Mar 1 19:31:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
1670
1671 * CONTRIBUTE (configure.in): Note that patches to configure are
7b83ea04 1672 not needed.
15db4a06 1673
80582566
MK
16742000-03-01 Mark Kettenis <kettenis@gnu.org>
1675
1676 * MAINTAINERS: Correct my own mail address.
1677
dfe25b3a
AC
1678Wed Mar 1 11:26:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
1679
1680 * MAINTAINERS: Document people with paperwork pending.
1681
05e28a7b
AC
1682Wed Mar 1 00:49:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
1683
1684 From 2000-02-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
1685 Make NEW_PROC_ABI interface functional on Solaris x86.
1686 * sol-thread.c (ps_lgetLDT): Rewrite to use new
7b83ea04
AC
1687 procfs_find_LDT_entry function from procfs.c, mostly copied from
1688 lin-thread.c.
05e28a7b 1689 * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
7b83ea04 1690 needed.
05e28a7b 1691
b241ba8e
AC
1692Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
1693
1694 From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
1695 * config/i386/tm-i386sol2.h (MERGEPID): Define.
1696
1211c4e4
AC
1697Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
1698
1699 From 1999-08-13 J.T. Conklin <jtc@redback.com>:
7b83ea04
AC
1700 * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
1701 FRAME_FIND_SAVED_REGS.
1702 (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
1703 * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
1704 Update.
1211c4e4 1705
2fc18c15
AC
1706Tue Feb 29 23:56:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
1707
1708 From 2000-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
1709 * objfiles.c (open_mapped_file): Fix obsolete references to `mapped'
1710 parameter.
1711
02409499
AC
1712Tue Feb 29 18:47:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
1713
1714 From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
1715 * config/i386/nm-go32.h (FLOAT_INFO): Remove macro definition.
1716 (top level): Add prototypes for go32_* functions.
1717 * config/i386/tm-go32.h (I386_DJGPP_TARGET): Define.
1718 (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
1719 Override definitions from tm-i386.h.
1720 (REGISTER_VIRTUAL_TYPE): Remove macro definition.
1721 * i386-tdep.c (i386_extract_return_value)
1722 [I386_AIX_TARGET || I386_GNULINUX_TARGET]: Add I386_DJGPP_TARGET
1723 to the list of targets which return FP values in FP registers.
1724
1725 * i386-tdep.c (i386_extract_return_value): Add FIXME recommending
7b83ea04 1726 that this function be re-implemented using multi-arch.
02409499 1727
9d271fd8
AC
1728Tue Feb 29 18:40:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
1729
1730 From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
1731 * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols
1732 and ScreenRows.
1733 * ser-go32.c: Include string.h, for prototype of strncasecmp.
1734 (dpmi_regs, dpmi_sregs): Remove unused variables.
1735 (dos_flush_input): Return a value, to prevent compiler warning.
1736 * expprint.c (dump_prefix_expression): Use %ld in format and cast
1737 sizeof(union exp_element) to long, to prevent GCC from complaining
1738 about format/argument mismatch.
1739 (dump_postfix_expression): Likewise.
1740
30f6df08
AC
1741Tue Feb 29 18:09:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
1742
1743 * arm-tdep.c: Include <ctype.h>.
1744
d082b2bb
AC
1745Tue Feb 29 17:33:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
1746
1747 From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
1748 * stack.c (backtrace_command_1), infrun.c (normal_stop): Check
7b83ea04 1749 that the target's stack was valid.
d082b2bb 1750
244106e8
AC
1751Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
1752
1753 From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
7b83ea04 1754 * dwarf2read.c (read_address): Read 16-bits addresses.
244106e8 1755
56624b0a
SB
17562000-02-28 Scott Bambrough <scottb@netwinder.org>
1757
1758 * arm-linux-nat.c (fetch_nw_fpe_*):
7b83ea04 1759 Renamed to fetch_nwfpe_* to use the same naming convention
56624b0a
SB
1760 as in the Linux kernel. Modified prototype to get rid of
1761 unused parameters.
1762 (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
62a4b482 1763 naming convention as in the Linux kernel. Fixed calls to
56624b0a
SB
1764 fetch_nwfpe_*.
1765 (store_fpregs): Fixed calls to store_nwfpe_*. Removed
62a4b482 1766 unused variable.
56624b0a 1767
388c1733
AC
1768Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
1769
1770 * MAINTAINERS: Transfer d30v maintainership to David Taylor.
1771
f0d42432
CF
17722000-02-28 Christopher Faylor <cgf@cygnus.com>
1773
1774 * win32-nat.c: Remove unneeded header.
1775 * wince.c: Ditto.
1776
c322964e
AC
1777Mon Feb 28 13:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
1778
1779 * wince.c: Include "gdb_wait.h" and not "wait.h".
1780
8860ff2e
AC
1781Mon Feb 28 10:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
1782
1783 * MAINTAINERS: Mention mmalloc. Expand Host/Native and
7b83ea04 1784 Target/Architecture maintainers descriptions.
8860ff2e 1785
942fd805
MK
17862000-02-26 Mark Kettenis <kettenis@gnu.org>
1787
1788 * gnu-nat.c: Include "gdbthread.h". Include <hurd.h>.
1789 Reorder headers a bit. Overall cleanup and minor reformatting.
1790 (MIG_SERVER_DIED): Remove define.
1791 (proc_update_sc): Add braces to silence compiler warning.
1792 (proc_steal_exc_port): Initialize err to zero.
1793 (make_proc): Add braces to silence compiler warning.
1794 (inf_validate_task_sc): Add cast to silence compiler warning.
1795 (inf_set_traced): Reorganize a bit to silence compiler warning.
1796 (inf_validate_procs): Use mach_msg_type_number_t for all thread
1797 numbers and add braces to silence compiler warning.
1798 (gnu_wait): Add prototypes for server functions and add braces to
1799 silence compiler warnings.
1800 (S_exception_raise_request): Pass subcode to inf_debug call.
1801 (gnu_write_inferior): Remove unused variable `protection_changed'.
1802 (gnu_xfer_memory): Remove unused variable `result'.
1803 (set_sig_thread_cmd): Remove unused varible `tid'.
1804 (set_signals_cmd): Remve unused variable `trace'.
1805 (add_task_commands): Provide complete prototype. Reformat help
1806 strings a bit to make sure the first line is a full sentence.
1807 Call info_port_rights_cmd instead of info_send_rights_cmd for the
1808 "info port-rights" command.
1809 (add_thread_commands): Provide complete prototype. Make static.
1810 Reformat help strings a bit to make sure the first line is a full
1811 sentence.
1812 (_initialize_gnu_nat): Provide complete prototype.
1813
75c6e08a
MK
18142000-02-26 Mark Kettenis <kettenis@gnu.org>
1815
1816 Make cross-compilation for the Hurd more friendly.
1817 From Jeff Bailey <jbailey@gnu.org>:
1818 * configure.in: Use AC_CHECK_TOOL to find MiG.
1819 * Makefile.in (MIG): New variable.
1820 * config/i386/i386gnu.mh (MIG): Remove.
1821 * configure: Regenerated.
1822
ddb20c56
KB
18232000-02-26 Kevin Buettner <kevinb@redhat.com>
1824
1825 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add
1826 comment explaining motivation behind this function and why
1827 the generic facilities won't work for this platform.
1828 * rs6000-tdep.c (skip_prologue): Always test to make sure
1829 that an instruction is read successfully from the target's
1830 memory. Introduce notion of instructions which may appear in
1831 the prologue, but may not end the prologue. Added explicit
1832 check for nop instruction. Use memset() to zero the frame
1833 data instead of assignment from a statically allocated,
1834 uninitialized structure.
1835
2a20d068
AC
1836Sat Feb 26 17:15:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
1837
1838 * MAINTAINERS: Chris Faylor is responsible for all MS Windows
7b83ea04
AC
1839 systems. Note that Jim Blandy as maintainer for ``tracing
1840 bytecode stuff''
2a20d068 1841
608d5915
FN
18422000-02-25 Fernando Nasser <fnasser@cygnus.com>
1843
1844 From: Thomas Zenker <thz@Lennartz-electronic.DE>
1845 * rdi-share/hsys.c: to compile under 4.4BSD derived systems (FreeBSD,
1846 NetBSD...) sys_errlist should not be declared in hsys.c.
1847 NEED_SYSERRLIST is set already by configure, so we can use it.
1848 * rdi-share/unixcomm.c: 4.4BSD derived systems define BSD, but are
1849 posix compliant and we should not work with the old compatibility
1850 stuff. Because of that I undef BSD in case of FBSD etc and include
1851 sys/ioctl to get the flags.
1852 * rdi-share/unixcomm.c: If the TIOCEXCL flags exists set serial line
1853 for exclusive use.
1854
482ca3f5
KB
18552000-02-24 Kevin Buettner <kevinb@redhat.com>
1856
1857 * ppc-linux-tdep.c (ppc_sysv_abi_push_arguments): Put address
1858 of return structure in r3 if necessary.
1859 (ppc_linux_memory_remove_breakpoints): New function.
1860 * rs6000-tdep.c (skip_prologue): Make sure that the cases
1861 for storing either cr or lr to the stack only handle those
1862 cases. (I.e, don't let these cases match 0x00000000 which is
1863 found found in the shared library trampoline prior to the
1864 loading of the shared library.)
1865 * config/powerpc/tm-linux.h (ppc_linux_memory_remove_breakpoint):
1866 Declare.
1867 (MEMORY_REMOVE_BREAKPOINT): Define.
1868
a526d713
AC
1869Wed Feb 23 23:27:48 2000 Andrew Cagney <cagney@behemoth.cygnus.com>
1870
1871 * hppah-nat.c: Include "gdb_wait.h" instead of <wait.h>.
1872
e56ac5c3
AC
1873Thu Feb 24 18:42:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
1874
1875 * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
7b83ea04 1876 $(SUBDIR_*_INSTALL) when so configured.
e56ac5c3 1877 * configure: Regenerate.
62a4b482 1878
e56ac5c3 1879 * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
7b83ea04 1880 configure.
e56ac5c3 1881 (install-only): Add dependency on $(CONFIG_INSTALL). Delete code
7b83ea04 1882 installing GDBtk.
e56ac5c3
AC
1883 (uninstall): Add dependency on $(CONFIG_UNINSTALL).
1884 (SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL,
7b83ea04 1885 SUBDIR_GDBTK_INSTALL): Define.
e56ac5c3
AC
1886 (install-gdbtk): New target.
1887
b0b1b869
AC
1888Thu Feb 24 18:19:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1889
1890 * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
1891 * configure: Regenerate.
62a4b482 1892
091be84d
CF
18932000-02-24 Christopher Faylor <cgf@cygnus.com>
1894
1895 * configure.tgt: Add arm, mips, sh wince targets.
1896 * config/arm/tm-wince.h: New file.
33ee05bc 1897 * config/arm/wince.mt: New file.
091be84d 1898 * config/sh/tm-wince.h: New file.
33ee05bc 1899 * config/sh/wince.mt: New file.
091be84d 1900 * config/mips/tm-wince.h: New file.
33ee05bc 1901 * config/mips/wince.mt: New file.
091be84d
CF
1902 * wince.c: New file.
1903 * wince-stub.c: New file.
1904 * wince-stub.h: New file.
1905 * sh-tdep.c: Use correct register names for Windows CE.
1906
99eeeb0f
ND
1907Wed Feb 23 19:01:45 EST 2000 Nicholas Duffek <nsd@cygnus.com>
1908
1909 * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
1910 (error_return, quit_return): Merge into catch_return pointer.
1911 (return_to_top_level): Update comment. Longjmp to *catch_errors,
1912 and communicate reason to catch_errors via setjmp return value.
1913 (catch_errors): Always catch both quit and error, and if a catch
1914 wasn't requested by caller, throw it to the next catch_error.
1915 Replace dual longjmp buffer memcpy with single pointer change.
1916 Add FIXME for possibly adding new interface to tell caller what
1917 event was caught. Add extensive comments.
1918 * defs.h (enum return_reason): Reserve 0 for use as initial
1919 setjmp() return value.
1920 (RETURN_MASK): New public macro to generate RETURN_MASK_* from
1921 enum return_reason.
1922 (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
1923
242bfc55
FN
19242000-02-23 Fernando Nasser <fnasser@cygnus.com>
1925
1926 * infcmd.c (run_stack_dummy): Do not pop frame on random signal.
1927 * valops.c (_initialize_valops): Add command "set unwindonsignal".
1928 (hand_function_call): Test for unwind_on_signal and act accordingly.
1929
ff844c8d
AC
1930Wed Feb 23 12:58:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
1931
1932 * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long.
7b83ea04 1933 Match ../include/dis-asm.h change.
ff844c8d
AC
1934 * gdbarch.h: Regenerate.
1935 * corefile.c (dis_asm_read_memory): Update.
1936
fb40c209
AC
1937Mon Feb 21 13:57:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
1938
1939 * configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT.
1940 (ENABLE_CFLAGS): Move initialization to start of file.
1941 (enable-gdbmi): Add new configure option --enable-gdbmi. When
7b83ea04
AC
1942 selected and an ${srcdir}/mi directory is present enable MI
1943 interface.
fb40c209
AC
1944
1945 * configure: Regenerate.
62a4b482 1946
fb40c209 1947 * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS,
7b83ea04 1948 SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
fb40c209 1949 (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
7b83ea04
AC
1950 CONFIG_LDFLAGS): New macros. Initialized by autoconf via
1951 @CONFIG...@.
fb40c209 1952 (INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES,
7b83ea04 1953 INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
fb40c209
AC
1954
1955 * mi: New directory. MI interface to GDB.
1956
1957 * defs.h (interpreter_p): Declare when UI_OUT.
1958 * top.c (gdb_init): When interpreter_p, check that the interpreter
7b83ea04 1959 was recognized by one of the linked in interpreters.
fb40c209
AC
1960 * main.c (interpreter_p): Define.
1961 (captured_main): When UI_OUT, check for ``-i <interpreter>'' option.
1962 * event-top.c (display_gdb_prompt): When interpreter_p, assume
7b83ea04 1963 interpreter displays prompt.
fb40c209
AC
1964
1965 * breakpoint.c (print_it_typical, watchpoint_check,
7b83ea04 1966 print_one_breakpoint, mention): When MI include additional
fb40c209
AC
1967 target status information.
1968 * infrun.c (print_stop_reason, normal_stop): Ditto.
1969
14e0eb3b
JB
19702000-02-22 Jim Blandy <jimb@redhat.com>
1971
1972 * gdbarch.sh: Make the `default' field really default to zero, as
7b83ea04 1973 documented.
14e0eb3b
JB
1974
1975 Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
1976 * valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
1977 more function-like.
1978 (default_coerce_float_to_double, standard_coerce_float_to_double):
1979 New functions.
1980 (value_arg_coerce): Adjust for new definition.
1981 * value.h (default_coerce_float_to_double,
1982 standard_coerce_float_to_double): New declarations for the above.
1983 * gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
1984 * gdbarch.c, gdbarch.h: Regenerated.
1985 * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
7b83ea04
AC
1986 tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
1987 definitions.
14e0eb3b
JB
1988 * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
1989 function here.
1990 (mips_gdbarch_init): Install that as our coerce_float_to_double
1991 function.
1992
50c9bd31
KB
19932000-02-22 Kevin Buettner <kevinb@redhat.com>
1994
1995 * ppc-linux-nat.c (supply_gregset, supply_fpregset): Add return
1996 type.
1997 * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Add
1998 forward declaration.
1999
2000 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Handle case
2001 where the next frame is a signal handler caller.
2002
2003 * config/powerpc/tm-linux.h (PUSH_ARGUMENTS): Remove extraneous
2004 undef.
2005 (tm-linux.h): Include.
2006 (tm-sysv4.h): Don't include (directly). config/tm-linux.h will
2007 include this file for us.
2008 (REALTIME_LO, REALTIME_HI): Don't define. These are defined by
2009 config/tm-linux.h for us.
2010 (SOFUN_ADDRESS_MAYBE_MISSING): Define.
2011
223b8554
KB
20122000-02-21 Kevin Buettner <kevinb@redhat.com>
2013
2014 * Makefile.in (ppc-linux-nat.c, ppc-linux-tdep.c): New files.
2015 (ppc-linux-nat.o, ppc-linux-tdep.o): Add dependencies.
2016 * configure.tgt (powerpc-*-linux*): Separate from powerpc-*-eabi
2017 and like targets.
2018
2019 * ppc-linux-nat.c, ppc-linux-tdep.c, config/powerpc/linux.mt,
2020 config/powerpc/nm-linux.h, config/powerpc/tm-linux.h: New files.
2021 * config/powerpc/xm-linux.h: Substantially revised for native
2022 port.
8883511e
KB
2023 * config/powerpc/linux.mh (NAT_FILE): Redefine to be nm-linux.h.
2024 (NATDEPFILES): Update list to reflect the fact that we can
2025 now debug natively.
223b8554
KB
2026
2027 * rs6000-tdep.c, config/rs6000/tm-rs6000.h
2028 (rs6000_frameless_function_invocation, rs6000_frame_saved_pc):
2029 Renamed; The former names were lacking the rs6000_ prefix.
2030 * rs6000-tdep.c (rs6000_frame_saved_pc): Call FRAME_CHAIN
2031 instead of rs6000_frame_chain.
2032 (rs6000_frame_chain): Call FRAMELESS_FUNCTION_INVOCATION instead
2033 of rs6000_frameless_function_invocation.
2034
750334d7
EZ
20352000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2036
2037 From Philippe De Muyter <phdm@macqel.be>
2038
2039 * event-loop.c (handle_file_event): In case of poll, enable
7b83ea04
AC
2040 printing of informational message if an error/exception is
2041 detected on the file descriptor.
750334d7 2042
2403ff6f
JK
20432000-02-21 Jim Kingdon <kingdon@redhat.com>
2044
2045 * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
2046
f7cb3ef8
AC
2047Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
2048
91b9ff21 2049 * buildsym.c: Include "language.h" and "expression.h" for
7b83ea04 2050 longest_local_hex_string_custom.
f7cb3ef8 2051
0596389c
AC
2052Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
2053
2054 * gdbarch.sh: Include <gdb_wait.h> instead of <wait.h>.
2055 * gdbarch.c: Already updated by Wed Feb 9 18:59:16 2000 Andrew
7b83ea04 2056 Cagney <cagney@b1.cygnus.com>.
0596389c 2057
f5bca8e7
AC
2058Mon Feb 21 11:03:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
2059
2060 * MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando
7b83ea04
AC
2061 nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott
2062 Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol -
2063 to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI -
2064 Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
2065 Kingdon.
f5bca8e7 2066 * MAINTAINERS: Add Nick Clifton to write after approval list.
62a4b482 2067
538aae9d
AC
2068Mon Feb 21 10:30:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
2069
2070 * MAINTAINERS: Add note on multiple maintainers.
2071
55555bbc
FN
20722000-02-19 Philippe De Muyter <phdm@macqel.be>
2073
7b83ea04
AC
2074 * cli-out.c (cli_table_header): Type of parameter `alignment' is
2075 `enum ui_align', not `int'.
2076 (cli_field_string, cli_field_skip): Likewise.
55555bbc 2077
dea753cd 20782000-02-18 Jim Blandy <jimb@redhat.com>
9a90a845 2079
dea753cd 2080 From Jimmy Guo <guo@cup.hp.com>:
9a90a845
JB
2081 * buildsym.h (add_free_pendings): Declare.
2082 * buildsym.c (add_free_pendings): New function.
2083 (make_blockvector): 32x64 fix using longest_local_hex_string().
2084 (start_subfile): initialize variable 'subfile'.
2085
cca728d0
EZ
20862000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2087
2088 * remote.c (remote_async_detach): Use target_mourn_inferior(), to
7b83ea04
AC
2089 make sure that all is cleaned up after we disconnect from the
2090 target.
cca728d0
EZ
2091 (remote_detach): Ditto.
2092
e8b09175
FN
20932000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2094
b8d86de3
FN
2095 From Rodney Brown <RodneyBrown@pmsc.com>
2096 * ui-out.c (ui_out_set_flags): Fix typo, removing warning and
2097 potentially harming mistake.
2098
41815666
FN
20992000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2100
e8b09175
FN
2101 * arm-tdep.c: Use header file instead of extern declarations for
2102 the {get,set}_arm_regname* functions.
2103
d45b9300
FN
21042000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2105
2106 * configure.in: Replaces obsolete gdbtk-variable.c with
2107 gdbtk-varobj.c.
2108 * configure: Regenerate.
2109 * Makefile.in: Remove obsolete/extraneous references to
2110 gdbtk-var* files.
2111
e95a43ad
MK
21122000-02-16 Mark Kettenis <kettenis@gnu.org>
2113
2114 * target.c (do_target_signal_to_host): Do not use REALTIME_LO in
2115 the conversion of the signal number. TARGET_SIGNAL_REALTIME_33 is
2116 33 by definition, whereas REALTIME_LO might be 32 on systems that
2117 have SIG32 such as Linux. Make sure that the signal number
2118 returned is within the range specified by REALTIME_LO and
2119 REALTIME_HI.
2120
7433da22
MK
21212000-02-16 Mark Kettenis <kettenis@gnu.org>
2122
2123 * configure: Regenerated.
2124
bc90b915
FN
21252000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2126
2127 * arm-tdep.c (set_disassembly_flavor, arm_othernames,
2128 _initialize_arm_tdep): Allows the user to choose between any of
2129 the flavors available for the disassembly to be used in the "info
2130 reg" command and elsewhere in gdb. It prevents having to maintain
2131 this information in two places by using the data kept in the
2132 opcodes directory.
2133
83d37ec8
MK
21342000-02-09 Mark Kettenis <kettenis@gnu.org>
2135
2136 * configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
2137 prfpregset_t in <sys/procfs.h>.
2138 * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
2139 HAVE_PRFPREGSET_T.
2140 * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
2141 prgregset_t and prfpregset_t if they are not already present.
2142
eeefac92
AC
2143Wed Feb 16 19:00:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
2144
2145 From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>:
7b83ea04 2146 * procfs.c: Define MERGEPID if not defined. For osf4.0e.
eeefac92 2147
1a645206
JM
21482000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
2149
2150 * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
2151 'do-doc'.
2152
f6077098
KB
21532000-02-15 Kevin Buettner <kevinb@redhat.com>
2154
2155 Changes for AIX 4.3:
2156 * rs6000-tdep.c (rs6000_fix_call_dummy): Set TOC register
2157 to correct value for generic dummy frames. When using
2158 generic dummy frames, don't attempt to write TOC value or
2159 function to call into the call dummy.
7b83ea04 2160 (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
f6077098
KB
2161 code to also handle the PowerOpen ABI.
2162 (ppc_push_return_address): Enable for all ports.
2163 * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES,
62a4b482 2164 PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
f6077098
KB
2165 CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION,
2166 CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults
2167 provided by generic RS6000 definitions so that call dummies
2168 are implemented using generic dummy frames instead.
2169
2170 * rs6000-nat.c (store_inferior_registers): Call exec_one_dummy_insn()
2171 prior to changing the stack pointer via ptrace(). Also, ignore
2172 attempts to store to undefined registers that are less than
2173 NUM_REGS.
2174
2175 * rs6000-tdep.c (DUMMY_FRAME_SIZE): Change size of the dummy
2176 frame from 436 to 448 to account for alignment padding.
2177 (rs6000_push_arguments): Obtain actual register size instead
2178 of assuming the register is 4 bytes long. [There's still
2179 more work to be done to totally remove the 4 byte assumption,
2180 however.] Make sure the stack is 16 byte aligned as required
2181 by the PowerOpen ABI. Also, make sure that small structures
2182 passed in registers are properly aligned within the register.
2183
21842000-02-15 Jesper Skov <jskov@cygnus.co.uk>
2185
2186 Patch applied by Kevin Buettner <kevinb@redhat.com>
62a4b482 2187
f6077098
KB
2188 * rs6000-tdep.c (skip_prologue): skip copying of argument
2189 registers to local variable registers.
2190
70d5406d
JK
21912000-02-14 Jim Kingdon <kingdon@redhat.com>
2192
2193 * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
2194 sym->section->index number is not a SECT_OFF_* code.
2195
168770df
AC
2196Tue Feb 15 12:07:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
2197
2198 * MAINTAINERS (write after approval): Add H.J. Lu.
2199
031d1bf1
NC
22002000-02-14 Nick Clifton <nickc@cygnus.com>
2201
2202 * sh-tdep.c: Remove extraneous code.
2203
2bc8a457
JK
22042000-02-14 Amit S. Kale <akale@veritas.com>
2205
2206 * elfread.c (elf_symtab_read): Move the use of sym to after where
2207 it is set.
2208 Checked in by Jim Kingdon <kingdon@redhat.com>
2209
0c566c2e
AC
2210Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
2211
2212 * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
2213
3ca72b44
AC
2214Mon Feb 14 15:20:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
2215
2216 From 1999-11-24 Jason Merrill <jason@casey.cygnus.com>:
2217 * dwarf2read.c: (die_is_declaration): New fn.
2218 (read_structure_scope): Use it.
2219
2220 * dwarf2read.c: (die_is_declaration): Convert to ISO-C.
2221
d6e9fb05
JK
22222000-02-10 J.T. Conklin <jtc@redback.com>
2223
2224 * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
2225 * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
7b83ea04 2226 configdirs.
d6e9fb05 2227 * gdbserver/low-nbsd.c: New file.
62a4b482 2228
d6e9fb05
JK
2229 * gdbserver/Makefile.in: convert to autoconf.
2230 * gdbserver/configure.in: likewise.
2231 * gdbserver/configure: generate.
2232
41c8e009
AC
2233Sun Feb 13 11:21:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
2234
2235 * CONTRIBUTE: New file. How to contribute to GDB.
2236
15929d05
AC
2237Sun Feb 13 10:34:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
2238
2239 * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin
7b83ea04
AC
2240 Buettner to powerpc maintainers. Make Kevin Buettner the
2241 GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon
2242 and Jason Molenda to write after aproval list.
15929d05 2243
5185fdd7
AC
2244Sun Feb 13 10:18:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
2245
2246 * MAINTAINERS: Reformat. Separate into check-in categories.
2247
f086451a
ND
2248Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <nsd@cygnus.com>
2249
2250 * uw-thread.c: Remove __FUNCTION__ GNUism.
2251
fa292f23
JK
22522000-01-17 Amit S. Kale <akale@veritas.com>
2253
2254 * elfread.c (elf_symtab_read): Use offset for the section in which a
2255 symbol resides, instead of .text section for calculating address of a
2256 symbol.
2257 Checked in by Jim Kingdon <kingdon@redhat.com>
2258
e18ef0bd
JK
22592000-02-10 Mark Kettenis <kettenis@gnu.org>
2260
2261 * gnu-nat.c: Remove hackery to include <bits/waitflags.h>. It is
2262 no longer necessary now we have gdb_wait.h.
2263
f90b2b1d
JK
22642000-02-09 Mark Kettenis <kettenis@gnu.org>
2265
2266 * gnu-nat.c (proc_string): Make global.
2267 (do_mach_notify_dead_name): Suppress dead name notifications if we
2268 know that the task is dead.
2269
22701999-12-13 Mark Kettenis <kettenis@gnu.org>
2271
2272 * gnu-nat.c (inf_validate_task_sc): Get task info via proc server
2273 instead of directly from the kernel. Add some hackery to make
2274 sure that the info isn't influenced by suspension of the task in
2275 the proc server itself.
2276
09f99d3f
JK
22772000-02-10 Jim Kingdon <kingdon@redhat.com>
2278
2279 * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
2280 approved by Michael Snyder.
2281
203051af
AC
22822000-02-09 Mark Kettenis <kettenis@gnu.org>
2283
7b83ea04 2284 * linux-thread.c: Include defs.h before gdb_wait.h.
203051af 2285
03f2053f
AC
2286Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
2287
2288 * Makefile.in (wait_h): Delete macro. Update all dependencies
7b83ea04 2289 specifying gdb_wait.h instead.
03f2053f
AC
2290
2291 * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
7b83ea04
AC
2292 remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
2293 remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
2294 convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
2295 remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
2296 remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
2297 remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
2298 ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
2299 infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
2300 fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
2301 or <sys/wait.h>.
145679a8 2302 * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
03f2053f
AC
2303
2304 * gdb_wait.h: New file. Based on ../include/wait.h. Include
7b83ea04 2305 <sys/wait.h> or <wait.h> and then define any missing WIF macros.
03f2053f 2306
489137c0
AC
2307Wed Feb 9 01:14:54 2000 Andrew Cagney <cagney@amy.cygnus.com>
2308
2309 * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Define.
2310 * config/d10v/tm-d10v.h (STACK_ALIGN): Define.
2311 (d10v_stack_align): Declare.
2312 * d10v-tdep.c (d10v_stack_align): Define.
2313
ce808e91
AC
23141999-08-23 J.T. Conklin <jtc@redback.com>
2315
7b83ea04
AC
2316 * top.c (remote_timeout): Change default to 2. Add comment
2317 explaining history of changes to the default value.
2318 * remote.c (_initialize_remote): Remove code that adds set/
2319 show remotetimeout, as that's also done in top.c
ce808e91 2320
e9277ae8
AC
23211999-10-18 J.T. Conklin <jtc@redback.com>
2322
7b83ea04
AC
2323 * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
2324 Return E01 instead of P01 when 'P' command fails.
e9277ae8 2325
1216fa2c
AC
23262000-02-05 J.T. Conklin <jtc@redback.com>
2327
2328 * remote.c (putpkt_binary): Handle NAK from target stub.
2329
f2c4d933
EZ
23302000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2331
2332 * configure.in: Remove the addition of sol-thread.c to the
2333 CONFIG_INITS list. This caused problems with init.c, because
2334 sol-thread.c would be grepped twice for _initialize_* functions.
2335 * configure: Ditto.
2336 * Makefile.in: Add FIXME for init.c.
2337
745b8ca0
JK
23382000-02-07 Jim Kingdon <kingdon@redhat.com>
2339
2340 Clean up compiler warnings:
2341 * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
2342 stack.c, valprint.c: Change variables to unsigned.
2343 * bcache.c: Rearrange to avoid warnings about variables not being set.
2344 * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
2345 rather than declaring print_max and repeat_count_threashold
2346 ourselves (incorrectly).
2347 * valprint.h: Do declare repeat_count_threashold.
2348 * ch-exp.c: Use default case for internal error.
2349 * findvar.c: Don't omit argument type.
2350 * symtab.c: Remove unused variable.
2351
4d9ab7f6
JK
23522000-02-04 Jim Blandy <jimb@redhat.com>
2353
2354 * c-typeprint.c (remove_qualifiers): New function.
2355 (c_type_print_base): Use it to remove qualifiers from C++
2356 qualified names, not strrchr.
2357
2358 * c-typeprint.c (c_type_print_base): Recognize type conversion
2359 operators by calling is_type_conversion_operator.
2360 (is_type_conversion_operator): New function.
2361
dfcd3bfb
JM
23622000-02-04 Nick Clifton <nickc@cygnus.com>
2363
2364 * config/arm/tm-arm.h (LOWEST_PC): Define.
2365
23662000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2367
2368 * infrun.c (resume): Make just one call to target_resume(), instead
7b83ea04
AC
2369 of four: set up correct parameters in all the cases ahead of time,
2370 and do call at the end.
dfcd3bfb
JM
2371
23722000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2373
2374 * config/powerpc/tm-ppc-eabi.h: Define
7b83ea04 2375 SOFUN_ADDRESS_MAYBE_MISSING.
dfcd3bfb
JM
2376
23772000-02-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
2378
2379 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy
2380 frames (revisited).
2381
2382Fri Feb 4 22:42:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2383
2384 * Makefile.in (INIT_FILES): Append CONFIG_INITS
2385 * configure.in (CONFIG_INIT): Initialize.
3fc11d3e
JM
2386 (links): Link srcdir/gdbtk/library to gdbtcl2.
2387 * gdbtcl2: Moved to gdbtk/library.
2388 ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
7b83ea04
AC
2389 gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
2390 gdbtk.h: Moved to gdbtk/generic.
dfcd3bfb
JM
2391
23922000-02-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2393
2394 * printcmd.c (build_address_symbolic): New function. Returns all
7b83ea04
AC
2395 the parts that are necessary to print an address in a symbolic
2396 form.
dfcd3bfb 2397 (print_address_symbolic): Split into a printing part and an
7b83ea04 2398 information building part, build_address_symbolic().
dfcd3bfb
JM
2399
2400 * defs.h (build_address_symbolic): Export.
2401
24022000-02-03 Jim Blandy <jimb@redhat.com>
2403
2404 * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx
2405 opcode.
2406
8b93c638
JM
24072000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2408
2409 * arm-tdep.c (arm_push_arguments): Fix passing of floating point
2410 arguments on dummy frames.
2411
24122000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2413
2414 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy frames.
2415 (arm_pop_frame): Account fr dummy frames (as opposed to real ones).
2416
d9fcf2fb
JM
24172000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2418
2419 * remote.c (getpkt_sane): New function. It is the old getpkt(),
7b83ea04 2420 which now returns a timeout indication.
d9fcf2fb 2421 (getpkt): New function. Wrapper for getpkt_sane(), so that return
7b83ea04 2422 value can still be ignored.
d9fcf2fb 2423
8b93c638
JM
2424Tue Feb 1 18:47:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
2425
2426 * top.c (print_gdb_version): Print ``UI_OUT'' when configured with
7b83ea04 2427 UI_OUT.
8b93c638 2428
d9fcf2fb
JM
2429Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
2430
2431 * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename
7b83ea04
AC
2432 ``struct gdb_file'' to ``struct ui_file''. Delete typedef
2433 GDB_FILE.
62a4b482 2434
d9fcf2fb
JM
2435 * Makefile.in: Update.
2436
2437 * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
7b83ea04
AC
2438 c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
2439 ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
2440 cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
2441 expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
2442 frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
2443 gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
2444 jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
2445 m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
2446 printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
2447 remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
2448 ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
2449 serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
2450 target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
2451 utils.c, v850ice.c, valprint.c, valprint.h, value.h,
2452 config/pa/tm-hppa.h: Update.
8b93c638 2453 * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
d9fcf2fb 2454
da59e081
JM
24552000-01-31 Jason Molenda (jsm@bugshack.cygnus.com)
2456
a9e0ce2c
JM
2457 * config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh,
2458 config/i386/i386dgux.mh, config/i386/i386sol2.mh,
2459 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
2460 config/i386/ncr3000.mh, config/m68k/m68kv4.mh,
2461 config/m88k/delta88v4.mh, config/mips/irix4.mh,
2462 config/mips/irix5.mh, config/mips/mipsv4.mh,
da59e081 2463 config/powerpc/solaris.mh (NATDEPFILES): Change references to
a9e0ce2c 2464 proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to
da59e081
JM
2465 proc-api.o, proc-events.o, proc-flags.o, and proc-why.o.
2466
2467Mon Jan 31 17:14:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2468
2469 * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
2470
2471 * main.c (captured_main): Only use the legacy tui_file code when
7b83ea04 2472 linking in older code such as the TUI.
da59e081
JM
2473
2474 * gdb-file.h, gdb-file.c: New files.
2475 * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
7b83ea04
AC
2476 null_file_isatty, null_file_rewind, null_file_put,
2477 null_file_flush, null_file_write, null_file_fputs,
2478 null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
2479 gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
2480 set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
2481 set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
2482 set_gdb_file_data, struct accumulated_gdb_file,
2483 do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
2484 mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
2485 mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
2486 stdio_file_delete, stdio_file_flush, stdio_file_write,
2487 stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
2488 Moved to gdb-file.h and gdb-file.c.
da59e081 2489 * utils.c (enum streamtype, struct tui_stream, tui_file_new,
7b83ea04
AC
2490 tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
2491 tui_file_rewind, tui_file_put, tui_file_fputs,
2492 tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
da59e081 2493 fputs_unfiltered_hook):
7b83ea04 2494 Moved to tui/tui-file.c and tui/tui-file.h.
62a4b482 2495
da59e081
JM
2496 * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o.
2497 (tui-file.o, gdb-file.o): Add dependencies.
2498 (corefile.o, main.o, utils.o, simmisc.o): Update dependencies.
2499 * main.c: #include tui/tui-file.h.
2500
25012000-01-28 Fred Fish <fnf@cygnus.com>
2502
2503 * findvar.c (value_from_register): Special case handling of D10V
2504 pointer values fetched from registers.
2505
25062000-01-28 Fernando Nasser <fnasser@totem.to.cygnus.com>
2507
2508 * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add
b55cf2e4 2509 support for new style thumb prologues.
da59e081
JM
2510
25112000-01-28 Nick Clifton <nickc@redhat.com>
2512
2513 * arm-tdep.c: Remove extraneous dash at start of strings
2514 introduced in previous delta.
2515
25162000-01-27 Nick Clifton <nickc@redhat.com>
2517
2518 * arm-tdep.c: Replace uses of arm_toggle_renames() with
b55cf2e4 2519 parse_arm_disassembler_option().
da59e081
JM
2520
25212000-01-27 Jim Blandy <jimb@cygnus.com>
2522
2523 * symtab.c (decode_line_1): Don't let commas that are within
7b83ea04
AC
2524 quotes or parenthesis terminate the line spec. Don't use pp when
2525 removing the final double quote of a double-quoted string. Don't
2526 forget to skip the opening double quote. I have no clue whether
2527 this change is correct; probably we've just moved this function
2528 from one buggy place to another buggy place, and never came within
2529 an outhouse whiff of correctness.
da59e081
JM
2530 (find_toplevel_char): New function.
2531
25322000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
2533
2534 * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
7b83ea04 2535 passing the pointer to a thumb function as an argument.
da59e081
JM
2536
25372000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
2538
2539 * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints
2540 are reinserted for another run.
2541
8b93c638
JM
25422000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
2543
2544 * cli-out.c (cli_filed_string): Test for NULL string.
2545
da59e081
JM
25462000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
2547
2548 * infcmd.c (run_stack_dummy): Account for a random signal stopping
2549 the inferior as well as breakpoints being hit while performing an
2550 inferior function call.
2551 * valops.c (hand_function_call): Ditto.
2552
25532000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2554
2555 From Mark Kettenis <kettenis@gnu.org>
2556
2557 * config/i386/tm-i386gnu.h (THREAD_STATE_FLAVOR): Define to
2558 i386_REGS_SEGS_STATE.
2559 (HAVE_I387_REGS): Define.
2560 (FLOAT_INFO): Remove.
2561 * i386gnu-nat.c: Almost completely rewritten to use new i386
2562 register layout and `float info' implementation.
2563 * gnu-nat.c (inf_update_procs, proc_get_state, proc_string):
2564 Move prototypes from here.
2565 * gnu-nat.h: To here.
2566
0fda6bd2
JM
25672000-01-24 Kevin Buettner <kevinb@redhat.com>
2568
2569 * utils.c (get_field, put_field): Fix buffer underruns and
2570 overruns. Also, handle case where total_len is not evenly
2571 divisible by 8.
2572 (getfield): Make sure zeroing of unwanted bits occurs even
2573 when bit field to extract does not straddle two or more
2574 bytes.
2575
25762000-01-23 Christopher Faylor <cgf@cygnus.com>
2577
2578 * defs.h: Add gdb_thread_select declaration.
2579
25802000-01-23 Kevin Buettner <kevinb@redhat.com>
2581
2582 * linux-thread.c (_initialize_linuxthreads): Make sure that
2583 linuxthreads_block_mask does not block SIGCHLD.
2584
25852000-01-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
2586
2587 * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to
2588 text so that new lines work properly.
2589
25902000-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2591
2592 * proc-utils.h: New file. Export functions from proc-*.c.
2593
2594 * proc_api.c: Rename to:
2595 * proc-api.c: New file. Add include of proc-utils.h.
2596
2597 * proc_events.c: Rename to:
2598 * proc-events.c: New file.
2599
2600 * proc_flags.c: Rename to:
2601 * proc-flags.c: New file.
2602
2603 * proc_why.c: Rename to:
2604 * proc-why.c: New file. Add include of proc-utils.h.
2605
2606 * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
7b83ea04 2607 ctype.h, proc-utils.h.
0fda6bd2
JM
2608 (find_procinfo_or_die): Add braces to avoid ambiguous else clause.
2609 (open_procinfo_files): Conditionalize local variable tmp, to avoid
7b83ea04 2610 compiler warnings.
0fda6bd2 2611 (proc_iterate_over_mappings): Conditionalize local vars mapfd and
7b83ea04 2612 pathname.
0fda6bd2 2613 (procfs_wait): Adjust format in some printf_filetered calls to
7b83ea04 2614 avoid compiler warnings.
0fda6bd2 2615 (make_signal_thread_runnable): Ifdef 0. The calls to this function
7b83ea04 2616 are also ifdef'd 0 .
0fda6bd2
JM
2617 (procfs_resume): Add parentheses around '&&' operation.
2618 (procfs_set_exec_trap): Remove unused variable.
2619 (info_proc_cmd): Add braces to avoid ambiguous else clause.
2620
2621 * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
7b83ea04 2622 proc-why.o): Update dependencies.
0fda6bd2
JM
2623
2624 * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
2625 proc-*.o.
2626
c5394b80
JM
26272000-01-17 Jason Molenda (jsm@bugshack.cygnus.com)
2628
2629 * configure.in (NEW_PROC_API): Fix Unixware-matching regexp.
2630 Fix from Robert Lipe <robertl@sco.com>.
2631 * configure: Regenerated.
2632
26332000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2634
2635 * stack.c (print_frame_info_base): Break up into the frame info
7b83ea04 2636 (location) printing part and the rest (source line printing).
c5394b80 2637 (print_frame): New function. Take care of printing the location
7b83ea04 2638 information.
c5394b80
JM
2639 Update copyright.
2640
2641 * infrun.c (normal_stop): Use enum values rather than integers for the
2642 source_flag to be passed to show_and_print_stack_frame().
7b83ea04 2643 Update copyright.
62a4b482 2644
c5394b80 2645 * frame.h (print_what): New enum for 'source' argument to
7b83ea04 2646 print_frame_info_base(). Use this instead of obscure numbers.
c5394b80 2647 Update copyright.
62a4b482 2648
c5394b80
JM
2649Sun Jan 16 17:58:00 2000 David Taylor <taylor@texas.cygnus.com>
2650
2651 * event-top.c (stdin_event_handler): call quit_command rather than
7b83ea04
AC
2652 exit -- run cleanups, give target code a chance to say goodbye to
2653 the target. Fixes bug where the inferior processes were left
2654 around on Solaris (and probably elsewhere) by the testsuite.
c5394b80
JM
2655
26562000-01-14 Mark Salter <msalter@cygnus.com>
2657
2658 * v850-tdep.c (v850_target_architecture_hook): Setup correct
7b83ea04 2659 machine id for disassembly.
c5394b80 2660
0fda6bd2
JM
26612000-01-13 Jim Blandy <jimb@cygnus.com>
2662
2663 * i386-linux-nat.c (fill_gregset): Pass the correct arguments to
2664 convert_to_regset, when regno indicates a specific register.
2665
c5394b80
JM
2666Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek <nsd@cygnus.com>
2667
2668 * uw-thread.c: Document libthread.so debugging interface. Minor
2669 comment and formatting tweaks.
2670 (DEBUG): #define as 0 instead of 1.
2671 (CALL_BASE): Include function name in error msg.
2672 (libthread_stub): Adjust inferior_pid after thread exit.
2673 (uw_thread_create_inferior): Deactivate uw_thread_ops before
2674 asking procfs_ops to create inferior.
2675 (libthread_init): Don't return nonlocally on error.
2676
26772000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
2678
2679 * rdi-share/ardi.c (negotiate_params): Fix initialization of static
2680 variable.
2681
26822000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
2683
2684 * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure
2685 both sides are on the same state.
2686
26872000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
2688
2689 * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and
2690 115200 (minor syntax mistake).
2691
26922000-01-12 Jim Blandy <jimb@cygnus.com>
2693
2694 * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for
2695 this here, to go along with the definitions of PIDGET and TIDGET.
2696
26972000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2698
2699 * thread.c (do_captured_thread_select): New function. Switch
7b83ea04 2700 current thread, safely from within catch_errors().
c5394b80
JM
2701 (gdb_thread_select): New function. Switch threads safely.
2702 (thread_command): Use gdb_thread_select().
8b93c638
JM
2703 Include ui-out.h.
2704 (do_captured_list_thread_ids): New function.
2705 (gdb_list_thread_ids): New function.
2706
2707 * defs.h (gdb_thread_select, gdb_list_thread_ids): Export.
c5394b80
JM
2708
27092000-01-11 Christopher Faylor <cgf@cygnus.com>
2710
2711 * configure.in: Avoid linking -limagehlp unless it's a native build.
2712 * configure: Regenerate.
2713 * thread.cc (add_thread): Clear private data pointer here or suffer
2714 strange behavior when it is checked for NULL later.
2715
0d06e24b
JM
27162000-01-09 Christopher Faylor <cgf@cygnus.com>
2717
2718 * win32nat.c (handle_exceptions): Handle various arithmetic exceptions.
2719 * configure.in: Add an additional library to cygwin link.
2720 * configure: Regenerate.
2721
2722 Patch from Egor Duda <deo@logos-m.ru>:
2723 * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe"
2724 type.
2725
27262000-01-07 Michael Snyder <msnyder@cleaver.cygnus.com>
2727
2728 * uw-thread.c: New file to support UnixWare user-mode threads:
aa47baa9 2729 contributed by Nickolas Duffek <nsd@cygnus.com>.
0d06e24b
JM
2730 * target.h (struct target_ops): New vector, to_extra_thread_info,
2731 allows back-ends to give extra details in info thread display.
2732 (target_extra_thread_info): define new macro.
2733 (target_find_new_threads): simplify macro. Cleanup comments.
2734 * target.c (to_extra_thread_info): default and inherit new vector.
2735 (cleanup_target): eliminate PARAMS, break up long lines,
2736 provide default definition for to_extra_thread_info, and
2737 to_find_new_threads. Default to_thread_alive and to_query
2738 to return_zero, not target_ignore (they each return int not void).
2739 (debug_to_find_new_threads): new debug entry.
2740 (setup_target_debug): add debug_to_find_new_threads.
2741 * gdbthread.h: export struct thread_info, find_thread_pid, and
2742 iterate_over_threads. Add comments. Eliminate PARAMS. Update
2743 copyright. Add new private data pointer for use by target back-ends.
2744 * thread.c (struct thread_info): move definition to gdbthread.h.
2745 (find_thread_pid): new exported function for thread lookup.
2b266721 2746 (iterate_over_threads): new exported function for applying
0d06e24b
JM
2747 arbitrary operations to threads. Update copyright to 2000.
2748 (info_threads_command): use new target_extra_thread_info vector
2749 to display extra information about each thread (if implemented).
2750 * config/i386/tm-i386v42mp.h: remove obsolete #defines for procfs.
2751 Add defines for PIDGET, etc.
2752 * config/i386/tm-i386sol2.h: ditto.
2753 * config/sparc/tm-sun4sol2.h: ditto.
2754 * config/i386/i386v42mp.mh: add uw-thread.o to NATDEPFILES.
2755 * testsuite/gdb.threads/pthreads.exp: Try to link with -lthread
2756 if -lpthread and -lpthreads fail.
2757
2758 * procfs.c: (PIDGET, TIDGET, MERGEPID): change default to no-op.
2759 (proc_flags): combine flags that UnixWare splits into two locations.
2760 (proc_modify_flag): add support for PR_KLC (kill on last close).
2761 (proc_[un]set_kill_on_last_close): new functions.
62a4b482 2762
8b93c638
JM
27632000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2764
2765 * infrun.c (normal_stop): Print out thread id when we stop.
2766
0d06e24b
JM
27672000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2768
2769 * remote.c (remote_open_1): Fix message so it does not imply a
2b266721 2770 specific syntax for serial ports, as it is OS dependent.
0d06e24b
JM
2771 (remote_async_open_1): Ibid.
2772 (init_remote_ops): Ibid.
2773
27742000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2775
2776 * rdi-share/serdrv.c (SerialOpen): Use speed from "-b" argument or
2777 "set remotebaud" command (if set) when no speed is specified on
2778 the "target rdi" command.
2779
27802000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2781
2782 * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and
2783 115200.
2784 (baud_options[]): Ibid.
2785
27862000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2787
2788 * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix
2789 used by each operating system.
2790
27912000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2792
2793 * breakpoint.c (until_break_command): Add an argument for the
7b83ea04
AC
2794 continuation, the beginning of the cleanups set up by this
2795 command.
0d06e24b 2796 (until_break_command_continuation): Do cleanups until the one
7b83ea04 2797 passed in as argument instead of doing all of them.
0d06e24b
JM
2798
2799 * infcmd.c (finish_command_continuation): Expect a new argument,
7b83ea04
AC
2800 which indicates up to where to do cleanups. Update calls to
2801 do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
0d06e24b
JM
2802 (finish_command): Add another argument for the continuation: the
2803 starting cleanup for this command.
2804
c3f6f71d 28052000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 2806
c3f6f71d
JM
2807 From Grant Edwards <grante@visi.com> (original patch from Thomas
2808 Zenker ):
2809 * rdi-share/ardi.c: Allow interruption of interruptible
2810 targets with a <CNTL-C>.
ed9a39eb 2811
c3f6f71d 28122000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 2813
c3f6f71d
JM
2814 * rdi-share/etherdrv.c (fetch_ports): Send extra words on request
2815 to control port to accommodate some versions of Angel.
ed9a39eb 2816
c3f6f71d 28172000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 2818
c3f6f71d
JM
2819 * rdi-share/devsw.c (dumpPacket): Fix source of channel information.
2820 Add interpretation for C Support Library packets.
ed9a39eb 2821
c3f6f71d 28222000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 2823
c3f6f71d
JM
2824 * rdi-share/devsw.c (DevSW_Close): Remove const from argument that
2825 is now being modified.
2826 * rdi-share/devsw.h: Adjust declaration of the above funtion.
ed9a39eb 2827
c3f6f71d 2828For older changes see ChangeLog-99
c906108c
SS
2829\f
2830Local Variables:
2831mode: change-log
2832left-margin: 8
2833fill-column: 74
2834version-control: never
2835End:
This page took 0.221519 seconds and 4 git commands to generate.