* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
d57fc352
PS
12000-11-21 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2
3 * target.h (TARGET_SIGNAL_REALTIME_64): Added for IRIX 6.
4 * target.c (target_signal_from_host, do_target_signal_to_host):
5 Handle TARGET_SIGNAL_REALTIME_64.
6
a7ec76fe
KB
72000-11-21 Kevin Buettner <kevinb@redhat.com>
8
9 * solib.c (solib_open): Handle the case where
10 solib_absolute_prefix is NULL.
11
e4f7b8c8
MS
122000-11-20 Michael Snyder <msnyder@cleaver.cygnus.com>
13
14 * solist.h: Declare new function solib_open.
15 * solib.c (solib_open): New function. Abstracts some of the
16 code from solib_map_sections, for finding the binary solib file.
17 (solib_map_sections): Call solib_open.
18 * solib-svr4.c (enable_break): Call solib_open.
19
22c72081
C
202000-11-20 J.T. Conklin <jtc@redback.com>
21
22 * gdbserver/low-nbsd.c (fetch_inferior_registers,
23 store_inferior_registers): Support older NetBSD/powerpc systems
24 from before fp reg support was added. Adapt to register number
25 changes caused when powerpc target was multi-arched.
26
ef58a6ac
L
272000-11-20 H.J. Lu <hjl@gnu.org>
28
29 * ia64-tdep.c (gdbarch_tdep): Change reference from
30 ELFOSABI_MONTEREY to ELFOSABI_AIX.
31
6e778545
PS
322000-11-20 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
33
34 * c-valprint.c (print_function_pointer_address): New function
35 to automatically dereference a function pointer for printing
36 if necessary.
37 (c_val_print): Use print_function_pointer_address when printing
38 function pointer addresses.
39
0c9f8a69
C
402000-11-20 J.T. Conklin <jtc@redback.com>
41
42 * gdbserver/low-nbsd.c: Fix typos.
43
b57d7d21
JL
442000-11-20 Jeffrey A Law (law@cygnus.com)
45
46 * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.
47
e306c308
AC
48Mon Nov 20 23:21:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
49
50 * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX. Jim
51 Blandy, Kevin Buettner and Peter Schauer share shared libs.
52
2a44e7c4
AC
53 From Nick Duffek:
54 * MAINTAINERS: Share responsibility for
55 Solaris/x86 between co-maintainers.
56
81078c5d
AC
57 * MAINTAINERS: Add linespec as a separate component.
58
c3eb0c00
AC
59Mon Nov 20 14:29:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
60
61 * command.h (error_no_arg): Add noreturn attribute to declaration.
62
76995688
AC
63Fri Nov 17 16:07:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
64
65 * utils.c (xvasprintf, xasprintf): New functions.
66 * defs.h (xvasprintf, xasprintf): Add declarations.
67
68 * remote.c (add_packet_config_cmd): Use function xasprintf instead
69 of asprintf.
70 * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Use
71 function xvasprintf instead of vasprintf.
72
73 * TODO (xasprintf): Update.
74
896f1867
AC
75Mon Nov 20 12:22:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
76
77 * TODO: Mention ``extern'' and ``STREQ'' cleanups.
78
e85428fc
JB
792000-11-19 Jim Blandy <jimb@redhat.com>
80
81 * symtab.c (no_symtab_msg): Remove definition.
82 (sources_info): Replace use of no_symtab_msg with the string
83 itself.
84 * linespec.c (no_symtab_msg): Remove declaration.
85 (decode_line_1): Replace uses of no_symtab_msg with the string
86 itself.
87
55d05f3b
KB
882000-11-17 Kevin Buettner <kevinb@redhat.com>
89
90 * rs6000-tdep.c (refine_prologue_limit): New function.
91 (skip_prologue): When zero, attempt to obtain value for
92 lim_pc by calling refine_prologue_limit(). Also, fix
93 fencepost error regarding the limit in the loop.
94
95 From Peter Schauer:
96 * rs6000-tdep.c (skip_prologue): Handle optimizer code motions into
97 the prologue by continuing the prologue search, if we have no valid
98 frame yet or if the return address is not yet saved in the frame.
99
ba5f58cb
KB
1002000-11-17 Kevin Buettner <kevinb@redhat.com>
101
102 * wrapper.c (gdb_value_assign, wrap_value_assign): Protoize.
103
e35ce267
CF
1042000-11-16 Christopher Faylor <cgf@redhat.com>
105
106 * thread.c (thread_apply_all_command): Save the command before
107 executing it because it may be modified. Restore the saved command so
108 that the same command is executed on next thread.
109 (thread_apply_command): Same correction.
110
165cd47f
MS
1112000-11-16 Michael Snyder <msnyder@cleaver.cygnus.com>
112
113 * regcache.c (read_register_bytes): Failing to set register_valid
114 is not necessarily an error, if the register is a pseudo-register.
115 Some pseudo-registers are never marked as valid, so that they will
116 be read anew every time. Determining if a pseudo-register is valid
117 (or should be marked invalid) may be difficult, whereas just
118 recomputing it may be cheap.
119
0e828ed1
DT
120Thu Nov 16 09:47:57 2000 David Taylor <taylor@redhat.com>
121
122 * tracepoint.c (trace_find_tracepoint_command): Replace call to
123 parse_and_eval_address with a call to parse_and_eval_long as
124 we are evaluating an integer, not an address.
125 * top.c (show_commands): Ditto.
126
b095261a
KB
1272000-11-15 Kevin Buettner <kevinb@redhat.com>
128
129 * xcoffread.c (arrange_linetable, xcoff_initial_scan): Protoize.
130
79496e2f
DT
131Wed Nov 15 09:31:39 2000 David Taylor <taylor@redhat.com>
132
133 * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
134 not TARGET_PTR_BIT, since we are dealing with addresses, not
135 pointers.
136
770de199
DB
1372000-11-14 Daniel Berlin <dberlin@redhat.com>
138
139 From Kenneth Block <kenneth.block@compaq.com>
140
141 * demangle.c : Use libibery list of demanglers instead of out of
142 date local copy.
143
4ad5b0f7
AC
144Wed Nov 15 00:29:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
145
146 From Klaus Espenlaub <espenlaub@informatik.uni-ulm.de>
147 * remote.c (_initialize_remote): Call
148 show_memory_write_packet_size when ``show remotewritesize''
149 command.
150
158b3de0
EZ
1512000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
152
153 * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle
154 the gettext's posrcprefix correctly with drive letters.
155
1300f5dd
JB
1562000-11-10 Jim Blandy <jimb@redhat.com>
157
158 * stabsread.c (read_range_type): Properly construct complex
159 type nodes.
160
50641945
FN
1612000-11-10 Fernando Nasser <fnasser@totem.toronto.redhat.com>
162
163 * symtab.c (decode_line_1, total_number_of_methods, find_methods,
164 build_command_line_spec, find_toplevel_char, decode_line_2):
165 Move to linespec.c.
166 * linespec.c: New file. Routines that handle linespecs, formerly
167 in symtab.c.
168 * symtab.h: Export find_line_symtab and find_function_start_sal,
169 * Makefile.in: Add linespec.c.
170
5fbbeb29
CF
1712000-11-10 Christopher Faylor <cgf@cygnus.com>
172
173 * inferior.h (step_over_calls_kind): New enum to clarify values in
174 step_over_calls.
175 * infcmd.c (step_over_calls): Change definition.
176 (step_1): Use new enum values in relation to step_over_calls.
177 (step_once): Ditto.
178 (until_next_command): Ditto.
179 * infrun.c (clear_proceed_status): Ditto.
180 (handle_inferior_event): Ditto.
181
1822000-11-10 Stephane Carrez <Stephane.Carrez@sun.com>
183
184 * inferior.h (step_stop_if_no_debug): New variable.
185 * infrun.c (step_stop_if_no_debug): Declare.
186 (handle_inferior_event): Stop the step command if we entered a function
187 without line info.
188 (_initialize_infrun): New command 'set step-mode' to control the step
189 command.
190 * infcmd.c (step_once): Switch to stepi mode if there is no line info
191 (and switching is enabled).
192
67e0617e
C
1932000-11-10 J.T. Conklin <jtc@redback.com>
194
195 * target.c (do_xfer_memory): Only perform a single memory transfer
196 instead of iterating to tranfer the entire region. Higher layers
197 are expected to call this function multiple times for partial
198 transfers.
199 (target_xfer_memory_partial): Remove unused local variables.
200
2012000-11-10 Nick Duffek <nsd@redhat.com>
202
203 * target.c (target_xfer_memory_partial): Return bytes transferred
204 instead of 0.
205
1669605f
KB
2062000-11-09 Kevin Buettner <kevinb@redhat.com>
207
208 * values.c (value_being_returned, using_struct_return): Protoize.
209 * varobj.c (child_exists, cplus_class_num_children): Protoize.
210
e2a44558
KB
2112000-11-09 Kevin Buettner <kevinb@redhat.com>
212
213 Changes based on a patch from Ulrich Drepper:
214 * solib-svr4.c (svr4_relocate_main_executable): New function.
215 (svr4_solib_create_inferior_hook): Call
216 svr4_relocate_main_executable.
217
74e0dee8
C
2182000-11-09 J.T. Conklin <jtc@redback.com>
219
220 * config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.
221 * config/i386/nbsdelf.mh: Likewise.
222 * config/m68k/nbsd.mh: Likewise.
223 * config/ns32k/nbsd.mh: Likewise.
224 * config/powerpc/nbsd.mh: Likewise.
225 * config/sparc/nbsd.mh: Likewise.
226 * config/sparc/nbsdelf.mh: Likewise.
227 * config/i386/nbsd.mt: Add solib.o, solib-svr4.o to TDEPFILES.
228 * config/i386/nbsdelf.mt: Likewise.
229 * config/m68k/nbsd.mt: Likewise.
230 * config/ns32k/nbsd.mt: Likewise.
231 * config/powerpc/nbsd.mt: Likewise.
232 * config/sparc/nbsd.mt: Likewise.
233
63f58cc5
PS
2342000-11-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
235
236 Add auto-solib-add support for AIX, remove obsolete and unused
237 SOLIB_SYMBOLS_MANUAL code, cleanup of AIX shared library handling code.
238 * rs6000-nat.c (vmap_symtab): Do not try to modify offsets
239 if symbols are not yet loaded.
240 (vmap_add_symbols): New function to add symbols for a vmap entry.
241 (add_vmap): Turn errors into warnings, return NULL vmap upon
242 failure. Add symbols via vmap_add_symbols only if requested.
243 (xcoff_relocate_core): Allow debugging of core files without an
244 executable file. Handle NULL returns from add_vmap gracefully.
245 * xcoffsolib.c (solib_add): Remove, no longer needed.
246 (solib_info): Do not check for new shared libraries if there is no
247 inferior process.
248 (sharedlibrary_command): Made static.
249 Do not check for new shared libraries if there is no inferior process.
250 Add symbols for requested shared libraries via vmap_add_symbols.
251 (_initialize_solib): Add `set auto-solib-add' command.
252 * xcoffsolib.h (vmap_add_symbols): Add prototype declaration.
253
254 * config/rs6000/tm-rs6000.h (PC_LOAD_SEGMENT): Move from here ...
255 * config/rs6000/nm-rs6000.h: ... to here, this is an AIX native
256 feature.
257 * config/powerpc/tm-macos.h, config/powerpc/tm-ppc-eabi.h,
258 config/powerpc/tm-ppc-nw.h, config/rs6000/tm-rs6000ly.h:
259 Remove #undef PC_LOAD_SEGMENT.
260 * config/powerpc/aix.mt, config/rs6000/aix4.mt, config/rs6000/rs6000.mt
261 (TDEPFILES): Move xcoffsolib.o from here ...
262 * config/powerpc/aix.mh, config/rs6000/aix4.mh, config/rs6000/rs6000.mh
263 (NATDEPFILES): ... to here, xcoffsolib.o contains AIX native code
264 only.
265 * rs6000-tdep.c: Remove #include xcoffsolib.h, no longer needed.
266 * xcoffsolib.h (xcoff_relocate_symtab_hook): Remove declaration.
267 * rs6000-nat.c (_initialize_core_rs6000): Remove setting of
268 xcoff_relocate_symtab_hook, no longer needed.
269 * xcoffsolib.c (solib_info, sharedlibrary_command): Remove
270 xcoff_relocate_symtab_hook indirection, call xcoff_relocate_symtab
271 directly, as xcoffsolib.c is now compiled in native AIX configurations
272 only.
273 * Makefile.in: Update dependencies for rs6000-tdep.o, rs6000-nat.o
274 and xcoffsolib.o.
275
c11c3a98
AC
276Thu Nov 9 17:16:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
277
278 * MAINTAINERS: Specify the vax-dec-vms5.5 target tupple.
279 * vax-tdep.c: Include "gdbcore.h", "frame.h" and "value.h".
280 (vax_print_insn): Change ``d'' to a const char pointer.
281
f44c642f
MS
2822000-11-08 Michael Snyder <msnyder@cleaver.cygnus.com>
283
284 * gdbarch.sh: Spelling correction: registrary -> registry.
285 * gdbarch.c: Ditto.
286
2765b798
AC
287Wed Nov 8 23:08:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
288
289 * m68k-tdep.c (m68k_get_longjmp_target): Work around targets that
290 don't define JB_PC or JB_ELEMENT_SIZE.
291
f4281f55
AC
292Wed Nov 8 22:46:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
293
294 * m68k-tdep.c (m68k_get_longjmp_target): Rename function
295 get_longjmp_target. Remove wrapping #ifdef GET_LONGJMP_TARGET.
296 * config/m68k/tm-m68k.h (m68k_get_longjmp_target): Add function
297 declaration.
298
299 * config/m68k/tm-vx68.h, config/m68k/tm-sun3.h,
300 config/m68k/tm-m68kv4.h, config/m68k/tm-linux.h,
301 config/m68k/tm-es1800.h, config/m68k/tm-cisco.h: Update definition
302 of GET_LONGJMP_TARGET. Delete get_longjmp_target function
303 declaratation.
304
e4f78295
AC
305Wed Nov 8 15:32:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
306
307 * gdbserver/configure.in (files): Don't link nm-empty.h when a
308 non-native target.
309 * gdbserver/configure: Regenerate.
310
ed37ab20
KB
3112000-11-07 Kevin Buettner <kevinb@redhat.com>
312
313 * valops.c (typecmp): Protoize.
314 * valprint.c (strcat_longest): Protoize.
315
698cb3f0
KB
3162000-11-07 Kevin Buettner <kevinb@redhat.com>
317
318 * ia64-tdep.c (native_find_global_pointer): New global variable.
319 (struct gdbarch_tdep): Add member find_global_pointer.
320 (ia64_gdbarch_init): Initialize find_global_pointer member. Also,
321 tell the gdbarch machinery that we have floating point registers.
322 (FIND_GLOBAL_POINTER): New macro.
323 (generic_elf_find_global_pointer): Renamed from find_global_pointer.
324 (find_func_descr, ia64_push_return_address): Call
325 FIND_GLOBAL_POINTER instead of find_global_pointer.
326 (process_note_abi_tag_sections): Enable code previously disabled
327 by #if 0.
328
b3810801
DB
3292000-11-07 Daniel Berlin <dberlin@redhat.com>
330
331 * dwarf2read.c: Revert June 5th change for caching of types,
332 as per Jim Blandy's request.
333
8a1a0112
FN
3342000-11-06 Fernando Nasser <fnasser@totem.toronto.redhat.com>
335
336 * wrapper.c (gdb_value_assign): New function. Longjump-free
337 version of value_assign.
338 (wrap_value_assign): New function. Wrapper for value_assign.
339 * wrapper.h: Add declaration for the above.
340 * varobj.c (varobj_set_value): Use gdb_value_assign, not
341 value_assign which can longjump. Do not change varobj value if
342 assign fails.
343
73bc900d
FN
3442000-11-06 Fernando Nasser <fnasser@cygnus.com>
345
346 From Steven Johnson <sbjohnson@ozemail.com.au>:
347
348 This set of changes add "hookpost-" as an expansion on the original
349 hooking of commands to GDB. A Hook may now be run "AFTER" execution of
350 a command as well as before.
351
352 * command.h (struct cmd_list_element): Changed elements hook and hookee
353 to hook_pre and hookee_pre respectively. Added hook_post and hookee_post
354 for the post hook command operation. Added hook_in so that an executing
355 hook can be flagged to prevent recursion.
356 * command.c (add_cmd): Changed initilization of cmd_list_element to
357 reflect above changes.
358 (delete_cmd): Remove both pre and post hooks.
359 (help_cmd): Notify that the command has pre and/or post hooks.
360 * infrun.c (normal_stop): Change references to hook_pre from hook.
361 * top.c (execute_command): Run both pre and post hooks.
362 (define_command): Allow definition of both pre and post hooks.
363 The definition of pre-hooks is done as before, with the "hook-"
364 prefix for backward compatibility.
365
1a2aab69
PS
3662000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
367
368 * stack.c (return_command): Pop dummy frame if we just returned from
369 a stop in a call dummy.
370
5af20574
KB
3712000-11-05 Kevin Buettner <kevinb@redhat.com>
372
373 * v850-tdep.c (handle_prepare, handle_pushm): Remove extraneous
374 blank line after function declarator.
375 * v850ice.c (v850ice_xfer_memory, do_gdb): Protoize.
376
74f832da
KB
3772000-11-03 Kevin Buettner <kevinb@redhat.com>
378
379 * utils.c (add_continuation, add_intermediate_continuation,
380 printchar): Protoize.
381
a275699e
KB
3822000-11-03 Kevin Buettner <kevinb@redhat.com>
383
384 * dwarf2read.c (new_symbol): Relocate address of symbol by the
385 base address of the section it is in rather than always using
386 the base address of the .text section.
387
4930751a
C
3882000-11-01 J.T. Conklin <jtc@redback.com>
389
390 * TODO: Note abstraction layer violation where "ocd reset" command
391 must invalidate the dcache, and how this might be fixed.
392
393 * monitor.c (#include "dcache.h"): Removed.
394 (remote_dcache): Removed.
395 (monitor_open): Removed code that created local dcache.
396 (flush_monitor_dcache): Removed (unused function).
397 (monitor_resume): Removed call to dcache_invd().
398 (monitor_load): Likewise.
399 (monitor_xfer_memory): Changed to call monitor_write_memory(),
400 monitor_write_memory_block(), and monitor_read_memory() instead
401 of dcache_xfer_memory().
402 * monitor.h (flush_monitor_dcache): Removed (unused function).
403 * ocd.c (#include "dcache.h"): Removed.
404 (ocd_dcache): Removed.
405 (ocd_open): Removed code that created local dcache.
406 (ocd_resume): Removed call to dcache_invd().
407 (ocd_xfer_memory): Changed to call ocd_write_bytes() and
408 ocd_read_bytes() instead of dcache_xfer_memory().
409 (bdm_reset_command): Invalidate target dcache.
410 * remote-bug.c (bug_load): Remove call to dcache_invd().
411 (bug_resume): Likewise.
412 (bug_settings): Remove dcache, readfunc, and writefunc fields
413 from initializer.
414 (bug_xfer_memory): Changed to call bug_read_memory() and
415 bug_write_memory() instead of dcache_xfer_memory().
416 * remote-nindy.c (#include "dcache.h"): Removed.
417 (nindy_dcache): Removed.
418 (nindy_open): Removed code that created local dcache.
419 (nindy_resume): Removed call to dcache_invd().
420 (nindy_load): Likewise.
421 (nindy_xfer_inferior_memory): Changed to call ninMemPut() and
422 ninMemGet() instead of dcache_xfer_memory().
423 * remote-sds.c (#include "dcache.h"): Removed.
424 (sds_dcache): Removed.
425 (sds_open): Removed code that created local dcache.
426 (sds_resume): Removed call to dcache_invd().
427 (sds_xfer_memory): Changed to call sds_write_bytes() and
428 sds_read_bytes() instead of dcache_xfer_memory().
429 * remote-utils.c (gr_open): Removed code that created local dcache.
430 * remote-utils.h (#include "dcache.h"): Removed.
431 (struct gr_settings): Removed dcache, readfunc, and writefunc fields.
432 (gr_get_dcache, gr_set_dcache): Removed macro definitions.
433 * remote.c (#include "dcache.h"): Removed.
434 (remote_dcache): Removed.
435 (remote_open_1): Removed code that created local dcache.
436 (remote_async_open_1): Likewise.
437 (remote_resume): Removed call to dcache_invd().
438 (remote_async_resume): Likewise.
439 (remote_xfer_memory): Changed to call remote_write_bytes() and
440 remote_read_bytes() instead of dcache_xfer_memory().
441 * wince.c (#include "dcache.h"): Removed.
442 (remote_dcache): Removed.
443 (child_create_inferior): Removed code that created local dcache.
444 (child_xfer_memory): Changed to call remote_write_bytes() and
445 remote_read_bytes() instead of dcache_xfer_memory().
446 (child_resume): Removed call to dcache_invd().
447
448 * target.c (target_dcache): Added.
449 (target_load): Invalidate target_dcache.
450 (do_xfer_memory): New function.
451 (target_xfer_memory): Reimplement in terms of dcache_xfer_memory().
452 (target_xfer_memory_partial): Likewise.
453 (initialize_targets): Create target_dcache.
454 * target.h (#include "dcache.h"): Added.
455 (target_open): Invalidate target_dcache.
456 (target_resume): Likewise.
457 (do_xfer_memory): New declaration.
458
459 * dcache.c (dcache_init): Removed reading and writing arguments.
460 (dcache_struct): Removed read_memory and write_memory fields.
461 (dcache_write_line): Call do_xfer_memory.
462 (dcache_read_line): Likewise.
463 (dcache_xfer_memory): Likewise.
464 (dcache_invalidate): Renamed from dcache_invd.
465 (dcache_init): Updated.
466 (dcache_xfer_memory): Updated.
467 * dcache.h (memxferfunc): Removed definition.
468 (dcache_init): Removed reading and writing arguments.
469
36b0c0e0
PS
4702000-11-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
471
472 * objfiles.c (objfile_relocate): Relocate ei.entry_point with
473 its section offset, use SECT_OFF_TEXT only as a fallback.
474
3ed9691f
KB
4752000-11-01 Kevin Buettner <kevinb@redhat.com>
476
477 * symm-nat.c (print_1167_regs): Remove extraneous blank line
478 after function declarator.
479 * symtab.c (search_symbols): Likewise.
480 * ultra3-nat.c (fetch_core_registers): Protoize.
481
1a8629c7
MS
4822000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
483
484 * config/sh/tm-linux.h: New file. Include generic tm-linux.h,
485 plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use
486 the sh target function instead of the default link map offsets.
487 * config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES.
488 Use sh/tm-linux.h instead of sh/tm-sh.h.
489 * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets):
490 New function. Construct target-specific link map offsets.
491 * i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets:
492 New function. Construct target-specific link map offsets.
493 * config/i386/tm-linux.h: Use above function instead of default.
494
4952000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
496
497 * config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS,
498 and inclusion of solib.h. Move up into ../tm-linux.h.
499 config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.
500
10689f25
KB
5012000-10-30 Kevin Buettner <kevinb@redhat.com>
502
503 * top.c (simplified_command_loop, add_info, add_com,
504 help_command): Protoize.
505 * ui-out.c (gdb_query): Protoize.
506
749499cb
KB
5072000-10-30 Kevin Buettner <kevinb@redhat.com>
508
509 Changes based on analysis from Peter Schauer:
510 * solist.h (struct so_list): Remove field lmend.
511 (struct target_so_ops): Remove field lm_addr. Add field
512 relocate_section_addresses. Add comments for all fields
513 in this structure
514 (TARGET_SO_LM_ADDR): Remove.
515 (TARGET_SO_RELOCATE_SECTION_ADDRESSES): New macro.
516 * solib-svr4.c (svr4_relocate_section_addresses): New function.
517 (_initialize_svr4_solib): Remove lm_addr initialization. Add
518 initialization for relocate_section_addresses.
519 * solib.c (solib_map_sections): Invoke
520 TARGET_SO_RELOCATE_SECTION_ADDRESSES instead of using now
521 defunct TARGET_SO_LM_ADDR to relocate the section addresses.
522 Also, eliminate assignment to the lmend field since this
523 field no longer exists.
524 (symbol_add_stub): Remove machinery for determining the lowest
525 section.
526 (info_sharedlibrary_command): Print the text section starting
527 and ending addresses.
528 (solib_address): Don't use TARGET_SO_LM_ADDR, nor so->lmend to
529 determine if an address is in a shared object. Instead, scan
530 the section table and test against the starting and ending
531 addresses for each section.
532
85b29e5e
MS
5332000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
534
535 * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES.
536 * config/powerpc/linux.mh: ditto.
537 * config/ia64/linux.mh: ditto.
538 * config/i386/linux.mh: ditto.
539 * config/alpha/alpha-linux.mh: ditto.
540 * config/arm/linux.mh: ditto.
541 * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES.
542 * config/powerpc/linux.mt: ditto.
543 * config/ia64/linux.mt: ditto.
544 * config/i386/linux.mt: ditto.
545 * config/alpha/alpha-linux.mt: ditto.
546 * config/arm/linux.mt: ditto.
547
8e1a459b
C
5482000-10-30 J.T. Conklin <jtc@redback.com>
549
550 * gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,
551 mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c,
552 somread.c, tracepoint.c: Fix spelling errors in comments.
553 * gdbarch.c: Regenerate.
554
555 * gnu-nat.c (S_exception_raise_request): Fix typos and spelling
556 errors in strings.
557 * m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise.
558 * mcore-tdep.c (mcore_analyze_prologue): Likewise.
559 * mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise.
560 * remote-e7000.c (e7000_start_remote): Likewise.
561 * remote-rdp.c (handle_swi): Likewise.
562 * remote-vx.c (vx_load_command): Likewise.
563 * sh-tdep.c (sh_do_pseudo_register): Likewise.
564 * sol-thread.c (td_err_string): Likewise.
565 * symtab.c (decode_line_2): Likewise.
566
bb518678
DT
567Mon Oct 30 10:19:01 2000 David Taylor <taylor@redhat.com>
568
569 * eval.c (parse_and_eval_long): New function.
570 * value.h: Declare it.
571
572 * breakpoint.c (breakpoints_info, maintenance_info_breakpoints):
573 Call parse_and_eval_long, not parse_and_eval_address.
574 * command.c (do_setshow_command): Ditto.
575 * infcmd.c (step_1, signal_command, continue_command): Ditto.
576 * infrun.c (signals_info): Ditto.
577 * stack.c (set_backtrace_limit_command, backtrace_command_1,
578 up_silently_base, down_silently_base): Ditto.
579 * tracepoints.c (tracepoints_info, trace_find_command,
580 trace_find_tracepoint_command): Ditto.
581 * valprint.c (set_radix): Ditto.
582 * values.c (show_values): Ditto.
583
fd118b61
KB
5842000-10-28 Kevin Buettner <kevinb@redhat.com>
585
586 * symtab.c (decode_line_2, file_matches, search_symbols): Protoize.
587 * thread.c (iterate_over_threads): Protoize.
588
ec3d358c
C
5892000-10-27 J.T. Conklin <jtc@redback.com>
590
591 * arch-utils.c (set_architecture, set_architecture_from_arch_mach,
8e1a459b 592 set_gdbarch_from_file): Fix spelling error in string.
ec3d358c 593 * v850-tdep.c (v850_target_architecture_hook): Likewise.
8e1a459b 594 * gdbarch.sh: Fix spelling errors in comments.
ec3d358c
C
595 * gdbarch.c, gdbarch.h: Regenerate.
596
597 * ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,
598 store_inferior_registers): Support older NetBSD/powerpc systems
599 from before fp reg support was added. Adapt to register number
600 changes caused when powerpc target was multi-arched.
601
7e73cedf
DA
6022000-10-26 David B. Anderson <davea@sgi.com>
603
604 * breakpoint.c breakpoint.h hppab-nat.c infrun.c
605 language.h mcore-tdep.c mips-tdep.c symfile.c symtab.c
606 symtab.h target.c tm-mips.h xm-sun4sol2.h: Corrected
607 spelling errors in comments.
608 * gdbarch.c gdbarch.sh: Removed word from comment.
609
38ef650e
KB
6102000-10-26 Kevin Buettner <kevinb@redhat.com>
611
612 * sun3-nat.c (fetch_core_registers): Protoize.
613 * symm-nat.c (print_1167_regs, child_xfer_memory): Protoize.
614
49d97c60
EZ
6152000-10-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
616
617 * stabsread.c (define_symbol): Update comment.
618
6192000-10-26 Pierre Muller <muller@ics.u-strasbg.fr>
620
621 * stabsread.c (define_symbol): Set the type_name of the type
622 of the new symbol to the symbol name for type symbol, if the
623 language is Pascal.
624
f517ea4e
PS
6252000-10-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
626
627 * arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
628 New function.
629 * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Add.
630 * gdbarch.c, gdbarch.h: Regenerate.
631 * valops.c (find_function_addr): Use CONVERT_FROM_FUNC_PTR_ADDR
632 unconditionally.
633
634 * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Delete
635 definition.
636 * config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR): Remove
637 undef.
638 * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Fix comment.
639 (rs6000_gdbarch_init): Register rs6000_convert_from_func_ptr_addr
640 if not ELFOSABI_LINUX.
641
53d2c54b
KB
6422000-10-25 Kevin Buettner <kevinb@redhat.com>
643
644 * config/rs6000/rs6000lynx.mt (TDEPFILES): Revert 2000-10-24
645 change in which solib-svr4.o was inadvertently added to this
646 list.
647
92e1c15c
FF
6482000-10-25 Fred Fish <fnf@cygnus.com>
649
650 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either
651 the current arch or use zero.
652
faa5effd
FN
6532000-10-25 Fernando Nasser <fnasser@cygnus.com>
654
655 * ser-unix.c (do_unix_readchar): Coding style improvement only.
656
c5b739b5
FN
6572000-10-25 Fernando Nasser <fnasser@cygnus.com>
658
659 * target.c (generic_mourn_inferior): Notify GUI that inferior is gone
660 by calling detach_hook, if defined.
661
44c75fb3
KB
6622000-10-24 Kevin Buettner <kevinb@redhat.com>
663
664 * coffread.c (coff_end_symtab): When calling end_symtab(),
665 use SECT_OFF_TEXT() instead of 0 to represent the .text
666 section.
667 * hp-symtab-read.c (hpread_expand_symtab): Likewise.
668 * hpread.c (hpread_expand_symtab, hpread_process_one_debug_symbol):
669 Likewise.
670
13437d4b
KB
6712000-10-24 Kevin Buettner <kevinb@redhat.com>
672
673 * solib-svr4.c: New file created out of much of solib.c...
13437d4b
KB
674 * solib.c (_SYSCALL32, BKPT_AT_SYMBOL): Move these defines to
675 solib-svr4.c.
676 (sys/types.h, signal.h, sys/param.h, fcntl.h, a.out.h,
677 elf/external.h, link.h): Move these includes to solib-svr4.c.
678 (bkpt_names, debug_base_symbols, main_name_list,
679 solib_extract_address, SOLIB_EXTRACT_ADDRESS, dynamic_copy,
680 ld_2_copy, debug_addr, flag_addr, LM_ADDR, LM_NEXT, LM_NAME,
681 IGNORE_FIRST_LINK_MAP_ENTRY, breakpoint_addr,
682 allocate_rt_common_objfile, solib_add_common_symbols,
683 bfd_lookup_symbol, look_for_base, elf_locate_base, locate_base,
684 first_link_map_member, open_symbol_file_object, match_main,
685 current_sos, interp_text_sect_low, interp_text_sect_high,
686 interp_plt_sect_low, interp_plt_sect_high,
687 in_svr4_dynsym_resolve_code, disable_break, enable_break,
688 special_symbol_handling): Moved to solib-svr4.c.
689 (debug32_copy, shadow_contents, fdmatch)
690 Removed entirely.
691 (struct so_list): Moved to solist.h
692 (MAX_PATH_SIZE): Moved to solist.h and renamed to
693 SO_NAME_MAX_PATH_SIZE.
694
695 * solist.h: New file created from struct so_list in solib.c.
696 (struct lm_info): Add forward declaration.
697 (struct so_list): Remove fields lm, lm32, lmaddr. Replace with a
698 single field, lm_info, which will be a pointer to target specific
699 data.
700 (struct target_so_ops): New struct.
701 (free_so): Add extern declaration.
702 (current_target_so_ops): Declare new global variable.
703 (solib_map_sections):
704 (TARGET_SO_LM_ADDR, TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB,
705 TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK,
706 TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS,
707 TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): New macros.
13437d4b
KB
708 * solib.c (solib_map_sections, free_so, symbol_add_stub,
709 update_solib_list, solib_add, info_shared_library_command,
710 solib_address, clear_solib, solib_create_inferior_hook): Use
711 new TARGET_SO_* macros to call function on target specific
712 side indirectly.
713 (current_target_so_ops): Define new global variable.
714 (_initialize_solib): Eliminate HAVE_LINK_H ifdef.
13437d4b
KB
715 * solib-svr4.h: New file; defines struct link_map_offsets and
716 SVR4_FETCH_LINK_MAP_OFFSETS.
13437d4b
KB
717 * solib-svr4.c (_initialize_svr4_solib, svr4_clear_solib,
718 svr4_free_so): New functions.
719 (special_symbol_handling, solib_create_inferior_function_hook,
720 current_sos): Rename by adding a svr4_ prefix.
721 (default_svr4_fetch_link_map_offsets): New function.
722 (LM_ADDR, LM_NEXT, LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY,
723 first_link_map_member, open_symbol_file_object, svr4_current_sos):
724 Remove dependence on existence of link.h by calling
725 SVR4_FETCH_LINK_MAP_OFFSETS to obtain the offsets of shared library
726 data. As a result, SVR4 and non-SVR4 versions of many of these
727 functions coalesce into a single function and HAVE_STRUCT_LINK_MAP32
728 ugliness is moved into default_svr4_fetch_link_map_offsets where it
729 is relatively contained.
730 (SOLIB_EXTRACT_ADDRESS): Revert 2000-08-29 change in which
731 solib_extract_address() is called instead of extract_address().
732 (solib_extract_address): Removed.
733
734 * Makefile.in (solib.o): Add solist.h as a dependency.
735 (solib-svr4.o): Add dependencies.
13437d4b
KB
736 * config/alpha/alpha-linux.mh, config/alpha/fbsd.mh,
737 config/arm/linux.mh, config/i386/fbsd.mh,
738 config/i386/i386dgux.mh, config/i386/i386gnu.mh,
739 config/i386/i386sco5.mh, config/i386/i386sol2.mt,
740 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
741 config/i386/linux.mh, config/i386/nbsd.mh,
742 config/i386/nbsdelf.mh, config/i386/ncr3000.mt,
743 config/i386/ptx4.mh, config/i386/sun386.mt,
744 config/ia64/linux.mh, config/m68k/linux.mh,
745 config/m68k/m68kv4.mh, config/m68k/nbsd.mh,
746 config/m68k/sun2os4.mt, config/m68k/sun3os4.mt,
747 config/m88k/delta88v4.mh, config/mips/mipsv4.mh,
748 config/ns32k/nbsd.mh, config/powerpc/linux.mh,
749 config/powerpc/nbsd.mh, config/powerpc/solaris.mh,
750 config/rs6000/rs6000lynx.mt, config/sparc/linux.mt,
751 config/sparc/nbsd.mh, config/sparc/nbsdelf.mh,
752 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh
753 (NATDEPFILES): Add solib-svr4.o to list.
754
367829d8
KB
755 * sparc-tdep.c (gregset.h): Don't include unless USE_PROC_FS is
756 defined.
757
35a2f538
KB
7582000-10-24 Kevin Buettner <kevinb@redhat.com>
759
760 * stabsread.c (dbx_lookup_type, dbx_alloc_type,
761 read_sun_builtin_type, read_sun_floating_type,
762 read_range_type): Protoize.
763
55e0deaa
AC
764Wed Oct 25 01:19:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
765
766 * solib.c (open_symbol_file_object): Update function signature to
767 match catch_errors function argument.
768
3731b38a
AC
769Wed Oct 25 00:08:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
770
771 From 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
772 * infttrace.c (get_dictionary_entry_of_page): Function
773 require_memory_page_dictionary takes no args.
774
1a1d8446
AC
775Tue Oct 24 16:12:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
776
777 * gdba.el: Delete file.
778 * NEWS: Mention.
779
e26cc349
DA
7802000-10-23 David B Anderson <davea@sgi.com>
781
782 * TODO: Correct spelling errors
783 * command.c (_initialize_command) corelow.c (core_open)
784 main.c (captured_command_loop) mips-tdep.c (mips32_next_pc)
785 remote.c serial.h top.c utils.c config/nm-lynx.h:
786 Correct spelling errors in comments
787
c67b4c45
KB
7882000-10-22 Kevin Buettner <kevinb@redhat.com>
789
790 * sparc-nat.c (fetch_core_registers): Protoize.
791 * sparcl-tdep.c (download): Protoize.
792
bb160f3e
AC
793Fri Oct 20 19:08:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
794
795 * MAINTAINERS: Add Fred Fish to Blanket Write Privs list.
796
e8860ec2
MS
7972000-10-19 Josef Ezra <jezra@emc.com>
798
799 * ax-gdb.c (gen_struct_ref): while generating data code, cases of
800 "collect p1->p2->data" where not covered if p2 is a 'typedefed'
801 type. this simple fix should forward the type pointer to the real
802 type.
803
7ff09628
KB
8042000-10-19 Kevin Buettner <kevinb@redhat.com>
805
806 * solib.c (LM_ADDR, LM_NEXT, LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY,
807 open_symbol_file_object): Protoize.
808
c338868a
KB
8092000-10-17 Kevin Buettner <kevinb@redhat.com>
810
811 * remote-vx29k.c (vx29k_frame_chain_valid): Protoize.
812 * remote.c (remote_xfer_memory, remote_search): Protoize.
813 * sol-thread.c (sol_thread_xfer_memory): Protoize.
814
9e36d949
PS
8152000-10-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
816
817 * sparc-tdep.c (sparc_fix_call_dummy): Improve comments.
818 Adjust call_dummy_breakpoint_offset, so that `finish' after a stop
819 in a call dummy works.
820 (sparc_gdbarch_init): Fix setting of pc_in_call_dummy, it depends
821 on SPARC32/64_CALL_DUMMY_ON_STACK, not DO_CALL_DUMMY_ON_STACK.
822
832c69cf
KB
8232000-10-15 Kevin Buettner <kevinb@redhat.com>
824
825 * remote-st.c (st2000_xfer_inferior_memory): Protoize.
826 * remote-utils.c (gr_multi_scan): Protoize.
827 * remote-vx.c (vx_xfer_memory, net_get_symbols): Protoize.
828
40e3f985
FN
8292000-10-13 Fernando Nasser <fnasser@cygnus.com>
830
831 * remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
832 (read_frame): Do not call error() on communication error when
833 reading checksum, but return failure instead and log message.
834
a80aa921
FN
8352000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
836
837 * varobj.c (type_changeable): Arrays are not changeable.
838 Trying to check for updates was causing an error if the array lived
839 in a register as gdb value_equal() cannot handle that case yet.
840
ae093f96
FN
8412000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
842
843 * varobj.c (varobj_update): Prevent uninitialized error code to be
844 returned on type_changed. Also, prevent value_equal() to be called
845 for the types we do not want to test for updates.
846
e9110f4f
FN
8472000-10-11 Fernando Nasser <fnasser@totem.to.cygnus.com>
848
849 From Grant Edwards <grante@visi.com>
850 This keeps the GUI alive while running an RDI target and lets the
851 STOP button be used to stop the target.
852 * remote-rdi.c (arm_rdi_stop): New function. Implements target_stop.
853 (init_rdi_ops): Set to_stop target vector entry to the above.
854 * rdi-share/ardi.c (stop_request): New variable. Tells when a stop
855 has been requested.
856 (angel_RDI_stop_request): New function. Registers that a stop has
857 been requested.
858 (angel_RDI_ExecuteOrStep): Add call to ui_loop_hook() in loop that
859 waits while target is executing. Initialize and reset stop_request.
860 * rdi-share/ardi.h: Add declaration of angel_RDI_stop_request().
861
d93bce06
KB
8622000-10-12 Kevin Buettner <kevinb@redhat.com>
863
864 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Protoize.
865 * remote-sds.c (sds_xfer_memory): Protoize.
866 * remote-sim.c (gdbsim_xfer_inferior_memory): Protoize.
867
235d1e03
EZ
8682000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
869
870 From Daniel Berlin <dberlin@redhat.com> :
871
872 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol
873 language to auto instead of unknown, so it will try to demangle
874 the symbol.
875 * symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
876 * symtab.c (gdb_mangle_name): Properly handle C++ operators.
877
fba7f19c
EZ
8782000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
879
880 From Daniel Berlin <dberlin@redhat.com> :
881
882 * symtab.c (lookup_symbol_aux): New function. Renamed from
883 lookup_symbol. Move code to do demangling/case sensitivity to
884 lookup_symbol().
885 (lookup_symbol): Now wrapper for lookup_symbol_aux, so we can
886 perform case sensitivity/demangling without leaking memory. Move
887 code to do demangling/case sensitivity from old_lookup_symbol to
888 here.
889 (lookup_partial_symbol): Use SYMBOL_SOURCE_NAME instead of
890 SYMBOL_NAME.
891 (lookup_block_symbol): Use SYMBOL_SOURCE_NAME instead of
892 SYMBOL_NAME. Don't do linear search in case of C++.
893
894 * symfile.c (compare_symbols): Use SYMBOL_SOURCE_NAME instead of
895 SYMBOL_NAME.
896 (compare_psymbols): Same here.
897
120abad8
KB
8982000-10-09 Kevin Buettner <kevinb@redhat.com>
899
900 * remote-nindy.c (non_dle, nindy_xfer_inferior_memory): Protoize.
901 * remote-os9k.c (rombug_xfer_inferior_memory): Protoize.
902 * remote-rdi.c (arm_rdi_xfer_memory): Protoize.
903
16d6ab64
PS
9042000-10-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
905
906 * config/i386/i386sol2.mh: Add XM_CLIBS definition to resolve
907 reference to gethostbyname.
908
d742f2c2
KB
9092000-10-06 Kevin Buettner <kevinb@redhat.com>
910
911 * remote-eb.c (eb_xfer_inferior_memory): Protoize.
912 * remote-es.c (es1800_xfer_inferior_memory, es1800_files_info):
913 Protoize.
914 * remote-mm.c (expect_msg): Protoize.
915
077276e8
KB
9162000-10-04 Kevin Buettner <kevinb@redhat.com>
917
918 * rs6000-tdep.c (skip_prologue): Add new parameter lim_pc.
919 Update all callers.
920
69dc947a
KB
9212000-10-03 Kevin Buettner <kevinb@redhat.com>
922
923 * remote-bug.c (bug_xfer_memory, bug_insert_breakpoint,
924 bug_remove_breakpoint): Protoize.
925 * remote-e7000.c (fetch_regs_from_dump, e7000_xfer_inferior_memory):
926 Protoize.
927
e082ddca
KB
9282000-10-01 Kevin Buettner <kevinb@redhat.com>
929
930 * remote-adapt.c (adapt_insert_breakpoint, adapt_remove_breakpoint):
931 Protoize.
932 * remote-array.c (write_monitor, array_xfer_memory): Protoize.
933
8ae45c11
KB
9342000-09-29 Kevin Buettner <kevinb@redhat.com>
935
936 * ppc-linux-nat.c (supply_gregset, fill_gregset): Change type
937 of first argument from gregset_t to gdb_gregset_t in order
938 to match declarations in gregset.h.
939 (supply_fpregset, fill_fpregset): Change type of first argument
940 from fpregset_t to gdb_fpregset_t in order to match declarations
941 in gregset.h.
942
d0849a9a
KB
9432000-09-29 Kevin Buettner <kevinb@redhat.com>
944
945 * procfs.c (proc_iterate_over_mappings, proc_iterate_over_threads,
946 procfs_xfer_memory): Protoize.
947 * ptx4-nat.c (proc_iterate_over_mappings): Protoize.
948
a95ac8b6
PS
9492000-09-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
950
951 * sol-thread.c (ps_pdmodel): Return PR_MODEL_UNKNOWN instead of
952 PS_ERR if exec_bfd is not yet open.
953
5ef22741
PS
9542000-09-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
955
956 * target.c (target_signal_from_host, do_target_signal_to_host):
957 Add support for Solaris realtime signals.
958
fa6b9313
KB
9592000-09-27 Kevin Buettner <kevinb@redhat.com>
960
961 * os9kread.c (os9k_symfile_read, os9k_end_psymtab): Protoize.
962 * osfsolib.c (find_solib): Protoize.
963
697ec6c4
KB
9642000-09-25 Kevin Buettner <kevinb@redhat.com>
965
966 * ns32knbsd-nat.c (fetch_core_registers): Protoize.
967 * ocd.c (ocd_xfer_memory): Protoize.
968
1b57acd2
AC
9692000-09-25 Andrew Cagney <ac131313@cygnus.com>
970
971 * MAINTAINERS: Add Mark Kettenis to ``Blanket Write Privs'' list.
972
58223630
PS
9732000-09-24 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
974
975 * rs6000-tdep.c (rs6000_pop_frame): Use PC_IN_CALL_DUMMY to test
976 for call dummy instead of accessing stop_stack_dummy, which does
977 not work if we `return' from a stop in a call dummy.
978 (rs6000_gdbarch_init): Use generic_save_dummy_frame_tos for
979 dummy_frame_tos function to make PC_IN_CALL_DUMMY work.
980
0e7e8d51
KB
9812000-09-23 Kevin Buettner <kevinb@redhat.com>
982
983 * mdebugread.c (mdebug_next_symbol_text): Protoize.
984 * monitor.c (monitor_xfer_memory): Protoize.
985
d5d65353
PS
9862000-09-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
987
988 * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,
989 OLD_CANNOT_FETCH_REGISTER): New definitions for accessible registers
990 when accessing the registers via the U area.
991 (fetch_register, store_register): Use them.
992 (cannot_fetch_register, cannot_store_register): New functions,
993 all registers should be accessible if we have GETREGS support.
994 * config/i386/nm-linux.h: Use cannot_fetch/store_register for
995 CANNOT_FETCH/STORE_REGISTER definitions.
996
8c6b089e
FF
9972000-09-06 Fred Fish <fnf@cygnus.com>
998
999 * infttrace.c (update_thread_state_after_attach): Pass address
1000 of ttstate_t object, not the object itself.
1001
e6328671
MK
10022000-09-18 Mark Kettenis <kettenis@gnu.org>
1003
1004 * lin-lwp.c (stop_wait_callback): Remove bogus assertions in the
1005 code that deals with exiting/signalled threads. Replace with
1006 code similar to what's done in lin_lwp_wait.
1007
fdb28ac4
KB
10082000-09-17 Kevin Buettner <kevinb@redhat.com>
1009
1010 * ppc-linux-nat.c (fill_gregset, fill_fpregset): New functions.
1011 * config/powerpc/linux.mh (NATDEPFILES): Remove linux-thread.o.
1012 Add proc-service.o, thread-db.o, and lin-lwp.o.
1013 (LOADLIBES): Define.
1014 * config/powerpc/nm-linux.h (ATTACH_DETACH, SVR4_SHARED_LIBS):
1015 Remove defines which are already present in ../nm-linux.h.
1016 (solib.h): Don't include this file; it's already included by
1017 ../nm-linux.h.
1018 (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS, ATTACH_LWP): Define
1019 to use the following lin-lwp.c functions...
1020 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
1021 lin_lwp_attach_lwp): Declare.
1022
afd64b4e
KB
10232000-09-17 Kevin Buettner <kevinb@redhat.com>
1024
1025 * m88k-nat.c (fetch_inferior_registers): Protoize.
1026 * m88k-tdep.c (m88k_skip_prologue): Protoize.
1027
586e589c
FN
10282000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
1029
1030 * varobj.c (varobj_set_value): Call wrapped version of
1031 parse_exp_1() to avoid longjumps.
1032
10332000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
1034
1035 * remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
1036 (read_frame): Do not call error() on communication error when
1037 reading checksum, but return failure instead and log message.
1038
f7c9d7b6
FN
10392000-09-15 Fernando Nasser <fnasser@cygnus.com>
1040
1041 * ser-unix.c (do_unix_readchar): Prevent infinite read wait to be
1042 interrupted after 32K seconds.
1043
ad525611
KB
10442000-09-15 Kevin Buettner <kevinb@redhat.com>
1045
1046 * language.c (show_case_command, set_case_command): Protoize.
1047 * m3-nat.c (m3_xfer_memory, fetch_thread_info): Protoize.
1048
064002de
KB
10492000-09-12 Kevin Buettner <kevinb@redhat.com>
1050
1051 * lin-thread.c (threadlist_iter, get_lwp_from_thread_id,
1052 thread_db_xfer_memory): Protoize.
1053 * linux-thread.c (iterate_active_threads): Protoize.
1054
78f0949b
KB
10552000-09-12 Kevin Buettner <kevinb@redhat.com>
1056
1057 * objfiles.c (objfile_relocate): Don't assume that offsets
1058 associated with one of SECT_OFF_TEXT, SECT_OFF_DATA, or
1059 SECT_OFF_BSS will be adequate for relocating all of the
1060 sections in an objfile.
1061
3c06a63b
FN
10622000-09-12 Fernando Nasser <fnasser@cygnus.com>
1063
1064 * remote-rdi.c (arm_rdi_open): Fix typo in error message.
1065
688991e6
AC
1066Wed Sep 13 03:08:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
1067
1068 * remote-mips.c (mips_expect, mips_getstring, mips_send_packet,
1069 mips_send_packet, pmon_insert_breakpoint, send_srec,
1070 pmon_check_ack, pmon_check_entry_address,
1071 _initialize_remote_mips): Replace the magic two seconds with
1072 ``remote_timeout''.
1073 (pmon_check_entry_address, pmon_check_total): New functions. Use
1074 ``remote_timeout'' instead of magic two seconds.
1075 (pmon_end_download): Rewrite. Use pmon_check_entry_address and
1076 pmon_check_total.
1077
2748f097
AO
10782000-09-12 Alexandre Oliva <aoliva@redhat.com>
1079
1080 * MAINTAINERS: Added myself.
1081
e17bf198
AO
10822000-09-11 Alexandre Oliva <aoliva@redhat.com>
1083
1084 * acinclude.m4 (CY_GNU_GETTEXT): Add dummy definition, so that the
1085 one brought in by ../bfd/acinclude.m4 prevails.
1086 * aclocal.m4, configure: Rebuilt.
1087
2bba1017
KB
10882000-09-11 Kevin Buettner <kevinb@redhat.com>
1089
1090 * configure.in (HAVE_STRUCT_LINK_MAP32): Change test to use
1091 AC_TRY_COMPILE instead of AC_TRY_RUN.
1092 * configure: Regenerate.
1093
16bce26c
KB
10942000-09-11 Kevin Buettner <kevinb@redhat.com>
1095
1096 * irix4-nat.c (fetch_core_registers): Protoize.
1097 * irix5-nat.c (fetch_core_registers, find_solib): Protoize.
1098
3f07c44b
MK
10992000-09-06 Mark Kettenis <kettenis@gnu.org>
1100
1101 * lin-lwp.c (normal_mask, blocked_mask): New variables.
1102 (lin_lwp_wait): Block SIGCHLD here if it isn't already blocked.
1103 (lin_lwp_mourn_inferior): Restore the origional signal mask, and
1104 reset the mask of blocked signals.
1105 (_initialize_lin_lwp): Don't block SIGCHLD here, but do initialize
1106 suspend_mask and blocked_mask. This makes us pass
1107 gdb.base/sigall.exp for Linux/x86 now.
1108 (lin_thread_get_thread_signals): Treat the LinuxThreads "cancel"
1109 signal similarly to SIGCHLD in the generic code. Avoids GDB being
1110 terminated by a Real-time signal.
1111
73186089
KB
11122000-09-08 Kevin Buettner <kevinb@redhat.com>
1113
1114 * infptrace.c, infttrace.c (child_xfer_memory): Protoize.
1115
0fc93e6b
C
11162000-09-07 J.T. Conklin <jtc@redback.com>
1117
1118 * config/i386/nbsd.mt (TDEPFILES): Add i386nbsd-tdep.o.
1119 * i386nbsd-nat.c (i386nbsd_use_struct_convention): Moved from here.
1120 * i386nbsd-tdep.c (i386nbsd_use_struct_convention): To here.
1121 * i386nbsd-tdep.c: New file.
1122
5c678a12
KB
11232000-09-07 Kevin Buettner <kevinb@redhat.com>
1124
1125 * i386mach-nat.c (fetch_inferior_registers, fetch_core_registers):
1126 Protoize.
1127 * i960-tdep.c (i960_skip_prologue, leafproc_return, mem): Protoize.
1128
451928c5
AC
1129Thu Sep 7 21:59:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
1130
1131 * aclocal.m4: Regenerate.
1132 * config.in, configure: Regenerate.
1133
3bb04bdd
AC
1134Wed Sep 6 23:15:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
1135
1136 * remote-rdi.c (voiddummy): Update function signature to match
1137 struct Dbg_HostosInterface's reset method.
1138 * remote-rdp.c (rdp_step): Fix handle parameter to
1139 remote_rdp_insert_breakpoint and remote_rdp_remove_breakpoint.
1140
1141 * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P): Provide default
1142 definition.
1143 (arm_init_extra_frame_info): Use.
1144
22df305e
SC
11452000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1146
1147 * m68hc11-tdep.c (m68hc11_store_return_value): Store the value
1148 in D and X if it's larger than 16-bits.
1149 (m68hc11_extract_return_value): Fix extractions for 1 and 3 bytes
1150 return.
1151 (m68hc11_push_return_address): Use CALL_DUMMY_ADDRESS for the
1152 return address.
1153 (m68hc11_use_struct_convention): Check for struct and union.
1154 (m68hc11_return_value_on_stack): Use the struct convention.
1155 (m68hc11_call_dummy_address): Use the entry point address.
1156 (m68hc11_push_arguments): Fix alignment and padding.
1157 (m68hc11_stack_align): New function.
1158 (m68hc11_gdbarch_init): Register it.
1159
e1d6e81f
SB
11602000-09-06 Scott Bambrough <scottb@netwinder.org>
1161
1162 * arm-linux-tdep.c (arm_linux_skip_solib_resolver):
1163 Removed debug print statement. Removed arm_pc_is_thumb prototype.
1164 * config/arm/tm-arm.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy):
1165 Move prototypes here from tm-embed.h.
1166 * config/arm/tm-embed.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy):
1167 Remove prototypes. Moved to tm-arm.h.
1168
967110cb
L
11692000-09-06 H.J. Lu <hjl@gnu.org>
1170
e1d6e81f 1171 * TODO: Add hardware watchpoint problems on x86 OSes for 5.1.
967110cb 1172
3a854e23
KB
11732000-09-06 Kevin Buettner <kevinb@redhat.com>
1174
1175 * ia64-tdep.c (examine_prologue): Add rotating register rename
1176 support for the general registers.
1177 (ia64_get_saved_register): Add rotating register rename support
1178 for the predicate registers and the floating-point registers.
1179
2a451106
KB
11802000-09-05 Kevin Buettner <kevinb@redhat.com>
1181
1182 * config/arm/tm-linux.h (arm_linux_sigcontext_register_address,
1183 arm_linux_in_sigtramp): Declare.
1184 (IN_SIGTRAMP, SIGCONTEXT_REGISTER_ADDRESS): Define.
1185 * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Define to be 0
1186 if not already defined by tm.h.
1187 (arm_scan_prologue): Don't assume that the prologue instructions
1188 will be in a contiguous clump.
1189 (arm_init_extra_frame_info): Add support for sigtramp frames.
1190 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Change type of
1191 `memaddr' from bfd_vma to CORE_ADDR.
1192 * arm-linux-tdep.c (gdbcore.h, frame.h): Include.
1193 (arm_pc_is_thumb): Declare.
1194 (arm_linux_skip_solib_resolver): Fix printf() statement. [Which
1195 shouldn't be there anyway.]
1196 (ARM_LINUX_SIGRETURN_INSTR, ARM_LINUX_RT_SIGRETURN_INSTR): New
1197 defines.
1198 (arm_linux_in_sigtramp, arm_linux_sigcontext_register_address):
1199 New functions.
1200
165a58fe
KB
12012000-09-05 Kevin Buettner <kevinb@redhat.com>
1202
1203 * i386aix-nat.c (fetch_core_registers): Protoize.
1204 * hpux-thread.c (hpux_thread_xfer_memory): Protoize.
1205
6148eca7
SC
12062000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1207
1208 * m68hc11-tdep.c (m68hc11_frame_chain): Check for pc in call dummy.
1209 (m68hc11_guess_from_prologue): 'des' instruction to allocate 1 byte
1210 on the stack can appear in the prologue.
1211
23715f29
MS
12122000-09-05 Michael Snyder <msnyder@cleaver.cygnus.com>
1213
1214 * sol-thread.c (ps_pdmodel): Protect with an ifdef.
1215
3d9a5942
AC
1216Mon Sep 4 16:21:31 2000 Andrew Cagney <cagney@amy.cygnus.com>
1217
1218 * gdbarch.sh: Use printf instead of echo.
1219 (do_read): During read, pad ``::'' with spaces and then strip out
1220 those spaces. Avoid problems with IFS=:.
1221
8c3a7998
MK
12222000-09-04 Mark Kettenis <kettenis@gnu.org>
1223
1224 * config/i386/nm-linux.h: Include <signal.h>.
1225
a5238fbc 12262000-09-04 Pierre Muller <muller@ics.u-strasbg.fr>
7faed10f
PM
1227
1228 * c-typeprint.c (c_typedef_print): remove (replaced by
1229 typedef_print in typeprint.c).
a5238fbc
PM
1230 * typeprint.c (typedef_print): new function. (old c_typedef_print
1231 function with pascal language support added).
1232 * value.h (c_printdef_print): removed.
1233 (typedef_print): declare.
7faed10f
PM
1234 * symtab.c (print_symbol_info): call to c_typedef_print replaced
1235 by call to typedef_print.
a5238fbc 1236
a8596edf
MK
12372000-09-03 Mark Kettenis <kettenis@gnu.org>
1238
fb0e1ba7
MK
1239 * config/i386/nm-linux.h (PREPARE_TO_PROCEED, ATTCH_LWP,
1240 GET_THREAD_SIGNALS): New defines.
1241 * config/i386/linux.mh (NATDEPFILES): Remove lin-thread.o and
1242 linux-threads.o. Add proc-service.o, thread-db.o and lin-lwp.o.
1243 * proc-service.c: New file.
1244 * thread-db.c: New file.
1245 * lin-lwp.c: New file.
1246
6751bfc9
MK
1247 * gdb_assert.h: New file.
1248
574dd9a9
MK
1249 * gdb_thread_db.h [HAVE_THREAD_DB_H]: Include <thread_db.h>.
1250 [!HAVE_THREAD_DB_H]: Update from current glibc thread_db.h. Deal
1251 with absence of <stdint.h> here.
1252
110be7c9
MK
1253 * gdb_proc_service.h: Add copyright notice.
1254 Protect against multiple inclusion.
1255 Add fix for broken prfpregset_t here.
1256 (struct ps_prochandle): Declare here.
1257 [HAVE_PROC_SERVICE_H]: Include <proc_service.h>.
1258 [!HAVE_PROC_SERVICE_H]: Include "gregset.h", define prgregset_t
1259 and prfpregset_t in terms of gdb_gregset_t and gdb_fpregset_t if
1260 necessary.
1261 * lin-thread.c: Unconditionally include "gdb_proc_service.h".
1262 Remove fix for broken prfpregset_t here.
1263 (struct ps_prochandle): Don't declare here.
1264
a8596edf
MK
1265 * MAINTAINERS: Add myself as threads co-maintainer.
1266
f1abbe98
DA
12672000-09-01 David Anderson <davea@sgi.com>
1268
1269 * arch-utils.c arch-utils.h blockframe.c fork-child.c:
1270 Corrected comment spelling dependant->dependent.
1271 * corelow.c (default_core_sniffer): Corrected comment
1272 spelling.
1273 * cp-valprint.c (cp_print_value_fields): Corrected
1274 comment spelling.
1275 * d10v-tdep.c dbxread.c: Corrected comment spelling
1276 dependan->dependen.
1277 * defs.h: Corrected spelling, meant 64, not 32, in comment.
1278 * dst.h eval.c event-loop.c: Corrected comment spelling.
1279 * event-top.c gdb-events.sh: Corrected comment spelling.
1280 * gdbarch.c: Corrected comment spelling.
1281 * gdbarch.h gdbarch.sh: Corrected comment spelling,
1282 dependant->dependent.
1283 * gdbtypes.c gdbtypes.h: Corrected comment spelling.
1284 * infcmd.c infrun.c: Corrected comment spelling.
1285 * symfile.c symfile.h target.h: Corrected comment spelling,
1286 dependant->dependent.
1287 * tracepoint.h: Corrected comment spelling.
1288
8fef05cc
KB
12892000-09-01 Kevin Buettner <kevinb@redhat.com>
1290
1291 * hppa-tdep.c (record_text_segment_lowaddr): Protoize.
1292 * hppah-nat.c (child_xfer_memory): Protoize.
1293
c6ef451c
KB
12942000-09-01 Kevin Buettner <kevinb@redhat.com>
1295
1296 * symtab.c (decode_line_1): Make sure leading character is
1297 actually a colon before skipping over leading colons in global
1298 namespace specification.
1299
705152c5
MS
13002000-09-01 Michael Snyder <msnyder@cleaver.cygnus.com>
1301
1302 * regcache.c (reg_flush_command): New function. Maintainer-mode
1303 command, flushes GDB's register cache, for testing purposes.
1304
8edbea78
C
13052000-08-31 J.T. Conklin <jtc@redback.com>
1306
1307 * dcache.c (dcache_info): Output a cache line's state vector so it
1308 lines up under the data vector.
1309
1310 * dcache.c (dcache_read_line): New function.
1311 (dcache_peek_byte): Use it.
1312 (dcache_alloc): Return NULL if write of reclaimed cache line fails.
1313 (dcache_peek_byte, dcache_poke_byte): Return failure if
1314 dcache_alloc() returns a NULL data block pointer.
1315 (dcache_xfer_memory): Don't force writeback unless we were writing.
1316
1317 * monitor.c (monitor_expect): Change places where immediate_quit
1318 is set to 1 or 0 to increments and decrements respectively. This
1319 allows such changes to nest properly.
1320 * ocd.c (ocd_start_remote): Likewise.
1321 * remote-adapt.c (expect): Likewise.
1322 * remote-array.c (expect): Likewise.
1323 * remote-eb.c (expect): Likewise.
1324 * remote-e7000.c (e7000_start_remote): Likewise.
1325 * remote-mips.c (mips_expect_timeout, mips_getstring): Likewise.
1326 * remote-nrom.c (expect): Likewise.
1327 * remote-os9k.c (expect): Likewise.
1328 * remote-sds.c (sds_start_remote): Likewise.
1329 * remote-st.c (expect): Likewise.
1330 * remote-utils.c (sr_expect): Likewise.
1331 * remote.c (remote_start_remote): Likewise.
1332 * tracepoint.c (read_actions): Likewise.
1333
1334 * remote-mips.c (mips_getstring): Balance changes to immediate_quit.
1335
62f6f82a
DA
13362000-08-31 David Anderson <davea@sgi.com>
1337
1338 * MAINTAINERS: Add myself to write-after-approval list.
1339
0359ddd6
KB
13402000-08-30 Kevin Buettner <kevinb@redhat.com>
1341
1342 * gnu-nat.c (gnu_xfer_memory): Protoize.
1343 * hp-psymtab-read.c (scan_procs, hp_quick_traverse): Protoize.
1344
359431fb
KB
13452000-08-30 Kevin Buettner <kevinb@redhat.com>
1346
1347 * solib.c (solib_extract_address, LM_ADDR, LM_NEXT, LM_NAME,
1348 LM_ADDR, IGNORE_FIRST_LINK_MAP_ENTRY, first_link_map_member,
1349 open_symbol_file_object, current_sos): Rename
1350 bfd_elf_get_arch_size to bfd_get_arch_size().
1351 * sol-thread.c (rw_common, ps_pdmodel): Likewise.
1352
3a84337c
KB
13532000-08-30 David Edelsohn <dje@watson.ibm.com>
1354
1355 Patch applied by Kevin Buettner <kevinb@redhat.com>:
1356
1357 * rs6000-nat.c (xcoff_relocate_symtab): Pass correct size
1358 to xrealloc().
1359
23e04971
MS
13602000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
1361
1362 * valops.c (value_cast): Indentation fix-up.
1363 * acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T,
1364 HAVE_STRUCT_LINK_MAP32): New configure macros.
1365 * config.in: Ditto.
1366 * configure.in: Test for the above new macros.
1367 * breakpoint.c: Update copyright date.
1368 * core-sol2.c: Include v9/sys/privregs.h directly to
1369 work around a bug in Sun's Solaris 8 header files.
1370 (fetch_core_registers): Use the above new configure macros to
1371 handle cross-debugging of 32-bit core files on a 64-bit host.
1372 * sol-thread.c (ps_pdmodel) New function.
1373 (rw_common): For debugging of 32-bit apps on a 64-bit host,
1374 truncate addresses to 32 bits.
1375 * solib.c (solib_extract_address): Functionize. Make 32/64 aware.
1376 (LM_ADDR, LM_NEXT, LM_NAME): Ditto.
1377 (IGNORE_FIRST_LINK_MAP): Ditto.
1378 (first_link_map_member): Make 32/64 aware.
1379 (open_symbol_file_object): Ditto.
1380 (current_sos): Ditto.
1381
bafda96e
MS
13822000-08-29 Michael Snyder <msnyder@cleaver.cygnus.com>
1383
1384 * i386-linux-nat.c (i386_linux_skip_solib_resolver,
1385 skip_hurd_resolver, find_minsym_and_objfile): Move these
1386 solib functions into i386-linux-tdep.c for cross debugging.
1387 * i386-linux-tdep.c: Receive the above functions.
1388
184651e3
SC
13892000-08-29 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1390
1391 * m68hc11-tdep.c (stack_correction): New variable for stack offset
1392 correction (1 for 68hc11, 0 for 68hc12).
1393 (m68hc11_saved_pc_after_call): Use it.
1394 (m68hc11_frame_chain): Likewise.
1395 (m68hc11_frame_init_saved_regs): Likewise.
1396 (m68hc11_init_extra_frame_info): Likewise.
1397 (m68hc11_push_return_address): Likewise.
1398 (m68hc11_push_arguments): Struct address must be corrected by
1399 applying the stack_correction offset.
1400 (m68hc11_store_struct_return): Likewise.
1401
2935d1c2
KB
14022000-08-28 Kevin Buettner <kevinb@redhat.com>
1403
1404 * gdbserver/utils.c (error, fatal): Protoize.
1405
756ed206
MK
14062000-08-27 Mark Kettenis <kettenis@gnu.org>
1407
1408 * i386-linux-nat.c (fetch_inferior_registers): Move call to
1409 dummy_sse_values ...
1410 (supply_fpregset): ... here.
1411
f0a58b0b
EZ
14122000-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1413
1414 * pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an
1415 lvalue.
1416 * xcoffread.c (xcoff_symfile_offsets): Ditto
1417 * somsolib.c (som_solib_section_offsets): Ditto.
1418 * somread.c (som_symfile_offsets): Ditto.
1419 * rs6000-nat.c (vmap_symtab): Ditto.
1420 * remote-vx.c (vx_add_symbols): Ditto.
1421 * remote-os9k.c (rombug_wait): Ditto.
1422
bd415eab
MK
14232000-08-27 Mark Kettenis <kettenis@gnu.org>
1424
1425 * gregset.h: Protect against multiple inclusion. Remove some
1426 redundant spaces.
1427
8e860359
CF
1428Sun Aug 27 00:00:04 2000 Christopher Faylor <cgf@cygnus.com>
1429
1430 * win32-nat.c (dll_symbol_command): Tack a .dll on the end of a
1431 supplied argument if it is missing an extension.
1432
14332000-08-24 Egor Duda <deo@logos-m.ru>
1434
1435 * corelow.c: Define O_BINARY if it isn't defined.
1436 (core_open): Open core file in binary mode.
1437 * config/i386/tm-cygwin.h (child_clear_solibs): Rename from
1438 child_clear_solib.
1439 * config/i386/cygwin.mh: Add dependency from corelow.o.
1440 * win32-nat.c (register_loaded_dll): New function. Add dll to the list
1441 of currently loaded dlls.
1442 (handle_load_dll): Use register_loaded_dll.
1443 (child_solib_add): Distinguish between active process and core targets.
1444 (solib_symbols_add): Load symbols from loaded dll.
1445 (core_dll_symbols_add): New function. Load symbols from dll referenced
1446 in core.
1447 (core_section_load_dll_symbols): New function.
1448 (dll_code_sections_add): New function.
1449 (map_single_dll_code_section): New function.
1450 (fetch_elf_core_registers): New function.
1451 (_initialize_core_win32): New function.
1452
da85418c
KB
14532000-08-26 Kevin Buettner <kevinb@redhat.com>
1454
1455 * gdbserver/gdbreplay.c (main): Protoize.
1456 * gdbserver/server.c (start_inferior, main): Protoize.
1457
82c230c2
SC
14582000-08-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1459
1460 * m68hc11-tdep.c (m68hc11_register_names): Update name of registers.
1461 (m68hc11_get_register_info): New function.
1462 (m68hc11_initialize_register_info): New function to get addresses
1463 of soft registers.
1464 (m68hc11_which_soft_register): New function.
1465 (m68hc11_fetch_pseudo_register, m68hc11_store_pseudo_register):
1466 New functions to translate read/write of soft registers into a
1467 memory read/write.
1468 (m68hc11_guess_from_prologue): Initialize soft register addresses.
1469 Use the soft register addresses to guess the prologue.
1470 (m68hc11_gdbarch_init): Install the pseudo registers.
1471
1472 * m68hc11-tdep.c (m68hc11_register_name, m68hc11_breakpoint_from_pc,
1473 m68hc11_saved_pc_after_call, m68hc11_frame_saved_pc,
1474 m68hc11_frame_args_address, m68hc11_frame_locals_address,
1475 m68hc11_guess_from_prologue, m68hc11_push_arguments,
1476 m68hc11_call_dummy_address, m68hc11_call_dymmy_address,
1477 m68hc11_register_virtual_type, m68hc11_store_struct_return,
1478 m68hc11_store_return_value, m68hc11_extract_return_value,
1479 m68hc11_use_struct_convention, m68hc11_return_value_on_stack,
1480 m68hc11_extract_struct_value_address, m68hc11_push_return_address,
1481 m68hc11_register_byte, m68hc11_register_raw_size,
1482 m68hc11_gdbarch_init): New functions for multi-arch support.
1483 (m68hc11_not_yet): Remove.
1484
2dc4e391
DT
1485Fri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>
1486
1487 * regcache.c (register_changed): New function.
1488 * value.h: Declare it.
1489
52204a0b
DT
1490Fri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>
1491
1492 * symtab.c (search_symbols): Fix off by one error in index for
1493 initializing variables ourtype, ourtype2, ourtype3, and ourtype4.
1494 (symtab_symbol_info): fix similar off by one error.
1495
1496Fri Aug 25 12:03:15 2000 David Taylor <taylor@texas.cygnus.com>
1497
1498 * gdbarch.sh (TARGET_ADDR_BIT): New macro for the number
1499 of bits in gdb's representation of a target address.
1500 * gdbarch.c, gdbarch.h: Regenerated.
1501 * gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of
1502 TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR.
1503 * printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead
1504 of TARGET_PTR_BIT, because we're printing an address, not a pointer.
1505
df115219
PM
15062000-08-25 Pierre Muller <muller@ics.u-strasbg.fr>
1507
1508 * Makefile.in: add rules to compile and link pascal specific files.
1509 * config/djgpp/fnchange.lst: add substitution for p-exp.tab.c.
1510
e1b09194
AC
15112000-08-20 Michael Chastain <chastain@redhat.com>
1512
1513 * remote.c (read_frame): Handle SERIAL_TIMEOUT while reading
1514 checksum.
1515
073063d7
KB
15162000-08-23 Kevin Buettner <kevinb@redhat.com>
1517
1518 * dstread.c (dst_symfile_offsets): Protoize.
1519 * fork-child.c (fork_inferior): Protoize.
1520
9df3df99
KB
15212000-08-21 Kevin Buettner <kevinb@redhat.com>
1522
1523 * dbxread (dbx_symfile_read, process_later): Protoize.
1524 * dsrec.c (load_srec): Protoize.
1525
9103eae0
AC
15262000-08-18 Andrew Cagney <cagney@ops1.cygnus.com>
1527
1528 * mips-tdep.c (mips_gdbarch_init): Check arches->gdbarch and not
1529 current_gdbarch for a match.
1530
e99586d5
C
15312000-08-18 J.T. Conklin <jtc@redback.com>
1532
1533 * MAINTAINERS: Add myself as dcache.c maintainer.
1534
1535 * remote-nindy.c (nindy_load): Invalidate dcache.
1536
1537 * dcache.c (dcache_invd): Renamed from dcache_flush. The term
1538 flush with respect to caches usually implies that data will be
1539 written to memory.
1540 (dcache_init, dcache_xfer_memory): Updated.
1541 * monitor.c (flush_monitor_dcache, monitor_resume, monitor_load):
1542 Updated.
1543 * ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated.
1544 * remote-bug.c (bug_load, bug_resume): Updated.
1545 * remote-nindy.c (nindy_open, nindy_resume): Updated.
1546 * remote-sds.c (sds_open, sds_resume): Updated.
1547 * remote-utils.c (gr_open): Updated.
1548 * remote.c (remote_open_1, remote_resume, remote_async_resume,
1549 remote_cisco_open): Updated.
1550 * wince.c (child_create_inferior, child_resume): Updated.
1551
1552 * monitor.c (monitor_open): Free dcache before creating a new one.
1553 * dcache.c (dcache_free): New function.
1554 * dcache.h (dcache_free): New prototype.
1555
3f084537
AC
15562000-08-18 Andrew Cagney <cagney@ops1.cygnus.com>
1557
1558 * remote-array.c (array_fetch_register): Pass dummy parameter to
1559 array_fetch_registers.
1560 (array_store_register): Ditto.
1561
d7491b3f
EZ
15622000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
1563
1564 * value.h (struct value) <lazy>: Add a comment about its use for
1565 watchpoints.
1566
72623009
KB
15672000-08-12 Kevin Buettner <kevinb@redhat.com>
1568
1569 * cxux-nat.c (fetch_inferior_registers): Protoize.
1570 * d10v-tdep.c (d10v_frame_chain_valid, d10v_extract_return_value):
1571 Protoize.
1572 * d30v-tdep.c (d30v_frame_chain_valid, d30v_extract_return_value):
1573 Protoize.
1574
f6df245f
AC
1575Fri Aug 11 19:00:51 2000 Andrew Cagney <cagney@makita.cygnus.com>
1576
1577 * config/mn10300/tm-mn10300.h (REGISTER_SIZE,
1578 MAX_REGISTER_RAW_SIZE, REGISTER_VIRTUAL_TYPE, REGISTER_BYTE,
1579 REGISTER_VIRTUAL_SIZE, REGISTER_RAW_SIZE): Disable.
1580 * mn10300-tdep.c (mn10300_do_registers_info,
1581 mn10300_print_register): New functions. Pretty print registers.
1582 (mn10300_register_virtual_type, mn10300_register_byte,
1583 mn10300_register_virtual_size, mn10300_register_raw_size): New
1584 functions.
1585 (mn10300_gdbarch_init): Update.
1586
1587 * mn10300-tdep.c (mn10300_gdbarch_init): Check for mn10300 variant
1588 and not mips variant in the info struct.
1589
f0373401
MK
15902000-08-11 Mark Kettenis <kettenis@gnu.org>
1591
1592 * i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
1593 store_fpxregs): Return 0.
1594
f3d21924
AC
15952000-08-11 Andrew Cagney <cagney@lulu.cygnus.com>
1596
1597 * regcache.c (GET_SAVED_REGISTER): Restore definition. Was lost
1598 as part of 2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>.
1599
5e2039ea
C
16002000-08-11 J.T. Conklin <jtc@redback.com>
1601
1602 * dcache.c (dcache_info): Don't print cache state if last_cache
1603 is NULL.
1604
91225883
AC
16052000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
1606
1607 * config/mn10300/tm-mn10300.h, mn10300-tdep.c
1608 (mn10300_push_arguments): Fix function signature to match gdbarch
1609 vector.
1610 * config/mn10300/tm-mn10300.h (REGISTER_NAME): Delete.
1611 * mn10300-tdep.c (struct gdbarch_tdep): Define.
1612 (mn10300_generic_register_names, am33_register_names): Convert to
1613 functions.
1614 (set_machine_hook): Delete.
1615 (register_name): New function.
1616 (mn10300_register_name): Delete.
1617 (mn10300_dump_tdep, mn10300_gdbarch_init): New functions.
1618 (_initialize_mn10300_tdep): Call register_gdbarch_init instead of
1619 specify_exec_file_hook.
1620 (AM33_MODE): Define.
1621 (set_movm_offsets): Update.
1622
e326ed24
MK
16232000-08-10 Mark Kettenis <kettenis@gnu.org>
1624
1625 Adapt support for SSE registers in Linux/x86 for Linux 2.4.
1626 * i386-linux-nat.c: Various doc fixes. Include "i387-nat.h".
1627 (GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES.
1628 (have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs.
1629 (convert_to_gregset): Removed. Moved logic to ...
1630 (fill_gregset): ... here. Simplified function.
1631 (fetch_regs): Use perror_with_name for error reporting.
1632 (store_regs): Add `regno' parameter. Use perror_with_name for
1633 error reporting. Call fill_gregset instead of convert_to_gregset.
1634 (FPREG_ADDR): Remove.
1635 (supply_fpregset): Implement by calling i387_supply_fsave.
1636 (convert_to_fpregset): Remove.
1637 (fill_fpregset): Implement by calling i387_fill_fsave.
1638 (fetch_fpregs): Use perror_with_name fro error reporting.
1639 (store_fpregs) Add `regno' parameter. Use perror_with_name fro
1640 error reporting. Call fill_fpregset instead of
1641 convert_to_fpregset.
1642 (supply_xfpregset, convert_to_xfpregset): Removed.
1643 (supply_fpxregset, fill_fpxregset): New functions.
1644 (fetch_fpxregs): Renamed from fetch_xfpregs. Use perror_with_name
1645 for error reporting. Call supply_fpxregset instead of
1646 supply_xfpregset.
1647 (store_xfpregs): Removed.
1648 (store_fpxregs): New function.
1649 (fetch_inferior_registers): Adjust for xfp -> fpx change. Tweak
1650 message in call to internal_error.
1651 (store_inferior_registers): Adjust for xfp ->fpx change. Pass
1652 REGNO to store_regs, store_fpregs and store_fpxregs.
1653 (fetch_core_registers): Adjust for xfp -> fpx change.
1654 * acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from
1655 HAVE_PTRACE_GETXFPREGS.
1656 * config.in: Regenerated.
1657 * configure.in: Replace check for PTRACE_GETXFPREGS with check for
1658 PTRACE_GETFPXREGS. Remove comment about Cygnus SSE extensions.
1659 * configure: Regenerated.
1660 * config/i386/linux.mh (NATDEPFILES): Add i387-nat.o.
1661 * config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on
1662 HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.
1663
be8dfb87
AC
16642000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
1665
1666 * regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,
1667 TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP): Move
1668 initialization from here.
1669 * gdbarch.sh: To here.
1670 * gdbarch.h, gdbarch.c: Regenerate.
1671
66b43ecb
AC
1672Thu Aug 10 18:58:04 2000 Andrew Cagney <cagney@makita.cygnus.com>
1673
1674 * defs.h (TARGET_BFD_VMA_BIT, TARGET_SHORT_BIT, TARGET_INT_BIT,
1675 TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT,
1676 TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_PTR_BIT): Move
1677 non- multi-arch handling from here.
1678 * gdbarch.sh: To here. Update printf gdbarch_update_p. Make more
1679 portable.
1680 * gdbarch.h, gdbarch.c: Regenerate.
1681
c5f231f7
AC
16822000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
1683
1684 * partial-stab.h (DBX_READ): Eliminate redundant check for null
1685 ``pst''. Also fixes GCC warning.
1686
16f33e29
AC
16872000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
1688
1689 * rs6000-nat.c (set_host_arch): Check value returned by
1690 gdbarch_update_p.
1691 * gdbarch.sh (gdbarch_update_p): Rename gdbarch_update.
1692 * gdbarch.h, gdbarch.c: Regenerate
1693 * arch-utils.c (set_gdbarch_from_file,
1694 initialize_current_architecture, set_endian): Update.
1695
63872f9d
JG
16962000-08-10 Jimmy Guo <guo@cup.hp.com>
1697
1698 * c-lang.c: Set case sensitivity on for c_language_defn,
1699 cplus_language_defn, and asm_language_defn.
1700 * ch-lang.c: Set case sensitivity on for chill_language_defn.
1701 * f-lang.c: Set case sensivitity off for f_language_defn.
1702 * jv-lang.c: Set case sensitivity on for java_language_defn.
1703 * language.h: Add enum case_mode, case_sensitivity.
1704 * language.c: Define case_mode, case_sensitivity. Set case
1705 sensitivity on for unknown_language_defn, auto_language_defn,
1706 and local_language_defn.
1707 (show_case_command,set_case_command,set_case_str): New static func.
1708 (set_type_range_case): New static func, replaces set_type_range ().
1709 (set_language_command,set_type_command,set_range_command,set_language):
1710 Call set_type_range_case ().
1711 (language_info): Print case sensitivity setting.
1712 (_initialize_language): Add set/show commands for 'case-sensitive'.
1713 Set default case mode 'auto'. Set default language 'auto'.
1714 * m2-lang.c: Set case sensitivity on for m2_language_defn.
1715 * p-lang.c: Set case sensitivity on for pascal_language_defn.
1716 * scm-lang.c: Set case sensitivity off for scm_language_defn.
1717 * symtab.c (lookup_symbol): Downcase symbol name if case sensivitity
1718 is off.
1719
0e43f15b
JG
17202000-08-10 Jimmy Guo <guo@cup.hp.com>
1721
1722 * MAINTAINERS: Change my contact email for hp tests maintainership.
1723
d0901120
AC
1724Thu Aug 10 15:28:17 2000 Andrew Cagney <cagney@ryobi.cygnus.com>
1725
1726 * sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
1727 arguments to fetch_instruction.
1728
b84a8afe
KH
17292000-08-10 Kazu Hirata <kazu@hxi.com>
1730
1731 * hppa_tdep.c: Fix a comment typo.
b3d0f615 1732 * gdba.el: Likewise.
b84a8afe 1733
d4edcbb8
TT
17342000-08-10 Tom Tromey <tromey@cygnus.com>
1735
1736 * MAINTAINERS: Added myself with write-after-approval access.
1737
f1d7622b
C
17382000-08-10 J.T. Conklin <jtc@redback.com>
1739
1740 * monitor.c (monitor_open): If a dcache has already been created,
1741 invalidate it rather than creating another.
1742 * ocd.c (ocd_open): Likewise.
1743 * remote-nindy.c (nindy_open): Likewise.
1744 * remote-sds.c (sds_open): Likewise.
1745 * remote-utils.c (gr_open): Likewise.
1746 * remote.c (remote_open_1, remote_cisco_open): Likewise.
1747
1748 * dcache.c (dcache_alloc): Changed to take address of line as an
1749 argument, and to invalidate cache line before returning.
1750 (dcache_peek_byte): Updated.
1751 (dcache_poke_byte): Updated.
1752
e84d946b
EZ
17532000-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1754
1755 From Greg McGary <greg@mcgary.org>:
1756 * partial-stab.h: Don't crash if pst is null.
1757
e2890f08
MK
17582000-08-10 Mark Kettenis <kettenis@gnu.org>
1759
1760 * i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern.
1761 (i387_supply_fxsave, i387_fill_fxsave): New prototypes.
1762 * i387-nat.c (i387_supply_fsave): Declare `val' as `unsigned int'.
1763 (fxsave_offset): New variable.
1764 (FXSAVE_ADDR): New macro.
1765 (i387_supply_fxsave, i387_fill_fxsave, i387_tag): New functions.
1766
8dccf761
TT
17672000-08-08 Tom Tromey <tromey@cygnus.com>
1768
1769 * jv-valprint.c (java_value_print): Only print non-null Strings.
1770
dbb41be1
KB
17712000-08-09 Kevin Buettner <kevinb@redhat.com>
1772
1773 * core-sol2.c (fetch_core_registers): Protoize; add prefatory
1774 comment.
1775 * corefile.c (specify_exec_file_hook, generic_search): Protoize.
1776
35fc8285
MS
17772000-08-09 Michael Snyder <msnyder@cleaver.cygnus.com>
1778
1779 * blockframe.c (sigtramp_saved_pc): Use dynamic allocation,
1780 since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH).
1781 * irix4-nat.c (get_longjmp_target): Ditto.
1782 * irix5-nat.c (get_longjmp_target): Ditto.
1783 * jv-valprint.c (java_value_print): Ditto.
1784 * m3-nat.c (get_cprocs): Ditto.
1785 * m68k-tdep.c (get_longjmp_target): Ditto.
1786 * mips-nat.c (get_longjmp_target): Ditto.
1787 * mipsv4-nat.c(get_longjmp_target): Ditto.
1788 * pa64solib.c (read_dynamic_info): Ditto.
1789 * solib.c (elf_locate_base): Ditto.
1790
d46740af
DT
1791Mon Aug 7 23:21:22 2000 David Taylor <taylor@texas.cygnus.com>
1792
1793 * TODO: remove build_parse entry.
1794
af1c1752
KB
17952000-08-07 Kevin Buettner <kevinb@redhat.com>
1796
1797 * command.c (add_cmd, add_abbrev_cmd, add_prefix_cmd,
1798 add_abbrev_prefix_cmd): Protoize.
1799
a4c8257b
EZ
18002000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1801
1802 * objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss
1803 here, let the users of the macro do it.
1804 * symtab.h (ANOFFSET): Detect here if the section index is not
1805 initialized.
1806 * xcoffread.c (find_targ_sec): Don't treat .bss as special,
1807 because some objfiles may not have that section at all.
1808 * coffread.c (cs_to_section): Ditto.
1809 * elfread.c (elf_symtab_read): Detect an uninitialized index
1810 value.
1811 (elfstab_offset_sections): The macro ANOFFSET cannot be used as an
1812 lvalue anymore.
1813 * remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use
1814 ANOFFSET as an lvalue.
1815 * objfiles.c (objfile_relocate, objfile_relocate): Don't use
1816 ANOFFSET as an lvalue.
1817 * symfile.c (default_symfile_offsets): Don't use ANOFFSET as an
1818 lvalue.
1819
538155bd
DT
1820Mon Aug 7 10:24:30 2000 David Taylor <taylor@texas.cygnus.com>
1821
1822 * parse.c (build_parse): don't write off the end of the std_regs
1823 array.
1824
8554b7d5
MK
18252000-05-21 Mark Kettenis <kettenis@gnu.org>
1826
1827 * solib.c (bfd_lookup_symbol): Fall back on the dynamic symbol
1828 table if the symbol couldn't be found in the normal symbol table
1829 (i.e. if the shared object in question was stripped).
1830
89727b6f
KB
18312000-08-06 Kevin Buettner <kevinb@redhat.com>
1832
1833 * ch-exp.c (parse_opt_name_string): Protoize. [Thanks to Eli
1834 Zaretskii for the prefatory comment.]
1835 * core-regset.c (fetch_core_registers): Protoize; revise
1836 comment.
1837
9d3789f7
CF
18382000-08-06 Christopher Faylor <cgf@cygnus.com>
1839
1840 * win32-nat.c: Perform various gcc warning cleanups.
1841 (safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not
1842 stderr.
1843 (dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add.
1844 (get_child_debug_event): Always reset last_sig. Always reset inferior
1845 pid appropriately.
bfd7b64e
CF
1846 (do_initial_child_stuff): New function. Called when attaching or
1847 starting a new inferior process.
9d3789f7
CF
1848 (child_attach): Use do_initial_child_stuff.
1849 (child_create_inferior): Ditto.
1850 * config/i386/cygwin.mh (NAT_FILE): Set to modern location.
1851 * config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.
1852
3a45aed8
EZ
18532000-08-05 Eli Zaretskii <eliz@is.elta.co.il>
1854
1855 * go32-nat.c: (go32_wait): If child_cwd[] is empty, initialize
1856 it to GDB's current directory.
1857 (go32_create_inferior, init_go32_ops): Initialize child_cwd[] to
1858 an empty string, to signal an uninitialized value.
1859 From Robert Hoehne <robert.hoehne@gmx.net>.
1860
7a78d0ee
KB
18612000-08-04 Kevin Buettner <kevinb@redhat.com>
1862
1863 * symtab.h (fixup_psymbol_section): Declare.
1864 * symtab.c (fixup_psymbol_section): Make extern.
1865 (fixup_section): Fix up section as well as bfd_section.
1866 * objfiles.c (objfile_relocate): Call fixup_symbol_section
1867 or fixup_psymbol_section before attempting to access
1868 the SYMBOL_SECTION component of a symbol or partial symbol.
1869
613e1657
KB
18702000-08-04 Kevin Buettner <kevinb@redhat.com>
1871
afbb8d7a
KB
1872 * minsyms.c (build_minimal_symbol_hash_tables): New function.
1873 (compact_minimal_symbols): Don't construct hash tables here.
1874 (install_minimal_symbols): Instead, construct them here.
1875 (msymbols_sort): And rebuild them here too.
1876
613e1657
KB
1877 * dwarf2read.c (struct comp_unit_head): Add fields offset_size
1878 and initial_length_size. Change type of ``length'' field to long.
1879 (read_initial_length, read_offset): New functions.
1880 (dwarf2_build_psymtabs_easy): Call read_initial_length() instead
1881 of just reading 4 bytes.
1882 (read_comp_unit_head): Likewise; also, call read_offset() to
1883 fetch the offset instead of just reading 4 bytes.
1884 (dwarf_decode_lines): Likewise.
1885 (read_comp_unit_head): Fix internal error message so it
1886 accurately reflects the function in which the error occurred.
1887 (dwarf2_build_psymtabs_hard): Properly account for size of the
1888 initial length field in the section.
1889 (read_attribute, dwarf2_get_ref_die_offset): Add a case for
1890 DW_ORM_ref8.
1891 (dwarf2_build_psymtabs_hard, psymtabs_to_symtab_1): Don't
1892 assume that the .text section will have index 0 in the
1893 section_offsets table.
1894
d471ea57
AC
1895Fri Aug 4 18:00:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
1896
1897 * remote.c (enum Z_packet_type): Define.
1898 (remote_protocol_Z): Change to an array of size NR_Z_PACKET_TYPES.
1899 (remote_insert_watchpoint): Check watchpoint type.
1900 (watchpoint_to_Z_packet): New function.
1901 (enum packet_result): Define.
1902 (packet_ok): New function. Return enum packet_result.
1903 (init_all_packet_configs): New function.
1904 (remote_open_1, remote_async_open_1, remote_cisco_open): Use
1905 init_all_packet_configs instead of initializing remote_protocol_P,
1906 remote_protocol_Z, remote_protocol_binary_download separatly.
1907 (remote_remove_hw_breakpoint, remote_insert_hw_breakpoint,
1908 remote_remove_watchpoint, remote_insert_watchpoint): Use
1909 watchpoint_to_Z_packet and packet_ok. Remove #ifdef
1910 TARGET_HAS_HARDWARE_WATCHPOINTS.
1911 (set_remote_protocol_Z_software_bp_packet_cmd,
1912 show_remote_protocol_Z_software_bp_packet_cmd,
1913 set_remote_protocol_Z_hardware_bp_packet_cmd,
1914 show_remote_protocol_Z_hardware_bp_packet_cmd,
1915 set_remote_protocol_Z_write_wp_packet_cmd,
1916 show_remote_protocol_Z_write_wp_packet_cmd,
1917 set_remote_protocol_Z_read_wp_packet_cmd,
1918 show_remote_protocol_Z_read_wp_packet_cmd,
1919 set_remote_protocol_Z_access_wp_packet_cmd,
1920 show_remote_protocol_Z_access_wp_packet_cmd): New functions.
1921 (remote_Z_packet_packet_detect): New variable.
1922 (show_remote_protocol_Z_packet_cmd,
1923 set_remote_protocol_Z_packet_cmd): Iterate over all ``Z'' packet
1924 variants.
1925 (add_packet_config_cmd): Add argument legacy. Change syntax to
1926 ``set/show remote FULL_NAME-packet ...'' command. Add ``set/show
1927 remote XXX-packet ...'' command using add_alias_cmd when legacy.
1928 (set_packet_config_cmd): Delete.
1929 (show_remote_cmd): New function.
1930
1931 * TODO: Update.
1932
6688f7e9
AC
1933Fri Aug 4 14:05:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
1934
1935 * Makefile.in (infodir, SER_HARDWIRE): Fix merge problems from
1936 2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>.
1937
0a49d05e
AC
1938Wed Aug 2 21:15:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
1939
1940 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Add.
1941 * gdbarch.h, gdbarch.c: Regenerate.
1942 * valops.c (hand_function_call): Replace #ifndef
1943 NO_EXTRA_ALIGNMENT_NEEDED with if EXTRA_STACK_ALIGNMENT_NEEDED.
1944
1945 * d10v-tdep.c (d10v_gdbarch_init): Set
1946 extra_stack_alignment_needed to 0.
1947 * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Delete.
1948 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Replace
1949 NO_EXTRA_ALIGNMENT_NEEDED.
1950
0922e2bf
SC
19512000-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1952
1953 * MAINTAINERS (m68hc11): Stephane Carrez is maintainer.
1954
831662b3
KB
19552000-08-03 Kevin Buettner <kevinb@redhat.com>
1956
1957 * breakpoint.c (bpstat_alloc, map_catch_names,
1958 map_breakpoint_numbers): Protoize.
1959
98691afe
AC
1960Thu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
1961
1962 * remote-mips.c (mips_expect, mips_expect_timeout, common_open,
1963 fputs_readable): Make string pointer arguments constant.
1964
e255d535
AC
1965Thu Aug 3 18:39:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
1966
1967 * MAINTAINERS, TODO: Tweeks.
1968
552054a8
AC
1969Thu Aug 3 15:46:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
1970
1971 * TODO (5.1): Update.
1972
732a6b2d
KB
19732000-08-02 Kevin Buettner <kevinb@redhat.com>
1974
1975 * alpha-tdep.c (alpha_extract_return_value): Protoize.
1976
7861024d
JG
19772000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
1978
1979 * gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
1980 to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P.
1981
1982 * gdbarch.c: Regenerated.
1983
8a902701
EZ
19842000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1985
1986 * remote-vx.c (vx_add_symbols): Fix typos.
1987
7c7651b2
AC
1988Wed Aug 2 19:15:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
1989
1990 * arch-utils.h, gdbarch.c (default_register_sim_regno): New
1991 function.
1992 * gdbarch.sh (REGISTER_SIM_REGNO): Add.
1993 * gdbarch.h, gdbarch.c: Regenerate.
1994 * remote-sim.c (REGISTER_SIM_REGNO): Delete definition.
1995
1996 * config/d10v/tm-d10v.h (REGISTER_SIM_REGNO): Delete.
1997 * d10v-tdep.c (d10v_gdbarch_init): Update.
1998 (struct gdbarch_tdep): Delete member register_sim_regno.
1999 (d10v_register_sim_regno): Delete function.
2000
8e248173
AC
2001Wed Aug 2 14:46:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
2002
2003 * remote.c (enum packet_detect, packet_support_enums,
2004 packet_support_auto, packet_enable, packet_disable): Delete.
2005 (show_packet_config_cmd, set_packet_config_cmd,
2006 init_packet_config): Use add_set_auto_boolean_cmd.
2007 * TODO: Update.
2008
4e005f2e
AC
2009Wed Aug 2 13:06:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
2010
2011 * remote-udi.c (udi_xfer_inferior_memory, udi_files_info,
2012 udi_kill): Update function signatures so that match target vector.
2013 * MAINTAINERS: Update.
2014
2e4e9e68
AC
2015Wed Aug 2 11:04:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
2016
2017 * TODO: Updates.
2018
666e11c5
EZ
20192000-08-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2020
2021 * gdbarch.sh: Multiarch DO_REGISTERS_INFO macro.
2022 * gdbarch.h, gdbarch.c: Regenerate.
2023 * infcmd.c (do_registers_info): Make not static and
2024 unconditionalize.
2025 * inferior.h (do_registers_info): Export.
2026
26c11c07
KH
20272000-08-01 Kazu Hirata <kazu@hxi.com>
2028
2029 * MAINTAINERS: Add myself to "Write After Approval" list.
2030
9b82661c
AC
2031Tue Aug 1 21:02:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
2032
2033 * MAINTAINERS: Update list of target maintainers. List all
2034 targets explicitly.
2035 (sh): Elena Zannoni is maintainer.
2036 (powerpc): Nick Duffek is a maintainer.
2037
34620563
AC
2038Tue Aug 1 17:45:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
2039
2040 * gdbarch.sh: Parse and save comments in the function_list. Print
2041 them out as part of the header. Convert all function definitions
2042 to ISO-C form.
2043 * gdbarch.h, gdbarch.c: Regenerate.
2044
710b33bd
AC
2045Tue Aug 1 14:50:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
2046
2047 * top.c (get_prompt_1), tracepoint.c (replace_comma): Update
2048 function signatures so that they match catch_errors and
2049 make_cleanup callbacks.
2050
2051 * tracepoint.c (encode_actions): Fix arguments passed to
2052 stringify_collection_list.
2053
9aa1e687
KB
20542000-07-31 Kevin Buettner <kevinb@redhat.com>
2055
2056 * ppc-tdep.h: New file.
2057 * Makefile.in (ppc-linux-tdep.o, rs6000-tdep.o): Add ppc-tdep.h
2058 as a dependency.
2059 * ppc-linux-tdep.c, rs6000-tdep.c (ppc-tdep.h): Include.
2060
2061 * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Made static.
2062
2063 * rs6000-tdep.c (elf-bfd.h): Include.
2064 (gdbarch_tdep): Add field osabi to this struct.
2065 (rs6000_init_extra_frame_info, rs6000_frame_init_saved_regs,
2066 rs6000_frameless_function_invocation, rs6000_frame_saved_pc,
2067 rs6000_frame_chain): No longer static.
2068 (process_note_abi_tag_sections, get_elfosabi): New static
2069 functions.
2070 (rs6000_gdbarch_init): Revised to accomodate ELF executables;
2071 also use Linux specific methods when the target is Linux.
2072
2073 * config/powerpc/aix.mt, config/powerpc/cygwin.mt,
2074 config/powerpc/macos.mt, config/powerpc/nbsd.mt,
2075 config/powerpc/ppc-eabi.mt, config/powerpc/ppc-nw.mt,
2076 config/powerpc/ppc-sim.mt, config/powerpc/ppcle-eabi.mt,
2077 config/powerpc/ppcle-sim.mt, config/powerpc/solaris.mt,
2078 config/powerpc/vxworks.mt, config/rs6000/aix4.mt,
2079 config/rs6000/rs6000.mt, config/rs6000/rs6000lynx.mt
2080 (TDEPFILES): Add ppc-linux-tdep.o.
2081
2082 * config/tm-linux.h (SIGCONTEXT_PC_OFFSET, FRAME_SAVED_PC,
2083 INIT_EXTRA_FRAME_INFO, FRAMELESS_FUNCTION_INVOCATION,
2084 FRAME_INIT_SAVED_REGS, FRAME_CHAIN, PUSH_ARGUMENTS,
2085 MEMORY_REMOVE_BREAKPOINT: Removed defines.
2086 (ppc_linux_frame_saved_pc, ppc_linux_init_extra_frame_info,
2087 ppc_linux_frameless_function_invocation,
2088 ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain,
2089 ppc_sysv_abi_push_arguments, ppc_linux_memory_remove_breakpoint):
2090 Removed declarations.
2091 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Disabled.
2092
2093 * dink32-rom.c (dink32_regnames): Make array size implicit.
2094
2095 * ppc-bdm.h (ppc-tdep.h): Include.
2096
2097 * rs6000-tdep.c, ppc-linux-tdep.c, ppc-bdm.h, ppc-tdep.h
2098 (GP0_REGNUM, TOC_REGNUM, PS_REGNUM, CR_REGNUM, LR_REGNUM,
2099 CTR_REGNUM, XER_REGNUM, MQ_REGNUM): Add PPC_ prefix.
2100
2101 From Nick Duffek:
2102 * ppc-tdep.h (ppc_linux_frame_saved_pc, rs6000_frame_saved_pc):
2103 Change return type to CORE_ADDR.
2104 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Likewise.
2105
34e9d9bb
EZ
21062000-07-31 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2107
666e11c5
EZ
2108 * sh-tdep.c (sh_push_arguments): Make header match prototype.
2109
34e9d9bb
EZ
2110 * remote-e7000.c (e7000_start_remote): Use void *, not char * as
2111 parameter to avoid compiler warning.
2112 (fetch_regs_from_dump): Call get_hex() with the correct number of
2113 parameters.
2114
cf79017e
EZ
21152000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
2116
2117 * config/djgpp/fnchange.lst: Add file mappings as per last weekly
2118 snapshot.
2119
fba45db2
KB
21202000-07-29 Kevin Buettner <kevinb@redhat.com>
2121
2122 * a29k-tdep.c, a68v-nat.c, abug-rom.c, alpha-nat.c,
2123 alpha-tdep.c, annotate.c, arc-tdep.c, arch-utils.c, ax-gdb.c,
2124 ax-general.c, blockframe.c, breakpoint.c, buildsym.c,
2125 c-lang.c, c-typeprint.c, c-valprint.c, ch-exp.c, ch-lang.c,
2126 ch-typeprint.c, ch-valprint.c, cli-out.c, coff-solib.c,
2127 coffread.c, command.c, complaints.c, copying.c, core-aout.c,
2128 core-regset.c, core-sol2.c, corefile.c, corelow.c,
2129 cp-valprint.c, cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c,
2130 d30v-tdep.c, dbug-rom.c, dbxread.c, dcache.c, delta68-nat.c,
2131 demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c, dstread.c,
2132 dve3900-rom.c, dwarf2read.c, dwarfread.c, elfread.c,
2133 environ.c, eval.c, event-top.c, exec.c, expprint.c, f-lang.c,
2134 f-typeprint.c, f-valprint.c, findvar.c, fork-child.c,
2135 fr30-tdep.c, gdbarch.c, gdbserver/gdbreplay.c,
2136 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
2137 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
2138 gdbserver/low-sim.c, gdbserver/low-sparc.c,
2139 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
2140 gdbserver/utils.c, gdbtypes.c, gnu-nat.c, h8300-tdep.c,
2141 h8500-tdep.c, hp-psymtab-read.c, hp-symtab-read.c,
2142 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
2143 hppam3-nat.c, hpread.c, hpux-thread.c, i386-linux-nat.c,
2144 i386-stub.c, i386-tdep.c, i386aix-nat.c, i386b-nat.c,
2145 i386ly-tdep.c, i386m3-nat.c, i386mach-nat.c, i386nbsd-nat.c,
2146 i386v-nat.c, i386v4-nat.c, i387-tdep.c, i960-tdep.c,
2147 ia64-linux-nat.c, ia64-tdep.c, infcmd.c, inflow.c,
2148 infptrace.c, infrun.c, inftarg.c, infttrace.c, irix4-nat.c,
2149 irix5-nat.c, jv-lang.c, jv-typeprint.c, jv-valprint.c,
2150 kdb-start.c, kod-cisco.c, kod.c, language.c, lin-thread.c,
2151 linux-thread.c, lynx-nat.c, m2-lang.c, m2-typeprint.c,
2152 m2-valprint.c, m3-nat.c, m32r-rom.c, m32r-stub.c, m32r-tdep.c,
2153 m68hc11-tdep.c, m68k-stub.c, m68k-tdep.c, m68klinux-nat.c,
2154 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
2155 mac-xdep.c, maint.c, mcore-rom.c, mcore-tdep.c, mdebugread.c,
2156 mem-break.c, mi/mi-cmds.c, mi/mi-main.c, mi/mi-out.c,
2157 mi/mi-parse.c, minsyms.c, mips-nat.c, mips-tdep.c,
2158 mipsm3-nat.c, mipsread.c, mipsv4-nat.c, mn10200-tdep.c,
2159 mn10300-tdep.c, mon960-rom.c, monitor.c, news-xdep.c,
2160 nindy-tdep.c, nlm/gdbserve.c, nlm/i386.c, nlm/ppc.c,
2161 nlmread.c, ns32k-tdep.c, ns32km3-nat.c, ns32knbsd-nat.c,
2162 objfiles.c, ocd.c, op50-rom.c, os9kread.c, osfsolib.c,
2163 p-lang.c, p-typeprint.c, p-valprint.c, pa64solib.c, parse.c,
2164 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
2165 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
2166 proc-flags.c, proc-why.c, procfs.c, ptx4-nat.c,
2167 remote-adapt.c, remote-array.c, remote-bug.c, remote-e7000.c,
2168 remote-eb.c, remote-es.c, remote-est.c, remote-hms.c,
2169 remote-mips.c, remote-mm.c, remote-nindy.c, remote-nrom.c,
2170 remote-os9k.c, remote-rdi.c, remote-rdp.c, remote-sds.c,
2171 remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c,
2172 remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c,
2173 remote-vxmips.c, remote-vxsparc.c, remote.c, rom68k-rom.c,
2174 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-valprint.c,
2175 ser-e7kpc.c, ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c,
2176 sh-stub.c, sh-tdep.c, sh3-rom.c, sol-thread.c, solib.c,
2177 somread.c, somsolib.c, source.c, sparc-nat.c, sparc-stub.c,
2178 sparc-tdep.c, sparcl-stub.c, sparcl-tdep.c, sparclet-rom.c,
2179 sparclet-stub.c, stabsread.c, stack.c, standalone.c,
2180 stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c, symfile.c,
2181 symm-nat.c, symm-tdep.c, symmisc.c, symtab.c, target.c,
2182 thread.c, tic80-tdep.c, top.c, tracepoint.c, tui/tui-file.c,
2183 tui/tui.c, tui/tuiLayout.c, tui/tuiRegs.c, tui/tuiStack.c,
2184 tui/tuiWin.c, typeprint.c, ui-file.c, ui-out.c, ultra3-nat.c,
2185 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
2186 valarith.c, valops.c, valprint.c, values.c, varobj.c,
2187 vax-tdep.c, w65-tdep.c, w89k-rom.c, win32-nat.c, wince.c,
2188 wrapper.c, xcoffread.c, xcoffsolib.c, xmodem.c, z8k-tdep.c:
2189 Convert old-style, pre-ISO function definitions to prototyped
2190 form.
2191
fb409745
EZ
21922000-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2193
2194 * sh-tdep.c (sh_gdbarch_init): For sh4 initialize
2195 register_convert_to_raw, register_convert_to_virtual,
2196 register_convertible.
2197 (sh_sh4_register_convertible): New function.
2198 (sh_sh4_register_convert_to_virtual): New function.
2199 (sh_sh4_register_convert_to_raw): New function.
2200 Include floatformat.h.
2201
78073dd8
AC
2202Thu Jul 27 14:06:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
2203
2204 From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
2205 * configure.tgt: Recognize the 68hc11.
2206 * m68hc11-tdep.c: New file for 68hc11 target.
2207 * config/m68hc11/m68hc11.mt: New file for 68hc11 port.
2208
2209 * configure.tgt: When 68hc11, set gdb_multi_arch.
2210
6166d547
AC
2211Wed Jul 26 17:22:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2212
2213 * configure.in (GDB_MULTI_ARCH): Define from configure.tgt
2214 or makefile fragment.
2215 * acconfig.h (GDB_MULTI_ARCH): Add.
2216 * config.in, configure: Regenerate.
2217
2218 * gdbarch.sh (GDB_MULTI_ARCH): Delete definition, moved to
2219 configure.in and defs.h. Use GDB_MULTI_ARCH_TM,
2220 GDB_MULTI_ARCH_PARTIAL and GDB_MULTI_ARCH_PURE in tests.
2221 * gdbarch.h, gdbarch.c: Regenerate.
2222
2223 * defs.h (GDB_MULTI_ARCH_PARTIAL, GDB_MULTI_ARCH_TM, ,
2224 GDB_MULTI_ARCH_PURE): Define. Only include "tm.h" when the target
2225 is less than pure multi-arch.
2226
4d3dc5ab
MS
22272000-07-26 Jimmy Guo <guo@cup.hp.com>
2228
2229 * config/convex/tm-convex.h: Remove stray control characters.
2230 * config/m68k/tm-altos.h: Ditto.
2231 * config/tahoe/tm-tahoe.h: Ditto.
2232
fe9f384f
EZ
22332000-07-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2234
2235 * sh-tdep.c (sh_sh4_register_name, sh_sh4_register_byte,
2236 sh_sh4_register_raw_size, sh_sh4_register_virtual_type,
2237 sh_fetch_pseudo_register, sh_store_pseudo_register,
2238 sh_do_pseudo_register, sh_gdbarch_init): Fix names for pseudoregs,
2239 they should be numbered as drx fvy where x and y are multiples of
2240 2 and 4 respectively.
2241
2242 * config/sh/tm-sh.h: Fix names of pseudo regs.
2243
53116e27
EZ
22442000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2245
2246 * config/sh/tm-sh.h (struct gdbarch_tdep): Add sh4 specific
2247 pseudo registers.
2248 (DO_REGISTERS_INFO): Define.
2249
2250 * sh-tdep.c (sh_sh4_register_name): New function.
2251 (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
2252 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update
2253 signature.
2254 (sh_show_regs_command): New function. Actual function called by
2255 the 'regs' command.
2256 (sh_register_byte): Rename to...
2257 (sh_default_register_byte): ...New function.
2258 (sh_sh4_register_byte): New function.
2259 (sh_register_raw_size): Rename to...
2260 (sh_default_register_raw_size): ...New function.
2261 (sh_sh4_register_raw_size): New function.
2262 (sh_sh4_register_virtual_type): New function.
2263 (sh_sh4_build_float_register_type): New function.
2264 (sh_fetch_pseudo_register, sh_store_pseudo_register): New
2265 functions.
2266 (fv_reg_base_num, dr_reg_base_num): New functions.
2267 (do_fv_register_info, do_dr_register_info, sh_do_pseudo_register,
2268 sh_do_fp_register, sh_do_register, sh_print_register,
2269 sh_do_registers_info): New functions.
2270 (sh_gdbarch_init): Initialize sh4 pseudo registers to -1. Update
2271 architecture specific parts.
2272 (_initialize_sh_tdep): Use sh_show_regs_command for 'regs' command.
2273
811abf80
JB
22742000-07-24 Jim Blandy <jimb@redhat.com>
2275
2276 * dwarf2read.c (read_structure_scope): Correct overzealous
2277 addition of cu_header argument.
2278
02d44fdb
AG
2279Mon Jul 24 07:47:46 2000 Anthony Green <green@redhat.com>
2280
2281 * TODO: Update. Two of my java patches are in.
2282
7f1b2585
EZ
22832000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2284
2285 * gdbarch.sh: Add FETCH_PSEUDO_REGISTER and STORE_PSEUDO_REGISTER
2286 to the gdbarch structure.
2287 * gdbarch.c: Regenerate.
2288 * gdbarch.h: Regenerate.
2289 * inferior.h (FETCH_PSEUDO_REGISTER, STORE_PSEUDO_REGISTER):
2290 Delete macros.
2291 * regcache.c (write_register, read_register, write_register_bytes,
2292 write_register_gen, read_register_bytes, read_register_gen):
2293 Rename ARCH_FECTH_PSEUDO_REGISTERS to FETCH_PSEUDO_REGISTERS and
2294 ARCH_STORE_PSEUDO_REGISTER to STORE_PSEUDO_REGISTER.
2295
0aba1244
EZ
22962000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2297
2298 * gdbarch.sh: Add NUM_PSEUDO_REGS to the gdbarch structure.
2299 * gdbarch.c: Regenerate.
2300 * gdbarch.h: Regenerate.
2301 * inferior.h (NUM_PSEUDO_REGS): Delete macro.
2302
8caabe69
AG
2303Sun Jul 23 21:40:55 2000 Anthony Green <green@redhat.com>
2304
2305 * language.c: Include jv-lang.h.
2306 (lang_bool_type): Add case for java booleans.
2307
107d2387
AC
2308Mon Jul 24 11:23:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
2309
2310 * dwarf2read.c (address_size): Delete file wide global.
2311 (struct comp_unit_head): Add signed_addr_p;
2312 (read_comp_unit_head): New function.
2313 (psymtab_to_symtab_1, dwarf2_build_psymtabs_hard): Use
2314 read_comp_unit_head to parse the debug_info header.
2315 (read_address): Add parameters cu_header and bytes_read. When
2316 specified, sign extend the address.
2317
2318 * dwarf2read.c (add_partial_symbol, decode_locdesc,
2319 die_containing_type, die_type, dwarf_decode_lines,
2320 dwarf2_add_field, dwarf2_add_member_fn,
2321 dwarf2_build_psymtabs_hard, dwarf2_const_value, new_symbol,
2322 process_die, psymtab_to_symtab_1, read_array_type,
2323 read_enumeration, read_attribute, read_common_block,
2324 read_comp_unit, read_file_scope, read_full_die, read_func_scope,
2325 read_lexical_block_scope, read_partial_die, scan_partial_symbols,
2326 read_structure_scope, read_subroutine_type, read_tag_const_type,
2327 read_tag_pointer_type, read_tag_ptr_to_member_type,
2328 read_tag_reference_type, read_type_die, read_typedef,
2329 tag_type_to_type): Pass cu_header parameter.
2330
f4160335
EZ
23312000-07-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2332
2333 * regcache.c (read_register, read_register_bytes): Fix typos.
2334
6dff448f
MS
23352000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
2336
e9d196c5
MS
2337 * thread.c (thread_apply_all_command): Update thread list first.
2338 * printcmd.c (printf_command): Guard against 0-length string.
6dff448f
MS
2339 * config/i386/tm-i386.h: treat PC and FP as unsigned.
2340 (SAVED_PC_AFTER_CALL): Use read_memory_unsigned_integer.
2341 (FRAME_SAVED_PC): Ditto.
2342 (FRAME_CHAIN): Ditto.
2343
3dd3139b
MS
23442000-07-20 Michael Snyder <msnyder@cleaver.cygnus.com>
2345
2346 * valarith.c (value_sub): Call check_typedef.
2347
7c952b6d
ND
23482000-07-19 Nicholas Duffek <nsd@redhat.com>
2349
2350 * thread.c (free_thread): New function.
2351 (init_thread_list): Always zero highest_thread_num. Call
2352 free_thread() instead of free().
2353 (delete_thread): Move thread cleanup code to free_thread().
2354
cc17453a
EZ
23552000-07-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2356
2357 Multiarch the sh target.
2358 * sh-tdep.c:
2359 (sh_generic_reg_names, sh_reg_names,sh3_reg_names, sh3e_reg_names,
2360 sh_dsp_reg_names, sh3_dsp_reg_names, sh_processor_type_table):
2361 Remove.
2362 (XMALLOC): Define.
2363 (struct frame_extra_info): Define.
2364 (sh_register_raw_size, sh_register_virtual_size,
2365 sh_register_virtual_type, sh_register_byte, sh_breakpoint_from_pc,
2366 sh_frame_saved_pc, sh_skip_prologue,
2367 sh_nofp_frame_init_saved_regs, sh_fp_frame_init_saved_regs,
2368 sh_extract_struct_value_address, sh_use_struct_convention,
2369 sh_store_struct_return, sh_push_arguments, sh_push_return_address,
2370 sh_saved_pc_after_call, sh_generic_register_name,
2371 sh_sh_register_name, sh_sh3_register_name, sh_sh3e_register_name,
2372 sh_sh_dsp_register_name, sh_sh3_dsp_register_name,
2373 sh_frame_args_address, sh_frame_locals_address,
2374 sh_coerce_float_to_double, sh_default_store_return_value,
2375 sh3e_sh4_store_return_value, sh_generic_show_regs,
2376 sh3_show_regs,sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs,
2377 sh_dsp_show_regs, sh_register_byte, sh_register_raw_size,
2378 sh_register_virtual_size, sh_sh3e_register_virtual_type,
2379 sh_default_register_virtual_type, sh_gdbarch_init): New functions.
2380 (sh_target_architecture_hook, sh_frame_find_saved_regs,
2381 sh_show_regs): Delete functions.
2382 (sh_frame_chain, sh_find_callers_reg, sh_init_extra_frame_info,
2383 sh_pop_frame, sh_extract_return_value): Update
2384
2385 * config/sh/tm-sh.h (GDB_MULTI_ARCH): Define to 1.
2386 (struct gdbarch_tdep): Define.
2387 Remove all unnecessary defines.
2388
2389 * remote-e7000.c ({PR,GBR,SR,MACL,VBR,MACH}_REGNUM): Define to -1,
2390 for h8300 case.
2391 (want_sh,want_nopc_sh,want_nopc_sh3): Make nomenclature
2392 consistent.
2393 (e7000_fetch_registers): Remove ifdef GDB_TARGET_IS_SH, use
2394 runtime check instead.
2395 (e7000_wait): Ditto.
2396
2397 * sh3-rom.c (sh3_supply_register): Use gdbarch_tdep to get the SSR
2398 and SPC register numbers.
2399 (sh3_regnames, sh3e_regnames): Don't specify a size.
2400
2401 * config/h8300/tm-h8300.h: Add comment.
2402
6ceadee4
AC
2403Wed Jul 19 12:50:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
2404
2405 * solib.c (elf_locate_base, info_sharedlibrary_command): Rename
2406 bfd_elf_get_arch_size to bfd_get_arch_size.
2407
7f0e3f52
AC
2408Tue Jul 18 17:13:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
2409
2410 From Richard Henderson <rth@cygnus.com>:
2411 * dwarf2read.c (dwarf2_empty_hash_tables): Renamed from
2412 dwarf2_empty_die_ref_table; zero dwarf2_cached_types as well.
2413 Update all callers.
7168a814
DB
2414
24152000-07-17 Daniel Berlin <dberlin@redhat.com>
2416
2417 * valops.c (value_struct_elt): Change error message
2418
67aa9423
C
24192000-07-17 matthew green <mrg@redhat.com>
2420
2421 * config/sparc/nm-nbsd.h (GDB_GREGSET_T, GDB_FPREGSET_T): Define.
2422
67b2adb2
AC
2423Mon Jul 17 13:08:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
2424
2425 * values.c (value_as_pointer): When VAL is an integer, explictly
2426 cast to a pointer before converting to a CORE_ADDR.
2427 * gdbtypes.c (build_gdbtypes): For builtin_type_ptr, construct a
2428 real void pointer instead of an integer.
2429
802db21b
DB
24302000-07-15 Daniel Berlin <dberlin@redhat.com>
2431
2432 * valops.c (typecmp): Seperate loop into two, add support for
2433 references. This way, we can say a reference to a pointer to a
2434 char is compatible with a pointer to a char. Before, this would
2435 not be true.
2436
fe794dc6
ND
24372000-07-14 Nicholas Duffek <nsd@redhat.com>
2438
2439 * ppcbug-rom.c (ppcbug_regnames[]): Make array size implicit.
2440 * rs6000-tdep.c (DEFAULT_LR_SAVE): Move to config/*/tm-*.h.
2441 (rs6000_gdbarch_init): Use generic_pc_in_call_dummy instead of
2442 rs6000_pc_in_call_dummy.
2443 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Move here from
2444 rs6000-tdep.c.
2445 * config/powerpc/tm-ppc-eabi.h: Remove various definitions
2446 handled by multi-arched rs6000-tdep.c.
2447
585230bd
NC
24482000-07-14 Nick Clifton <nickc@cygnus.com>
2449
2450 * config/mcore/tm-mcore.h (SKIP_PROLOGUE): Fix defintion to avoid
2451 assignment.
2452
e2305d34
MS
24532000-07-13 Michael Snyder <msnyder@cleaver.cygnus.com>
2454
2455 * parse.c: Include inferior.h.
2456
fcdc5976
MS
24572000-07-12 Michael Snyder <msnyder@cleaver.cygnus.com>
2458
2459 * regcache.c (registers_changed, registers_fetched): Use
2460 ARCH_NUM_REGS directly, eliminating an unnecessary variable.
2461
2462 This change adds pseudo-register capability to GDB.
2463 Pseudo-registers are handled like registers, but they
2464 don't come from or live on the target. They may be
2465 aliases for an existing register, or they may be computed.
e2305d34 2466 * inferior.h (NUM_PSEUDO_REGISTERS): Define default of zero.
fcdc5976
MS
2467 (ARCH_FETCH_PSEUDO_REGISTERS): Define default of no-op.
2468 (ARCH_STORE_PSEUDO_REGISTERS): Define default of no-op.
2469 # regcache.c (registers_changed): Mark pseudo-registers
2470 invalid, as well as real registers.
2471 (registers_fetched): Do not mark pseudo-registers as fetched
2472 at the same time as other (real) registers.
2473 (read_register_bytes): Fetch pseudo-registers (if any) from
2474 the target architecture module instead of from the target.
2475 (read_register_gen): Ditto.
2476 (read_register): Ditto.
2477 (write_register_bytes): Store pseudo-registers (if any) to
2478 the target architecture module instead of to the target.
2479 (write_register_gen): Ditto.
2480 (write_register): Ditto.
2481 (build_regcache): Allocate enough register_valid space for
2482 pseudo-registers as well as normal (real) ones.
1a1404f1 2483 * parse.c (target_map_name_to_register): Include pseudo-regs.
fcdc5976 2484
634acd5f
AC
2485Tue Jul 11 19:45:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
2486
2487 * valops.c (value_cast): Allow cast from INT, ENUM or RANGE to
2488 POINTER.
2489
d5b61b59
SB
24902000-07-11 Scott Bambrough <scottb@netwinder.org>
2491
2492 * command.c (do_setshow_command): Fix typo in var_auto_boolean
2493 case.
2494
acdb74a0
AC
2495Tue Jul 11 20:38:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2496
2497 * mips-tdep.c: General cleanup. Delete all #if 0 code. Convert
2498 all old style K&R function definitions to ISO-C.
2499 (struct gdbarch_tdep): Add mips_abi_string.
2500 (mips_gdbarch_init): Initialize.
2501 (mips_dump_tdep): Print mips_abi_string and other values.
2502 (mips_push_arguments): Add more detailed tracing.
2503
6c997a34
AC
2504Tue Jul 11 20:16:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
2505
2506 * mips-tdep.c (mips32_next_pc, mips16_next_pc,
2507 read_next_frame_reg, mips_push_dummy_frame, mips_skip_stub,
2508 mips_saved_pc_after_call): Use read_signed_register when
2509 extracting register value. Ensures all addresses are sign
2510 extended.
2511 (mips_read_pc): New function. Return sign extended address.
2512 (mips_gdbarch_init): Set gdbarch_read_pc.
2513
4014092b
AC
2514Tue Jul 11 19:06:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2515
2516 * remote-mips.c (mips_request): Change all arguments to ULONGEST.
2517 (mips_exit_debug, mips_resume, mips_initialize, mips_wait,
2518 mips_fetch_registers, mips_store_registers, mips_fetch_word):
2519 Update.
2520 (mips_xfer_memory): When mask_address_p, mask MEMADDR down to just
2521 32 bits.
2522 (_initialize_remote_mips): Add ``set mask-address'' command.
2523
2524 * mips-tdep.c (_initialize_mips_tdep): Replace "set mask-address"
2525 with "set mips mask-address". Implement using
2526 add_set_auto_boolean_cmd.
2527 (struct gdbarch_tdep): Add default_mask_address_p.
2528 (mips_mask_address_p, show_mask_address): New functions.
2529 (mips_addr_bits_remove): Use mips_mask_address_p() to determine if
2530 masking is needed.
2531 (mips_gdbarch_init): Set default_mask_address_p to zero.
2532 (mips_dump_tdep): Print value of mask_address_p.
2533
e2ad119d
AC
2534Tue Jul 11 18:32:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2535
2536 * printcmd.c (print_scalar_formatted): Move masking of 'a' address
2537 from here.
2538 (print_address_numeric): To here.
2539 * TODO: Update.
2540
d730266b
AC
2541Tue Jul 11 17:50:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
2542
2543 * symtab.c: Use paddr_nz() to print addresses.
2544
173155e8
AC
2545Tue Jul 11 12:52:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
2546
2547 * value.h (read_register, read_signed_register): Change return
2548 type to ULONGEST.
2549 (read_signed_register, read_signed_register_pid): Declare.
2550
2551 * regcache.c (read_register, read_register_pid): Update.
2552 (read_signed_register_pid, read_signed_register): New functions.
2553
cce41527
AC
2554Mon Jul 10 18:06:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
2555
2556 * mips-tdep.c (mips_push_arguments): Always align struct_addr on a
2557 16 byte boundary. Align allocated argument space using
2558 MIPS_STACK_ARGSIZE. Reserve space on stack for the struct return
2559 and floating-point registers. Use fp_register_arg_p to determine
2560 if float_argreg should be aligned.
2561
8db62801
EZ
25622000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2563
2564 * config/sh/tm-sh.h (STORE_RETURN_VALUE): Redefine as
2565 sh_store_return_value().
2566 * sh-tdep.c (sh_store_return_value): New function. Store the
2567 value returned by a function into the appropriate register.
2568
25692000-07-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2570
2571 * sh-tdep.c (sh_skip_prologue): Before looking at the actual
2572 instructions, try to see if the symbol table can be of help, by
2573 calling after_prologue(). If this doesn't work, call
2574 skip_prologue_hard_way().
2575 (skip_prologue_hard_way): Renamed from sh_skip_prologue. Add some
2576 more instruction pattern matching for pushing of arguments, and
2577 manipulation of r14.
2578 (after_prologue): New function. Use symbol table info to determine
2579 the end of the prologue, if possible.
2580
32178cab
MS
25812000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>
2582
2583 * findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp,
2584 generic_target_write_fp, generic_target_read_fp, write_sp, read_sp,
2585 generic_target_write_sp, generic_target_read_sp, write_pc, read_pc,
2586 generic_target_write_pc, generic_target_read_pc, write_pc_pid,
2587 read_pc_pid, supply_register, write_register_pid, write_register,
2588 read_register_pid, read_register, write_register_bytes,
2589 read_register_bytes, write_register_gen, read_register_gen,
2590 registers_fetched, registers_changed, find_saved_register,
2591 read_relative_register_raw_bytes, default_get_saved_register,
2592 read_relative_register_raw_bytes_for_frame, get_saved_register):
2593 Move from this file into new file regcache.c.
2594 (register_valid, registers_pid, registers): Ditto.
2595 * regcache.c: New file to hold the register cache.
2596 (register_cached): New function to read register_valid array.
2597 * value.h (register_cached): Declare.
2598 * defs.h (default_get_saved_register): Delete decl of static function.
2599 * Makefile.in: Add regcache module.
2600
8ce17b9a
AC
2601Mon Jul 10 15:02:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
2602
2603 From 2000-07-05 Pierre Muller <muller@ics.u-strasbg.fr>:
2604 * p-typeprint.c (pascal_type_print_method_args): Add braces around
2605 isdigit after while keyword.
2606
c3b6c27c
EZ
26072000-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2608
2609 * TODO: Remove readline 4.1 import item.
2610
6b1ba9a0
ND
26112000-07-09 Nick Duffek <nsd@redhat.com>
2612
2613 * gdbtypes.c (is_ancestor): Infer type equivalence from name
2614 equivalence.
2615 (rank_one_type): Use strcmp instead of == to compare type names.
2616 Don't swap parm with arg when checking TYPE_CODE_REF types.
2617 * valops.c (find_overload_match): Fix indentation. Compare
2618 parameter rankings to 0..9, 10..99, and 100+ instead of 0, 10,
2619 and 100.
2620
470d5666
ND
26212000-07-07 David Edelsohn <edelsohn@gnu.org>
2622
2623 * xcoffread.c (read_symbol_nvalue): Return CORE_ADDR.
2624 * rs6000-tdep.c (rs6000_pop_frame): Make addr CORE_ADDR type.
2625
f7b9e9fc
AC
2626Fri Jul 7 18:29:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
2627
2628 * config/mips/tm-mips.h (IEEE_FLOAT, SKIP_PROLOGUE,
2629 SAVED_PC_AFTER_CALL, DECR_PC_AFTER_BREAK, BREAKPOINT_FROM_PC,
2630 INNER_THAN): Macros.
2631
2632 * mips-tdep.c (mips_in_lenient_prologue): Delete function.
2633 (mips32_skip_prologue, mips16_skip_prologue, mips_skip_prologue):
2634 Remove ``lenient'' argument.
2635 (mips_saved_pc_after_call): New function.
2636 (mips_gdbarch_init): Initialize gdbarch members inner_than,
2637 breakpoint_from_pc, decr_pc_after_break, ieee_float,
2638 skip_prologue, saved_pc_after_call.
2639
a48bb0b3
MK
26402000-07-07 Mark Kettenis <kettenis@gnu.org>
2641
f19ebbbc
MK
2642 * config/i386/tm-linux.h: Add longjmp support.
2643 (JB_ELEMENT_SIZE, JB_PC): New defines.
2644 (GET_LONGJMP_TARGET): Define.
2645 (get_longjmp_target): Add prototype.
2646
a48bb0b3
MK
2647 * breakpoint.c (bpstat_what): Keep returning
2648 BPSTAT_WHAT_SET_LONGJMP_RESUME when hitting multiple longjmp()
2649 breakpoints instead of signalling an error by returning
2650 BPSTAT_WHAT_STOP_NOISY.
2651
65c11066
MS
26522000-07-06 Michael Snyder <msnyder@cleaver.cygnus.com>
2653
2654 * mips-tdep.c: Replace '16' with bfd_mach_mips16 where appropriate.
2655
00373e55
CF
26562000-07-06 Christopher Faylor <cgf@cygnus.com>
2657
2658 * infcmd.c (attach_command): Move "stop_soon_quietly" setting
2659 inside ATTACH_NO_WAIT conditional since we are not about to
2660 stop soon if we're not calling wait_for_inferior.
2661
90f59aca
AC
2662Wed Jul 5 21:06:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
2663
2664 * config/i386/fbsd.mh (NATDEPFILES): Keep NATDEPFILES to a single
2665 line. configure.in assumes this.
2666
95cbc983
AC
2667Wed Jul 5 20:48:22 2000 Andrew Cagney <cagney@b1.cygnus.com>
2668
2669 * configure.in (SER_HARDWIRE): When go32 or DJGPP, set to
2670 ser-go32.c.
2671 * configure: Re-generate.
2672
e2273c6d
AC
2673Wed Jul 5 20:28:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
2674
2675 * top.h (command_loop_marker), top.c (command_loop_marker):
2676 Delete.
2677 * event-top.c (command_handler), top.c (simplified_command_loop,
2678 command_loop): Use null_cleanup instead of command_loop_marker.
2679
409a3f64
AC
2680Wed Jul 5 20:09:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
2681
2682 * event-loop.c: Include either <poll.h> or <sys/poll.h>.
2683
2684 * configure.in (targ_archs): Check for <poll.h> and <sys/poll.h>.
2685 * configure, config.in: Re-generate.
2686
a5cb8284
AC
2687Wed Jul 5 18:10:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
2688
2689 From 2000-06-12 Bill Nottingham <notting@redhat.com>:
2690 * Makefile.in: add $(infodir) to FLAGS_TO_PASS
2691
5d35f0ac
AC
2692Wed Jul 5 18:03:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
2693
2694 * TODO: Updates.
2695
37d4dc74
MK
26962000-07-05 Mark Kettenis <kettenis@gnu.org>
2697
2698 * TODO: Update.
2699
2bfa91ee
EZ
27002000-07-03 Chris Faylor <cfg@cygnus.com>
2701
2702 Committed by Elena Zannoni <ezannoni@cygnus.com>
2703 * sh-tdep.c (sh_skip_prologue): Change prologue matching for modern
2704 compilers.
2705 (sh_frame_find_saved_regs): Ditto.
2706 (sh_find_callers_reg): Stop if pc is zero.
2707
9e294fb8
AC
2708Sat Jul 1 17:47:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
2709
2710 * ser-unix.c (do_unix_readchar): Revert Tue Mar 28 18:19:50 2000
2711 Andrew Cagney <cagney@b1.cygnus.com>. Locks up when no data is
2712 pending.
2713
45f9696a
AC
2714Sat Jul 1 15:40:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
2715
2716 * Makefile.in (SER_HARDWIRE): Restore code to set it by configure.
2717
1b2a2f90
KB
27182000-06-26 Kevin Buettner <kevinb@redhat.com>
2719
2720 * copying.awk: Eliminate use of PARAMS from this file.
2721
566f0f7a
AC
2722Fri Jun 23 20:47:03 2000 Andrew Cagney <cagney@b1.cygnus.com>
2723
2724 * mips-tdep.c (mips_push_arguments): Use the variable stack_used_p
2725 to determine if any arguments were written to the stack. Do not
2726 rely on NUMARG>=8.
2727
97c3646f
AC
2728Mon Jun 19 11:29:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
2729
2730 * command.h (add_set_auto_boolean_cmd): Add declaration.
2731 (enum var_types): Add var_auto_boolean.
2732
2733 * command.c (add_set_auto_boolean_cmd): New function.
e8b1d411 2734 (do_setshow_command): Recognize auto_boolean.
97c3646f
AC
2735 (parse_binary_operation): Recognize enable and disable.
2736 (parse_auto_binary_operation): Parse auto binary variables.
2737
2738 * TODO: Update
2739
f09ded24
AC
2740Fri Jun 23 16:20:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
2741
2742 * mips-tdep.c (fp_register_arg_p): New function.
2743 (mips_push_arguments): Use. Do not pass floating point arguments
2744 on in an integer register.
2745
c6fd39cd 27462000-06-21 Pierre Muller <muller@ics.u-strasbg.fr>
811abf80 2747
6b2463a3
PM
2748 * symfile.c (init_filename_language_table): add ".pas", ".p" and ".pp"
2749 as pascal source file extensions.
c6fd39cd 2750
8c9cdfe8
C
27512000-06-19 J.T. Conklin <jtc@redback.com>
2752
2753 * remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
2754 (nindy_xfer_inferior_memory): Use dcache_xfer_memory() instead of
2755 breaking transfer into chunks and using nindy_fetch_word() and
2756 nindy_store_word().
2757
2758 * remote-bug.c (bug_xfer_memory): Use dcache_xfer_memory() instead
2759 of breaking transfer into chunks and using gr_fetch_word() and
2760 gr_store_word().
2761
2762 * remote.c (remote_fetch_word, remote_store_word): Removed.
2763
2764 * remote-utils.h (gr_fetch_word, gr_store_word): Removed.
2765 * remote-utils.c (gr_fetch_word, gr_store_word): Removed.
2766
2767 * dcache.h (dcache_fetch, dcache_poke, dcache_poke_block): Removed.
2768 * dcache.c (dcache_fetch, dcache_poke): Removed.
2769
750ba382
PM
27702000-06-16 Pierre Muller <muller@ics.u-strasbg.fr>
2771
2772 * defs.h: define language_pascal in language enumeration.
2773 * language.h: define _LANG_pascal macro.
2774 * language.c: add language_pascal support in all language dependant
2775 functions.
2776
9ace0497
AC
2777Sun Jun 18 01:01:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
2778
2779 * mips-tdep.c (mips_debug): New variable.
2780 (_initialize_mips_tdep): Add command "set debug mips".
2781 (mips_push_arguments): Add code to dump the argument list as it is
2782 created.
2783
9a0149c6
AC
2784Sun Jun 18 00:27:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
2785
2786 * mips-tdep.c (mips_push_arguments): For MIPS_EABI, squeeze a
2787 strut containing a floating-point into an FP register.
2788
59d521c1
AC
2789Sat Jun 17 16:00:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
2790
2791 * remote-mips.c: Include <ctype.h>
2792 (mips_receive_header): Write printable characters to gdb_stdtarg
2793 instead of gdb_stdlog. Only count non-printables as invalid.
2794 (mips_syn_garbage): Reduce to 10.
2795
4a7f7ba8
AC
2796Sat Jun 17 15:39:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
2797
2798 * mips-tdep.c (mips_gdbarch_init): When the object file header
2799 specifies EABI64, select EABI64 and not EABI32.
2800
7a78ae4e
ND
28012000-06-16 Nicholas Duffek <nsd@redhat.com>
2802
2803 * rs6000-tdep.c: Changes throughout for multi-arch 64-bit
2804 support. Incorporate most of tm-rs6000.h.
2805 (find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
2806 (rs6000_set_host_arch_hook): Declare.
2807 (read_memory_addr): Define.
2808 (pop_frame): Rename to rs6000_pop_frame.
2809 (rs6000_pop_frame, rs6000_fix_call_dummy, rs6000_push_arguments,
2810 rs6000_frame_saved_pc, rs6000_frame_chain): Remove non-generic
2811 dummy frame handling.
2812 (branch_dest, rs6000_pop_frame, rs6000_skip_trampoline_code,
2813 rs6000_frame_saved_pc, frame_get_saved_regs,
2814 frame_initial_stack_address, rs6000_frame_chain,
2815 rs6000_convert_from_func_ptr_addr): Call read_memory_addr instead
2816 of read_memory_integer.
2817 (branch_dest, rs6000_pop_frame, rs6000_push_arguments,
2818 rs6000_skip_trampoline_code, rs6000_frame_saved_pc,
2819 frame_get_saved_regs, frame_initial_stack_address,
2820 rs6000_frame_chain): Replace 4 with TDEP->wordsize.
2821 (skip_prologue): Recognize some 64-bit stack adjustments.
2822 (push_dummy_frame, pop_dummy_frame, set_processor,
2823 show_processor): Delete.
2824 (frame_get_saved_regs): Manipulate saved register addresses using
2825 CORE_ADDR instead of int.
2826 (rs6000_create_inferior): New function.
2827 (register_names_*[]): Change to struct reg registers_*[].
2828 (variants[]): Assimilate into multi-arch approach.
2829 (register_names_*[], variants[]): Refer to pre-PowerPC
2830 architectures as POWER instead of RS6000.
2831 * rs6000-nat.c: Ubiquitous changes for 64-bit support.
2832 (vmap_secs, xcoff_relocate_symtab): Cast addresses
2833 to unsigned long to avoid sign-extension errors.
2834 (set_host_arch): New function.
2835 (xcoff_relocate_symtab): Try disabling usleep(36000) workaround.
2836 (rs6000_core_fns): Use new bfd_target_xcoff_flavour.
2837 (_initialize_core_rs6000): Initialize rs6000_set_host_arch_hook.
2838 * symfile.c (find_sym_fns): Remove special xcoff kludge.
2839 * xcoffread.c (secnum_to_bfd_section): Initialize args.objfile.
2840 (process_linenos): Query line struct size from coff
2841 backend instead of using compile-time constant.
2842 (enter_line_range): Likewise.
2843 (read_xcoff_symtab): Pass "XCOFF64" instead of "XCOFF" to
2844 record_debugformat() if appropriate.
2845 (process_xcoff_symbol): Access symbol addresses using
2846 SYMBOL_VALUE_ADDRESS instead of SYMBOL_VALUE.
2847 (read_symbol_lineno): Retrieve XCOFF64 symbol names from strtbl.
2848 (scan_xcoff_symtab): Likewise. Query syment struct size from
2849 coff backend instead of using compile-time constant.
2850 (xcoff_sym_fns): Set flavour to bfd_target_xcoff_flavour.
2851 * Makefile.in (INTERNAL_LDFLAGS): Add $(MH_LDFLAGS) to list of flags
2852 that this Makefile variable get set to. (From Kevin Buettner.)
2853 * config/powerpc/aix.mh (MH_LDFLAGS): Add linker flags so that
2854 the TOC doesn't overflow. (From Kevin Buettner.)
2855 * config/powerpc/tm-ppc-aix.h: Move config decisions to
2856 multi-arched rs6000-tdep.c.
2857 * config/rs6000/tm-rs6000.h: Likewise.
2858 (GDB_MULTI_ARCH): Define.
2859 (skip_trampoline_code): Rename to rs6000_skip_trampoline_code.
2860 (is_magic_function_pointer): Replace with
2861 rs6000_convert_from_func_ptr_addr.
2862 (TARGET_CREATE_INFERIOR_HOOK): Define.
2863 (find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
2864 (rs6000_set_host_arch_hook): Declare.
2865 * config/rs6000/nm-rs6000.h (CHILD_XFER_MEMORY): Define.
2866
ac1d1083
KB
28672000-06-15 Kevin Buettner <kevinb@redhat.com>
2868
2869 * v850ice.c: Eliminate use of PARAMS from this file.
2870
cbfbd72a 28712000-06-15 Michael Snyder <msnyder@cygnus.com>
716c501e
MS
2872
2873 * valops.c (value_cast): Break up long lines.
cbfbd72a 2874 * utils.c: Fix comment typo.
716c501e 2875
5f8e8eb6
JB
28762000-06-14 Jim Blandy <jimb@redhat.com>
2877
2878 * dwarf2read.c (dump_die): Use the proper printf format for
2879 printing DW_UNSND values; they're longs now.
2880
2881 * dwarf2read.c (dump_die): We can read DW_FORM_data8 now, on
2882 at least some platforms, so print it out too.
2883
28842000-06-14 James E. Wilson <wilson@bletchleypark.cygnus.com>
2885
2886 * dwarf2read.c (struct attribute): Change unsnd and snd field types
2887 to long.
2888 (read_8_bytes): Change return type to long.
2889 (read_unsigned_leb128): Change return type to long. Change type of
2890 local result to long. Cast argument of left shift to long.
2891 (read_signed_leb128): Likewise.
2892
373a8247
PM
28932000-06-14 Pierre Muller <muller@ics.u-strasbg.fr>
2894
2895 Add support for Pascal language. Part 1: new files.
2896 * p-exp.y, p-lang.c, p-lang.h, p-typeprint.c, p-valprint.c: New files.
2897
b37bcaa8
KB
28982000-06-13 Kevin Buettner <kevinb@redhat.com>
2899
2900 * ser-ocd.c, symtab.c: Eliminate use of PARAMS from these files.
2901
5ec846f9
JL
2902Tue Jun 13 09:21:23 2000 Jeffrey A Law (law@cygnus.com)
2903
2904 * configure.host (hppa*64*): Renamed from hppa2.0w per
2905 gcc/binutils changes.
2906 * configure.tgt: Similarly.
2907
9ac12c35
KB
29082000-06-12 Bill Nottingham <notting@redhat.com>
2909
2910 Patch applied by Kevin Buettner <kevinb@redhat.com>:
2911
2912 * ia64-linux-nat.c, gdbserver/low-linux.c (u_offsets): PT_CR_IFS
2913 is deprecated. Use PT_CFM instead.
2914
cbfbd72a 29152000-06-12 Michael Snyder <msnyder@cygnus.com>
2c8f79c2
MS
2916
2917 * breakpoint.c (breakpoint_thread_match): Fix comment.
2918
8903de4f
FN
29192000-06-12 Fernando Nasser <fnasser@cygnus.com>
2920
2921 * valops.c (value_assign): Adjust the length to take into
2922 consideration that we are not starting from the beginning.
2923
34e924c0
EZ
29242000-06-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2925
2926 * symfile.c (add_symbol_file_command): Properly reformat "else if"
2927 code.
2928 * coffread.c (coff_symtab_read): Ditto.
2929
aff38e61
AC
2930Mon Jun 12 15:24:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
2931
2932 * Makefile.in (SER_HARDWIRE): Set using autoconf.
2933 * configure.in (SER_HARDWIRE): Define, add ser-tcp.o.
2934 * configure: Re-generate.
2935
2936 * config/i386/go32.mh (SER_HARDWIRE): Delete. Handled by
2937 configure.in.
2938 * config/sparc/sun4sol2.mh, config/sparc/sun4os4.mh,
2939 config/sparc/sparclynx.mh, config/sparc/nbsdelf.mh,
2940 config/sparc/nbsd.mh, config/sparc/linux.mh,
2941 config/rs6000/rs6000lynx.mh, config/powerpc/solaris.mh,
2942 config/powerpc/nbsd.mh, config/powerpc/linux.mh,
2943 config/powerpc/cygwin.mh, config/pa/hpux11w.mh,
2944 config/pa/hpux11.mh, config/pa/hpux1020.mh, config/pa/hppaosf.mh,
2945 config/pa/hppahpux.mh, config/pa/hppabsd.mh, config/ns32k/nbsd.mh,
2946 config/mips/irix5.mh, config/mips/irix4.mh, config/m68k/nbsd.mh,
2947 config/m68k/m68klynx.mh, config/m68k/linux.mh,
2948 config/i386/nbsdelf.mh, config/i386/nbsd.mh, config/i386/linux.mh,
2949 config/i386/i386sco5.mh, config/i386/i386lynx.mh,
2950 config/i386/i386dgux.mh, config/i386/fbsd.mh,
2951 config/i386/cygwin.mh, config/arm/linux.mh, config/alpha/fbsd.mh,
2952 config/alpha/alpha-osf3.mh, config/alpha/alpha-linux.mh: Remove
2953 ser-tcp.o from XDEPFILES.
80b756a0 2954 * config/ia64/linux.mh: Ditto.
aff38e61 2955
d63c0053
AC
2956 * TODO: Update.
2957
5213ab06
AC
2958Mon Jun 12 14:26:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
2959
2960 * mips-tdep.c (GDB_TARGET_IS_MIPS64): Define.
2961 (struct gdbarch_tdep): Add gdb_target_is_mips64.
2962 (mips_addr_bits_remove): Update.
2963 (mips_gdbarch_init): Initialize.
2964
2965 * config/mips/tm-mips64.h (GDB_TARGET_IS_MIPS64,
2966 GDB_TARGET_IS_MIPS64): Delete.
2967
2475bac3
AC
2968Mon Jun 12 12:17:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
2969
2970 * mips-tdep.c: Include "symcat.h".
2971 (mips_dump_tdep): Print all known but not yet multi-arched values.
2972
a7769679
MK
29732000-06-12 Mark Kettenis <kettenis@gnu.org>
2974
2975 * config/i386/tm-i386.h: Add forward declaration of `struct value'.
2976 (FIX_CALL_DUMMY): Redefined to call i386_fix_call_dummy.
2977 (i386_fix_call_dummy): Add prototype.
2978 * i386-tdep.c (i386_fix_call_dummy): New function based on the
2979 code from the old FIX_CALL_DUMMY macro.
2980
8ab86381
KB
29812000-06-12 Kevin Buettner <kevinb@redhat.com>
2982
2983 * procfs.c, remote.c: Eliminate use of PARAMS from these files.
2984
63e69063
AC
2985Mon Jun 12 10:21:24 2000 Andrew Cagney <cagney@b1.cygnus.com>
2986
2987 * gdbarch.sh (gdbarch_dump): When non multi-arch skip macros that
2988 return void.
2989
cfc3008e
CF
2990Sun Jun 11 12:06:21 2000 Christopher Faylor <cgf@cygnus.com>
2991
2992 * exec.c (exec_file_attach): Add .exe extension when __CYGWIN__.
2993
7c5c87c0
CF
2994Sat Jun 10 22:31:46 2000 Christopher Faylor <cgf@cygnus.com>
2995
2996 * win32-nat.c (safe_symbol_file_add_args): Store old gdb_stderr and
2997 gdb_stdout here.
2998 (safe_symbol_file_add_stub): Redirect gdb_stdout as well as stderr.
2999 (safe_symbol_file_add_cleanup): Restore gdb_stdout.
3000 (info_dll_command): Use the pager for displaying DLLs since there are
3001 often quite a few.
3002
5c8cc331
AC
3003Sun Jun 11 11:34:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3004
3005 From Sat Jun 10 17:54:04 2000 Hans-Peter Nilsson <hp@axis.com>:
3006 * configure.in (targ_archs): Clear out secondary components.
3007 * configure: Regenerate.
3008
4b9b3959
AC
3009Fri Jun 9 15:06:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3010
3011 * gdbarch.sh (struct gdbarch): Add member dump_tdep.
3012 (struct gdbarch_registration): Ditto.
3013 (gdbarch_dump): Add ui_file and gdbarch arguments. Add support
3014 for external dump functions. Dump the macro value. Call target
3015 dump routine.
3016 (gdbarch_register): New function.
3017 (gdbarch_registrary): Replace gdbarch_init_registrary.
3018 * gdbarch.h, gdbarch.c: Re-generate.
3019 * arch-utils.c (set_arch): Update.
3020
3021 * mips-tdep.c (mips_dump_tdep): New function. Move dump code here.
3022 (mips_gdbarch_init): From here.
3023
3024 * maint.c (maintenance_print_architecture): New function.
3025 (_initialize_maint_cmds): Add command ``maintenance print
3026 architecture''.
3027
dee8b1a1
KB
30282000-06-08 Kevin Buettner <kevinb@redhat.com>
3029
3030 * command.h, monitor.h: Eliminate use of PARAMS from these
3031 files.
3032
4acafb86
FN
30332000-06-08 Fernando Nasser <fnasser@cygnus.com>
3034
3035 * config/i386/tm-embed.h: New file. Specific for embedded targets
3036 like i386-elf, i386-coff and i386-aout.
3037 * config/i386/embed.mt (): Specify tm-embed.h instead of the System V
3038 header file.
3039
cddf6049
FN
30402000-06-08 Fernando Nasser <fnasser@cygnus.com>
3041
3042 * MAINTAINERS: Add myself to gdbtk list.
3043
364693ab
KB
30442000-06-08 Kevin Buettner <kevinb@redhat.com>
3045
3046 * config/ia64/nm-linux.h (U_REGS_OFFSET): Define.
3047
ce844ae2
FN
30482000-06-08 Fernando Nasser <fnasser@cygnus.com>
3049
3050 * configure.in: Replace misplaced CONFIG_ADD by the correct
3051 CONFIG_CLEAN.
3052 * configure, config.in: Regenerate.
3053
a88c1392
FN
30542000-06-08 Fernando Nasser <fnasser@cygnus.com>
3055
3056 * values.c (value_primitive_field): Copy VALUE_REGNO as well.
3057 With typed registers we may have the location information in this field,
3058 in addition to VALUE_ADDRESS (which was already being copied).
3059
bf64bfd6
AC
3060Thu Jun 8 15:26:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
3061
3062 * config/mips/tm-mips.h (GDB_MULTI_ARCH): Define as 1.
3063 (CALL_DUMMY, TARGET_BYTE_ORDER_SELECTABLE_P,
3064 COERCE_FLOAT_TO_DOUBLE): Delete.
3065 * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h,
3066 config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h,
3067 config/mips/tm-vr4100.h, config/mips/tm-tx39l.h
3068 config/mips/tm-tx39.h, config/mips/tm-irix5.h: Delete
3069 GDB_MULTI_ARCH.
3070
3071 * config/mips/tm-mips64.h (TARGET_LONG_BIT, TARGET_LONG_LONG_BIT,
3072 TARGET_PTR_BIT): Delete definitions.
3073 * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h,
3074 config/mips/tm-tx39l.h, config/mips/tm-vr4100.h,
3075 config/mips/tm-tx39.h: Delete definition of MIPS_EABI.
3076 * mips-tdep.c (mips_gdbarch_init): Use the ISA to determine the
3077 ABI. If all else fails, assume O32.
3078
3079 * TODO, NEWS: Update. Mention MIPS is multi-arch.
3080
b0069a17
AC
3081Thu Jun 8 14:23:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
3082
3083 * config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h,
3084 config/mips/tm-vr4100.h, config/mips/tm-tx39l.h,
3085 config/mips/tm-tx39.h: Delete definition of
bf64bfd6 3086 MIPS_DEFAULT_FPU_TYPE. Enable multi-arch.
b0069a17 3087 * mips-tdep.c: (mips_gdbarch_init): The bfd_mach_mips3900 has no
bf64bfd6
AC
3088 FPU. bfd_mach_mips4650 FPU is single precision.
3089
b0069a17
AC
3090 * config/mips/tm-mips.h (MIPS_FPU_SINGLE_REGSIZE):
3091 (MIPS_FPU_DOUBLE_REGSIZE): Move from here.
3092 * mips-tdep.c: To here. Change to an enum.
3093
1ba607ad
AC
3094Wed Jun 7 18:27:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
3095
3096 * configure.in (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Use config.bfd
3097 to determine the default architecture / target.
3098 * acconfig (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Add.
3099 * configure, config.in: Regenerate.
3100
3101 * arch-utils.c (set_endian): Better separate multi-arch and non-
3102 multi-arch cases.
3103 (set_endian_from_file): Call internal_error when multi-arch.
3104 (initialize_current_architecture): Rewrite logic selecting a byte
3105 order. Use DEFAULT_BFD_ARCH DEFAULT_BFD_VEC.
3106 (version.h): Include.
3107
3108 * config/mips/tm-mips.h, config/mips/tm-bigmips64.h,
3109 config/mips/tm-bigmips.h: Delete definition of
3110 TARGET_BYTE_ORDER_DEFAULT.
3111
e28d556f
AC
3112Thu Jun 8 11:41:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
3113
3114 * infrun.c (follow_inferior_fork): Bad merge from below. Compare
3115 strings using follow_fork_mode_ask and not "ask".
3116
53904c9e
AC
3117Wed Jun 7 15:13:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
3118
3119 * command.h (add_set_enum_cmd): Make ``enumlist'' and ``var''
3120 constant char pointers.
3121 (complete_on_enum): Change ``enumlist'' to a constant char
3122 pointer.
3123 (struct cmd_list_element): Ditto for member ``enums''.
3124 * command.c (complete_on_enum, add_set_enum_cmd,
3125 do_setshow_command): Update.
3126
3127 * infrun.c (follow_fork_mode_ask, follow_fork_mode_parent,
3128 follow_fork_mode_both, follow_fork_mode_child): New. Use to
3129 construct the follow_fork_mode_kind_names.
3130 (set_follow_fork_mode_command): Delete function.
3131 (_initialize_infrun): Update.
3132 (follow_inferior_fork): Do not strdup follow_fork_mode_string.
3133 Use follow_fork_mode_* variables directly instead. Call
3134 internal_error instead of error when unimplemented "ask" mode.
3135
3136 * infrun.c (scheduler_enums, scheduler_mode, schedlock_off,
3137 schedlock_on, schedlock_step): Update.
3138 * serial.c (serial_logbase, logbase_hex, logbase_octal,
3139 logbase_ascii, logbase_enums): Update.
3140 * remote.c (packet_support_enums, packet_support_auto,
3141 packet_enable, packet_disable, struct packet_config): Update.
3142 * arch-utils.c (initialize_current_architecture,
3143 set_architecture_string): Update.
3144 (endian_big, endian_little, endian_auto, endian_enum,
3145 set_endian_string): Update.
3146 * i386-tdep.c (valid_flavors, att_flavor, intel_flavor,
3147 disassembly_flavor): Update.
3148 * mips-tdep.c (size_enums, size_64, size_32, size_auto,
3149 mips_stack_argsize_string, mips_saved_regsize_string): Update.
3150 * arm-tdep.c (disassembly_flavor, valid_flavors): Update.
3151 (_initialize_arm_tdep): Ditto.
3152
3153 * TODO: Update.
3154
6ecce94d
AC
3155Mon Jun 5 18:44:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
3156
3157 * thread.c (make_cleanup_restore_current_thread,
3158 do_restore_current_thread_cleanup): New functions.
3159 (thread_apply_all_command, thread_apply_command): Use. Call
3160 do_cleanups when finished.
3161
3162 * defs.h (make_cleanup_func): Delete typedef.
3163 * TODO: Update.
3164
b4a20239
AC
3165Wed Jun 7 11:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
3166
3167 * arch-utils.c (target_byte_order, target_byte_order_auto,
3168 show_endian, set_endian, set_endian_big, set_endian_little,
3169 set_endian_auto, set_endian_from_file, enum set_arch,
3170 target_architecture_auto, set_architecture_string,
3171 target_architecture_hook, target_architecture, arch_ok, set_arch,
3172 set_architecture_from_arch_mach, set_architecture_from_file,
3173 show_architecture, set_architecture, info_architecture,
3174 set_gdbarch_from_file, initialize_current_architecture): Copy from
3175 gdbarch.c. Rewrite ``set architecture'' and ``set endian''
3176 commands to use enums.
3177 (_initialize_gdbarch_utils): Fix name.
3178 * arch-utils.h (set_architecture_from_arch_mach,
3179 target_architecture_hook): Copy from gdbarch.h.
3180 * gdbarch.sh: Update.
3181 * gdbarch.h, gdbarch.c: Re-generate.
3182
3183 * TODO: Update.
3184
3185 * v850-tdep.c, sh3-rom.c, sh-tdep.c, i386-tdep.c: Include
3186 "arch-utils.h".
3187 * Makefile.in (v850-tdep.o): Specify dependencies.
3188 (i386-tdep.o, sh3-rom.o, sh-tdep.o): Add arch-utils.h to
3189 dependency list.
3190
cbfbd72a 31912000-06-06 Michael Snyder <msnyder@cygnus.com>
3e0bf9f1
MS
3192
3193 * configure.in: Enable autoconf to find curses.h on Solaris 2.8.
3194 * configure: Regenerate.
3195
aa891095
AC
3196Tue Jun 6 21:14:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
3197
3198 * command.c (do_setshow_command): Accept an enum option immediatly
3199 when it is an exact match.
3200
69c49926
AC
3201Tue Jun 6 16:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3202
3203 * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h,
3204 config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h,
3205 config/mips/tm-vr4300el.h, config/mips/tm-vr4100.h,
3206 config/mips/tm-vr4300.h, config/mips/tm-tx39l.h,
3207 config/mips/tm-tx39.h, config/mips/tm-embedl64.h,
3208 config/mips/tm-embedl.h, config/mips/tm-embed64.h,
3209 config/mips/tm-embed.h: Delete TARGET_BYTE_ORDER_SELECTABLE_P.
3210
3211 * tm-mips.h (TARGET_BYTE_ORDER_SELECTABLE_P): Define as 1.
3212
193e3b1a
AC
3213Tue Jun 6 16:21:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
3214
3215 * gdbarch.sh (generic_register_convertible_not,
3216 frame_num_args_unknown): Move from here.
3217 * arch-utils.c (generic_register_convertible_not,
3218 frame_num_args_unknown): To here.
3219 * arch-utils.h (frame_num_args_unknown): Add declaration.
3220 * gdbarch.h, gdbarch.c: Re-generate.
3221
ef31c1ea
AC
3222Tue Jun 6 15:07:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
3223
3224 * remote-mips.c (mips_open): Select the default monitor prompt
3225 based on the target ISA.
3226
3227 * config/mips/tm-vr4100.h (TARGET_MONITOR_PROMPT),
3228 config/mips/tm-vr4300el.h (TARGET_MONITOR_PROMPT),
3229 config/mips/tm-vr4300.h (TARGET_MONITOR_PROMPT),
3230 config/mips/tm-vr4xxx.h (TARGET_MONITOR_PROMPT),
3231 config/mips/tm-vr4xxxel.h (TARGET_MONITOR_PROMPT),
3232 config/mips/tm-vr5000el.h (TARGET_MONITOR_PROMPT),
3233 config/mips/tm-vr5000.h (TARGET_MONITOR_PROMPT),
3234 config/mips/tm-mips.h (TARGET_MONITOR_PROMPT): Delete macro.
3235
357e46e7
DB
32362000-06-05 Daniel Berlin <dan@cgsoftware.com>
3237
3238 * c-exp.y (yylex): template handling fixes.
3239
32402000-06-03 Daniel Berlin <dan@cgsoftware.com>
3241
b9d836b6
DB
3242 * symtab.h (VTBL_PREFIX_P): Add newer g++ vtbl prefix to prefix
3243 list.
357e46e7 3244
b9d836b6
DB
3245 * symtab.c (lookup_partial_symbol): Change to stop forcing linear
3246 searches on C++ when we fail the binary search, by doing the
3247 binary search right.
357e46e7
DB
3248
32492000-05-30 Daniel Berlin <dan@cgsoftware.com>
3250
3251 * buildsym.c (hashname): Change to use hash function from bcache.c/.h
3252
3253 * bcache.c (hash): Change to newer hash function.
3254
3255 * bcache.h (hash): Prototype for hash function
3256
3257 * dwarf2read.c (TYPE_HASH_SIZE): New define for controlling size
3258 of type hash.
3259 (dwarf2_cached_types): New variable that is the cached types.
3260 (tag_type_to_type): Do the actual caching of types here.
3261
422ea4b8
MK
32622000-06-05 Mark Kettenis <kettenis@gnu.org>
3263
3264 * acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):
3265 Renamed from HAVE_R_FS.
3266 (HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS.
3267 * configure, config.in: Regenerated.
3268
26099b4a
AC
3269Sun Jun 4 14:00:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
3270
3271 * TODO: Update. Mention GNU/Linux/SPARC problems.
3272
ac2e2ef7
AC
3273Wed May 31 21:41:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3274
3275 * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Change buf
3276 to a void pointer. Update initial values.
3277 * gdbarch.h, gdbarch.c: Re-generate.
3278
3279 * findvar.c (address_to_signed_pointer,
3280 signed_pointer_to_address): New functions.
3281 * inferior.h (signed_pointer_to_address,
3282 signed_address_to_pointer): Declare.
3283
3284 * inferior.h, findvar.c (unsigned_pointer_to_address,
3285 address_to_unsigned_pointer): Rename generic_address_to_pointer
3286 and generic_pointer_to_address. Update signatures to match
3287 gdbarch changes.
3288
3289 * config/mips/tm-mips.h (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER):
3290 Define. MIPS has signed pointers.
3291
3292 * defs.h, utils.c (host_pointer_to_address,
3293 address_to_host_pointer): New functions.
3294 * irix5-nat.c (next_link_map_member, first_link_map_member),
3295 procfs.c (proc_set_watchpoint, proc_iterate_over_mappings): Use.
3296
3297 * irix5-nat.c (solib_map_sections, symbol_add_stub): Change
3298 function signature to match catch_errors_ftype.
3299
3300 * TODO: Update. GDB builds using the IRIX native compiler.
3301
8e6a3c35
AC
3302Sat Jun 3 20:43:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
3303
3304 * defs.h (strsignal, safe_strsignal): Delete declarations.
3305 * utils.c (safe_strsignal): Delete.
3306 * corelow.c (core_open): Replace save_strsignal with
3307 target_signal_to_string + target_signal_from_host.
3308 * TODO: Document problems with target_signal_from_host.
3309
507f3c78
KB
33102000-06-03 Kevin Buettner <kevinb@redhat.com>
3311
3312 * annotate.c, annotate.h, breakpoint.c, command.c, command.h,
3313 config/rs6000/tm-rs6000.h, corefile.c, d10v-tdep.c,
3314 d30v-tdep.c, dbxread.c, dcache.c, dcache.h, dsrec.c,
3315 dve3900-rom.c, exec.c, fork-child.c, gdbcore.h, hpux-thread.c,
3316 language.h, linux-thread.c, mdebugread.c, monitor.h, ocd.c,
3317 procfs.c, ptx4-nat.c, remote-sim.c, remote-utils.h, remote.c,
3318 rs6000-tdep.c, ser-ocd.c, sol-thread.c, sparcl-tdep.c,
3319 stabsread.h, stack.c, symfile.c, symfile.h, symtab.h,
3320 target.c, target.h, top.c, tracepoint.c, tracepoint.h,
3321 tui/tui.h, tui/tuiIO.c, utils.c, v850ice.c, varobj.c,
3322 win32-nat.c, wince.c, xcoffsolib.c, xcoffsolib.h: Eliminate
3323 PARAMS from function pointer declarations.
3324
450005e7
CF
33252000-06-03 Christopher Faylor <cgf@cygnus.com>
3326
3327 * win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is
3328 flushed before deleting and restoring it.
3329 (safe_symbol_file_add): Ensure that gdb_stderr is flushed before
3330 reassigning it.
3331 (handle_load_dll): Split into two functions so that WFI can handle
3332 shared library events.
3333 (child_solib_loaded_library_pathname): New function.
3334 (child_clear_solibs): New function. Clears shared library list.
3335 (child_solib_add): New function. Adds shared library symbols.
3336 (dll_symbol_command): New function. Handles "dll-symbol" command.
3337 (info_dll_command): New function. Handles info
3338 "sharedlibrary" command.
3339 (handle_exceptions): Eliminate 'ignore_trap' argument.
3340 (get_child_debug_event): Eliminate two arguments. Return "pid" when
3341 appropriate. Break out on most events to allow WFI to handle stuff.
3342 (child_wait): Accomodate get_child_debug_event changes.
3343 (child_attach): Clear thread list and list of loaded dlls.
3344 (child_create_inferior): Clear list of loaded dlls. Use
3345 wait_for_inferior in a loop to look for first "trap".
3346 (child_resume): Avoid accessing a possibly-freed thread pointer.
3347 (_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info
3348 sharedlibrary" commands.
3349 * config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks.
3350
95ca63c4
CF
33512000-06-02 Christopher Faylor <cgf@cygnus.com>
3352
29fe111d
CF
3353 * win32-nat.c: Fix up gcc warnings throughout.
3354 (handle_load_dll): Change DLL name to lower case.
3355 (handle_exception): Add a second argument indicating whether a
3356 breakpoint should be ignored. Return a 0 if the breakpoint was
3357 ignored.
3358 (get_child_debug_event): Pass argument to handle_exception to control
3359 whether a breakpoint should be ignored.
3360 (child_create_inferior): Use modern cygwin API. Explicitly clear
3361 last_sig. Pass FIRST_EXCEPTION to get_child_debug_event for detection
3362 of first breakpoint.
3363
33642000-06-02 Christopher Faylor <cgf@cygnus.com>
3365
3366 * configure.in: Detect correct versions of dlltool and windres when
95ca63c4
CF
3367 cross-compiling.
3368 * configure: Regenerate.
3369
b0cb5b8d
C
33702000-06-02 J.T. Conklin <jtc@redback.com>
3371
3372 * configure.tgt: Add pattern for i[3456]86-*-netbsdelf*.
3373 * config/i386/nbsdelf.mt: New file.
3374 * config/i386/tm-nbsdelf.h: New file.
3375
3376 * config/i386/tm-nbsd.h: change include of tm-nbsd.h to
3377 the more explicit config/tm-nbsd.h.
3378
66c9e0f2
MK
33792000-06-02 Mark Kettenis <kettenis@gnu.org>
3380
3381 * alphabsd-nat.c (supply_fpregset): Substract FP0_REGNUM from
3382 register number when used as index into fpr_regs array.
3383
f0d4cc9e
AC
3384Tue May 30 13:31:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3385
3386 * defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
3387 TARGET_LONG_DOUBLE_FORMAT): Delete.
3388
3389 * gdbarch.sh: Add support for parameterized expressions.
3390 (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
3391 TARGET_LONG_DOUBLE_FORMAT): Add. Include "floatformat.h".
3392 * gdbarch.h, gdbarch.c: Regenerate.
3393
3394 * arch-utils.c (default_single_format, default_double_format,
3395 default_long_double_format): New functions. Include
3396 "floatformat.h"
3397 * arch-utils.h: Declare.
3398
3399 * d10v-tdep.c (d10v_gdbarch_init): Set floating point format.
3400 Note that long double is 64 bit, the rest are 32 bit. Include
3401 "floatformat.h".
3402
1b373970
MK
34032000-06-02 Mark Kettenis <kettenis@gnu.org>
3404
3405 * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define.
3406
cbfbd72a 34072000-06-01 Michael Snyder <msnyder@cygnus.com>
d5cb3e0e
MS
3408
3409 * sol-thread.c (rw_common): Circumstances (eg. a bug in Sun's
3410 thread_db library) may cause this function to be called with an
3411 illegal address, in which case procfs_to_xfer_memory will
3412 return zero. Return an error code instead of looping forever.
3413
78566ebe
AC
3414Thu Jun 1 20:05:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
3415
3416 * TODO: More suggestions added.
3417
14765d37
KD
34182000-06-01 Klee Dienes <kdienes@apple.com>
3419
3420 * MAINTAINERS: Add Klee Dienes and Jim Ingham as maintainers for
3421 Mac OS X and Objective C components (to be contributed).
3422
ca04024d
C
34232000-05-31 J.T. Conklin <jtc@redback.com>
3424
3425 * configure.host: Add patterns for i[3456]86-*-netbsdaout*
3426 and i[3456]86-*-netbsdelf*.
3427 * config/i386/nm-nbsdelf.h: New file.
3428 * config/i386/nbsdelf.mh: New file.
3429
3430 * config/i386/nm-nbsd.h: change include of nm-nbsd.h to
3431 the more explicit config/nm-nbsd.h.
3432 * config/i386/tm-nbsd.h: change include of tm-i386bsd.h to
3433 tm-i386.h.
3434 (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Define.
3435
b051bfa4
MK
34362000-06-01 Mark Kettenis <kettenis@gnu.org>
3437
139760b7
MK
3438 * NEWS: Mention FreeBSD/Alpha and FreeBSD/i386 3.x and up as new
3439 native configurations.
3440
b051bfa4
MK
3441 * i386bsd-nat.c: Include "gregset.h".
3442 (CANNOT_STORE_REGISTER): Define to cannot_fetch_register instead
3443 of CANNOT_FETCH_REGISTER, if not already defined.
3444 (supply_gregset): Call supply_register with NULL as its second
3445 argument instead of supplying our own zeroed out buffer.
3446 (fill_gregset): Copy contents of correct registers instead of the
3447 contents of register REGNO.
3448
6cf01405
KB
34492000-05-31 Kevin Buettner <kevinb@redhat.com>
3450
3451 * gnu-regex.c (re_match_2_internal): Revert 2000-05-27
3452 patch which removed use of PARAMS from declaration. This
3453 file should not have been touched as it is supposed to track
3454 the version in glibc.
3455
448628fe
MK
34562000-05-31 Mark Kettenis <kettenis@gnu.org>
3457
3458 Add support for FreeBSD/Alpha.
59c94889 3459 * configure.host, configure.tgt (alpha*-*-freebsd*): New entry.
448628fe
MK
3460 * alphabsd-nat.c, config/alpha/fbsd.mh, config/alpha/fbsd.mt,
3461 config/alpha/nm-fbsd.h, config/alpha/tm-fbsd.h,
3462 config/alpha/xm-fbsd.h: New files.
3463
1bf0ae96
PM
34642000-05-31 Pierre Muller <muller@sourceware.cygnus.com>
3465
3466 * MAINTAINERS: Add myself to "Write After Approval" list.
3467
4afc966c
AC
3468Tue May 30 18:48:33 2000 Andrew Cagney <cagney@b1.cygnus.com>
3469
3470 * TODO: Re-organize.
3471
0b8f9e4d
AC
3472Tue May 30 11:22:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
3473
3474 * gdbarch.sh: Add field ``postdefault''. Rename fields
3475 ``startup'' and ``default'' to ``staticdefault'' and
3476 ``predefault''. Fix initialization of valid_p. Create/compare
3477 gdbarch.log.
3478
0a415da9
AC
3479Mon May 29 22:47:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
3480
3481 * config/sparc/nm-sun4sol2.h (GDB_GREGSET_T, GDB_FPREGSET_T):
3482 Define.
3483 * config/sparc/xm-sun4sol2.h: (GDB_GREGSET_TYPE,
3484 GDB_FPREGSET_TYPE): Delete.
3485
5bd98722
AC
3486Mon May 29 15:41:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
3487
3488 * symtab.h (make_cleanup_free_search_symbols): Add declaration.
3489 * symtab.c (make_cleanup_free_search_symbols,
3490 do_free_search_symbols_cleanup): New functions.
3491 (search_symbols, symtab_symbol_info, rbreak_command): Update.
3492 (search_symbols): Pass ``sr'', and not its address, to
3493 make_cleanup_free_search_symbols.
3494
8f0b51af
KB
34952000-05-28 Kevin Buettner <kevinb@redhat.com>
3496
3497 * config/nm-linux.h (GDB_GREGSET_T, GDB_FPREGSET_T): Fix typos.
3498
a14ed312
KB
34992000-05-27 Kevin Buettner <kevinb@redhat.com>
3500
3501 * abug-rom.c, alpha-nat.c, alpha-tdep.c, annotate.c,
3502 annotate.h, arc-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
3503 ax.h, breakpoint.c, breakpoint.h, c-exp.y, c-lang.c, c-lang.h,
3504 call-cmds.h, ch-exp.c, ch-lang.c, ch-lang.h, cli-out.c,
3505 coff-solib.h, coffread.c, command.c, command.h, complaints.c,
3506 complaints.h, config/a29k/tm-a29k.h, config/a29k/tm-vx29k.h,
3507 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
3508 config/alpha/nm-osf2.h, config/alpha/tm-alpha.h,
3509 config/alpha/tm-alphalinux.h, config/arc/tm-arc.h,
3510 config/arm/tm-embed.h, config/d30v/tm-d30v.h,
3511 config/fr30/tm-fr30.h, config/h8300/tm-h8300.h,
3512 config/h8500/tm-h8500.h, config/i386/nm-i386bsd.h,
3513 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
3514 config/i386/nm-i386v.h, config/i386/nm-linux.h,
3515 config/i386/nm-nbsd.h, config/i386/nm-ptx4.h,
3516 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
3517 config/i386/tm-i386.h, config/i386/tm-i386nw.h,
3518 config/i386/tm-i386sol2.h, config/i386/tm-i386v.h,
3519 config/i386/tm-i386v4.h, config/i386/tm-nbsd.h,
3520 config/i386/tm-ptx.h, config/i386/tm-sun386.h,
3521 config/i960/tm-mon960.h, config/i960/tm-nindy960.h,
3522 config/m32r/tm-m32r.h, config/m68k/nm-dpx2.h,
3523 config/m68k/nm-linux.h, config/m68k/tm-cisco.h,
3524 config/m68k/tm-delta68.h, config/m68k/tm-es1800.h,
3525 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
3526 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
3527 config/m68k/tm-news.h, config/m68k/tm-sun3.h,
3528 config/m68k/tm-vx68.h, config/m68k/xm-hp300bsd.h,
3529 config/m88k/tm-m88k.h, config/mcore/tm-mcore.h,
3530 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
3531 config/mips/nm-irix5.h, config/mips/nm-mips.h,
3532 config/mips/tm-embed.h, config/mips/tm-mips.h,
3533 config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h,
3534 config/nm-linux.h, config/nm-lynx.h, config/ns32k/nm-nbsd.h,
3535 config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
3536 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
3537 config/pa/tm-hppa64.h, config/pa/xm-hppah.h,
3538 config/powerpc/nm-linux.h, config/powerpc/tm-linux.h,
3539 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-solaris.h,
3540 config/powerpc/xm-aix.h, config/rs6000/nm-rs6000.h,
3541 config/rs6000/tm-rs6000.h, config/rs6000/xm-rs6000.h,
3542 config/sh/tm-sh.h, config/sparc/nm-linux.h,
3543 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
3544 config/sparc/tm-sp64.h, config/sparc/tm-sp64sim.h,
3545 config/sparc/tm-sparc.h, config/sparc/tm-sparclet.h,
3546 config/sparc/tm-spc-em.h, config/sparc/tm-sun4os4.h,
3547 config/sparc/tm-sun4sol2.h, config/tic80/tm-tic80.h,
3548 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
3549 config/w65/tm-w65.h, config/xm-aix4.h, config/z8k/tm-z8k.h,
3550 copying.c, core-aout.c, core-regset.c, core-sol2.c,
3551 corefile.c, corelow.c, cp-valprint.c, cpu32bug-rom.c,
3552 d10v-tdep.c, d30v-tdep.c, dbug-rom.c, dbxread.c, dcache.c,
3553 dcache.h, demangle.c, dink32-rom.c, dsrec.c, dstread.c,
3554 dve3900-rom.c, dwarf2read.c, dwarfread.c, elfread.c,
3555 environ.h, eval.c, exec.c, expprint.c, expression.h, f-exp.y,
3556 f-lang.c, f-lang.h, f-valprint.c, findvar.c, fr30-tdep.c,
3557 frame.h, gdb_string.h, gdbcmd.h, gdbcore.h,
3558 gdbserver/server.h, gdbtypes.c, gdbtypes.h, gnu-regex.c,
3559 h8300-tdep.c, hp-psymtab-read.c, hp-symtab-read.c,
3560 hp300ux-nat.c, hppa-tdep.c, hppah-nat.c, hpread.c, hpread.h,
3561 hpux-thread.c, i386-tdep.c, i386aix-nat.c, i386mach-nat.c,
3562 i386v-nat.c, i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c,
3563 inferior.h, inflow.c, infptrace.c, inftarg.c, irix4-nat.c,
3564 irix5-nat.c, jv-exp.y, jv-lang.c, jv-lang.h, language.c,
3565 language.h, lynx-nat.c, m2-exp.y, m2-lang.c, m2-lang.h,
3566 m32r-rom.c, mac-nat.c, main.c, maint.c, mdebugread.c,
3567 mi/mi-out.c, minsyms.c, mips-nat.c, mips-tdep.c, mipsread.c,
3568 mn10300-tdep.c, mon960-rom.c, monitor.c, monitor.h, nlmread.c,
3569 objfiles.c, objfiles.h, ocd.c, ocd.h, op50-rom.c, os9kread.c,
3570 osfsolib.c, pa64solib.c, pa64solib.h, parse.c, parser-defs.h,
3571 ppc-bdm.c, printcmd.c, procfs.c, remote-array.c, remote-bug.c,
3572 remote-e7000.c, remote-es.c, remote-est.c, remote-hms.c,
3573 remote-mips.c, remote-nindy.c, remote-nrom.c, remote-rdi.c,
3574 remote-rdp.c, remote-sds.c, remote-sim.c, remote-udi.c,
3575 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
3576 rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, scm-exp.c,
3577 scm-lang.c, scm-lang.h, ser-e7kpc.c, ser-mac.c, sh3-rom.c,
3578 sol-thread.c, solib.c, solib.h, somread.c, somsolib.c,
3579 somsolib.h, source.c, sparc-nat.c, sparcl-tdep.c,
3580 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
3581 sun3-nat.c, symfile.c, symfile.h, symmisc.c, symtab.c,
3582 symtab.h, target.c, target.h, terminal.h, thread.c, top.c,
3583 top.h, tracepoint.c, tracepoint.h, tui/tui-file.c, tui/tui.c,
3584 tui/tui.h, tui/tuiCommand.h, tui/tuiData.c, tui/tuiData.h,
3585 tui/tuiDataWin.h, tui/tuiDisassem.c, tui/tuiDisassem.h,
3586 tui/tuiGeneralWin.c, tui/tuiGeneralWin.h, tui/tuiIO.c,
3587 tui/tuiIO.h, tui/tuiLayout.c, tui/tuiLayout.h, tui/tuiRegs.c,
3588 tui/tuiRegs.h, tui/tuiSource.c, tui/tuiSource.h,
3589 tui/tuiSourceWin.h, tui/tuiStack.c, tui/tuiStack.h,
3590 tui/tuiWin.c, tui/tuiWin.h, typeprint.c, ui-file.c, ui-out.h,
3591 ultra3-nat.c, utils.c, v850-tdep.c, v850ice.c, valarith.c,
3592 valops.c, valprint.c, value.h, values.c, varobj.c, w89k-rom.c,
3593 win32-nat.c, wince.c, wrapper.c, wrapper.h, xcoffread.c,
3594 xcoffsolib.c, xmodem.h, z8k-tdep.c: Remove PARAMS from function
3595 declarations.
3596
cbfbd72a 35972000-05-26 Michael Snyder <msnyder@cygnus.com>
7b079aad
MS
3598
3599 * gregset.h: New file. Typedefs for gdb_gregset_t and
3600 gdb_fpregset_t, prototypes for supply_gregset and friends.
3601 * procfs.c: Include gregset.h. Delete local prototypes for
3602 supply_gregset etc., and local typedef gdb_gregset_t etc.
3603 * sol-thread.c: Include gregset.h, delete local prototypes,
3604 add appropriate casts to gdb_gregset_t.
3605 * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c,
3606 sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c,
3607 m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c,
3608 irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c,
3609 arm-linux-nat.c, alpha-nat.c: Include gregset.h.
3610 * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T.
3611 * config/sparc/nm-sun4sol2.h: Ditto.
3612 * config/sparc/xm-sun4sol2.h: (GDB_GREGSET_TYPE,
3613 GDB_FPREGSET_TYPE): Delete (replaced by GDB_GREGSET_T etc.)
3614
2894793a
AC
3615Thu May 25 16:56:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3616
3617 * configure.in (AC_CHECK_HEADERS): Check for ncurses.h.
3618 * config.in, configure: Re-generate.
3619
a52e6aac
SB
36202000-05-25 Scott Bambrough <scottb@netwinder.org>
3621
3622 * arm-linux-tdep.c (find_minsym_and_objfile): New.
3623 (skip_hurd_resolver): New.
3624 (arm_linux_skip_solib_resolver): New.
3625 (arm_skip_solib_resolver): Removed.
3626
3627 * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Changed to use
3628 arm_linux_skip_solib_resolver.
3629
7dfa765c
MK
36302000-05-25 Mark Kettenis <kettenis@gnu.org>
3631
3632 * acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.
3633 * configure.in: Add checks for r_fs and r_gs members of
3634 `struct reg'.
3635 * config.in, configure: Regenerated.
3636
b1eeef9a
EZ
36372000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
3638
3639 * ser-go32.c: Remove PARAMS.
3640
4b14d3e4
AC
3641Thu May 25 15:22:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
3642
3643 * configure.in (AC_CHECK_HEADERS): Check for <dirent.h>,
3644 <sys/ndir.h>, <sys/dir.h> and <ndir.h>.
3645 * config.in, configure: Re-generate.
3646 * gdb_dirent.h: New file
3647
3648 * infptrace.c: Include "gdb_dirent.h" instead of <sys/dir.h>.
3649 * core-aout.c: Ditto.
3650 * procfs.c: Include "gdb_dirent.h" instead of <dirent.h>.
3651
944d780c
AC
3652Thu May 25 14:43:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
3653
3654 * config.in: Regenerate.
3655
85ff3c52
AC
3656Thu May 25 13:49:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
3657
3658 From Fri 19 May 2000 Eli Zaretskii <eliz@is.elta.co.il>: *
3659 config/djgpp/fnchange.lst: Fix bfd/coff-tic54x.c, bfd/coff-tc54x.c
3660 and gdb/testsuite/gdb.mi/mi-var-cmd.exp.
3661
ed952ac5
AC
3662Thu May 25 11:09:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
3663
3664 * configure.in (AC_OUTPUT): Do not generate tui/Makefile.
3665 (enable-tui): Convert Makefile configury to use the same mechanism
3666 as MI.
3667
3668 * Makefile.in (BUILD_TUI, TUI_LIBRARY, TUI_DIR, TUI_SRC,
3669 TUI_CFLAGS): Delete
3670 (all-tui): Delete target.
3671 (tuiWin.o, tuiStack.o, tuiSourceWin.o, tuiSource.o, tuiRegs.o,
3672 tuiLayout.o, tuiIO.o, tuiGeneralWin.o, tuiDisassem.o,
3673 tuiDataWin.o, tuiData.o, tuiCommand.o, tui.o): New targets.
3674 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS, SUBDIR_TUI_DEPS,
3675 SUBDIR_TUI_INITS, SUBDIR_TUI_LDFLAGS, SUBDIR_TUI_CFLAGS,
3676 SUBDIR_TUI_ALL, SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL,
3677 SUBDIR_TUI_UNINSTALL): Define.
3678
3679 * TODO: Update.
3680
0aaf65d7
AC
3681Thu May 25 11:02:24 2000 Andrew Cagney <cagney@b1.cygnus.com>
3682
3683 * TODO: Update. Mark Kettenis fixed FreeBSD >2.2 support.
3684 * MAINTAINERS: Update Jim Ingham's address.
3685
e6031aeb
MK
36862000-05-25 Mark Kettenis <kettenis@gnu.org>
3687
3688 Add support for FreeBSD/i386 ELF.
3689 * i386bsd-nat.c: New file.
3690 * config/i386/tm-fbsd.h (HAVE_I387_REGS): Define.
3691 Include "i386/tm-i386.h" instead of "i386/tm-i386b.h".
3692 (NUM_REGS): Remove redefinition.
3693 (USE_STRUCT_CONVENTION): Define.
3694 (i386_float_info): Remove prototype.
3695 (FLOAT_INFO): Remove define.
3696 (JB_ELEMENT_SIZE): Define to 4.
3697 (JB_PC): Define to 0.
3698 (GET_LONGJMP_TARGET): Define.
3699 (SIGTRAMP_START, SIGTRAMP_END): Define.
3700 (SIGCONTEXT_PC_OFFSET): Define.
3701 (IN_SOLIB_CALL_TRAMPOLINE): Only define if !SVR4_SHARED_LIBS
3702 * config/i386/nm-fbsd.h (PTRACE_ARG3_TYPE): Define to caddr_t.
3703 (FETCH_INFERIOR_REGISTERS): Define.
3704 (ATTACH_DETACH): Define.
3705 (kernel_u_size): Remove PARAMS.
3706 (register_u_addr): Use CORE_ADDR in prototype where appropriate.
3707 Remove PARAMS.
3708 (SVR4_SHARED_LIBS) [FREEBSD_ELF || __ELF__ && !FREEBSD_AOUT]:
3709 Define.
3710 [SVR4_SHARED_LIBS]: Include "elf/common.h".
3711 Only define aliases for struct members from <link.h> if
3712 !SVR4_SHARED_LIBS.
3713 * config/i386/xm-fbsd.h: New file.
3714 * config/i386/fbsd.mt (TDEPFILES): Remove solib.o.
3715 * config/i386/fbsd.mh (NATDEPFILES): Remove i386b-nat.o. Add
3716 core-regset.o i387-nat.o i386bsd-nat.o.
3717
cbfbd72a 37182000-05-24 Michael Snyder <msnyder@cygnus.com>
0f2c5ba5
MS
3719
3720 * findvar.c (value_from_register): Factor code, simplify logic.
3721
9cebe72f
C
37222000-05-23 J.T. Conklin <jtc@redback.com>
3723
3724 * config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...
3725 * config/i386/nbsd.mh (NATDEPFILES): ...to here.
3726 * config/m68k/nbsd.mt (TDEPFILES): Move solib.o from here...
3727 * config/m68k/nbsd.mh (NATDEPFILES): ...to here.
3728 * config/ns32k/nbsd.mt (TDEPFILES): Move solib.o from here...
3729 * config/ns32k/nbsd.mh (NATDEPFILES): ...to here.
3730
3731 * config/powerpc/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o.
3732 * configure.tgt (powerpc-*-netbsd*): add gdbserver to configdirs.
3733 * gdbserver/low-nbsd.c (initialize_arch): Define for PPC.
3734 (fetch_inferior_registers): Likewise.
3735 (store_inferior_registers): Likewise.
3736
3737 * gdbserver/low-nbsd.c (fetch_inferior_registers): Handle X86
3738 floating point registers.
3739 (store_inferior_registers): Likewise.
3740
b2450fc5
MK
37412000-05-24 Mark Kettenis <kettenis@gnu.org>
3742
3743 * i387-nat.h, i387-nat.c: New files.
3744
863e0fe4
AO
3745Tue May 23 17:21:24 2000 Alexandre Oliva <aoliva@cygnus.com>
3746
3747 * config/sparc/nm-linux.h: Include config/nm-linux.h.
3748 * config/powerpc/nm-linux.h: Likewise.
3749
9af97293
DT
3750Tue May 23 13:20:00 1999 Gregory Lielens <info@fft.be>
3751
3752 * f-valprint.c : Corrected f_val_print function for TYPE_CODE
3753 (type) = TYPE_CODE_COMPLEX
3754
f5ff8c83
AC
3755Wed May 24 00:38:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
3756
3757 * utils.c (make_cleanup_close, do_close_cleanup): New functions.
3758 * defs.h (make_cleanup_close): Add declaration.
3759
16cadf39
AC
3760Tue May 23 20:47:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
3761
3762 * configure.in (build_warnings): Add -Wuninitialized.
3763 * configure: Regenerate.
3764
6e8cb14a
AC
3765Tue May 23 17:44:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
3766
3767 From Mon May 8 14:49:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
3768 (gdb 5.0): From Michael Paddon <mmpp@esec.com.au>:
3769 * configure.in (AC_CHECK_HEADERS): Check for <sys/user.h>.
16cadf39 3770
6e8cb14a
AC
3771 * configure: Re-generate.
3772 * proc-api.c: Only include <sys/user.h> when available.
3773 (ioctl_table): Check that PIOCGETPR and PIOCGETU are defined.
3774
3775 * TODO: Update.
3776
cbfbd72a 37772000-05-17 Michael Snyder <msnyder@cygnus.com>
96dd7890
MS
3778
3779 * config/sparc/tm-sun4sol2.h: Turn on multi-arch.
ab9d50c7 3780 * sparc-tdep.c (gdb_print_insn_sparc): Remove temp. multi-arch hack.
96dd7890 3781
b08dff7b
AC
37822000-05-17 Andrew Cagney <cagney@sourceware.cygnus.com>
3783
3784 * GDB 5.0 released.
3785 * Makefile.in (VERSION): Set to 5.0.
3786
74b7792f
AC
3787Mon May 22 16:20:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
3788
3789 * inferior.h (make_cleanup_restore_inferior_status):
3790 * infrun.c (make_cleanup_restore_inferior_status,
3791 do_restore_inferior_status_cleanup): New functions.
3792 * valops.c (hand_function_call): Use.
3793 * infcmd.c (disable_longjmp_breakpoint_cleanup): New function.
3794 (step_1): Use.
3795 * symfile.c (clear_symtab_users_cleanup): New function.
3796 (syms_from_objfile, reread_symbols): Use.
3797 * objfiles.c (make_cleanup_free_objfile, do_free_objfile_cleanup):
3798 New functions.
3799 * objfiles.h (make_cleanup_free_objfile): Add declaration.
3800 * symfile.c (syms_from_objfile, reread_symbols), hpread.c
3801 (hpread_build_psymtabs), hp-psymtab-read.c
3802 (hpread_build_psymtabs): Use.
3803 * dwarf2read.c (make_cleanup_free_die_list,
3804 do_free_die_list_cleanup): New functions.
3805 (psymtab_to_symtab_1): Use.
3806 * tracepoint.c (make_cleanup_free_actions,
3807 do_free_actions_cleanup): New functions.
3808 (read_actions): Use.
3809 * corelow.c (core_close_cleanup): New function.
3810 (core_open): Use.
3811 * dbxread.c (make_cleanup_free_bincl_list,
3812 do_free_bincl_list_cleanup): New function.
3813 (read_dbx_symtab): Use.
3814 * coffread.c (free_linetab_cleanup, free_stringtab_cleanup): New
3815 functions.
3816 (coff_symfile_read): Use.
3817 * varobj.c (make_cleanup_free_variable, do_free_variable_cleanup):
3818 New function.
3819 (varobj_create): Use.
3820 * sparcl-tdep.c (close_tty), infrun.c (resume_cleanups), parse.c
3821 (free_funcalls): Change signature to match make_cleanup_ftype.
3822 * infrun.c (resume), tracepoint.c (encode_actions), remote-udi.c
3823 (download), solib.c (open_symbol_file_object), sparcl-tdep.c
3824 (sparclite_open), parse.c (parse_exp_1): Remove cast using
3825 make_cleanup_func.
3826
004527cb
AC
3827Mon May 22 15:49:13 2000 Andrew Cagney <cagney@b1.cygnus.com>
3828
3829 * procfs.c (info_proc_cmd): Use make_cleanup_freeargv.
3830 (proc_iterate_over_mappings): Use make_cleanup_close.
3831 (proc_get_LDT_entry): Ditto.
3832 (do_closedir_cleanup): New function.
3833 (proc_update_threads): Use.
3834 (do_destroy_procinfo_cleanup): New function.
3835 (info_proc_cmd): Use.
3836
e41a3b1a
AC
3837Mon May 22 15:21:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
3838
3839 * top.h (command_loop_marker): Change signature to match
3840 make_cleanup_ftype.
3841 * top.c (command_loop_marker): Update.
3842 (command_loop, simplified_command_loop), event-top.c
3843 (command_handler): Remove cast using make_cleanup_func.
3844 * event-top.c (command_handler): Ditto.
3845
3846 * top.c (do_chdir_cleanup): New function.
3847 (gdb_init): Use. Use xstrdup instead of strsave.
3848 * top.c (do_fclose_cleanup): New function.
3849 (source_command): Use.
3850 * top.c (do_restore_instream_cleanup): Rename
3851 source_cleanup. Change signature to match make_cleanup.
3852 (read_command_filem execute_user_command): Update. Remove cast
3853 using make_cleanup_func.
3854 * top.c (do_free_command_lines_cleanup,
3855 make_cleanup_free_command_lines): New funtions.
3856 (get_command_line, read_command_lines): Use.
3857 * top.c (arg_cleanup): Change signature to match make_cleanup.
3858 (setup_user_args): Remove cast using make_cleanup_func.
3859
5683e87a
AC
3860Mon May 22 12:05:13 2000 Andrew Cagney <cagney@b1.cygnus.com>
3861
3862 * defs.h (t_reg): Delete typedef.
3863 (preg, preg_nz): Delete function. Replaced by phex and phex_nz.
3864 * utils.c (phex, phex_nz): New functions.
3865 (paddr, paddr_nz): Use.
3866
3867 * monitor.c (monitor_store_register): Replace preg with phex.
3868
3869Mon May 22 11:46:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
3870
3871 * TODO: Add note on typecast using catch_errors_ftype.
3872
e8475ad4
MK
38732000-05-21 Mark Kettenis <kettenis@gnu.org>
3874
3875 * i387-tdep.c (print_i387_value): Cast &value to (char *) in
3876 pointer arithmetic. Fixes a bug which manifested itself on
3877 FreeBSD.
3878
d4b2399a
C
38792000-05-20 J.T. Conklin <jtc@redback.com>
3880
3881 * target.h (target_memory_bfd_section): Removed declaration.
3882 * target.c (target_memory_bfd_section): Removed.
3883 * exec.c (xfer_memory): Removed #if'ed-out code which referenced
3884 target_memory_bfd_section.
3885
3886 * target.h (target_read_memory_section): Removed declaration.
3887 * target.c (target_read_memory_section): Removed.
3888 (target_xfer_memory): Update, removed bfd_section argument.
3889 (target_read_string, target_read_memory, target_write_memory):
3890 Update for above change.
3891
3892 * gdbcore.h (read_memory_section): Removed declaration.
3893 * corefile.c (read_memory_section): Removed.
3894 * jv-lang.c (get_java_utf8_name): Changed calls to
3895 read_memory_section to read_memory.
3896 * printcmd.c (printf_command): Likewise.
3897 * valops.c (value_at, value_fetch_lazy): Likewise.
3898
e42180d7
C
38992000-05-18 J.T. Conklin <jtc@redback.com>
3900
3901 * configure.host, configure.tgt (powerpc-*-netbsd*): New entry.
3902 * config/powerpc/nbsd.mh, config/powerpc/nbsd.mt,
3903 config/powerpc/tm-nbsd.h, config/powerpc/nm-nbsd.h,
3904 config/powerpc/xm-nbsd.h: New files.
3905
74b2d067
EZ
39062000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
3907
3908 * gdb/config/djgpp/README: Fine-tune installation instructions
3909 based on user reports.
3910
d8038014
AC
3911Wed May 17 18:27:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
3912
3913 * configure.in (build_warnings): List possible warnings.
3914 * configure: Regenerate.
3915 * TODO: More updates.
3916 * MAINTAINERS: Add Gary Thomas and Joern Renneck to Write After
3917 Approval.
3918
e2bdc01e
AC
3919Wed May 17 16:48:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3920
3921 From 2000-04-14 Gary Thomas <gthomas@redhat.com>:
3922 * config/v850/tm-v850.h: Change breakpoint sequence to be
3923 'br *' since there is no 16bit "illegal" instruction on this
3924 processor.
3925
7ae38352
AC
3926Tue May 16 18:57:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
3927
3928 * TODO: Review. Delete anything that is no longer applicable.
3929
e2f9c474
AC
3930Tue May 16 14:17:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
3931
3932 * utils.c (free_current_contents): Make more robust.
3933
56e290f4
AC
3934Tue May 16 13:30:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
3935
3936 * symtab.h (make_cleanup_discard_minimal_symbols): Replace
3937 discard_minimal_symbols.
3938 * minsyms.c (make_cleanup_discard_minimal_symbols):
3939 (do_discard_minimal_symbols_cleanup): New functions.
3940
3941 * xcoffread.c (xcoff_initial_scan), somread.c (som_symfile_read),
3942 solib.c (solib_add_common_symbols), os9kread.c
3943 (os9k_symfile_read), nlmread.c (nlm_symfile_read), mipsread.c
3944 (mipscoff_symfile_read), elfread.c (elf_symfile_read), dstread.c
3945 (dst_symfile_read), dbxread.c (dbx_symfile_read), coffread.c
3946 (coff_symfile_read): Replace make_cleanup.
3947
1ed2a135
AC
3948Mon May 15 09:32:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
3949
3950 * command.h (add_set_cmd): Change VAR parameter to void pointer.
3951 (add_set_enum_cmd): Change VAR parameter to char pointer pointer.
3952 (struct command): Change member VAR to void pointer.
3953 * command.c (add_set_cmd, add_set_enum_cmd): Update.
3954
3955 * remote.c (add_packet_config_cmd), mips-tdep.c
3956 (_initialize_mips_tdep), infrun.c (_initialize_infrun),
3957 i386-tdep.c (_initialize_i386_tdep), arm-tdep.c
3958 (_initialize_arm_tdep): Update VAR parameter to add_set_enum_cmd.
3959
dfb0df6c
AC
3960Tue May 16 12:46:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
3961
3962 * wrapper.h (wrap_value_subscript): Delete declaration.
3963
5c65bbb6
AC
3964Tue May 16 10:54:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
3965
3966 * defs.h (make_cleanup_bfd_close): Add declaration.
3967 * utils.c (do_bfd_close_cleanup, make_cleanup_bfd_close): New
3968 functions.
3969
3970 * symfile.c (generic_load), sparcl-tdep.c (download), remote-udi.c
3971 (download), remote-e7000.c (e7000_load), corelow.c (core_open,
3972 core_file_to_sym_file): Replace calls to make_cleanup.
3973
2a00c9ce
AC
3974Mon May 15 16:50:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
3975
3976 * TODO: Add notes on register cache.
3977
63978407
JR
3978Mon May 15 21:27:27 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3979
3980 * sh-tdep.c (sh_dsp_reg_names, sh3_dsp_reg_names): New arrays.
3981 (sh_processor_type_table): Add entries for bfd_mach_sh_dsp and
3982 bfd_mach_sh3_dsp.
3983 (sh_show_regs): Floating point registers are called fr0-fr15.
3984 For sh4, display fpul, fpscr and fr0-fr15 / dr0-dr14 as appropriate.
3985 Handle sh-dsp and sh3-dsp.
3986 config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): sh-dsp / sh3-dsp
3987 don't have floating point registers.
3988 (DSR_REGNUM, A0G_REGNUM, A0_REGNUM, A1G_REGNUM, A1_REGNUM): Define.
3989 (M0_REGNUM, M1_REGNUM, X0_REGNUM, X1_REGNUM, Y0_REGNUM): Likewise.
3990 (Y1_REGNUM, MOD_REGNUM, RS_REGNUM, RE_REGNUM, R0B_REGNUM): Likewise.
3991
4f0aafb3
EZ
39922000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
3993
3994 * Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h.
3995
3996 * wrapper.h (gdb_value_subscript, wrap_value_subscript): Add
3997 prototypes.
3998
d1e3cf49
AC
3999Mon May 15 15:31:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
4000
4001 * valops.c (hand_function_call): Replace #ifdef
4002 SAVE_DUMMY_FRAME_TOS with if SAVE_DUMMY_FRAME_TOS_P.
4003
4004 * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Add.
4005 * gdbarch.h, gdbarch.c: Regenerate.
4006
f23d52e0
AC
4007Mon May 15 16:05:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
4008
4009 * ax.h (make_cleanup_free_agent_expr): Add declaration.
4010 * ax-general.c (do_free_agent_expr_cleanup):
4011 (make_cleanup_free_agent_expr): New functions.
4012
4013 * tracepoint.c (validate_actionline, encode_actions), ax-gdb.c
4014 (expr_to_agent, gen_trace_for_expr, agent_command): Replace calls
4015 to make_cleanup.
4016
4d6140d9
AC
4017Mon May 15 14:06:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
4018
4019 * breakpoint.h (make_cleanup_delete_breakpoint,
4020 make_exec_cleanup_delete_breakpoint): Declare.
4021 * breakpoint.c (make_cleanup_delete_breakpoint,
4022 make_exec_cleanup_delete_breakpoint,
4023 do_delete_breakpoint_cleanup): New fuctions.
4024
4025 * infcmd.c (finish_command), hppa-tdep.c (hppa_pop_frame),
4026 breakpoint.c (until_break_command, until_break_command): Replace
4027 call to make_cleanup / make_exec_cleanup.
4028
3339cf8b
AC
4029Mon May 15 13:25:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
4030
4031 * defs.h (core_addr_greaterthan, core_addr_lessthan), utils.c
4032 (core_addr_greaterthan, core_addr_lessthan): Move from here.
4033 * arch-utils.h (core_addr_greaterthan, core_addr_lessthan),
4034 arch-utils.c (core_addr_greaterthan, core_addr_lessthan): To here.
4035
b02eeafb
AC
4036Mon May 15 12:07:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
4037
4038 * printcmd.c (print_frame_args), stack.c (print_frame), command.c
4039 (do_setshow_command), breakpoint.c (print_it_typical, mention):
4040 Use make_cleanup_ui_out_stream_delete.
4041
5bfb05ca
AC
4042Mon May 15 11:23:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
4043
4044 * proc-events.c (init_syscall_table): Delete stray ``;''.
4045 * ui-out.c (ui_out_set_flags, ui_out_clear_flags): Return old
4046 value.
4047 * mdebugread.c (START_PSYMTAB): Add paren to avoid x=x=x.
4048
cbfbd72a 40492000-05-12 Michael Snyder <msnyder@cygnus.com>
aca52a9b
MS
4050
4051 * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Define.
4052
bf9198f1
KB
40532000-05-12 Kevin Buettner <kevinb@redhat.com>
4054
4055 * dwarf2read.c (dwarf2_const_value_data): Fix typo in sign
4056 extension code.
4057
6bc37a96
AC
4058Fri May 12 20:38:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
4059
3fffcb5e
AC
4060 * TODO: Mention weak symbol problem. Mention UnixWare thread
4061 problem.
6bc37a96 4062
6736fc7b
AC
4063Fri May 12 14:12:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
4064
4065 * README: Update section on kernel debugging.
4066
47a8d4ba
AC
4067Fri May 12 19:13:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
4068
4069 * mips-tdep.c (mips_get_saved_register): New function. Handle
4070 case of 32 ABI saving 32 bit registers on stack when target has 64
4071 bit ISA.
4072 (mips_gdbarch_init): Update.
4073
216a600b
AC
4074Fri May 12 14:46:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4075
4076 * mips-tdep.c (MIPS_EABI): Fix typo. Test for MIPS_ABI_EABI64.
4077
746a987d
AC
4078Thu May 11 21:52:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
4079
4080 * configure.in (WERROR_CFLAGS): Check that GCC accepts a -W
4081 options before using them. Report result.
4082 * configure: Regenerate.
4083
2ec466f9
EZ
40842000-05-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4085
4086 * coffread.c (coff_symtab_read): In the case of C_THUMBEXT |
4087 C_THUMBEXTFUNC | C_EXT, sec will never ever be the index for
4088 .rodata, because cs_to_section doesn't deal with .rodata. Fix test
4089 accordingly.
4090
381323f4
AC
4091Thu May 11 21:33:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
4092
4093 * gdbarch.sh (gdbarch_dump): Print the value of GDB_MULTI_ARCH.
4094 Always check that a macro is defined before printing it.
4095 * gdbarch.c: Re-generate.
4096
aba7b4b6
AC
4097Thu May 11 17:22:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4098
4099 * README: Update for GDB 5.0.
4100
0dadbba0
AC
4101Thu May 11 13:24:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4102
4103 * mips-tdep.c (MIPS_DEFAULT_STACK_ARGSIZE): Fix typo.
4104
4105 * config/mips/tm-irix5.h (GDB_MULTI_ARCH): Add
4106 definition. Disable. Document known problems.
4107 (MIPS_DEFAULT_ABI): Define.
4108
4109 * mips-tdep.c (enum mips_abi): Define.
4110 (struct gdbarch_tdep): Replace mips_eabi with mips_abi.
4111 (MIPS_EABI): Update.
4112 (mips_gdbarch_init): Add preliminary support for IRIX N32 ABI.
4113 Determine ABI from either ELF_FLAGS or MIPS_DEFAULT_ABI. When
4114 looking for a matching architecture require a matching MIPS_ABI.
4115 (mips_gdbarch_init): Cleanup arch_debug information.
4116
9e124216
EZ
41172000-05-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4118
4119 * solib.c (symbol_add_stub): Remember the index and the name of
4120 the section with the lowest address. Use this data (instead of
4121 data from .text) to pass info into symbol_file_add.
4122
4123 * elfread.c (record_minimal_symbol_and_info): Use the section
4124 where the symbol lives to get the index, instead of guessing.
4125
cbfbd72a 41262000-05-10 Michael Snyder <msnyder@cygnus.com>
0dadbba0 4127
5af923b0
MS
4128 Make Sparc a Multi-Arch target. Discard PARAMS macro (require ANSI).
4129 * sparc-tdep.c: include arch-utils.h.
4130 (SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REG NUM, SPARC_INTREG_SIZE,
4131 DUMMY_REG_SAVE_OFFSET): provide multi-arch-compatible definitions.
4132 (GDB_TARGET_IS_SPARC64): make into a runtime test.
4133 (struct frame_extra_info): Define, use instead of the macro.
4134 (Many places): Use alloca instead of statically allocated buffers
4135 that depend on a multi-arch variable such as MAX_REGISTER_RAW_SIZE.
4136 (sparc_extract_struct_value_address): Accept a pointer arg instead
4137 of an array sized by REGISTER_BYTES.
4138 (examine_prologue): Accept a pointer to an array of CORE_ADDR,
4139 instead of the defunct struct frame_saved_regs. Recognize new
4140 Sparc64 store instructions as part of the prologue. Ignore the
4141 destination of a frame store when parsing the prologue (so long
4142 as it's on the stack).
4143 (sparc_push_dummy_frame): Fix incorrect buffer offset for PSTATE.
4144 (sparc_frame_find_saved_regs): Accept a ptr to an array of CORE_ADDR
4145 instead of the defunct struct frame_saved_regs.
4146 (supply_gregset): Discard unnecessary 'zerobuf': just send NULL to
4147 supply_register. Provide 4-byte offset to compensate for diff
4148 between size of the prgreg_t elements on a 64-bit host and size
4149 of the registers for a 32-bit target. Fill all inaccessible regs
4150 with zero so they won't keep being requested again and again.
4151 (fill_gregset): Handle 32/64 size difference between registers
4152 and prgreg_t. Handle as many new 64-bit regs as possible.
4153 (supply_fpregset, fill_fpregset): Attempt to handle 64-bit world.
4154 (sparc_push_arguments): Rename to sparc32_push_arguments.
4155 Copy arguments into registers as well as onto stack, so that the
4156 CALL_DUMMY (code pushed onto the target stack) is not required.
4157 (sparc_extract_return_value): Rename to sparc32_extract_return_value.
4158 (sparc_store_return_value): Use memset instead of bzero.
4159 Use write_register_gen instead of write_register_bytes.
4160 (sparclet_store_return_value): New function.
4161 (_initialize_sparc_tdep): Call register_gdbarch_init to activate
4162 the gdbarch multi-architecture system.
4163 (sp64_push_arguments): Rename to sparc64_push_arguments.
4164 Extend to store arguments in general registers as well as on stack.
4165 (sparc64_extract_return_value): Rename to sp64_extract_return_value.
4166 Use as a private function, to be called by the new external function
4167 sparc64_extract_return_value.
4168 (sparclet_extract_return_value): New function.
4169 (sparc32_stack_align, sparc64_stack_align, sparc32_register_name,
4170 sparc64_register_name, sparc_print_extra_frame_info,
4171 sparclite_register_name, sparclet_register_name,
4172 sparc_push_return_address, sparc64_use_struct_convention,
4173 sparc32_store_struct_return, sparc64_store_struct_return,
4174 sparc32_register_virtual_type, sparc64_register_virtual_type,
4175 sparc32_register_size, sparc64_register_size,
4176 sparc32_register_byte, sparc64_register_byte,
4177 sparc_gdbarch_skip_prologue, sparc_convert_to_virtual,
4178 sparc_convert_to_raw, sparc_frame_init_saved_regs,
4179 sparc_frame_address, sparc_gdbarch_fix_call_dummy,
4180 sparc_coerce_float_to_double, sparc_call_dummy_address,
4181 sparc_y_regnum, sparc_reg_struct_has_addr, sparc_intreg_size,
4182 sparc_return_value_on_stack): New functions supporting multi-arch.
4183 (sparc_gdbarch_init): New function; initialize multi-arch.
4184 (struct gdbarch_tdep): Define, use for private multi-arch data.
4185 * config/sparc/tm-sparc.h: Move definitions around, enclose with
4186 #ifdef GDB_MULTI_ARCH tests, provide some multi-arch alternate
4187 definitions. Add enums for register names, to help debugging gdb.
4188 This header file must work for non-multi-arch and for multi-arch.
4189 * config/sparc/tm-sp64.h: Add GDB_MULTI_ARCH configuration. Also add
4190 AT_ENTRY_POINT definitions for CALL_DUMMY, for non-multi-arch case.
4191 Define GDB_MULTI_ARCH.
4192 * config/sparc/tm-sparclet.h: Add GDB_MULTI_ARCH configuration.
4193 Do not define GDB_MULTI_ARCH (bfd does not correctly identify target).
4194 * config/sparc/tm-sparclite.h: Ditto.
4195 * config/sparc/tm-sun4sol2.h: Define GDB_MULTI_ARCH.
4196 * sparclet-rom.c (sparclet_regnames): Initialize explicitly, to
4197 avoid using deprecated REGISTER_NAMES macro.
4198 * Makefile.in: Let sparc-tdep.c depend on arch-utils.h.
4199
cbfbd72a 42002000-05-08 Michael Snyder <msnyder@cygnus.com>
e245aa6b 4201
60054393
MS
4202 * gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers.
4203 * gdbarch.c, gdbarch.h: Regenerate.
4204 * core-regset.c: Change FP0_REGNUM to a runtime test.
4205 * procfs.c: Ditto.
4206 * sun3-nat.c: Ditto.
4207 * sparc-tdep.c: Ditto.
4208
4209 * i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM.
4210 * ptx4-nat.c: Ditto.
4211
e245aa6b
MS
4212 * sol-thread.c (sol_thread_create_inferior): only add the thread
4213 to the thread list if it is not already in there.
4214 (prototypes for thread_db func ptrs): pretty up formatting.
4215
ed0a91a5
EZ
42162000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
4217
4218 * config/djgpp/djconfig.sh: Use more warning switches.
4219
4220 * config/djgpp/fnchange.lst: Replace the leading gdb-0222 with the
4221 @V@ placebo. djunpack.bat changed accordingly.
4222
d929b26f
AC
4223Mon May 8 11:19:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
4224
4225 * mips-tdep.c (size_auto, size_32, size_64, size_enums): Rename
4226 saved_gpreg_size_auto, saved_gpreg_size_32, saved_gpreg_size_64
4227 and saved_gpreg_size_enums.
4228 (mips_stack_argsize): Update. Cleanup.
4229
4230 * mips-tdep.c (STACK_ARGSIZE): Delete macro. Replaced by
4231 MIPS_STACK_ARGSIZE.
4232 (MIPS_NABI32): Delete macro. Replaced by
4233 MIPS_REGS_HAVE_STACK_HOME_P.
4234 (mips_push_arguments): Update.
4235 (mips_push_arguments): Replace check for MIPS_EABI or MIPS_NABI32
4236 with test for MIPS_REGS_HAVE_STACK_HOME_P.
4237 (MIPS_REGS_HAVE_STACK_HOME_P): Define. Provide non- multi-arch
4238 default.
4239 (struct gdbarch_tdep): Add mips_regs_have_stack_home_p and
4240 mips_default_stack_argsize.
4241 (MIPS_STACK_ARGSIZE): Define as mips_stack_argsize.
4242 (mips_stack_argsize_string): New static variable.
4243 (mips_stack_argsize): New function, handle default case.
4244 (__initialize_mips_tdep): Add command ``set mips stack-arg-size''
4245 implemented as an enum using size_auto et.al.
4246 (mips_gdbarch_init): Initialize mips_default_stack_argsize and
4247 mips_regs_have_stack_home_p.
4248
4249 * config/mips/tm-irix5.h (MIPS_DEFAULT_SAVED_REGSIZE): Define as 8
4250 for n32.
4251 (MIPS_REGS_HAVE_STACK_HOME_P): Define as 0 for n32.
4252
327fce13
AC
4253Mon May 8 00:49:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
4254
4255 * procfs.c (PROCFS_TRACE): Delete definition.
4256 * proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always
4257 define.
4258
cbfbd72a 42592000-05-05 Michael Snyder <msnyder@cygnus.com>
103b3ef5
MS
4260
4261 * procfs.c: Cleanup of procfs tracing. Move defines and
4262 prototypes to proc-utils.h
4263 * proc-utils.h: Define tracing macros. Declare trace functions.
4264 * proc-api.c: Make procfs tracing a runtime option.
4265 (prepare_to_trace): New function, abstracted out of several
4266 places. Open a trace file if one is required.
4267 (ioctl_with_trace, write_with_trace, open_with_trace,
4268 close_with_trace, wait_with_trace, lseek_with_trace):
4269 Report errno if an error occurs in a system call.
4270 (write_with_trace): Make 2nd arg void *, to agree with write.
4271
b8d39351
EZ
42722000-05-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4273
4274 * elfread.c (elf_symtab_read): The calculation of 'offset'
4275 must be done for each symbol, not just once. The index
4276 used must be the index of the section where 'sym' resides,
4277 not .text.
4278
cbfbd72a 42792000-05-05 Michael Snyder <msnyder@cygnus.com>
6c1a54b2
MS
4280
4281 * procfs.c (many functions): change int cmd; to long cmd;
4282 Solaris /proc API calls this parameter a long, and requires it
4283 for 64-bit hosts (where sizeof(long) != sizeof(int)). UnixWare
4284 calls it an int, but on existing UnixWare hosts, int and long
4285 are the same size. So long it must be. If a future UnixWare
4286 version has problems with this, we'll have to use autoconf.
4287 * proc-api.c (write_with_trace): use long instead of int.
4288
318b21ef
MK
42892000-05-04 Mark Kettenis <kettenis@gnu.org>
4290
4291 * i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
4292 already defined.
4293
e441088d
MK
42942000-05-01 Mark Kettenis <kettenis@gnu.org>
4295
4296 * infrun.c (handle_inferior_event): Add missing call to keep_going
4297 and missing return when handling an ordinary signal from the
4298 inferior.
4299
b8d39351 43002000-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
b8fbeb18
EZ
4301
4302 * objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
4303 SECT_OFF_RODATA): Define as functions of OBJFILE. Add
4304 sect_index_text, sect_index_data, sect_index_rodata,
4305 sect_index_bss to objfile structure.
4306 * gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
4307 SECT_OFF_RODATA): Remove.
4308 * objfiles.c (allocate_objfile): Initialize
4309 sect_index_{text,data,bss,rodata} to -1, for error detection.
4310
4311 * symfile.c (default_symfile_offsets): Initialize
4312 sect_index_{text,data,bss,rodata} from bfd information.
4313 * xcoffread.c (xcoff_symfile_offsets): Ditto.
4314 * somread.c (som_symfile_offsets): Initialize
4315 sect_index_{text,data,bss,rodata}.
4316
4317 * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c,
4318 hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c,
4319 mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h,
4320 remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c,
4321 stabsread.c, symfile.c, xcoffread.c:
4322 Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the
4323 current objfile.
4324
4325 * xcoffread.c: Add new field objfile to find_targ_sec_arg.
4326
6878c383
AC
4327Thu May 4 20:54:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
4328
4329 * config/mips/tm-mipsv4.h (Dest_Reg), config/mips/tm-irix5.h
4330 (MIPS_NUM_ARG_REGS, Dest_Reg), config/mips/tm-mips.h
70d1b0e8
AC
4331 (MIPS_NUM_ARG_REGS), config/mips/tm-mips.h (MIPS_NUM_FP_ARG_REGS):
4332 Delete unused macros.
6878c383 4333
cbfbd72a 43342000-05-03 Michael Snyder <msnyder@cygnus.com>
f5b8946c
MS
4335
4336 * solib.c (elf_locate_base, info_sharedlibrary_command):
4337 Look at the bfd to determine if it is elf32 or elf64, rather
4338 than using an ifdef. This makes it runtime teststable and
4339 multi-arch.
4340
d41707c8
MK
43412000-05-01 Mark Kettenis <kettenis@gnu.org>
4342
4343 * infrun.c (handle_inferior_event): When doing a "next", and
4344 stepping out of a signal handler into its calling trampoline
4345 ignore the value of step_frame_address.
4346 (step_over_function): Only modify step_resume_breakpoint->frame if
4347 the value of step_frame_address is non-zero.
4348
aca52a9b 43492000-05-03 Michael Snyder <msnyder@cygnus.com>
86110418
MS
4350
4351 * monitor.c (monitor_fetch_register): MAX_REGISTER_RAW_SIZE
4352 is not static in the MULTI_ARCH world, so don't use it in a
4353 static array declaration.
4354
54cf9c03
EZ
43552000-05-03 Elena Zannoni <ezannoni@makita.cygnus.com>
4356
4357 * symtab.c (in_prologue): From Jim Blandy. Rewrite, more
4358 intelligently, making sure we use the information from the
4359 symbol tables fully.
4360
02240683
L
43612000-05-02 H.J. Lu <hjl@gnu.org>
4362
4363 * ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE
4364 instead of ELFOSABI_SYSV.
4365
03863182
AC
4366Tue May 2 19:07:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
4367
4368 * gdbarch.sh (NPC_REGNUM, NNPC_REGNUM): Add.
4369 * gdbarch.h, gdbarch.c: Re-generate.
4370
4371 * gdbserver/remote-utils.c (prepare_resume_reply): Change #ifdef
4372 NPC_REGNUM to run-time test.
4373 * findvar.c (generic_target_write_pc): Change #ifdef NPC_REGNUM
4374 and NNPC_REGNUM to run-time test.
4375 * procfs.c (procfs_fetch_registers): Change #ifdef NPC_REGNUM to
4376 run-time test.
4377 (procfs_store_registers): Ditto.
4378
33489c5b
AC
4379Tue May 2 18:48:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
4380
4381 * gdbarch.sh: Provide non- multi-arch defaults by direct
4382 definition in "gdbarch.h" instead of going through "gdbarch.c".
4383 * gdbarch.h, gdbarch.c: Re-generate.
4384 * defs.h: When non- multi-arch, include "arch-utils.h" so that
4385 legacy definitions are globally visible.
4386
258e9693
AC
4387Tue May 2 16:32:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
4388
4389 * MAINTAINERS: Add Syd Polk to gdbtk maintainers.
2ea493eb 4390 (symtabs): Add Elena to symtabs maintainers list.
5d15e252 4391 (Blanket Write Privs): Add Jim Blandy.
258e9693 4392
5330533d
SS
43932000-05-01 Stan Shebs <shebs@apple.com>
4394
4395 Remove obsolete Gould configuration:
4396 * configure.host, configure.tgt: Remove Gould configs.
4397 * Makefile.in: Remove Gould-related actions.
4398 * gould-xdep.c, gould-tdep.c, config/gould/*: Remove files.
4399 * NEWS: Mention removal.
4400
7d418785
AC
4401Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4402
4403 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4404 * defs.h: Properly check for GCC version number.
4405
a6abb2c0
MK
44062000-04-30 Mark Kettenis <kettenis@gnu.org>
4407
4408 Fix single-stepping out of signal trampolines.
4409 * config/i386/nm-linux.h (CHILD_RESUME): Define.
4410 * i386-linux-nat.c (child_resume): New function.
4411
dad41f9a
AC
4412Fri Apr 28 16:22:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
4413
4414 * blockframe.c (frameless_look_for_prologue): Use
4415 PROLOG_FRAMELESS_P instead of SKIP_PROLOGUE_FRAMELESS_P.
4416 * gdbarch.sh (PROLOG_FRAMELESS_P): Define.
4417 * gdbarch.h, gdbarch.c: Re-generate.
4418 * arch-utils.h, arch-utils.c (generic_prologue_frameless_p): New
4419 function.
4420
1bd54964
AC
4421Fri Apr 28 15:31:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
4422
4423 From "Serge Nikulin" <nikulin@actsw.amat.com>:
4424 * m68k-tdep.c (delta68_in_sigtramp): Return 0 when the function
4425 name is unknow.
4426
aca52a9b 44272000-04-27 Michael Snyder <msnyder@cygnus.com>
06b8da7d
MS
4428
4429 * gdbarch.sh (d10v_daddr_p, d10v_iaddr_p, d10v_convert_daddr_to_raw,
4430 d10v_convert_iaddr_to_raw): make these multi-arch functions optional.
4431 * gdbarch.c, gdbarch.h: regenerate
4432
2b5fe715
AC
4433Fri Apr 28 12:21:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
4434
4435 From Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>:
4436 * target.c (do_monitor_command): Cast tcomplain to correct
4437 function type in comparison.
4438
4439Fri Apr 28 11:43:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4440
4441 From 2000-04-25 Guy Harris <guy@netapp.com>:
4442 * config/alpha/alpha-osf3.mh (XDEPFILES): Add ser-tcp.o and
4443 ser-pipe.o
4444
aca52a9b 44452000-04-27 Michael Snyder <msnyder@cygnus.com>
cbda0a99
MS
4446
4447 * jv-valprint.c (java_val_print): Add arg declaration,
4448 fix compiler warning.
4449 * corelow.c (core_open): Call set_gdbarch_from_file so that
4450 gdbarch becomes aware of the architecture encoded in the
4451 corefile.
4452 * findvar.c (write_register_gen): Export this useful interface.
4453 * value.h (write_register_gen): Declare.
4454
a034fba4
EZ
44552000-04-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4456
4457 * cxux-nat.c (add_shared_symbol_files): Don't treat .text section
4458 as special in the section_addr_info structure.
4459 * pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
4460 * osfsolib.c (symbol_add_stub): Ditto.
4461 * irix5-nat.c (symbol_add_stub): Ditto.
4462
28d069e6
AC
4463Thu Apr 27 14:07:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
4464
4465 * mips-tdep.c, d10v-tdep.c: Include "arch-utils.h".
4466
b2f4b24d
AC
4467Thu Apr 27 10:06:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
4468
4469 * TODO: Document IRIX X ARM cross compile problems.
4470
aca52a9b 44712000-04-26 Michael Snyder <msnyder@cygnus.com>
4261bedc
MS
4472
4473 * utils.c (internal_verror): Call target_terminal_ours.
cbda0a99 4474 * wrapper.h: Fix minor comment typo.
b943d152
MS
4475 * proc-api.c (write_with_trace): Change 'arg' from long to int.
4476 Treat 'off_t' and 'size_t' as unsigned long in printfs.
4477 (lseek_with_trace): Treat 'off_t' as unsigned long in printf.
02d5252f
MS
4478 * procfs.c (comments): Eliminate "???" in comments, which GCC
4479 wants to interpret as a trigraph. (fill_gregset, supply_gregset,
cbda0a99 4480 fill_fpregset, supply_fpregset): Declare.
02d5252f
MS
4481 (procfs_wait): Sysargs is a long, change printf format to match.
4482 (test-mapping, mapping_test, test_mapping_cmd) Remove (test only).
b943d152 4483
146bcf0c
KB
44842000-04-26 Kevin Buettner <kevinb@redhat.com>
4485
4486 * config/djgpp/fnchange.lst (ia64-linux-nat.c): Map to
4487 ia64linux-nat.c.
4488
c13c43fd
PDM
4489Wed Apr 26 13:50:35 2000 Philippe De Muyter <phdm@macqel.be>
4490
4491 * ax-gdb.c (agent_command): Remove now useless cast of
4492 `free_current_contents' when passed to `make_cleanup'.
4493 * coffread.c (coff_symfile_read): Ditto.
4494 * dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto.
4495 (dwarf_decode_lines): Ditto.
4496 * eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto.
4497 (parse_and_eval, parse_to_comma_and_eval): Ditto.
4498 * parse.c (parse_exp_1): Ditto.
4499 * printcmd.c (print_command_1, output_command, set_command): Ditto.
4500 (x_command, print_frame_args, printf_command): Ditto.
4501 * top.c (execute_control_command): Ditto.
4502 * tracepoint.c (validate_actionline): Ditto.
4503 * typeprint.c (whatis_exp, ptype_command): Ditto.
4504 (maintenance_print_type): Ditto.
4505
8064c6ae
KB
45062000-04-26 Kevin Buettner <kevinb@redhat.com>
4507
4508 * Makefile.in (ALLDEPFILES): Add ia64-linux-tdep.c.
4509 (ia64-linux-tdep.o): Add dependencies.
4510 (ia64-tdep.o): Add dependency for arch-utils.h.
4511 * ia64-linux-tdep.c, ia64-tdep.c (arch-utils.h): Include.
4512
aca52a9b 45132000-04-25 Michael Snyder <msnyder@cygnus.com>
72229eb7
MS
4514
4515 * blockframe.c: Fix a minor typo in a comment.
4516
0927a22b
KB
45172000-04-25 Kevin Buettner <kevinb@redhat.com>
4518
4519 * ia64-tdep.c (examine_prologue): Recognize store instructions;
4520 those whose source operands are input registers which haven't
4521 been seen before are considered to be part of the prologue.
4522
380b774b
GM
4523Tue Apr 25 13:51:58 2000 glen mccready <gkm@pobox.com>
4524
4525 * rs6000-nat.c (xcoff_relocate_symtam): Recover from the wrong
4526 patch being applied `Fri Apr 7 13:44:38 2000'.
4527
244bc108
KB
45282000-04-24 Kevin Buettner <kevinb@redhat.com>
4529
4530 * ia64-linux-tdep.c: New file.
4531 * ia64-tdep.c (elf-bfd.h): Include.
4532 (ia64_linux_sigcontext_register_address): New extern declaration.
4533 (struct gdbarch_tdep): New struct.
4534 (SIGCONTEXT_REGISTER_ADDRESS): New define.
4535 (read_sigcontext_register): New static function.
4536 (extract_bit_field, replace_bit_field, slotN_contents,
4537 replace_slotN_contents): Made static.
4538 (ia64_frame_chain, ia64_frame_saved_pc, ia64_init_extra_frame_info):
4539 Added new code for signal handler frames and call dummy frames.
4540 (ia64_frame_init_saved_regs): Handle signal handler frames.
4541 (ia64_find_saved_register): Removed.
4542 (ia64_get_saved_register): Handle call dummy frames; reorganized
4543 to call generic_get_saved_register() to find registers saved
4544 in previous frames.
4545 (process_note_abi_tag_sections): New static function.
4546 (ia64_gdbarch_init): Attempt to determine the ABI/OS of the
4547 executable. Based upon this information, set target dependent
4548 field sigcontext_register_address appropriately. Also set
4549 FRAME_CHAIN_VALID to be generic_func_frame_chain_valid.
4550 * config/ia64/linux.mt (TDEPFILES): Add ia64-linux-tdep.o.
4551 * config/ia64/tm-linux.h (IN_SIGTRAMP): Define.
4552 (ia64_linux_in_sigtramp): New declaration.
4553
7162c0ca
EZ
45542000-04-23 Eli Zaretskii <eliz@is.elta.co.il>
4555
4556 * TODO, NEWS: Update due to inclusion of gdbmi.texinfo in the GDB
4557 manual.
4558
878798ce 45592000-04-23 Eli Zaretskii <eliz@is.elta.co.il>
6cafa39f
EZ
4560
4561 * config/djgpp/README: Explain how to unpack using djunpack.bat.
4562
d03e67c9
AC
4563Fri Apr 21 15:23:13 2000 Andrew Cagney <cagney@b1.cygnus.com>
4564
4565 * stabsread.c (REG_STRUCT_HAS_ADDR): Delete default.
4566 (define_symbol): Check REG_STRUCT_HAS_ADDR_P before using
4567 REG_STRUCT_HAS_ADDR.
4568 (define_symbol): Ditto.
4569
4570 * valops.c (hand_function_call): Replace #ifdef
4571 REG_STRUCT_HAS_ADDR with if REG_STRUCT_HAS_ADDR_P. Re-indent
4572 affected code.
4573
4574 * gdbarch.sh (REG_STRUCT_HAS_ADDR): Add along with the predicate
4575 function REG_STRUCT_HAS_ADDR_P.
4576 * gdbarch.h, gdbarch.c: Re-generate.
4577
c221dafc
EZ
45782000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4579
4580 * gdb-stabs.h (SECT_OFF_MAX): Increase to 40.
4581
0aa9cf96
EZ
45822000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4583
4584 * win32-nat.c (handle_load_dll): Don't treat .text as a special
4585 section anymore.
4586 * somread.c (som_symfile_offsets): Ditto.
4587 * somsolib.c (som_solib_add_solib_objfile): Ditto.
4588
889ec156
AC
4589Fri Apr 21 16:14:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
4590
4591 * MAINTAINERS: Make Jimmy Guo TUI maintainer.
4592
c85871a3
AC
4593Fri Apr 21 14:37:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4594
4595 * command.h (help_all): Delete declaration.
4596 * command.c (help_all): Add declaration. Convert function
4597 argument list to ISO-C.
4598
23964bcd
AC
4599Thu Apr 20 18:15:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
4600
4601 * d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.
4602 (d10v_stack_align): Make static.
4603 * config/d10v/tm-d10v.h (STACK_ALIGN): Delete.
4604
2ada493a
AC
4605Thu Apr 20 14:35:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
4606
4607 * valops.c (hand_function_call): Replace #ifdef STACK_ALIGN with
4608 run-time test for STACK_ALIGN_P.
4609 * gdbarch.sh: Add support for function and variable predicates.
4610 (STACK_ALIGN): Add. Implement with predicate - STACK_ALIGN_P.
4611 * gdbarch.h, gdbarch.c: Re-generate.
4612
2f9429ae
AC
4613Thu Apr 20 17:39:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
4614
4615 * defs.h, utils.c (free_current_contents): Change parameter to
4616 void*.
4617
4618 From Philippe De Muyter <phdm@macqel.be>:
4619 * printcmd.c (print_address_symbolic): Call `make_cleanup' with
4620 `(free_current_contents, &x)', not `(free, x)'.
4621 * utils.c (free_current_contents): Do not `free (NULL)'.
4622
4623 * printcmd.c (print_address_symbolic): Cleanup after a failed
4624 call to build_address_symbolic.
4625
61c37cee
CF
46262000-04-20 Christopher Faylor <cgf@cygnus.com>
4627
4628 * wince-stub.c (FREE): New macro.
4629 (mempool): Just free any buffer prior to reuse. Don't bother with
4630 realloc.
4631 (flag_single_step): New function.
4632 (skip_message): Detect "helpful" Windows CE messages and skip sending
4633 them to the host.
4634 (wait_for_debug_event): Use skip_message to avoid sending debug
4635 messages to the host.
4636 (dispatch): Prelimary implementation of single step detection.
4637 * wince.c: Rework SH single stepping code to be more consistent with
4638 other wince targets.
4639 (handle_output_debug_string): Allow first chance exceptions to come
4640 through since they seem to be all that we get on some versions of
4641 Windows CE.
4642 (check_for_step): New function, conditionally compiled based on target.
4643 (regptr): Delete obsolete function.
4644 (handle_exception): Detect illegal instructions.
4645 (get_child_debug_event): Return success only if event code matches
4646 target.
4647 (child_create_inferior): Reflect change to get_child_debug_event
4648 arguments.
4649
8a892701
CF
46502000-04-20 Christopher Faylor <cgf@cygnus.com>
4651
4652 * win32-nat.c (thread_rec): Be more defensive about suspending already
4653 suspended threads.
4654 (safe_symbol_file_add_stub): New function.
4655 (safe_symbole_file_add_cleanup): New function.
4656 (safe_symbol_file_add): New function.
4657 (handle_load_dll): Use wrapper to add DLL symbol information to avoid
4658 bogus errors from non-stabs DLLs.
4659 (handle_exception): Add work around for detection of first exception
4660 breakpoint which does not seem to occur on W2K. Detect more "signals"
4661 that can be effectively passed to the debuggee. Reorganize to eliminate
4662 continue_status global.
4663 (child_continue): Reorganize to eliminate continue_status global.
4664 (child_wait): Ditto.
4665 (child_resume): Ditto.
4666 (get_child_debug_event): Ditto. Recognize when an a breakpoint
4667 exception should be ignored. Change method for signalling when an
4668 important event has occured to the caller.
4669 (child_create_inferior): Use new method for noticing when
4670 get_child_debug_event has found something interesting.
4671
c18e0d23
GM
4672Fri Apr 7 13:44:38 2000 glen mccready <gkm@pobox.com>
4673
4674 * rs6000-nat.c (xcoff_relocate_symtab): Grow buffer if ptrace()
4675 fails due to lack of space.
4676
49a5a3a3
GM
4677Fri Mar 24 12:10:38 2000 glen mccready <gkm@pobox.com>
4678
4679 * command.c, command.h (help_all): Add functionality to display
4680 a complete listing of available commands.
4681
41c49b06
SB
46822000-04-20 Scott Bambrough <scottb@netwinder.org>
4683
4684 * arm-linux-nat.c (PIDGET, TIDGET): New.
4685 (get_thread_id, GET_THREAD_ID): New.
4686 (fetch_nwfpe_register, store_nwfpe_register): New.
4687 (fetch_register, store_register): New.
4688 (fetch_fpregister, store_fpregister): New.
4689 (fill_gregset, supply_gregset): New.
4690 (fill_fpregset, supply_fpregset): New.
4691 (fetch_fpregs): Modified to use thread id's.
4692 (store_fpregs): Modified to use thread id's and
4693 fetch_nwfpe_register.
4694 (fetch_regs): Modified to use thread id's.
4695 (store_regs): Modified to use thread id's.
4696 (fetch_inferior_registers): Modified to handle single register
4697 fetches.
4698 (store_inferior_registers): Modified to handle single register
4699 stores.
4700 (arm_linux_register_u_addr): Removed.
4701
4702 * configure.tgt: Added gdbserver to configdirs for arm*-*-linux*.
4703
4704 * config/arm/linux.mh
4705 (NATDEPFILES): Removed core-aout.o. Added core-regset.o.
4706 (LOADLIBES): Define.
4707
4708 * config/arm/nm-linux.h: Include config/nm-linux.h.
4709 (ATTACH_DETACH): Removed. Defined in config/nm-linux.h.
4710 (REGISTER_U_ADDR): Removed.
4711 (SVR4_SHARED_LIBS): Removed. Defined in config/nm-linux.h.
4712 (#include "solib.h"): Removed. Included via config/nm-linux.h.
4713
ef346e04
AC
4714Thu Apr 20 18:54:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
4715
4716 From Daniel Berlin <dan@cgsoftware.com> and Tim Mooney
4717 <mooney@dogbert.cc.ndsu.nodak.edu>:
4718 * infrun.c (follow_fork_mode_kind_names): NULL terminate
4719 array. Re-indent.
4720 (scheduler_enums): Ditto.
4721
ba886e9d
AC
4722Mon Apr 17 13:37:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
4723
4724 * gdbarch.sh: Make multi-arch variable defaults, defaults for non-
4725 multi-arch targets.
4726 (TARGET_BFD_VMA_BIT, IEEE_FLOAT, CALL_DUMMY_WORDS,
4727 SIZEOF_CALL_DUMMY_WORDS): Update.
4728
4729 * inferior.h (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Default
4730 provided by gdbarch.
4731 (CALL_DUMMY_P): Add FIXME. gdbarch should provide default.
4732
4733 * valprint.c (IEEE_FLOAT): Default provided by gdbarch.
4734
8f0a00f8
JB
47352000-04-19 Jim Blandy <jimb@redhat.com>
4736
b209c575
JB
4737 Bring RETURN_VALUE_ON_STACK under gdbarch's control.
4738 * gdbarch.sh (RETURN_VALUE_ON_STACK): New entry.
4739 * gdbarch.c, gdbarch.h: Regenerated.
4740 * arch-utils.c (default_return_value_on_stack): New function.
4741 * arch-utils.h (default_return_value_on_stack): New declaration.
4742 * values.c (RETURN_VALUE_ON_STACK): Delete default definition.
4743
8f0a00f8
JB
4744 * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
4745 two-dimensional array, instead of faking it with explicit index
4746 arithmetic.
4747
4748 * minsyms.c (prim_record_minimal_symbol_and_info): Doc fix.
4749 (Thanks to Guy Harris.)
4750
8956470d
EZ
47512000-04-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4752
4753 * xcoffsolib.c (solib_add): Fix call to vmap_symtab().
4754
c2d1645f
PS
47552000-04-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4756
4757 * TODO: Update.
4758
e55e8cee
AC
4759Wed Apr 19 19:10:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
4760
4761 * TODO: Document -Wreturn-type problem.
4762
90515c23
AC
47632000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4764
4765 * maint.c (_initialize_maint_cmds): Add `mt i' alias for `mt info'.
4766
7194c49b
AC
47672000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4768
4769 * infcmd.c (_initialize_infcmd): Add `info r' alias for
4770 `info registers'.
4771
df02e9ed
AC
4772Wed Apr 19 17:03:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
4773
4774 From Philippe De Muyter <phdm@macqel.be>:
4775 * bcache.c (free_bcache): Do not free NULL.
4776
9debab2f
AC
4777Wed Apr 19 16:37:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
4778
4779 * TODO: Cleanup.
4780 * NEWS: Update GDB version. Duplicate paragraph explaining
4781 obsolete.
4782
747d1ccb
AC
4783Wed Apr 19 13:06:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
4784
4785 * Makefile.in (distclean): Delete tui/Makefile.
4786 * TODO: Add deletion of tui/Makefile.in to list.
4787
e7cf9df1
EZ
47882000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4789
4790 * symfile.h (struct section_addr_info ): Remove fields for special
4791 treatment of .text, .data and .bss sections.
4792
4793 * solib.c (symbol_add_stub): The special field text_addr is not
4794 available anymore. Search for the .text field the hard way.
4795
4796 * symfile.c (build_section_addr_info_from_section_table): Don't
4797 fill in {text, data, bss}_addr any more.
4798 (default_symfile_offsets): Don't use {text, data, bss}_addr fields
4799 to fill in section_offsets for objfile.
4800 (syms_from_objfile): Don't deal with {text, data, bss}_addr as a
4801 special case anymore.
4802 (add_symbol_file_command): Ditto.
4803
4da95fc4
EZ
48042000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4805
4806 symfile.c: (symbol_file_command): Remove support for rombug, to
4807 simplify code.
4808
db162d44
EZ
48092000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4810
4811 * symfile.c (add_symbol_file_command): Rewrite the arguments
4812 processing part. Simplify syntax of command. Remove support for
4813 rombug.
4814 (_initialize_symfile): Update help message for add-symbol-file
4815 command.
4816
301ab94d
AC
4817Mon Apr 17 15:53:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
4818
4819 * gdbarch.sh (IEEE_FLOAT): Only dump when defined.
4820 * gdbarch.h, gdbarch.c: Re-generate.
4821
bc1821e6
AC
4822Mon Apr 17 11:26:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
4823
4824 * remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
4825 (MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h
4826 (BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE),
4827 gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR,
4828 FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE,
4829 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
4830 REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS,
4831 ADDRESS_TO_POINTER): Delete default definition. Handled by
4832 gdbarch.
4833
4834 * gdbarch.sh: Make multi-arch defaults, defaults for non-
4835 multi-arch targets.
4836 (REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE,
4837 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
4838 D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC,
4839 MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT,
4840 REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION):
4841 Provide default/legacy implementation.
4842 (REGISTER_NAMES, CALL_DUMMY): Allow legacy definition.
4843 * gdbarch.h, gdbarch.c: Re-generate.
4844
0ce865f2
JB
48452000-04-16 Jim Blandy <jimb@redhat.com>
4846
4847 * findvar.c (store_typed_address, extract_typed_address): Fix
4848 function names in error messages.
4849
6c9d75b8
EZ
48502000-04-16 Eli Zaretskii <eliz@is.elta.co.il>
4851
4852 * config/djgpp/config.sed: Fix the lines which edit clean: and
4853 uninstall-info: targets.
4854
8dc7983f
JB
48552000-04-14 Jim Blandy <jimb@redhat.com>
4856
c41dbdb8
JB
4857 Bring IEEE_FLOAT under gdbarch's control.
4858 * gdbarch.sh (IEEE_FLOAT): New entry.
4859 * gdbarch.c, gdbarch.h: Regenerated.
4860 * valprint.c (IEEE_FLOAT): Provide a default #definition for this.
4861 (print_floating): Use IEEE_FLOAT as if it were an expression; use
4862 the code specific to IEEE-format numbers whenever the value of
4863 IEEE_FLOAT is non-zero.
4864 * config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
4865 config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
4866 config/h8300/tm-h8300.h, config/i386/tm-i386.h,
4867 config/i960/tm-i960.h, config/m88k/tm-m88k.h,
4868 config/mips/tm-mips.h, config/pa/tm-hppa.h,
eebc33df 4869 config/sparc/tm-sparc.h (IEEE_FLOAT): For all ports that #define
c41dbdb8
JB
4870 IEEE_FLOAT, make sure they give it the value (1).
4871
8dc7983f
JB
4872 Provide the hooks needed to support architectures on which
4873 pointers are not always simple byte addresses.
4874
4875 * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
4876 functions which architectures can redefine, defaulting to
4877 generic_pointer_to_address and generic_address_to_pointer.
4878 * findvar.c (extract_typed_address, store_typed_address,
4879 generic_pointer_to_address, generic_address_to_pointer): New
4880 functions.
4881 (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default
4882 definitions.
4883 (extract_address, store_address): Doc fixes.
4884 * values.c (value_as_pointer): Doc fix.
4885 (value_from_pointer): New function.
4886 * defs.h (extract_typed_address, store_typed_address): New
4887 declarations.
4888 * inferior.h (generic_address_to_pointer,
4889 generic_pointer_to_address): New declarations.
4890 * value.h (value_from_pointer): New declaration.
4891
4892 The following changes are all of the general form "Use these
4893 functions instead of these other functions." In each case, the
4894 change is because the new calls provide enough information to do
4895 the appropriate address / pointer conversions, where the old calls
4896 did not, or because the new functions are more appropriately named
4897 for the operation being performed.
4898
4899 * ax-gdb.c (const_var_ref): Use value_from_pointer, not
4900 value_from_longest.
4901 * blockframe.c (generic_push_dummy_frame): Use read_pc and
4902 read_sp, not read_register.
4903 * c-valprint.c (c_val_print): Use extract_typed_address instead of
4904 extract_address to extract vtable entries and references.
4905 * cp-valprint.c (cp_print_value_fields): Use value_from_pointer
4906 instead of value_from_longest to extract the vtable's address.
4907 * eval.c (evaluate_subexp_standard): Use value_from_pointer
4908 instead of value_from_longest to compute `this', and for doing
4909 pointer-to-member dereferencing.
4910 * findvar.c (read_register): Use extract_unsigned_integer, not
4911 extract_address.
4912 (read_var_value): Use store_typed_address instead of store_address
4913 for building label values.
4914 (locate_var_value): Use value_from_pointer instead of
4915 value_from_longest.
4916 * hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer,
4917 instead of value_from_longest, to build arguments to __d_shl_get.
4918 * printcmd.c (set_next_address): Use value_from_pointer, not
4919 value_from_longest.
4920 (x_command): Use value_from_pointer, not value_from_longest.
4921 * tracepoint.c (set_traceframe_context): Use value_from_pointer,
4922 not value_from_longest.
4923 * valarith.c (value_add, value_sub): Use value_from_pointer, not
4924 value_from_longest.
4925 * valops.c (find_function_in_inferior, value_coerce_array,
4926 value_coerce_function, value_addr, hand_function_call): Same.
4927 * value.h (COERCE_REF): Use unpack_pointer, not unpack_long.
4928 * values.c (unpack_long): Use extract_typed_address to produce
4929 addresses from pointers and references, not extract_address.
4930 (value_from_longest): Use store_typed_address instead of
4931 store_address to produce pointer and reference values.
4932
d84dd0c5
MK
49332000-04-13 Mark Kettenis <kettenis@gnu.org>
4934
4935 * acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T,
4936 HAVE_PSADDR_T): Add them here instead of in config.in.
4937
4938 * acconfig.h (PRFPREGSET_T_BROKEN): New define.
4939 * configure.in: Add check for broken prfpregset_t type.
4940 * lin-thread.c (gdb_prfpregset): New typedef, depends on
4941 definition of PRFPREGSET_T_BROKEN.
4942 (ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs,
4943 p_td_thr_setfpregs, thread_db_fetch_registers,
4944 thread_db_store_registers): Use gdb_prfpregset_t instead of
4945 prfpregset_t.
4946 * config.in: Regenerated.
4947 * configure: Regenerated.
4948
65edb64b
DD
49492000-04-13 DJ Delorie <dj@cygnus.com>
4950
4951 * mips-tdep.c (do_fp_register_row): copy the number of bytes
4952 allocated, not the size of the pointer.
4953
14164c30
PS
49542000-04-13 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4955
4956 * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Define.
4957 * config/i386/tm-i386sol2.h (HAVE_I387_REGS): Define.
4958 * i386v4-nat.c (supply_fpregset, fill_fpregset): Add code
4959 to handle floating point registers if NUM_FREGS is not zero.
4960
db348f27
ND
49612000-04-13 Nick Duffek <nsd@cygnus.com>
4962
4963 * sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
4964 and document to_find_new_threads bug.
4965
010a3cd9
EZ
49662000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
4967
4968 * infrun.c (proceed, normal_stop): Change the error message about
4969 failure to insert breakpoints/watchpoints so that it makes sense
4970 even if ptrace is not used or no other processes can be active.
4971
413ccac7
AC
4972Thu Apr 13 13:24:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
4973
4974 * configure.in: Add --enable-maintainer-mode.
4975 * aclocal.m4, configure: Re-generate.
4976
4977 * Makefile.in ($(srcdir)/copying.c): Enable dependencies only when
4978 on maintainer-mode. Update copying.c in source directory.
4979 (copying.txt): Delete rule.
4980 (copying.o): Add explict paths to $(srcdir) and explicit make
4981 rule.
4982
acf7b9e1
KB
49832000-04-12 Kevin Buettner <kevinb@redhat.com>
4984
4985 * ia64-linux-nat.c (IA64_PSR_DB, IA64_PSR_DD): Define.
4986 (fetch_debug_register, fetch_debug_register_pair,
4987 store_debug_register, store_debug_register_pair, is_power_of_2,
4988 enable_watchpoints_in_psr, ia64_linux_insert_watchpoint,
4989 ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
4990 New functions.
4991 * config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS,
4992 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
4993 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
4994 target_remove_watchpoint): Define.
4995 (ia64_linux_stopped_by_watchpoint, ia64_linux_insert_watchpoint,
4996 ia64_linux_remove_watchpoint): Declare.
4997
d03cef9d
EZ
49982000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
4999
5000 * go32-nat.c (go32_insert_hw_breakpoint): When there are no more
5001 hardware breakpoint resources, return EBUSY.
5002 (go32_handle_nonaligned_watchpoint): If the argument WHAT is not
5003 one of the enumerated values, return EINVAL.
5004
c63ce875
EZ
50052000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
5006
5007 * README: Mention special build instructions for DJGPP.
5008 * NEWS: Update with FP features on x87 platforms, and
5009 DJGPP-related changes.
5010
ae678129
EZ
50112000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
5012
5013 * top.c (gdb_completer_file_name_break_characters): New variable.
5014 (line_completion_function): When completing on file names, use
5015 gdb_completer_file_name_break_characters as word break
5016 characters for the readline library.
5017
1d77867f
MK
50182000-04-12 Mark Kettenis <kettenis@gnu.org>
5019
5020 * i387-tdep.c (print_i387_value): Avoid call to
5021 floatformat_to_doublest if long double type is the same on host
5022 and target.
5023
287e3058
FN
50242000-04-11 Fernando Nasser <fnasser@cygnus.com>
5025
5026 * wrapper.h: Remove definitions of internal functions.
5027 * wrapper.c: Remove definitions of exported functions (which are
5028 already in wrapper.h) and make static all internal wrap_* functions.
5029
e48f66e4
AC
5030Mon Apr 10 21:58:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5031
5032 * acconfig.h (USE_INCLUDED_REGEX): Add.
5033 * Makefile.in (REGEX_CFLAGS): Delete
5034 * configure.in (REGEX_CFLAGS): Delete. Use AC_DEFINE instead.
5035 * configure, config.in: Re-generate.
5036
f38e884d
SB
50372000-04-10 Philip Blundell <philb@gnu.org>
5038
5039 * arm-linux-nat.c (arm_skip_solib_resolver): Remove and move to
5040 arm-linux-tdep.c.
5041 * arm-linux-tdep.c (arm_skip_solib_resolver): New.
5042
9285ab80
FN
50432000-04-10 Fernando Nasser <fnasser@cygnus.com>
5044
5045 From 2000-04-10 Rodney Brown <rdb@redhat.com>:
5046 * command.h (enum command_class): Remove trailing "," to placate
5047 AIX xlc.
5048
bc9e5bbf
AC
5049Mon Apr 10 20:17:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
5050
5051 * TODO, NEWS: Update. Mention MI.
5052
1ad03bde
AC
5053Mon Apr 10 00:21:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
5054
5055 * gdbarch-utils.h, gdbarch-utils.c: Delete.
5056 * arch-utils.h, arch-utils.c: New files. Avoid 14 character file
5057 name problems.
5058 * Makefile.in: Update.
5059 * gdbarch.c: Update.
5060
a5ea2558
AC
5061Sun Apr 9 23:42:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
5062
5063 From 2000-04-07 Jonathan Larmour <jlarmour@redhat.co.uk>:
5064 * mips-tdep.c (saved_gpreg_size_enums): Define enum command for
5065 new "set mips saved-gpreg-size" command
5066 (MIPS_SAVED_REGSIZE): Now a function mips_saved_regsize()
5067 (MIPS_DEFAULT_SAVED_REGSIZE): Define for default MIPS_SAVED_REGSIZE,
5068 either from target, or gdb multi-arch
5069 (show_mips_command): New. For "show mips" prefix command
5070 (set_mips_command): New. For "show mips" prefix command
5071 (_initialize_mips_tdep): Add top-level mips prefix command
5072 Add "set mips saved-gpreg-size" command
5073
5074 * mips-tdep.c (struct gdbarch_tdep): Rename mips_saved_regsize to
5075 mips_default_saved_regsize.
5076 (mips_gdbarch_init): Update.
5077 (MIPS_DEFAULT_SAVED_REGSIZE): Update.
5078 (mips_gdbarch_init): Use MIPS_REGSIZE as the default value for
5079 mips_default_saved_regsize.
5080
f7384f0f
AC
5081Sun Apr 9 23:27:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
5082
5083 From 2000-04-07 J.T. Conklin <jtc@redback.com>:
5084 * lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
5085 replace calls to target_xfer_memory() with target_read_memory()
5086 and target_write_memory().
5087
85c9a9d5
AC
5088Sun Apr 9 22:54:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5089
5090 * valops.c (value_rtti_type): Compare VALUE_ADDRESS with ``0'' not
5091 NULL. Macro returns a CORE_ADDR.
5092
64367e0a
JB
50932000-04-08 Jim Blandy <jimb@redhat.com>
5094
5095 * dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
5096 Don't include "bfd-elf.h".
5097 (address_significant_size): Delete variable.
5098 (dwarf2_build_psymtabs_hard): Don't set it, or check for
5099 consistency between it and the Dwarf 2 compilation unit header
5100 address size.
5101 (read_address): Don't mask off bits above
5102 address_significant_size.
5103 * Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h).
5104 (elf_bfd_h): Remove variable; it's no longer used.
5105
3423db82
PS
51062000-04-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5107
5108 * configure.in (NEW_PROC_API): Escape square brackets when testing
5109 for solaris2.[678].
5110 * configure: Regenerate.
5111
134e61c4
SB
51122000-04-07 Scott Bambrough <scottb@netwinder.org>
5113
5114 * ChangeLog: Correct date on last entry.
5115 * arm-linux-tdep.c (arm_linux_push_arguments): New function.
5116 * config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux.
5117 * config/arm/tm-embed: Fix build warning from redefinition of
5118 LOWEST_PC.
5119 * config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE.
5120 * config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and
5121 TARGET_BYTE_ORDER. Add TARGET_BYTE_ORDER_SELECTABLE_P to
5122 override default in tm-arm.h. Use default target byte order
5123 from tm-arm.h.
5124
51252000-04-07 Scott Bambrough <scottb@netwinder.org>
03e0fb3a
SB
5126
5127 * Makefile.in: Add dependency information for arm-linux-tdep.c.
5128 * config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.
5129
291dcb3e
PS
51302000-04-07 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5131
5132 * sol-thread.c (gdb_ps_addr_t): New typedef, depends on definition
5133 of PROC_SERVICE_IS_OLD.
5134 (ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite,
5135 rw_common): Change argument type from psaddr_t to gdb_ps_addr_t.
5136
1decb323
AC
5137Fri Apr 7 17:18:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
5138
5139 * Makefile.in (CFLAGS): Set using configure.
5140
5141 * configure.in (WARN_CFLAGS): Enable by default when GCC.
5142 * configure: Re-generate.
5143
d311cd50
AC
5144Fri Apr 7 13:33:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
5145
5146 From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
5147 * procfs.c (init_procfs_ops): Set procfs_ops.to_has_memory and
5148 procfs_ops.to_has_all_memory to 1.
5149
5150 * TODO: Update
5151
6abadcf8
ND
51522000-04-06 Nick Duffek <nsd@cygnus.com>
5153
5154 * configure.in (_MSE_INT_H): Define on Solaris 7.
5155 (NEW_PROC_API): Define on Solaris 7 and 8 as well as 6.
5156 * acconfig.h (_MSE_INT_H): Define on Solaris 7.
5157 * configure: Regenerate.
5158 * config.in: Regenerate.
5159
2f09097b
ND
51602000-04-06 Michael Snyder <msnyder@cygnus.com>
5161
5162 * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
5163 Change to rely on PIDGET etc.
5164 * config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
5165 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
5166 STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
5167 define. Allow target to use procfs hardware watchpoints.
5168 * config/sparc/nm-sun4sol2.h: ditto.
5169 * config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
5170 definitions to use 16 bits for the pid, 15 bits for the tid, and
5171 1 bit for the flag.
5172 * config/sparc/tm-sun4sol2.h: ditto.
5173 (SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
5174 * testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
5175 for more than 15 thread increments.
5176
bcea15ac
EZ
51772000-04-06 Eli Zaretskii <eliz@is.elta.co.il>
5178
5179 * top.c (filename_completer): Set subsequent_name to 1 early on,
5180 to prevent an infinite loop if the first file in the directory is
5181 a backup file (whose name ends in a `~').
5182
c3f432d9
JB
51832000-04-05 Jim Blandy <jimb@redhat.com>
5184
5185 * solib.c (update_solib_list): New function.
5186 (solib_add): Call update_solib_list, and then read symbols.
5187 (info_sharedlibrary_command): Call update_solib_list, not
5188 solib_add.
5189
c20f6dea
SB
51902000-04-05 Scott Bambrough <scottb@netwinder.org>
5191
5192 * arm-linux-tdep.c: Resolve implicit function declarations by
5193 including target.h and value.h. Inclusion of symtab.h is
5194 no longer needed.
5195
faf5f7ad
SB
51962000-04-05 Scott Bambrough <scottb@netwinder.org>
5197
5198 * arm-linux-tdep.c: New file.
5199 * arm-linux-nat.c (fetch_fpregs): Remove unused code.
c20f6dea
SB
5200 (arm_get_longjmp_target): Moved it and all defines
5201 it uses to arm-linux-tdep.c.
5202 (arm_linux_extract_return_value): Moved to
5203 arm-linux-tdep.c.
faf5f7ad
SB
5204 * config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.
5205
c7e79b4b
ND
52062000-04-04 Nick Duffek <nsd@cygnus.com>
5207
5208 * infrun.c (handle_inferior_event): Call target_mourn_inferior
5209 instead of kill_target.
5210
eb3d1d19
DB
52112000-04-04 Daniel Berlin <dan@cgsoftware.com>
5212
5213 * TODO: Make note of various C++ things i have planned for 5.1.
5214
eb90a51f
AC
5215Tue Apr 4 12:13:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
5216
5217 * printcmd.c (print_scalar_formatted): Use local variable ptr_bit
5218 in shift. Stop GCC thinking it has a shift overflow.
5219
d66c34e2
L
52202000-04-03 H.J. Lu <hjl@gnu.org>
5221
5222 * TODO: Remove the regex entry.
5223
88987551
L
52242000-04-03 H.J. Lu <hjl@gnu.org>
5225
5226 * gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX
5227 is defined and <regex.h> otherwise.
5228
5229 * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h".
5230 * monitor.c: Likewise.
5231 * osfsolib.c: Likewise.
5232 * solib.c: Likewise.
5233 * source.c: Likewise.
5234 * symtab.c: Likewise.
5235
5236 * Makefile.in (REGEX): Changed to @REGEX@.
5237 (REGEX_CFLAGS): New.
5238 (REGEX1): Removed.
5239 (ADD_DEPS): Use $(REGEX) instead of $(REGEX1).
5240 (INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS).
5241
5242 * configure.in (--with-included-regex): New switch.
5243 (REGEX): New. Subsstitue @REGEX@ in Makefile.in.
5244 (REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in.
5245 * configure: Regenerated.
5246
afc05dd4
KB
52472000-04-03 Kevin Buettner <kevinb@redhat.com>
5248
5249 * NEWS (powerpc-*-linux*): Mention.
5250
c1ed99b8
C
52512000-04-03 J.T. Conklin <jtc@redback.com>
5252
5253 * config/i386/xm-nbsd.h (HOST_LONG_DOUBLE_FORMAT): Define.
5254
76d689a6
KB
52552000-04-03 Kevin Buettner <kevinb@redhat.com>
5256
5257 * Makefile.in (ALLDEPFILES): Add ia64-linux-nat.c and ia64-tdep.c.
5258 (ia64-linux-nat.o, ia64-tdep.o): Add dependencies.
5259
5260 * ia64-linux-nat.c (fill_gregset): Implement.
5261 (supply_fpregset, fill_fpregset): New functions.
5262
5263 * ia64-tdep.c (ia64_init_extra_frame_info): Revise manner in
5264 which the CFM is fetched for certain frames.
5265 (find_global_pointer, find_extant_func_descr): Don't use
5266 partial symtabs for locating sections.
5267
d61e6540
KB
5268 * config/ia64/linux.mh (LOADLIBES): Define.
5269 (NATDEPFILES): Add linux-thread.o and lin-thread.o.
5270 * config/ia64/nm-linux.h (nm-linux.h): Include this upper-level
5271 file containing generic linux declarations/definitions.
5272 (SVR4_SHARED_LIBS, ATTACH_DETACH): Remove defines; already
5273 defined in generic nm-linux.h.
5274 (solib.h): Remove include; already included in generic nm-linux.h.
5275
f1656894
JB
52762000-04-03 Jim Blandy <jimb@redhat.com>
5277
5278 * solib.c (solib_add): Move all the code for loading symbol tables
5279 below the code to sort out additions and removals. That way, we
5280 always catch all loaded shared libraries whose symbols we haven't
5281 grabbed yet.
5282
5283 * solib.c (solib_add): Don't try to free a shared object's objfile
5284 if it doesn't have one. Duh.
5285
5286 * solib.c (solib_add): If a pattern was given, but it doesn't
5287 match any currently loaded shared libraries, print a message;
5288 don't just be silent.
5289
184a103e
EZ
52902000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
5291
5292 * go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
5293 two-dimensional array instead of faking it with index
5294 arithmetics.
5295
7f668b86
EZ
52962000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
5297
5298 * config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.
5299
5300 * config/i386/tm-go32.h (TARGET_LONG_DOUBLE_BIT): Remove
5301 definition (and use the common one in tm-i386.h).
5302 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Likewise.
5303 (I386_DJGPP_TARGET): Don't define, it's no longer required.
5304 (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Remove definition,
5305 i386-tdep.c defines it for all x86 targets.
5306 (LD_I387, HEX_LONG_DOUBLE_INPUT): Remove.
5307
5308 * config/djgpp/fnchange.lst: Add i386-linux-tdep.c.
5309
5310 * config/djgpp/djcheck.sh: Edit the copyright year out of the test
5311 results. Fix editing of `main' arguments for non-GNU Sed.
5312
515ad16c
EZ
53132000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
5314
5315 * symfile.c (map_overlay_command, unmap_overlay_command): Fix
5316 error message: there's no "overlay on" command.
5317
bf1798ea
EZ
53182000-04-03 Eli Zaretskii <eliz@is.elta.co.il>
5319
5320 * Makefile.in (copying.c): Depend on copying.txt, not COPYING.
5321 (copying.txt): New target, a link to COPYING.
5322
9d6d78f2
AC
5323Mon Apr 3 18:20:03 2000 Andrew Cagney <cagney@b1.cygnus.com>
5324
5325 * TODO: Update.
5326
eb2f494a
AC
5327Mon Apr 3 14:56:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
5328
5329 * top.c: Re-indent.
5330 (set_hook, error_hook): Remove PARAMS.
5331
a960f249
AC
5332Mon Apr 3 14:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
5333
5334 * symtab.h (add_minsym_to_demangled_hash_table): Revert 2000-03-29
5335 Daniel Berlin <dan@cgsoftware.com>. Function was static.
5336 * minsyms.c (add_minsym_to_demangled_hash_table): Add prototype.
5337
afbfc876
AC
5338Mon Apr 3 14:10:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5339
5340 * gdb-events.h, gdb-events.c, gdb-events.sh: Re-indent.
5341
c91ecb25
ND
53422000-04-02 Nick Duffek <nsd@cygnus.com>
5343
5344 * gdbtypes.c (safe_parse_type): New wrapper function to ignore
5345 error() during parse_and_eval_type().
5346 (check_stub_method): Call safe_parse_type instead of
5347 parse_and_eval_type().
5348 * wrapper.c (gdb_parse_and_eval_type): New wrapper function.
5349 (wrap_parse_and_eval_type): New support function.
5350 * wrapper.h (gdb_parse_and_eval_type): Prototype.
5351 (wrap_parse_and_eval_type): Prototype.
5352
2df7b2a7
AC
5353Sun Apr 2 10:32:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
5354
5355 * MAINTAINERS: Eli Zaretskii is a doco maintainer.
5356
c0e8c252
AC
5357Fri Mar 31 08:59:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5358
5359 * gdbarch-utils.h, gdbarch-utils.c: New files.
5360 * Makefile.in (SFILES, COMMON_OBS): Update.
5361 (gdbarch_utils_h) Define.
5362 (gdbarch-utils.o): Add dependencies.
5363
5364 * gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code
5365 handling default method values.
5366 (startup_gdbarch): Rename default_gdbarch, name misleading.
5367 (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
5368 (register_name): Default to legacy_register_name.
5369 (call_dummy_words): Default to legacy_call_dummy_words.
5370 (sizeof_call_dummy_words): Default to
5371 legacy_sizeof_call_dummy_words.
5372 (register_convertible): Default to
5373 generic_register_convertible_not.
5374 (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
5375 (remote_translate_xfer_address): Default to
5376 generic_remote_translate_xfer_address.
5377 (frameless_function_invocation): Default to
5378 generic_frameless_function_invocation_not.
5379
b1ced013
MK
53802000-04-02 Mark Kettenis <kettenis@gnu.org>
5381
ed40e7af
MK
5382 * i386-linux-nat.c: Add copyright notice.
5383
b1ced013
MK
5384 * config/i386/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define as
5385 &floatformat_i387_ext.
5386 * config/i386/xm-i386gnu.h (HOST_LONG_DOUBLE_FORMAT): Likewise.
5387
3956bd70
MK
53882000-03-29 Mark Kettenis <kettenis@gnu.org>
5389
5390 * findvar.c (extract_floating): Remove reference to
5391 TARGET_EXTRACT_FLOATING.
5392 (store_floating): Remove reference to TARGET_STORE_FLOATING.
5393
8310b29b
FN
53942000-03-30 Fernando Nasser <fnasser@cygnus.com>
5395
5396 * wrapper.c (gdb_value_subscript, wrap_value_subscript): New functions.
5397 Safe version of value_subscript.
5398 * varobj.c (): Use gdb_value_subscript() to get an array element value.
5399
aca52a9b 54002000-03-30 Michael Snyder <msnyder@cygnus.com>
1d1358b6
MS
5401
5402 * ui-file.c: Include "gdb_string.h"
5403 * cli-out.c: Include gdb_string.h to avoid compiler warnings.
5404 * wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into
5405 unions, since they are all used to hold both pointers and ints
5406 at various times. Casting pointer to int and vice versa gives
5407 warnings (and is not safe) if they are not the same size.
5408
aca52a9b 54092000-03-30 Michael Snyder <msnyder@cygnus.com>
57e687d9 5410
213c01f7 5411 * defs.h (struct continuation_arg): Make 'data' a union, to avoid
57e687d9 5412 casting problems when int and pointer are not the same size.
213c01f7
MS
5413 * event-top.c (command_handler): Use data as a union.
5414 (command_line_handler_continuation): Ditto.
5415 * infcmd.c (step_1_continuation): Use data as a union. Re-indent.
5416 (step_once): ditto. (finish_command_continuation): Ditto.
5417 (finish_command): Ditto.
5418 * breakpoint.c (until_break_command): Use data as a union.
5419 (until_break_command_continuation): Ditto.
5420 * utils.c (add_intermediate_continuation): Fix typo in comment.
57e687d9 5421
59233f88
AC
5422Thu Mar 30 12:09:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
5423
5424 * gdbarch.h, gdbarch.c: Re-indent. Remove FIXMEs.
5425 * gdbarch.sh: Re-sync with gdbarch.[hc].
5426
0729fd50
DB
54272000-03-29 Daniel Berlin <dan@cgsoftware.com>
5428
5429 * minsyms.c (add_minsym_to_demangled_hash_table): New function.
5430 (install_minimal_symbols): Fix demangled symbol problems caused by
5431 using add_minsym_to_hash_table for the demangled names, which is
5432 wrong. Now we use add_minsym_to_demangled_hash_table.
5433 (lookup_minimal_symbol): Fix problems with demangled symbol lookup
5434 caused by weird control flow.
5435 * symtab.h: Add add_minsym_to_demangled_hash_table prototype here.
5436
d332c5ac
JM
54372000-03-29 Jason Merrill <jason@casey.cygnus.com>
5438
5439 * configure.in: -linux-gnu*, not -linux-gnu.
5440
480ff1fb
AC
5441Tue Mar 28 18:28:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5442
5443 * remote.c (remote_threads_extra_info): Replace qfThreadExtraInfo
5444 with qThreadExtraInfo.
5445
62a4b482
AC
54462000-03-29 J.T. Conklin <jtc@redback.com>
5447
5448 * i386nbsd-nat.c (fetch_core_registers): Make static.
5449
5450 * m68knbsd-nat.c (fetch_core_registers): Make static.
5451 (m68knbsd_core_fns, _initialize_m68knbsd_nat): Added.
5452
67edb2c6
AC
5453Wed Mar 29 13:40:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5454
5455 * TODO: Update GDB 5 status.
5456
80ce1ecb
AC
5457Wed Mar 29 10:16:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
5458
5459 * breakpoint.h (remove_hw_watchpoints): Add declaration.
5460 * breakpoints.c (remove_hw_watchpoints): Update.
5461 * maint.c (maintenance_do_deprecate): Avoid assignment within IF
5462 condition.
5463
692590c1
MS
54642000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5465
5466 breakpoint.c, breakpoint.h (remove_hw_watchpoints): New function.
5467 infrun.c (resume): Remove hardware watchpoints before stepping
5468 when CANNOT_STEP_HW_WATCHPOINTS is nonzero.
5469
aca52a9b 54702000-03-28 Michael Snyder <msnyder@cygnus.com>
e529db18 5471
213c01f7 5472 * Makefile.in: Anchor tui-file.h dependency to $srcdir.
e529db18 5473
03905a3c
MS
54742000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5475
5476 * procfs.c (proc_set_watchpoint): Declare addr parameter as
5477 CORE_ADDR, to match call from procfs_set_watchpoint.
5478
62a4b482
AC
5479 * breakpoint.c (insert_breakpoints, do_enable_breakpoint):
5480 Reselect the saved frame silently after frame selection for
c6902688
MS
5481 watchpoint evaluation.
5482 (insert_breakpoints): Add missing space in `Hardware watchpoint
5483 deleted' message. Do not reinsert hardware watchpoint if it is
5484 already marked for deletion at next stop.
5485
7d88144c
CF
54862000-03-28 Christopher Faylor <cgf@cygnus.com>
5487
5488 * partial-stab.h: Add one more check against corrupted or irregular
5489 stabs entry.
5490
f25d2425
PDM
5491Tue Mar 28 12:23:37 2000 Philippe De Muyter <phdm@macqel.be>
5492
5493 * gnu-regex.c (regerror): Function renamed from `__regerror'.
5494 (Change also approved in the mainline glibc sources)
5495
2171aa41
AC
5496Tue Mar 28 18:19:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
5497
5498 From 2000-03-20 Jonathan Larmour <jlarmour@redhat.co.uk>:
5499 * ser-unix.c (do_unix_readchar): Reorganise to be more robust,
5500 particularly ensuring it can't return SERIAL_TIMEOUT when told
5501 not to time out.
5502
5d161b24
DB
55032000-03-24 Daniel Berlin <dan@cgsoftware.com>
5504
5505 * gdbtypes.c (_initialize_gdbtypes): Add "set debug overload",
5506 which never existed before, and thus, has no deprecated old command.
5507
5508 * gdbarch.c (_initialize_gdbarch): Add "set debug arch", deprecate
5509 "set archdebug" (same goes for the show commands).
5510 * gdb-events.c (_initialize_gdb_events): Add "set debug event",
5511 deprecate "set eventdebug" (same goes for the show commands).
5512 * gdbcmd.h: Add the setdebuglist and showdebuglist externs.
5513 * top.c (init_main): Deprecate remotedebug, use "set/show debug remote"
5514 instead.
5515 x(init_main): Add the "set debug" and "show debug" commands.
5516 Add setdebuglist and showdebuglist.
5517
5518Fri Mar 24 13:00:10 2000 Daniel Berlin <dan@cgsoftware.com>
5519
5520 * maint.c (maintenance_do_deprecate): Fix crash if you call with no arguments, and fixed the warning.
5521 Added prototype for the deprecate command so it doesn't complain.
5522
107b56f0
AC
5523Tue Mar 28 11:52:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
5524
5525 * top.c (print_gdb_version): Bump copyright year to 2000.
5526
c247e9c4
AC
5527Tue Mar 28 10:13:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
5528
5529 * MAINTAINERS: Add Glen McCready to write after approval list.
5530
3f1ef994
AC
5531Tue Mar 28 09:59:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
5532
5533 * acconfig.h: Fix typo in comment describing HAVE_PTRACE_GETREGS.
5534 * config.h: Regenerate.
62a4b482 5535
138f88c0
AC
5536Mon Mar 27 19:53:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5537
5538 * TODO: Update. Add criteria for next release of GDB.
5539
e7d0728a
AC
5540Mon Mar 27 17:20:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
5541
5542 * acconfig.h: Provide default for HAVE_PTRACE_GETREGS.
5543 * config.h: Regenerate.
5544
ee29d710
AC
5545Mon Mar 27 16:43:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
5546
5547 * Makefile.in (install-only): Create $(bindir) and $(man1dir)
5548 before installing GDB.
5549
2e022a79
AC
5550Mon Mar 27 16:26:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
5551
5552 * Makefile.in (all-gdbtk): Check for an existing link/directory.
5553 Re-format warning message. Document that post 5.0 this can be
5554 deleted.
5555
beb998c6
AC
5556Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5557
5558 * ChangeLog: Revert whitespace changes.
5559
56a5d675
AC
5560Mon Mar 27 10:20:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
5561
5562 * MAINTAINERS: Update folks who need accounts.
5563
d6184fa1
AC
5564Mon Mar 27 09:29:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
5565
5566 * MAINTAINERS: J.T. Conklin is NetBSD maintainer.
5567
6e2e8c24
MK
55682000-03-27 Mark Kettenis <kettenis@gnu.org>
5569
5570 * config/i386/tm-i386.h: Fix typo. It is TARGET_LONG_DOUBLE_BIT
5571 instead of TARGET_LONG_DOUBLE_BITS.
5572 * config/i386/tm-i386mk.h: Likewise.
5573
ac27f131
MK
55742000-03-26 Mark Kettenis <kettenis@gnu.org>
5575
5576 Provide `long double' support for most i386 targets.
5577 * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT): Define as
5578 &floatformat_i387_ext.
5579 (TARGET_LONG_DOUBLE_BITS): Define as 96.
5580 (REGISTER_VIRTUAL_TYPE): Change type for FPU registers to
5581 `builtin_type_long_double'.
5582 (REGISTER_CONVERT_TO_VIRTUAL): Call
5583 i386_register_convert_to_virtual.
5584 (REGISTER_CONVERT_TO_RAW): Call i386_register_convert_to_raw.
5585 (i387_to_double, double_to_i387): Remove prototypes.
5586 (i386_extract_return_value): Change prototype to match definition
5587 in i386-tdep.c.
5588 * config/i386/tm-i386mk.h (TARGET_LONG_DOUBLE_FORMAT): #undef.
5589 (TARGET_LONG_DOUBLE_BITS): #undef.
5590 * config/i386/tm-linux.h (TARGET_LONG_DOUBLE_BIT): Remove.
5591 [HAVE_LONG_DOUBLE && HOST_I386] (LD_I387): Remove.
5592 (i387_extract_floating, i387_store_floating): Remove prototypes.
5593 (TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING): Remove.
5594 (REGISTER_CONVERT_TO_VIRTUAL, REGOISTER_CONVERT_TO_RAW): Remove.
5595 (REGISTER_VIRTUAL_TYPE): Remove.
5596 * i386-tdep.c (i386_register_convert_to_virtual): New function.
5597 (i386_register_convert_to_raw): New function.
5598 * i387-tdep.c [LD_I387] (i387_extract_floating): Remove.
5599 (i387_store_floating): Remove.
5600
33f91161
AC
5601Sat Mar 25 18:55:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
5602
5603 * maint.c: Re-indent.
5604
6f122dc9
AC
5605Sat Mar 25 18:51:50 2000 Andrew Cagney <cagney@b1.cygnus.com>
5606
5607 * maint.c (_initialize_maint_cmds): Remove quoted trailing space.
5608
ddda03b2
CF
56092000-03-24 Christopher Faylor <cgf@cygnus.com>
5610
5611 * config/mips/tm-wince.h: Fix typo which caused include of tm-mips.h to
5612 be inoperative.
5613
8227c82d
CF
56142000-03-24 Christopher Faylor <cgf@cygnus.com>
5615
5616 * win32-nat.c: Back out special frame walking code. It was broken.
5617 (handle_exception): Correctly identify an illegal instruction.
5618 * config/tm-cygwin.h: Eliminate special frame handling. Just use
5619 normal i386 handling.
5620
62a4b482
AC
56212000-03-24 J.T. Conklin <jtc@redback.com>
5622
5623 * i386/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
5624 * i386nbsd-nat.c (i386nbsd_use_struct_convention): New function.
5625 (fetch_core_registers): Read fp registers.
5626 (i386nbsd_core_fns, _initialize_i386nbsd_nat): Added.
5627
c7885828
JL
56282000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5629
5630 * arm-tdep.c (thumb_skip_prologue): Take function end addr argument
5631 so that we can stop searching for the prologue past the function end
5632 (arm_skip_prologue): Call thumb_skip_prologue with function end addr
5633
a91f7ea9
KB
56342000-03-24 Kevin Buettner <kevinb@redhat.com>
5635
5636 * linux-thread.c, lin-thread.c (save_inferior_pid,
5637 restore_inferior_pid): Don't do compile time comparison
5638 of TARGET_PTR_BIT and TARGET_INT_BIT.
5639
89c3b6d3
PDM
5640Thu Mar 23 13:18:26 2000 Philippe De Muyter <phdm@macqel.be>
5641
5642 * m68k-tdep.c (P_LINKL_FP, P_LINKW_FP): Macros renamed from P_LINK_L
5643 and P_LINK_W.
5644 (P_PEA_FP, P_MOVL_SP_FP): New macros.
5645 (P_MOVL, P_LEAL, P_MOVML): Macros renamed from P_MOV_L, P_LEA_L and
5646 P_MOVM_L.
5647 (altos_skip_prologue, isi_skip_prologue): Use P_* macros, not octal
5648 constants.
5649 (delta68_in_sigtramp): New function.
5650 (delta68_frame_args_address, delta68_frame_saved_pc): Ditto.
5651 (m68k_skip_prologue): Use P_* macros, not hex constants.
5652 (m68k_find_saved_regs): Do not expect a fixed sequence of register save
5653 instructions, but accept them in any order; use P_* macros, not octal
5654 or hex constants; recognize also `fmovemx to (fp + displacement)' and
5655 `moveml to (fp + displacement)'.
5656 * m68/tm-delta68.h (IN_SIGTRAMP): New macro.
5657 (FRAME_SAVED_PC, FRAME_ARGS_ADDRESS): Ditto.
62a4b482 5658
b83f3627
AC
5659Fri Mar 24 13:44:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
5660
62a4b482
AC
5661 * MAINTAINERS: Add Fernando Nasser to testsuite maintainers.
5662
aca52a9b 56632000-03-23 Michael Snyder <msnyder@cygnus.com>
9452d09b 5664
213c01f7 5665 * solib.c (open_symbol_file_object): To sneak an int argument
9452d09b
MS
5666 past catch_errors, instead of casting it to a pointer, simply
5667 pass it by address.
5668
74cc24b0
DB
56692000-03-23 Jimmy Guo <guo@cup.hp.com>
5670
5671 * gdbtypes.c (rank_function): Rank all N parameters and use correct
5672 index into the prams[] and args[] arrays.
5673
56382845
FN
56742000-03-23 Fernando Nasser <fnasser@cygnus.com>
5675
5676 From David Whedon <dwhedon@gordian.com>
5677
5678 * top.c (execute_command): Checks all commands beore executing
5679 to see if the user needs to be warned that the command is
5680 deprecated, warns user if appropriate.
5681 (add_info), (add_info_alias), (add_com) , (add_com_alias): Changed
5682 return values from void to struct cmd_list_element *.
62a4b482 5683 * command.c (lookup_cmd_1): Check aliases before following link
56382845
FN
5684 in case user needs to be warned about a deprecated alias.
5685 (deprecate_cmd): new exported function for command deprecation,
5686 sets flags and posibly a replacement string.
5687 (deprecated_cmd_warning): New exported funciton to warn user about
62a4b482 5688 a deprecated command.
56382845
FN
5689 (lookup_cmd_composition): New exported function that determines
5690 alias, prefix_command, and cmd based on a string. This is useful
5691 is we want to full name of a command.
5692 * command.h : Added prototypes for deprecate_cmd,
5693 deprecated_warn_user and lookup_cmd_composition, added flags to
5694 the cmd_list_element structure, changed return values for
5695 add_com_* and add_info_* from void to cmd_list_element.
5696 * maint.c : (maintenance_deprecate): New function to deprecate a
5697 command. This exists only so that the testsuite can deprecate
5698 commands at runtime and check the warning behavior.
5699 (maintenance_undeprecate) : New function, drops deprecated flags.
5700 (maintenance_do_deprecate): Actually does the (un)deprecation.
5701 (initialize_maint_cmds): Added the above new deprecate commands.
5702
57032000-03-22 Daniel Berlin <dan@cgsoftware.com>
5704 * command.c (apropos_cmd_helper): New function, meat of the
5705 apropos command.
5706 (apropos_command): New apropos command to search command
5707 names/documentation for regular expressions.
5708 (_initialize_command): Add the apropos command.
5709
aca52a9b 57102000-03-23 Michael Snyder <msnyder@cygnus.com>
0f4db1a1
MS
5711
5712 * sol-thread.c (ps_pglobal_lookup): Change argument type from
5713 paddr_t to psaddr_t. This mistake appears to date from an
5714 erroneous man page in Solaris 2.5 -- the correct type from the
5715 system headers has always been psaddr_t.
213c01f7
MS
5716 (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Ditto.
5717 (rw_common): Ditto.
0f4db1a1 5718
64a5b29c
KB
57192000-03-22 Kevin Buettner <kevinb@redhat.com>
5720
5721 * ia64-linux-nat.c: Fix copyright.
5722 (fill_gregset): Minor formatting fix.
5723 * ia64-tdep.c (template_encoding_table, fetch_instruction,
5724 examine_prologue): Clean up some compiler warnings.
5725 (is_float_or_hfa_type_recurse, is_float_or_hfa_type, find_func_descr,
5726 find_global_pointer, find_extant_func_descr): New functions.
5727 (ia64_use_struct_convention, ia64_extract_return_value,
5728 ia64_push_arguments): Handle HFAs.
5729 (ia64_push_arguments): Find (or build) a function descriptor
5730 when given a function address.
5731 (ia64_push_return_address): Moved code for finding the
5732 global pointer into its own function, find_global_pointer ().
5733
7e5cd2de
EZ
57342000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5735
5736 * event-loop.c (handle_file_event): Run through indent.
5737
44f45770
EZ
57382000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5739
5740 From Philippe De Muyter <phdm@macqel.be>
5741
5742 * event-loop.c (sys/types.h): File now included unconditionally.
5743 (use_poll): New variable..
5744 (gdb_notifier): poll- and select-versions merged.
5745 (add_file_handler): If HAVE_POLL, check whether poll is usable,
5746 and reset `use_poll' if not.
5747 (create_file_handler): Select poll- or select-version according to
5748 `use_poll'.
5749 (delete_file_handler, handle_file_event): Likewise.
5750 (gdb_wait_for_event, poll_timers): Likewise.
5751
593de6a6
PS
57522000-03-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5753
5754 * printcmd.c (print_scalar_formatted): Truncate addresses to the
5755 size of a target pointer before passing them to print_address.
5756
1a309862
MK
57572000-03-22 Mark Kettenis <kettenis@gnu.org>
5758
5759 * config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove.
5760 * config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM):
5761 Remove
5762 * i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines.
5763 (i386_extract_return_value): Rewritten. Correctly support all
5764 floating-point types and large integer types on targets that use
5765 the standard i386 GDB register layout and return floating-point
5766 values in the FPU.
5767
6a08e74c
AC
5768Wed Mar 22 15:09:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
5769
5770 * configure.in (CONFIG_INITS): Do not append remote-nrom.c
5771
62a4b482
AC
57722000-03-21 J.T. Conklin <jtc@redback.com>
5773
5774 * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o.
5775 * i386nbsd-nat.c: New file.
5776
5777 * i386/tm-nbsd.h (NUM_REGS): Removed.
5778 (HAVE_I387_REGS): Defined.
5779 * i386/nm-nbsd.h (FLOAT_INFO): Removed.
5780
5781 * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
5782 SVR4_SHARED_LIBS.
5f04ac3d 5783
f09cffe3
AC
5784Wed Mar 22 11:18:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
5785
5786 * MAINTAINERS: Add Jim Blandy to breakpoint maintainers. David
5787 taylor is the Solaris/SPARC maintainer. Add Jonathan Larmour to
5788 the write after approval list.
5789
62557bbc
KB
57902000-03-21 Kevin Buettner <kevinb@redhat.com>
5791
5792 * symtab.h (MAX_SECTIONS, struct section_addr_info,
5793 symbol_file_add): Move declarations from here...
5794 * symfile.h: ...to here.
5795
5796 * solib.c (symbol_add_stub): Make symbol_file_add () aware of
5797 all section addresses, not just .text.
5798 * symfile.h, symfile.c (free_section_addr_info,
5799 build_section_addr_info_from_section_table): New functions.
5800
5801 * symfile.h (MAX_SECTIONS): Increase value to 40.
5802 * symfile.c (syms_from_objfile): Add bounds check prior to
5803 accessing ``other'' array in a section_addr_info_struct.
5804 Remove unused variable section_offsets.
5805 (add_symbol_file_command): Remove unused variable text_addr.
5806
99e5c1c8
MS
58072000-03-21 Eli Zaretskii <eliz@is.elta.co.il>
5808
5809 * breakpoint.c (bpstat_stop_status): Don't stop if a read
5810 watchpoint appears to break, but the watched value changed.
5811
333a782f
JB
58122000-03-21 Jim Blandy <jimb@redhat.com>
5813
5814 * gdbarch.sh: Emit a definition and declaration for gdbarch_free,
5815 a companion to gdbarch_alloc, which allows a gdbarch init function
5816 to free partially-built gdbarch structures.
5817 * gdbarch.c, gdbarch.h: Regenerated.
5818
eafb8301
KB
58192000-03-20 Kevin Buettner <kevinb@redhat.com>
5820
5821 * configure.host, configure.tgt (ia64-*-linux*): New entry.
5822
5823 * gdbserver/low-linux.c (u_offsets, ia64_register_u_addr,
5824 initialize_arch): Define for IA-64.
5825 (initialize_arch): Add declaration.
5826
2e70b7b9
MS
58272000-03-20 Eli Zaretskii <eliz@is.elta.co.il>
5828
5829 * breakpoint.c (insert_breakpoints, remove_breakpoint)
5830 (bpstat_stop_status, can_use_hardware_watchpoint): Don't insert,
5831 remove, or check status of hardware watchpoints for entire structs
5832 and arrays unless the user explicitly asked to watch that struct
62a4b482 5833 or array.
2e70b7b9
MS
5834 (insert_breakpoints): Try to insert watchpoints for all the values
5835 on the value chain, even if some of them fail to insert.
5836
5837 * values.c (value_primitive_field): Set the offset in struct value
5838 we return when the field is a packed bitfield.
5839
aca52a9b 58402000-03-20 Michael Snyder <msnyder@cygnus.com>
9d1f7ab2 5841
213c01f7 5842 * remote.c (remote_threads_extra_info): New function.
9d1f7ab2 5843 Implement the extra thread info query for "info threads".
213c01f7
MS
5844 (remote_threads_info): Clean up a bit.
5845 (use_threadinfo_query, use_threadextra_query): New variables.
62a4b482 5846 Control whether GDB will use the new or old protocol for
9d1f7ab2 5847 thread info queries.
213c01f7
MS
5848 (remote_open_1): Initialize new variables.
5849 (remote_async_open_1): Ditto.
5850 (remote_cisco_open): Ditto.
9d1f7ab2 5851
16461d7d
KB
58522000-03-20 Kevin Buettner <kevinb@redhat.com>
5853
5854 * ia64-linux-nat.c, ia64-tdep.c, config/ia64/linux.mh,
5855 config/ia64/linux.mt, config/ia64/nm-linux.h, config/ia64/tm-ia64.h,
5856 config/ia64/tm-linux.h, config/ia64/xm-linux.h: New files.
5857
ba8966d6
KB
58582000-03-20 Kevin Buettner <kevinb@redhat.com>
5859
5860 * utils.c (floatformat_from_doublest): Don't assume that a long
5861 will be exactly 32 bits in length. Also... make sure space
5862 that we're writing the float to is completely initialized to
5863 zeroes, even when the number of bits in the float is not
5864 evenly divisible by FLOATFORMAT_CHAR_BIT.
5865
e7ee86a9
JB
58662000-03-20 Jim Blandy <jimb@redhat.com>
5867
5868 * i386-linux-nat.c: No need to #include "frame.h" any more.
5869 (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
5870 LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
5871 LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
5872 LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
5873 LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
5874 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
5875 linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
5876 i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
5877 i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
5878 i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
5879 i386_linux_sigtramp_saved_sp): Deleted. Folks rightly pointed
5880 out that these are target-dependent, and useful in non-native
5881 configurations. Moved to...
5882 * i386-linux-tdep.c: ... Here, a new file.
5883 * Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c.
5884 (i386-linux-tdep.o): New rule.
5885 (i386-linux-nat.o): We no longer depend on frame.h.
5886 * config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o.
5887
58a2c44a
EZ
58882000-03-04 Eli Zaretskii <eliz@is.elta.co.il>
5889
5890 * event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch.
5891 Print an error at compile time if we are to use select, but FD_SET
5892 is not available.
5893 (SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only
5894 if HAVE_POLL is not defined and NO_FD_SET *is* defined.
5895 (create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR.
5896 (delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET.
5897 (gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly
5898 instead of using memcpy and memset. Use FD_ISSET.
5899
5900 * config/i386/xm-go32.h (fd_mask): Remove typedef.
5901
acd46a93
AC
5902Mon Mar 20 19:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
5903
5904 * command.c (_initialize_command): Document requirements for ``!''
5905 command.
5906
b71896da
AC
5907Mon Mar 20 18:12:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
5908
5909 From Fri 10 Mar 2000 Robert
5910 <robert.melchers@drives.eurotherm.co.uk>:
5911 * sh-tdep.c (sh_processor_type_table): Add entry for sh2.
5912
4397a6ab
AC
5913Mon Mar 20 17:33:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
5914
5915 From Thu Mar 16 16:49:27 EST 2000 John David Anglin
5916 <dave@hiauly1.hia.nrc.ca>:
5917 * configure.in (CONFIG_INITS): Don't include hpux-thread.c. Stops
5918 _initialize_hpux_thread being called twice.
5919 * configure: Regenerated.
5920
c5201926
EZ
59212000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
5922
5923 * event-top.c (_initialize_event_loop): If instream is not
5924 connected to a terminal device, turn editing off.
5925
ded59a1e
EZ
59262000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
5927
5928 Support for building GDB with DJGPP, and running the test suite on
5929 it:
5930 * config/djgpp/djconfig.sh: New file.
5931 * config/djgpp/config.sed: New file.
5932 * config/djgpp/README: New file.
5933 * config/djgpp/fnchange.lst: New file.
5934 * config/djgpp/djcheck.sh: New file.
5935
615b480f
EZ
59362000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
5937
5938 * ser-go32.c (ports): Make the initializers complete, to pacify
5939 GCC 2.9X.
5940
1cc26dd0
JB
59412000-03-17 Jim Blandy <jimb@redhat.com>
5942
9f81f4aa
JB
5943 * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
5944 two-dimensional array, instead of faking it with explicit index
5945 arithmetic.
5946
5947 * linux-thread.c (linuxthreads_attach, linuxthreads_detach,
5948 linuxthreads_create_inferior): Fix typo in variable name: it's
5949 linuxthreads_exit_status, not linux_exit_status.
5950
5951 * gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
5952 to W_STOPCODE.
5953
1cc26dd0
JB
5954 * solib.c (solib_add): Delete debugging code.
5955
ca9c33a5
MS
59562000-03-17 Mark Kettenis <kettenis@gnu.org>
5957
5958 * gdb_wait.h: add definitions of WSETSTOP and WSETEXIT for Linux.
5959 * linux-thread.c: Use WSETSTOP instead of W_STOPCODE.
5960
ccdaf797
PDM
5961Fri Mar 17 11:06:59 2000 Philippe De Muyter <phdm@macqel.be>
5962
5963 * language.c (set_lang_str): Do not call `free' for a null pointer.
5964 (set_type_str, set_range_str): Ditto.
5965
7f869e41
JB
59662000-03-16 Jim Blandy <jimb@redhat.com>
5967
17f9defb
JB
5968 * i386-linux-nat.c (i386_linux_saved_pc_after_call): Lost in the
5969 merge; reinstated.
5970
7f869e41
JB
5971 * solib.c (current_sos): Be more careful about freeing the new
5972 so_list node if an error occurs.
5973
11708b95
JB
5974 * i386-tdep.c (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
5975 LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
5976 LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
5977 LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
5978 LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
5979 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
5980 linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
5981 i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
5982 i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
5983 i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
17f9defb
JB
5984 i386_linux_sigtramp_saved_sp): Deleted. These all implement
5985 Linux-specific signal trampoline detection, and should be moved
5986 to...
11708b95
JB
5987 * i386-linux-nat.c: ... here.
5988 * config/i386/tm-linux.h (I386_LINUX_SIGTRAMP): No need to define
5989 this any more, since we're not enabling OS-specific code in a
5990 OS-independent file.
62a4b482 5991
3a95698a
EZ
59922000-03-16 Eli Zaretskii <eliz@is.elta.co.il>
5993
2c33cc30 5994 * Makefile.in (go32-nat.o): Add prerequisites.
3a95698a
EZ
5995 (ALLDEPFILES): Add go32-nat.c.
5996
aca52a9b 59972000-03-15 Michael Snyder <msnyder@cygnus.com>
0a83117a
MS
5998
5999 From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
6000 * symfile.c (reread_symbols): Clear msymbol hash table.
6001
07cd4b97
JB
60022000-03-15 Jim Blandy <jimb@redhat.com>
6003
6004 Deal with the inferior unloading shared objects.
6005 * solib.c (current_sos): New function, replacing find_solib.
6006 (find_solib): Deleted.
6007 (free_so): New function.
6008 (clear_solib): Call free_so, instead of writing it out.
6009 (solib_add): Rewritten: compare the inferior's current list of
6010 shared objects with GDB's list, and do the required loads and
6011 unloads.
6012 (info_sharedlibrary_command, solib_address): Don't use find_solib
6013 to walk the list of shared libraries: call solib_add, and then
6014 walk the list at so_list_head normally.
6015 * objfiles.c (free_objfile): Don't call CLEAR_SOLIB, and don't
6016 detach the core target. These tasks are taken care of elsewhere.
6017 * target.c (remove_target_sections): New function.
6018 * target.h (remove_target_sections): New declaration.
6019
6020 * solib.c (symbol_add_stub): Check whether we've already created
6021 an objfile for this shared object first, before doing all that
6022 work to compute section addresses, etc.
6023
6024 * objfiles.c (unlink_objfile): Report an internal error if objfile
6025 doesn't occur in the object_files list.
6026
6027 * solib.c (special_symbol_handling): Delete argument; it's not
6028 used.
62a4b482 6029
07cd4b97
JB
6030 Changes from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
6031
6032 * solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses
6033 from solib structures. Use it throughout solib.c, get rid of all
6034 CORE_ADDR casts.
6035 (struct so_list): Change type of lmaddr to CORE_ADDR.
6036 (first_link_map_member): Change return value type to CORE_ADDR,
6037 update callers.
6038 (solib_add_common_symbols): Change parameter type to CORE_ADDR,
6039 update callers.
6040 (open_symbol_file_object, find_solib): Change type of lm variable
6041 to CORE_ADDR.
6042
afbae4e3
EZ
60432000-03-15 Eli Zaretskii <eliz@is.elta.co.il>
6044
6045 * ser-go32.c (dos_noop, dos_raw, dos_noflush_set_tty_state)
6046 (dos_print_tty_state, dos_info, _initialize_ser_dos): Convert
6047 to ISO C. Use ATTRIBUTE_UNUSED to avoid compiler warnings.
6048 (dos_info): Avoid compiler warning when printing a ptrdiff_t.
6049
6050 * ser-go32.c (dos_get_tty_state): Fail if the (fake) handle was
6051 not opened by dos_open, but let the 3 standard handles go through
6052 unharmed.
6053
751a959b
EZ
60542000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6055
6056 * eval.c (evaluate_subexp_with_coercion): Add call to
6057 check_typedef, to handle typedeffed vars correctly.
6058
1a0559af
AC
6059Mon Mar 13 21:21:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
6060
6061 * defs.h (STREQ, STRCMP, STREQN): Document that these macros are
6062 somewhat redundant.
6063 (QUIT): Note that this can probably be replaced by a function.
6064
73a93a32
JI
60652000-03-13 James Ingham <jingham@leda.cygnus.com>
6066
62a4b482 6067 Add support for a variable object that tries to evaluate itself in
73a93a32 6068 the currently selected frame, rather than in a fixed frame.
62a4b482 6069
73a93a32
JI
6070 * wrapper.c,h (gdb_parse_exp_1): Added a wrapper for
6071 gdb_parse_exp_1.
62a4b482 6072 * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n
73a93a32
JI
6073 of varobj_create.
6074 * varobj.c (varobj_list): Return type indicates whether the
6075 variable's type has changed (for current frame variables).
6076 (varobj_update): Handle the case where the variable's type has
6077 changed.
62a4b482 6078 (delete_variable_1): Allow for deletion of variables that have not
73a93a32
JI
6079 been installed yet.
6080 (new_root_variable): Initialize use_selected_frame variable.
62a4b482 6081 (value_of_root): This is where most of the work to handle "current
73a93a32
JI
6082 frame" variables was added. Most of the complexity involves
6083 handling the case where the type of the variable has changed.
6084 (varobj_create): Add a "type" argument, to tell if the
6085 variable is one of these "current frame" variables. Also protect
6086 call to parse_exp_1 from long jumping.
62a4b482 6087
0fff5247
EZ
60882000-03-13 Eli Zaretskii <eliz@is.elta.co.il>
6089
6090 * go32-nat.c (struct env387): Remove declaration.
6091 (print_387_status, i386_go32_float_info): Remove redundant
6092 functions.
6093 (regno_mapping, sig_map, excepn_map): Add braces around inner
6094 initializers.
6095 (many functions): Use ATTRIBUTE_UNUSED to shut up the compiler;
6096 fix code which mixed signed with unsigned.
6097 (go32_resume): Use TARGET_SIGNAL_LAST instead of -1.
6098 (go32_wait): Initialize INT3_addr.
6099 (go32_fetch_registers): Extend all FP registers that are shorter
6100 than 4 bytes to 32 bits. Support 32 standard FP registers defined
6101 on config/i386/tm-i386.h.
6102 (store_register): Support 32 FP registers.
6103 (go32_create_inferior): Don't crash if handed a NULL pointer
6104 instead of exec file name.
6105 (ignore): Remove unused function.
6106 (go32_insert_hw_breakpoint): Remove unused variables.
6107 (init_go32_ops): Set value of processing_gcc_compilation to 2.
6108
db577aea
AC
6109Mon Mar 13 18:54:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
6110
6111 From 2000-03-10 Daniel Berlin <dan@cgsoftware.com> Fix C++
6112 overloading, add support for seeing through references:
6113 * valops.c (find_overload_match): Handle STABS overloading for
6114 C++.
6115 (find_overload_match): Look in right place for function arguments
6116 in the debug info.
6117 (find_overload_match): Rather than giving up when we have >1
6118 perfect match, just choose one, especially since the
6119 recommendation GDB gives ("disambiguate it by specifying function
6120 signature"), is basically impossible.
6121 (check_field_in): STREQ->strcmp_iw
6122 (search_struct_field): STREQ->strcmp_iw
6123 (find_method_list): STREQ->strcmp_iw
6124 * gdbtypes.c (rank_one_type): Add ability to see through
6125 references.
6126 (rank_one_type): strcmp->strcmp_iw, because the whitespace could
6127 be different.
6128 (rank_function): Rank function properly (was doing it wrong
6129 before, comparing the wrong parts of the arrays)
6130 (rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD.
6131 * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
6132 associated with converting a non-reference to a reference.
5ae3d436
DB
6133 * eval.c (evaluate_subexp_standard): for OP_VAR_VALUE, always
6134 return full value object; for STRUCTOP_PTR, use pointer to
6135 rtti type to get member / method if objectprint is set and
6136 target type of pointer is class.
db577aea
AC
6137
6138 * gdbtypes.c (rank_one_type): Add comment on how to eliminate the
6139 #ifdef DEBUG_OLOAD.
62a4b482 6140
f75c77fc
MK
61412000-03-11 Mark Kettenis <kettenis@gnu.org>
6142
6143 * gnu-nat.c: Fix the formatting where indent misinterpreted `&' as
6144 a binary operator.
6145 (gnu_attach): Change error message for missing
6146 argument to be identical to the corresponding message in
6147 `inftarg.c'. This makes the testsuite happy.
6148
fb557744
MK
61492000-03-11 Mark Kettenis <kettenis@gnu.org>
6150
6151 * i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the
6152 %eflags isn't modified. This fixes a bug where every call to a
6153 function in the program beyond the first call would fail.
6154
36c2118f
AC
6155Fri Mar 10 11:44:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
6156
6157 * MAINTAINERS: Devolve responsibility for domain maintenance.
6158
a79dea61
EZ
61592000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6160
6161 * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
6162
f1a6b754
SB
61632000-02-25 Scott Bambrough <scottb@netwinder.org>
6164
6165 * gdb.base/long_long.exp: Correct test suite failure when printing
6166 a long long value as a double on ARM platforms.
6167
513d6eba
AC
6168Thu Mar 9 14:21:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
6169
6170 * MAINTAINERS (Core): Anthony Green is the Java - including
7b83ea04
AC
6171 testsuite - maintainer. Reformat testsuite and language support
6172 sections
513d6eba 6173
4cc24188
MK
61742000-03-08 Mark Kettenis <kettenis@gnu.org>
6175
6176 * i386-tdep.c (i386_linux_saved_pc_after_call): New function.
6177 * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call
6178 i386_linux_saved_pc_after_call.
6179
9227b5eb
JB
61802000-03-06 Jim Blandy <jimb@redhat.com>
6181
6182 From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
6183
6184 * minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
6185 (compact_minimal_symbols): Added `objfile' argument.
6186 Put symbols in the objfile's hash table.
6187 (install_minimal_symbols): Put symbols in the objfile's demangled
6188 hash table.
6189 (lookup_minimal_symbol): Use hash table to find symbol in
6190 objfile.
6191 (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
6192 functions.
6193 (prim_record_minimal_symbol_and_info): Initialize the
6194 hash link fields of the new minimal symbol.
6195 * symtab.h (struct minimal_symbol): New fields `hash_next',
6196 `demangled_hash_next'.
6197 (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
6198 * objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
6199 (struct objfile): New fields `msymbol_hash',
6200 `msymbol_demangled_hash'.
6201
ef7904ee
JB
62022000-03-06 Jim Blandy <jimb@redhat.com>
6203
6204 * solib.c (first_link_map_member): Doc fix.
6205
2f16bb32
EZ
62062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6207
7b83ea04 6208 From Eli Zaretskii <eliz@is.elta.co.il>:
2f16bb32
EZ
6209
6210 * event-loop.c (poll_timers): Don't compare delta.tv_sec with
6211 zero, since time_t might be unsigned.
6212
b948cda9
MK
62132000-03-06 Mark Kettenis <kettenis@gnu.org>
6214
6215 * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
6216 in *FPREGSETP.
6217 (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
6218
9eaaac16
MK
62192000-03-05 Mark Kettenis <kettenis@gnu.org>
6220
6221 Allow GDB to run on Linux 2.0 again.
6222 * config.in: Add HAVE_PTRACE_GETREGS.
6223 * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
6224 * configure: Regenerated.
6225 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
6226 CANNOT_STORE_REGISTER): New defines.
6227 * i386-linux-nat.c (have_ptrace_getregs): New variable.
6228 (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
6229 old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
6230 store_register, old_store_inferior_registers): Copied over from
6231 `inptrace.c' as a temporary measure.
6232 (fetch_regs, store_regs, fetch_fpregs, store_fpregs):
6233 Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if
6234 HAVE_PTRACE_GETREGS isn't defined.
6235 (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
6236 with EIO.
6237 (fetch_inferior_registers, store_inferior_registers): Fall back on
6238 the method use in `infptrace.c' (by calling
6239 old_fetch_inferior_registers and old_store_inferior_registers) if
6240 `have_ptrace_getregs' isn't set.
6241
04cd15b6
MK
62422000-03-05 Mark Kettenis <kettenis@gnu.org>
6243
6244 * i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
6245 of gregset_t and fpregset_t. Those are the only names that are
6246 guaranteed to specify the right types for all supported Linux
6247 systems out there.
6248 Various doc fixes and gratitious local variable renames, all in an
6249 attempt to stress similarities between the code and unify the
6250 terminology used. Use ISO-C all over.
6251 (regmap): Remove trailing comma.
6252 (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
6253 (convert_to_gregset): Make static. Remove GDB_REGS argument. It
6254 is unnecessary and wasn't used anyway. All callers changed.
6255 (convert_to_fpregset, convert_to_xfpregset): Likewise.
6256 (fetch_regs, store_regs): Remove unused variable `regno'.
6257 (fill_fpregs): If REGNO is not -1, only update the specified
6258 register.
6259 (fetch_core_registers): Renamed from
6260 i386_linux_fetch_core_registers. There is no need for a unique
6261 name since the function is static anyway.
6262 (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
6263 since it is more descriptive.
6264
9ec7faef
AC
6265Sun Mar 5 19:40:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
6266
6267 * MAINTAINERS (readline/): Expand to include host maintainers.
6268
45a816d9
MK
62692000-03-04 Mark Kettenis <kettenis@gnu.org>
6270
6271 Fix support for Linux/i386 signal trampolines. The old approach
6272 didn't work for Linux 2.2 and beyond, and didn't work with recent
6273 versions of the GNU C library.
6274 * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
6275 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
6276 (linux_rt_sigtramp_code): New variable.
6277 (LINUX_RT_SIGTRAMP_LEN): New define.
6278 (i386_linux_rt_sigtramp_start): New function. Detect start of
6279 signal trampolines for RT signals.
6280 (i386_linux_sigtramp): Removed.
6281 (i386_linux_in_sigtramp): New function.
6282 (i386_linux_sigcontext_addr): New function. Recognize the names
6283 of the signal tranmpolines used by recent versions of the GNU C
6284 library, and add support for RT signals.
7b83ea04 6285 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New
45a816d9
MK
6286 defines. Moved here from config/i386/tm-linux.h.
6287 (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
6288 Reimplement in terms of i386_linux_sigcontext_addr.
6289 * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
7b83ea04
AC
6290 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
6291 Moved to i386-tdep.c.
45a816d9
MK
6292 (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
6293
109213fc 6294Sat Mar 4 19:38:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
b70bc471 6295
109213fc 6296 By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
b70bc471
AO
6297 * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
6298
7158fd7f
AC
6299Sat Mar 4 17:23:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
6300
6301 * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
7b83ea04 6302 sim directory.
7158fd7f 6303
e7411eaa
AC
6304Sat Mar 4 16:19:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
6305
6306 * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
7b83ea04 6307 ``Blanket Write Privs'' maintainers.
e7411eaa 6308
392746e5
AC
6309Sat Mar 4 15:58:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
6310
9ec7faef 6311 From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>:
392746e5 6312 * language.c (longest_local_hex_string_custom): Don't compile
7b83ea04 6313 'long long' section if host doesn't have 'long long'.
392746e5 6314
7acb79c8
AC
6315Sat Mar 4 15:45:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
6316
6317 * language.c (longest_raw_hex_string): Comment out. Appears
7b83ea04 6318 unused.
7acb79c8 6319
082faf24
AC
6320Sat Mar 4 13:02:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
6321
6322 * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
7b83ea04 6323 "mmalloc.h" which means using PTRs.
082faf24
AC
6324 (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
6325
a9ac8f51
AC
6326Sat Mar 4 11:49:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
6327
6328 * defs.h (store_address, store_unsigned_integer, store_address):
7b83ea04 6329 Replace PTR with void* in delcaration.
a9ac8f51 6330 * findvar.c (extract_signed_integer, extract_unsigned_integer,
7b83ea04
AC
6331 extract_long_unsigned_integer, extract_address,
6332 store_signed_integer, store_unsigned_integer, store_address):
6333 Convert definition to ISO-C. Replace PTR with void*.
a9ac8f51 6334
e4005526
AC
6335Sat Mar 4 10:57:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
6336
6337 * defs.h (make_cleanup_func): Document as deprecated.
6338 (make_cleanup_ftype): New typedef. Make signature consistent with
7b83ea04
AC
6339 other function typedefs. Document as not be used out side of
6340 make_cleanup code. Use in make_cleanup declarations.
e54a9244 6341 (null_cleanup): Replace PTR with void*.
62a4b482 6342
e4005526 6343 * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
7b83ea04
AC
6344 make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
6345 null_cleanup): Change K&R definition to ISO-C using void* and
6346 make_cleanup_fytpe.
e4005526
AC
6347 (discard_my_cleanups): Don't cast argument to free.
6348
97bb9d91
EZ
63492000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6350
6351 * defs.h (struct continuation_arg): Change type of field 'data'
7b83ea04 6352 from PTR to void *.
97bb9d91
EZ
6353
6354 * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
6355
6356 * event-top.c: Ditto.
6357
b3a90332
AC
6358Fri Mar 3 15:39:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
6359
6360 * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
7b83ea04 6361 configure.
b3a90332 6362 (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
7b83ea04 6363 SUBDIR_GDBTK_ALL): Define.
b3a90332
AC
6364 (all-gdbtk, clean-gdbtk): New targets.
6365 (all): Add CONFIG_ALL as dependency.
6366 (clean): Add CONFIG_CLEAN as dependency.
62a4b482 6367
b3a90332
AC
6368 * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
6369 (LN_S): Define. Delete GDBtk's link code.
6370
379d6434
AC
6371Fri Mar 3 13:12:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
6372
6373 * configure.in (ENABLE_GDBTK): Delete variable.
6374 (enable-gdbtk): Only enable gdbtk when there is a GDBTK directory.
6375 * Makefile.in: Update.
6376 * configure: Regenerate
6377
7b64ac2f
EZ
63782000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6379
6380 * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
7b83ea04 6381 NATDEPFILES list.
7b64ac2f 6382
667620fa
MK
63832000-03-02 Mark Kettenis <kettenis@gnu.org>
6384
6385 * config/i386/tm-i386aix.h (NUM_FPREGS, NUM_REGS, REGISTER_BYTES):
6386 Override definitions to include the normal FPU registers.
6387 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
6388 REGISTER_CONVERT_TO_RAW): Removed. The default definitions are
6389 fine for AIX/i386.
6390 (i387_to_double, double_to_i387): Remove prototypes.
6391
3db87ba3
KB
63922000-03-02 Kevin Buettner <kevinb@redhat.com>
6393
6394 * findvar.c (extract_floating, store_floating): Use target
6395 floating point type sizes rather host sizes to determine
6396 which conversion needs to be done.
6397
6c7e601e
ND
63982000-03-02 Nick Duffek <nsd@cygnus.com>
6399
6400 * uw-thread.c: Apply GNU conventions to comment formatting.
6401 (deactivate_uw_thread): Call remove_thread_event_breakpoints().
6402 (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints()
6403 call to deactivate_uw_thread().
6404
a09e9d09
AC
6405Thu Mar 2 09:04:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
6406
62a4b482 6407 * MAINTAINERS: Daniel Berlin is C++ maintainer.
a09e9d09 6408
ef7b4488
AC
6409Thu Mar 2 08:55:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
6410
6411 * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
7b83ea04
AC
6412 a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
6413 share SCO/Unixware. Nick Duffek and Peter Schauer share
6414 Solaris/x86.
a09e9d09 6415
75660bc0 6416Wed Mar 1 22:12:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
62a4b482 6417
75660bc0
AC
6418 From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
6419 * remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
62a4b482 6420 * remote-rdi.c (arm_rdi_close): Ditto.
75660bc0 6421
15db4a06
AC
6422Wed Mar 1 19:31:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
6423
6424 * CONTRIBUTE (configure.in): Note that patches to configure are
7b83ea04 6425 not needed.
15db4a06 6426
80582566
MK
64272000-03-01 Mark Kettenis <kettenis@gnu.org>
6428
6429 * MAINTAINERS: Correct my own mail address.
6430
dfe25b3a
AC
6431Wed Mar 1 11:26:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
6432
6433 * MAINTAINERS: Document people with paperwork pending.
6434
05e28a7b
AC
6435Wed Mar 1 00:49:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
6436
6437 From 2000-02-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
6438 Make NEW_PROC_ABI interface functional on Solaris x86.
6439 * sol-thread.c (ps_lgetLDT): Rewrite to use new
7b83ea04
AC
6440 procfs_find_LDT_entry function from procfs.c, mostly copied from
6441 lin-thread.c.
05e28a7b 6442 * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
7b83ea04 6443 needed.
05e28a7b 6444
b241ba8e
AC
6445Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
6446
6447 From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
6448 * config/i386/tm-i386sol2.h (MERGEPID): Define.
6449
1211c4e4
AC
6450Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
6451
6452 From 1999-08-13 J.T. Conklin <jtc@redback.com>:
7b83ea04
AC
6453 * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
6454 FRAME_FIND_SAVED_REGS.
6455 (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
6456 * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
6457 Update.
1211c4e4 6458
2fc18c15
AC
6459Tue Feb 29 23:56:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
6460
6461 From 2000-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
6462 * objfiles.c (open_mapped_file): Fix obsolete references to `mapped'
6463 parameter.
6464
02409499
AC
6465Tue Feb 29 18:47:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6466
6467 From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
6468 * config/i386/nm-go32.h (FLOAT_INFO): Remove macro definition.
6469 (top level): Add prototypes for go32_* functions.
6470 * config/i386/tm-go32.h (I386_DJGPP_TARGET): Define.
6471 (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
6472 Override definitions from tm-i386.h.
6473 (REGISTER_VIRTUAL_TYPE): Remove macro definition.
6474 * i386-tdep.c (i386_extract_return_value)
6475 [I386_AIX_TARGET || I386_GNULINUX_TARGET]: Add I386_DJGPP_TARGET
6476 to the list of targets which return FP values in FP registers.
6477
6478 * i386-tdep.c (i386_extract_return_value): Add FIXME recommending
7b83ea04 6479 that this function be re-implemented using multi-arch.
02409499 6480
9d271fd8
AC
6481Tue Feb 29 18:40:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
6482
6483 From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
6484 * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols
6485 and ScreenRows.
6486 * ser-go32.c: Include string.h, for prototype of strncasecmp.
6487 (dpmi_regs, dpmi_sregs): Remove unused variables.
6488 (dos_flush_input): Return a value, to prevent compiler warning.
6489 * expprint.c (dump_prefix_expression): Use %ld in format and cast
6490 sizeof(union exp_element) to long, to prevent GCC from complaining
6491 about format/argument mismatch.
6492 (dump_postfix_expression): Likewise.
6493
30f6df08
AC
6494Tue Feb 29 18:09:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
6495
6496 * arm-tdep.c: Include <ctype.h>.
6497
d082b2bb
AC
6498Tue Feb 29 17:33:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
6499
6500 From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
6501 * stack.c (backtrace_command_1), infrun.c (normal_stop): Check
7b83ea04 6502 that the target's stack was valid.
d082b2bb 6503
244106e8
AC
6504Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
6505
6506 From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
7b83ea04 6507 * dwarf2read.c (read_address): Read 16-bits addresses.
244106e8 6508
56624b0a
SB
65092000-02-28 Scott Bambrough <scottb@netwinder.org>
6510
6511 * arm-linux-nat.c (fetch_nw_fpe_*):
7b83ea04 6512 Renamed to fetch_nwfpe_* to use the same naming convention
56624b0a
SB
6513 as in the Linux kernel. Modified prototype to get rid of
6514 unused parameters.
6515 (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
62a4b482 6516 naming convention as in the Linux kernel. Fixed calls to
56624b0a
SB
6517 fetch_nwfpe_*.
6518 (store_fpregs): Fixed calls to store_nwfpe_*. Removed
62a4b482 6519 unused variable.
56624b0a 6520
388c1733
AC
6521Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
6522
6523 * MAINTAINERS: Transfer d30v maintainership to David Taylor.
6524
f0d42432
CF
65252000-02-28 Christopher Faylor <cgf@cygnus.com>
6526
6527 * win32-nat.c: Remove unneeded header.
6528 * wince.c: Ditto.
6529
c322964e
AC
6530Mon Feb 28 13:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
6531
6532 * wince.c: Include "gdb_wait.h" and not "wait.h".
6533
8860ff2e
AC
6534Mon Feb 28 10:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
6535
6536 * MAINTAINERS: Mention mmalloc. Expand Host/Native and
7b83ea04 6537 Target/Architecture maintainers descriptions.
8860ff2e 6538
942fd805
MK
65392000-02-26 Mark Kettenis <kettenis@gnu.org>
6540
6541 * gnu-nat.c: Include "gdbthread.h". Include <hurd.h>.
6542 Reorder headers a bit. Overall cleanup and minor reformatting.
6543 (MIG_SERVER_DIED): Remove define.
6544 (proc_update_sc): Add braces to silence compiler warning.
6545 (proc_steal_exc_port): Initialize err to zero.
6546 (make_proc): Add braces to silence compiler warning.
6547 (inf_validate_task_sc): Add cast to silence compiler warning.
6548 (inf_set_traced): Reorganize a bit to silence compiler warning.
6549 (inf_validate_procs): Use mach_msg_type_number_t for all thread
6550 numbers and add braces to silence compiler warning.
6551 (gnu_wait): Add prototypes for server functions and add braces to
6552 silence compiler warnings.
6553 (S_exception_raise_request): Pass subcode to inf_debug call.
6554 (gnu_write_inferior): Remove unused variable `protection_changed'.
6555 (gnu_xfer_memory): Remove unused variable `result'.
6556 (set_sig_thread_cmd): Remove unused varible `tid'.
6557 (set_signals_cmd): Remve unused variable `trace'.
6558 (add_task_commands): Provide complete prototype. Reformat help
6559 strings a bit to make sure the first line is a full sentence.
6560 Call info_port_rights_cmd instead of info_send_rights_cmd for the
6561 "info port-rights" command.
6562 (add_thread_commands): Provide complete prototype. Make static.
6563 Reformat help strings a bit to make sure the first line is a full
6564 sentence.
6565 (_initialize_gnu_nat): Provide complete prototype.
6566
75c6e08a
MK
65672000-02-26 Mark Kettenis <kettenis@gnu.org>
6568
6569 Make cross-compilation for the Hurd more friendly.
6570 From Jeff Bailey <jbailey@gnu.org>:
6571 * configure.in: Use AC_CHECK_TOOL to find MiG.
6572 * Makefile.in (MIG): New variable.
6573 * config/i386/i386gnu.mh (MIG): Remove.
6574 * configure: Regenerated.
6575
ddb20c56
KB
65762000-02-26 Kevin Buettner <kevinb@redhat.com>
6577
6578 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add
6579 comment explaining motivation behind this function and why
6580 the generic facilities won't work for this platform.
6581 * rs6000-tdep.c (skip_prologue): Always test to make sure
6582 that an instruction is read successfully from the target's
6583 memory. Introduce notion of instructions which may appear in
6584 the prologue, but may not end the prologue. Added explicit
6585 check for nop instruction. Use memset() to zero the frame
6586 data instead of assignment from a statically allocated,
6587 uninitialized structure.
6588
2a20d068
AC
6589Sat Feb 26 17:15:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
6590
6591 * MAINTAINERS: Chris Faylor is responsible for all MS Windows
7b83ea04
AC
6592 systems. Note that Jim Blandy as maintainer for ``tracing
6593 bytecode stuff''
2a20d068 6594
608d5915
FN
65952000-02-25 Fernando Nasser <fnasser@cygnus.com>
6596
6597 From: Thomas Zenker <thz@Lennartz-electronic.DE>
6598 * rdi-share/hsys.c: to compile under 4.4BSD derived systems (FreeBSD,
6599 NetBSD...) sys_errlist should not be declared in hsys.c.
6600 NEED_SYSERRLIST is set already by configure, so we can use it.
6601 * rdi-share/unixcomm.c: 4.4BSD derived systems define BSD, but are
6602 posix compliant and we should not work with the old compatibility
6603 stuff. Because of that I undef BSD in case of FBSD etc and include
6604 sys/ioctl to get the flags.
6605 * rdi-share/unixcomm.c: If the TIOCEXCL flags exists set serial line
6606 for exclusive use.
6607
482ca3f5
KB
66082000-02-24 Kevin Buettner <kevinb@redhat.com>
6609
6610 * ppc-linux-tdep.c (ppc_sysv_abi_push_arguments): Put address
6611 of return structure in r3 if necessary.
6612 (ppc_linux_memory_remove_breakpoints): New function.
6613 * rs6000-tdep.c (skip_prologue): Make sure that the cases
6614 for storing either cr or lr to the stack only handle those
6615 cases. (I.e, don't let these cases match 0x00000000 which is
6616 found found in the shared library trampoline prior to the
6617 loading of the shared library.)
6618 * config/powerpc/tm-linux.h (ppc_linux_memory_remove_breakpoint):
6619 Declare.
6620 (MEMORY_REMOVE_BREAKPOINT): Define.
6621
a526d713
AC
6622Wed Feb 23 23:27:48 2000 Andrew Cagney <cagney@behemoth.cygnus.com>
6623
6624 * hppah-nat.c: Include "gdb_wait.h" instead of <wait.h>.
6625
e56ac5c3
AC
6626Thu Feb 24 18:42:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
6627
6628 * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
7b83ea04 6629 $(SUBDIR_*_INSTALL) when so configured.
e56ac5c3 6630 * configure: Regenerate.
62a4b482 6631
e56ac5c3 6632 * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
7b83ea04 6633 configure.
e56ac5c3 6634 (install-only): Add dependency on $(CONFIG_INSTALL). Delete code
7b83ea04 6635 installing GDBtk.
e56ac5c3
AC
6636 (uninstall): Add dependency on $(CONFIG_UNINSTALL).
6637 (SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL,
7b83ea04 6638 SUBDIR_GDBTK_INSTALL): Define.
e56ac5c3
AC
6639 (install-gdbtk): New target.
6640
b0b1b869
AC
6641Thu Feb 24 18:19:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
6642
6643 * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
6644 * configure: Regenerate.
62a4b482 6645
091be84d
CF
66462000-02-24 Christopher Faylor <cgf@cygnus.com>
6647
6648 * configure.tgt: Add arm, mips, sh wince targets.
6649 * config/arm/tm-wince.h: New file.
33ee05bc 6650 * config/arm/wince.mt: New file.
091be84d 6651 * config/sh/tm-wince.h: New file.
33ee05bc 6652 * config/sh/wince.mt: New file.
091be84d 6653 * config/mips/tm-wince.h: New file.
33ee05bc 6654 * config/mips/wince.mt: New file.
091be84d
CF
6655 * wince.c: New file.
6656 * wince-stub.c: New file.
6657 * wince-stub.h: New file.
6658 * sh-tdep.c: Use correct register names for Windows CE.
6659
99eeeb0f
ND
6660Wed Feb 23 19:01:45 EST 2000 Nicholas Duffek <nsd@cygnus.com>
6661
6662 * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
6663 (error_return, quit_return): Merge into catch_return pointer.
6664 (return_to_top_level): Update comment. Longjmp to *catch_errors,
6665 and communicate reason to catch_errors via setjmp return value.
6666 (catch_errors): Always catch both quit and error, and if a catch
6667 wasn't requested by caller, throw it to the next catch_error.
6668 Replace dual longjmp buffer memcpy with single pointer change.
6669 Add FIXME for possibly adding new interface to tell caller what
6670 event was caught. Add extensive comments.
6671 * defs.h (enum return_reason): Reserve 0 for use as initial
6672 setjmp() return value.
6673 (RETURN_MASK): New public macro to generate RETURN_MASK_* from
6674 enum return_reason.
6675 (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
6676
242bfc55
FN
66772000-02-23 Fernando Nasser <fnasser@cygnus.com>
6678
6679 * infcmd.c (run_stack_dummy): Do not pop frame on random signal.
6680 * valops.c (_initialize_valops): Add command "set unwindonsignal".
6681 (hand_function_call): Test for unwind_on_signal and act accordingly.
6682
ff844c8d
AC
6683Wed Feb 23 12:58:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
6684
6685 * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long.
7b83ea04 6686 Match ../include/dis-asm.h change.
ff844c8d
AC
6687 * gdbarch.h: Regenerate.
6688 * corefile.c (dis_asm_read_memory): Update.
6689
fb40c209
AC
6690Mon Feb 21 13:57:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
6691
6692 * configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT.
6693 (ENABLE_CFLAGS): Move initialization to start of file.
6694 (enable-gdbmi): Add new configure option --enable-gdbmi. When
7b83ea04
AC
6695 selected and an ${srcdir}/mi directory is present enable MI
6696 interface.
fb40c209
AC
6697
6698 * configure: Regenerate.
62a4b482 6699
fb40c209 6700 * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS,
7b83ea04 6701 SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
fb40c209 6702 (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
7b83ea04
AC
6703 CONFIG_LDFLAGS): New macros. Initialized by autoconf via
6704 @CONFIG...@.
fb40c209 6705 (INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES,
7b83ea04 6706 INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
fb40c209
AC
6707
6708 * mi: New directory. MI interface to GDB.
6709
6710 * defs.h (interpreter_p): Declare when UI_OUT.
6711 * top.c (gdb_init): When interpreter_p, check that the interpreter
7b83ea04 6712 was recognized by one of the linked in interpreters.
fb40c209
AC
6713 * main.c (interpreter_p): Define.
6714 (captured_main): When UI_OUT, check for ``-i <interpreter>'' option.
6715 * event-top.c (display_gdb_prompt): When interpreter_p, assume
7b83ea04 6716 interpreter displays prompt.
fb40c209
AC
6717
6718 * breakpoint.c (print_it_typical, watchpoint_check,
7b83ea04 6719 print_one_breakpoint, mention): When MI include additional
fb40c209
AC
6720 target status information.
6721 * infrun.c (print_stop_reason, normal_stop): Ditto.
6722
14e0eb3b
JB
67232000-02-22 Jim Blandy <jimb@redhat.com>
6724
6725 * gdbarch.sh: Make the `default' field really default to zero, as
7b83ea04 6726 documented.
14e0eb3b
JB
6727
6728 Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
6729 * valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
6730 more function-like.
6731 (default_coerce_float_to_double, standard_coerce_float_to_double):
6732 New functions.
6733 (value_arg_coerce): Adjust for new definition.
6734 * value.h (default_coerce_float_to_double,
6735 standard_coerce_float_to_double): New declarations for the above.
6736 * gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
6737 * gdbarch.c, gdbarch.h: Regenerated.
6738 * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
7b83ea04
AC
6739 tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
6740 definitions.
14e0eb3b
JB
6741 * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
6742 function here.
6743 (mips_gdbarch_init): Install that as our coerce_float_to_double
6744 function.
6745
50c9bd31
KB
67462000-02-22 Kevin Buettner <kevinb@redhat.com>
6747
6748 * ppc-linux-nat.c (supply_gregset, supply_fpregset): Add return
6749 type.
6750 * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Add
6751 forward declaration.
6752
6753 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Handle case
6754 where the next frame is a signal handler caller.
6755
6756 * config/powerpc/tm-linux.h (PUSH_ARGUMENTS): Remove extraneous
6757 undef.
6758 (tm-linux.h): Include.
6759 (tm-sysv4.h): Don't include (directly). config/tm-linux.h will
6760 include this file for us.
6761 (REALTIME_LO, REALTIME_HI): Don't define. These are defined by
6762 config/tm-linux.h for us.
6763 (SOFUN_ADDRESS_MAYBE_MISSING): Define.
6764
223b8554
KB
67652000-02-21 Kevin Buettner <kevinb@redhat.com>
6766
6767 * Makefile.in (ppc-linux-nat.c, ppc-linux-tdep.c): New files.
6768 (ppc-linux-nat.o, ppc-linux-tdep.o): Add dependencies.
6769 * configure.tgt (powerpc-*-linux*): Separate from powerpc-*-eabi
6770 and like targets.
6771
6772 * ppc-linux-nat.c, ppc-linux-tdep.c, config/powerpc/linux.mt,
6773 config/powerpc/nm-linux.h, config/powerpc/tm-linux.h: New files.
6774 * config/powerpc/xm-linux.h: Substantially revised for native
6775 port.
8883511e
KB
6776 * config/powerpc/linux.mh (NAT_FILE): Redefine to be nm-linux.h.
6777 (NATDEPFILES): Update list to reflect the fact that we can
6778 now debug natively.
223b8554
KB
6779
6780 * rs6000-tdep.c, config/rs6000/tm-rs6000.h
6781 (rs6000_frameless_function_invocation, rs6000_frame_saved_pc):
6782 Renamed; The former names were lacking the rs6000_ prefix.
6783 * rs6000-tdep.c (rs6000_frame_saved_pc): Call FRAME_CHAIN
6784 instead of rs6000_frame_chain.
6785 (rs6000_frame_chain): Call FRAMELESS_FUNCTION_INVOCATION instead
6786 of rs6000_frameless_function_invocation.
6787
750334d7
EZ
67882000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6789
6790 From Philippe De Muyter <phdm@macqel.be>
6791
6792 * event-loop.c (handle_file_event): In case of poll, enable
7b83ea04
AC
6793 printing of informational message if an error/exception is
6794 detected on the file descriptor.
750334d7 6795
2403ff6f
JK
67962000-02-21 Jim Kingdon <kingdon@redhat.com>
6797
6798 * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
6799
f7cb3ef8
AC
6800Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
6801
91b9ff21 6802 * buildsym.c: Include "language.h" and "expression.h" for
7b83ea04 6803 longest_local_hex_string_custom.
f7cb3ef8 6804
0596389c
AC
6805Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
6806
6807 * gdbarch.sh: Include <gdb_wait.h> instead of <wait.h>.
6808 * gdbarch.c: Already updated by Wed Feb 9 18:59:16 2000 Andrew
7b83ea04 6809 Cagney <cagney@b1.cygnus.com>.
0596389c 6810
f5bca8e7
AC
6811Mon Feb 21 11:03:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
6812
6813 * MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando
7b83ea04
AC
6814 nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott
6815 Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol -
6816 to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI -
6817 Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
6818 Kingdon.
f5bca8e7 6819 * MAINTAINERS: Add Nick Clifton to write after approval list.
62a4b482 6820
538aae9d
AC
6821Mon Feb 21 10:30:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
6822
6823 * MAINTAINERS: Add note on multiple maintainers.
6824
55555bbc
FN
68252000-02-19 Philippe De Muyter <phdm@macqel.be>
6826
7b83ea04
AC
6827 * cli-out.c (cli_table_header): Type of parameter `alignment' is
6828 `enum ui_align', not `int'.
6829 (cli_field_string, cli_field_skip): Likewise.
55555bbc 6830
dea753cd 68312000-02-18 Jim Blandy <jimb@redhat.com>
9a90a845 6832
dea753cd 6833 From Jimmy Guo <guo@cup.hp.com>:
9a90a845
JB
6834 * buildsym.h (add_free_pendings): Declare.
6835 * buildsym.c (add_free_pendings): New function.
6836 (make_blockvector): 32x64 fix using longest_local_hex_string().
6837 (start_subfile): initialize variable 'subfile'.
6838
cca728d0
EZ
68392000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6840
6841 * remote.c (remote_async_detach): Use target_mourn_inferior(), to
7b83ea04
AC
6842 make sure that all is cleaned up after we disconnect from the
6843 target.
cca728d0
EZ
6844 (remote_detach): Ditto.
6845
e8b09175
FN
68462000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6847
b8d86de3
FN
6848 From Rodney Brown <RodneyBrown@pmsc.com>
6849 * ui-out.c (ui_out_set_flags): Fix typo, removing warning and
6850 potentially harming mistake.
6851
41815666
FN
68522000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6853
e8b09175
FN
6854 * arm-tdep.c: Use header file instead of extern declarations for
6855 the {get,set}_arm_regname* functions.
6856
d45b9300
FN
68572000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6858
6859 * configure.in: Replaces obsolete gdbtk-variable.c with
6860 gdbtk-varobj.c.
6861 * configure: Regenerate.
6862 * Makefile.in: Remove obsolete/extraneous references to
6863 gdbtk-var* files.
6864
e95a43ad
MK
68652000-02-16 Mark Kettenis <kettenis@gnu.org>
6866
6867 * target.c (do_target_signal_to_host): Do not use REALTIME_LO in
6868 the conversion of the signal number. TARGET_SIGNAL_REALTIME_33 is
6869 33 by definition, whereas REALTIME_LO might be 32 on systems that
6870 have SIG32 such as Linux. Make sure that the signal number
6871 returned is within the range specified by REALTIME_LO and
6872 REALTIME_HI.
6873
7433da22
MK
68742000-02-16 Mark Kettenis <kettenis@gnu.org>
6875
6876 * configure: Regenerated.
6877
bc90b915
FN
68782000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6879
6880 * arm-tdep.c (set_disassembly_flavor, arm_othernames,
6881 _initialize_arm_tdep): Allows the user to choose between any of
6882 the flavors available for the disassembly to be used in the "info
6883 reg" command and elsewhere in gdb. It prevents having to maintain
6884 this information in two places by using the data kept in the
6885 opcodes directory.
6886
83d37ec8
MK
68872000-02-09 Mark Kettenis <kettenis@gnu.org>
6888
6889 * configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
6890 prfpregset_t in <sys/procfs.h>.
6891 * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
6892 HAVE_PRFPREGSET_T.
6893 * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
6894 prgregset_t and prfpregset_t if they are not already present.
6895
eeefac92
AC
6896Wed Feb 16 19:00:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
6897
6898 From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>:
7b83ea04 6899 * procfs.c: Define MERGEPID if not defined. For osf4.0e.
eeefac92 6900
1a645206
JM
69012000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
6902
6903 * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
6904 'do-doc'.
6905
f6077098
KB
69062000-02-15 Kevin Buettner <kevinb@redhat.com>
6907
6908 Changes for AIX 4.3:
6909 * rs6000-tdep.c (rs6000_fix_call_dummy): Set TOC register
6910 to correct value for generic dummy frames. When using
6911 generic dummy frames, don't attempt to write TOC value or
6912 function to call into the call dummy.
7b83ea04 6913 (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
f6077098
KB
6914 code to also handle the PowerOpen ABI.
6915 (ppc_push_return_address): Enable for all ports.
6916 * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES,
62a4b482 6917 PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
f6077098
KB
6918 CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION,
6919 CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults
6920 provided by generic RS6000 definitions so that call dummies
6921 are implemented using generic dummy frames instead.
6922
6923 * rs6000-nat.c (store_inferior_registers): Call exec_one_dummy_insn()
6924 prior to changing the stack pointer via ptrace(). Also, ignore
6925 attempts to store to undefined registers that are less than
6926 NUM_REGS.
6927
6928 * rs6000-tdep.c (DUMMY_FRAME_SIZE): Change size of the dummy
6929 frame from 436 to 448 to account for alignment padding.
6930 (rs6000_push_arguments): Obtain actual register size instead
6931 of assuming the register is 4 bytes long. [There's still
6932 more work to be done to totally remove the 4 byte assumption,
6933 however.] Make sure the stack is 16 byte aligned as required
6934 by the PowerOpen ABI. Also, make sure that small structures
6935 passed in registers are properly aligned within the register.
6936
69372000-02-15 Jesper Skov <jskov@cygnus.co.uk>
6938
6939 Patch applied by Kevin Buettner <kevinb@redhat.com>
62a4b482 6940
f6077098
KB
6941 * rs6000-tdep.c (skip_prologue): skip copying of argument
6942 registers to local variable registers.
6943
70d5406d
JK
69442000-02-14 Jim Kingdon <kingdon@redhat.com>
6945
6946 * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
6947 sym->section->index number is not a SECT_OFF_* code.
6948
168770df
AC
6949Tue Feb 15 12:07:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
6950
6951 * MAINTAINERS (write after approval): Add H.J. Lu.
6952
031d1bf1
NC
69532000-02-14 Nick Clifton <nickc@cygnus.com>
6954
6955 * sh-tdep.c: Remove extraneous code.
6956
2bc8a457
JK
69572000-02-14 Amit S. Kale <akale@veritas.com>
6958
6959 * elfread.c (elf_symtab_read): Move the use of sym to after where
6960 it is set.
6961 Checked in by Jim Kingdon <kingdon@redhat.com>
6962
0c566c2e
AC
6963Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
6964
6965 * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
6966
3ca72b44
AC
6967Mon Feb 14 15:20:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
6968
6969 From 1999-11-24 Jason Merrill <jason@casey.cygnus.com>:
6970 * dwarf2read.c: (die_is_declaration): New fn.
6971 (read_structure_scope): Use it.
6972
6973 * dwarf2read.c: (die_is_declaration): Convert to ISO-C.
6974
d6e9fb05
JK
69752000-02-10 J.T. Conklin <jtc@redback.com>
6976
6977 * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
6978 * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
7b83ea04 6979 configdirs.
d6e9fb05 6980 * gdbserver/low-nbsd.c: New file.
62a4b482 6981
d6e9fb05
JK
6982 * gdbserver/Makefile.in: convert to autoconf.
6983 * gdbserver/configure.in: likewise.
6984 * gdbserver/configure: generate.
6985
41c8e009
AC
6986Sun Feb 13 11:21:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
6987
6988 * CONTRIBUTE: New file. How to contribute to GDB.
6989
15929d05
AC
6990Sun Feb 13 10:34:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
6991
6992 * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin
7b83ea04
AC
6993 Buettner to powerpc maintainers. Make Kevin Buettner the
6994 GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon
6995 and Jason Molenda to write after aproval list.
15929d05 6996
5185fdd7
AC
6997Sun Feb 13 10:18:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
6998
6999 * MAINTAINERS: Reformat. Separate into check-in categories.
7000
f086451a
ND
7001Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <nsd@cygnus.com>
7002
7003 * uw-thread.c: Remove __FUNCTION__ GNUism.
7004
fa292f23
JK
70052000-01-17 Amit S. Kale <akale@veritas.com>
7006
7007 * elfread.c (elf_symtab_read): Use offset for the section in which a
7008 symbol resides, instead of .text section for calculating address of a
7009 symbol.
7010 Checked in by Jim Kingdon <kingdon@redhat.com>
7011
e18ef0bd
JK
70122000-02-10 Mark Kettenis <kettenis@gnu.org>
7013
7014 * gnu-nat.c: Remove hackery to include <bits/waitflags.h>. It is
7015 no longer necessary now we have gdb_wait.h.
7016
f90b2b1d
JK
70172000-02-09 Mark Kettenis <kettenis@gnu.org>
7018
7019 * gnu-nat.c (proc_string): Make global.
7020 (do_mach_notify_dead_name): Suppress dead name notifications if we
7021 know that the task is dead.
7022
70231999-12-13 Mark Kettenis <kettenis@gnu.org>
7024
7025 * gnu-nat.c (inf_validate_task_sc): Get task info via proc server
7026 instead of directly from the kernel. Add some hackery to make
7027 sure that the info isn't influenced by suspension of the task in
7028 the proc server itself.
7029
09f99d3f
JK
70302000-02-10 Jim Kingdon <kingdon@redhat.com>
7031
7032 * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
7033 approved by Michael Snyder.
7034
203051af
AC
70352000-02-09 Mark Kettenis <kettenis@gnu.org>
7036
7b83ea04 7037 * linux-thread.c: Include defs.h before gdb_wait.h.
203051af 7038
03f2053f
AC
7039Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
7040
7041 * Makefile.in (wait_h): Delete macro. Update all dependencies
7b83ea04 7042 specifying gdb_wait.h instead.
03f2053f
AC
7043
7044 * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
7b83ea04
AC
7045 remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
7046 remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
7047 convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
7048 remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
7049 remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
7050 remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
7051 ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
7052 infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
7053 fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
7054 or <sys/wait.h>.
145679a8 7055 * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
03f2053f
AC
7056
7057 * gdb_wait.h: New file. Based on ../include/wait.h. Include
7b83ea04 7058 <sys/wait.h> or <wait.h> and then define any missing WIF macros.
03f2053f 7059
489137c0
AC
7060Wed Feb 9 01:14:54 2000 Andrew Cagney <cagney@amy.cygnus.com>
7061
7062 * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Define.
7063 * config/d10v/tm-d10v.h (STACK_ALIGN): Define.
7064 (d10v_stack_align): Declare.
7065 * d10v-tdep.c (d10v_stack_align): Define.
7066
ce808e91
AC
70671999-08-23 J.T. Conklin <jtc@redback.com>
7068
7b83ea04
AC
7069 * top.c (remote_timeout): Change default to 2. Add comment
7070 explaining history of changes to the default value.
7071 * remote.c (_initialize_remote): Remove code that adds set/
7072 show remotetimeout, as that's also done in top.c
ce808e91 7073
e9277ae8
AC
70741999-10-18 J.T. Conklin <jtc@redback.com>
7075
7b83ea04
AC
7076 * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
7077 Return E01 instead of P01 when 'P' command fails.
e9277ae8 7078
1216fa2c
AC
70792000-02-05 J.T. Conklin <jtc@redback.com>
7080
7081 * remote.c (putpkt_binary): Handle NAK from target stub.
7082
f2c4d933
EZ
70832000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7084
7085 * configure.in: Remove the addition of sol-thread.c to the
7086 CONFIG_INITS list. This caused problems with init.c, because
7087 sol-thread.c would be grepped twice for _initialize_* functions.
7088 * configure: Ditto.
7089 * Makefile.in: Add FIXME for init.c.
7090
745b8ca0
JK
70912000-02-07 Jim Kingdon <kingdon@redhat.com>
7092
7093 Clean up compiler warnings:
7094 * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
7095 stack.c, valprint.c: Change variables to unsigned.
7096 * bcache.c: Rearrange to avoid warnings about variables not being set.
7097 * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
7098 rather than declaring print_max and repeat_count_threashold
7099 ourselves (incorrectly).
7100 * valprint.h: Do declare repeat_count_threashold.
7101 * ch-exp.c: Use default case for internal error.
7102 * findvar.c: Don't omit argument type.
7103 * symtab.c: Remove unused variable.
7104
4d9ab7f6
JK
71052000-02-04 Jim Blandy <jimb@redhat.com>
7106
7107 * c-typeprint.c (remove_qualifiers): New function.
7108 (c_type_print_base): Use it to remove qualifiers from C++
7109 qualified names, not strrchr.
7110
7111 * c-typeprint.c (c_type_print_base): Recognize type conversion
7112 operators by calling is_type_conversion_operator.
7113 (is_type_conversion_operator): New function.
7114
dfcd3bfb
JM
71152000-02-04 Nick Clifton <nickc@cygnus.com>
7116
7117 * config/arm/tm-arm.h (LOWEST_PC): Define.
7118
71192000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7120
7121 * infrun.c (resume): Make just one call to target_resume(), instead
7b83ea04
AC
7122 of four: set up correct parameters in all the cases ahead of time,
7123 and do call at the end.
dfcd3bfb
JM
7124
71252000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7126
7127 * config/powerpc/tm-ppc-eabi.h: Define
7b83ea04 7128 SOFUN_ADDRESS_MAYBE_MISSING.
dfcd3bfb
JM
7129
71302000-02-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
7131
7132 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy
7133 frames (revisited).
7134
7135Fri Feb 4 22:42:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
7136
7137 * Makefile.in (INIT_FILES): Append CONFIG_INITS
7138 * configure.in (CONFIG_INIT): Initialize.
3fc11d3e
JM
7139 (links): Link srcdir/gdbtk/library to gdbtcl2.
7140 * gdbtcl2: Moved to gdbtk/library.
7141 ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
7b83ea04
AC
7142 gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
7143 gdbtk.h: Moved to gdbtk/generic.
dfcd3bfb
JM
7144
71452000-02-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7146
7147 * printcmd.c (build_address_symbolic): New function. Returns all
7b83ea04
AC
7148 the parts that are necessary to print an address in a symbolic
7149 form.
dfcd3bfb 7150 (print_address_symbolic): Split into a printing part and an
7b83ea04 7151 information building part, build_address_symbolic().
dfcd3bfb
JM
7152
7153 * defs.h (build_address_symbolic): Export.
7154
71552000-02-03 Jim Blandy <jimb@redhat.com>
7156
7157 * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx
7158 opcode.
7159
8b93c638
JM
71602000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
7161
7162 * arm-tdep.c (arm_push_arguments): Fix passing of floating point
7163 arguments on dummy frames.
7164
71652000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
7166
7167 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy frames.
7168 (arm_pop_frame): Account fr dummy frames (as opposed to real ones).
7169
d9fcf2fb
JM
71702000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7171
7172 * remote.c (getpkt_sane): New function. It is the old getpkt(),
7b83ea04 7173 which now returns a timeout indication.
d9fcf2fb 7174 (getpkt): New function. Wrapper for getpkt_sane(), so that return
7b83ea04 7175 value can still be ignored.
d9fcf2fb 7176
8b93c638
JM
7177Tue Feb 1 18:47:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
7178
7179 * top.c (print_gdb_version): Print ``UI_OUT'' when configured with
7b83ea04 7180 UI_OUT.
8b93c638 7181
d9fcf2fb
JM
7182Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
7183
7184 * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename
7b83ea04
AC
7185 ``struct gdb_file'' to ``struct ui_file''. Delete typedef
7186 GDB_FILE.
62a4b482 7187
d9fcf2fb
JM
7188 * Makefile.in: Update.
7189
7190 * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
7b83ea04
AC
7191 c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
7192 ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
7193 cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
7194 expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
7195 frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
7196 gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
7197 jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
7198 m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
7199 printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
7200 remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
7201 ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
7202 serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
7203 target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
7204 utils.c, v850ice.c, valprint.c, valprint.h, value.h,
7205 config/pa/tm-hppa.h: Update.
8b93c638 7206 * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
d9fcf2fb 7207
da59e081
JM
72082000-01-31 Jason Molenda (jsm@bugshack.cygnus.com)
7209
a9e0ce2c
JM
7210 * config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh,
7211 config/i386/i386dgux.mh, config/i386/i386sol2.mh,
7212 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
7213 config/i386/ncr3000.mh, config/m68k/m68kv4.mh,
7214 config/m88k/delta88v4.mh, config/mips/irix4.mh,
7215 config/mips/irix5.mh, config/mips/mipsv4.mh,
da59e081 7216 config/powerpc/solaris.mh (NATDEPFILES): Change references to
a9e0ce2c 7217 proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to
da59e081
JM
7218 proc-api.o, proc-events.o, proc-flags.o, and proc-why.o.
7219
7220Mon Jan 31 17:14:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
7221
7222 * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
7223
7224 * main.c (captured_main): Only use the legacy tui_file code when
7b83ea04 7225 linking in older code such as the TUI.
da59e081
JM
7226
7227 * gdb-file.h, gdb-file.c: New files.
7228 * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
7b83ea04
AC
7229 null_file_isatty, null_file_rewind, null_file_put,
7230 null_file_flush, null_file_write, null_file_fputs,
7231 null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
7232 gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
7233 set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
7234 set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
7235 set_gdb_file_data, struct accumulated_gdb_file,
7236 do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
7237 mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
7238 mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
7239 stdio_file_delete, stdio_file_flush, stdio_file_write,
7240 stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
7241 Moved to gdb-file.h and gdb-file.c.
da59e081 7242 * utils.c (enum streamtype, struct tui_stream, tui_file_new,
7b83ea04
AC
7243 tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
7244 tui_file_rewind, tui_file_put, tui_file_fputs,
7245 tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
da59e081 7246 fputs_unfiltered_hook):
7b83ea04 7247 Moved to tui/tui-file.c and tui/tui-file.h.
62a4b482 7248
da59e081
JM
7249 * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o.
7250 (tui-file.o, gdb-file.o): Add dependencies.
7251 (corefile.o, main.o, utils.o, simmisc.o): Update dependencies.
7252 * main.c: #include tui/tui-file.h.
7253
72542000-01-28 Fred Fish <fnf@cygnus.com>
7255
7256 * findvar.c (value_from_register): Special case handling of D10V
7257 pointer values fetched from registers.
7258
72592000-01-28 Fernando Nasser <fnasser@totem.to.cygnus.com>
7260
7261 * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add
b55cf2e4 7262 support for new style thumb prologues.
da59e081
JM
7263
72642000-01-28 Nick Clifton <nickc@redhat.com>
7265
7266 * arm-tdep.c: Remove extraneous dash at start of strings
7267 introduced in previous delta.
7268
72692000-01-27 Nick Clifton <nickc@redhat.com>
7270
7271 * arm-tdep.c: Replace uses of arm_toggle_renames() with
b55cf2e4 7272 parse_arm_disassembler_option().
da59e081
JM
7273
72742000-01-27 Jim Blandy <jimb@cygnus.com>
7275
7276 * symtab.c (decode_line_1): Don't let commas that are within
7b83ea04
AC
7277 quotes or parenthesis terminate the line spec. Don't use pp when
7278 removing the final double quote of a double-quoted string. Don't
7279 forget to skip the opening double quote. I have no clue whether
7280 this change is correct; probably we've just moved this function
7281 from one buggy place to another buggy place, and never came within
7282 an outhouse whiff of correctness.
da59e081
JM
7283 (find_toplevel_char): New function.
7284
72852000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
7286
7287 * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
7b83ea04 7288 passing the pointer to a thumb function as an argument.
da59e081
JM
7289
72902000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
7291
7292 * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints
7293 are reinserted for another run.
7294
8b93c638
JM
72952000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
7296
7297 * cli-out.c (cli_filed_string): Test for NULL string.
7298
da59e081
JM
72992000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
7300
7301 * infcmd.c (run_stack_dummy): Account for a random signal stopping
7302 the inferior as well as breakpoints being hit while performing an
7303 inferior function call.
7304 * valops.c (hand_function_call): Ditto.
7305
73062000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7307
7308 From Mark Kettenis <kettenis@gnu.org>
7309
7310 * config/i386/tm-i386gnu.h (THREAD_STATE_FLAVOR): Define to
7311 i386_REGS_SEGS_STATE.
7312 (HAVE_I387_REGS): Define.
7313 (FLOAT_INFO): Remove.
7314 * i386gnu-nat.c: Almost completely rewritten to use new i386
7315 register layout and `float info' implementation.
7316 * gnu-nat.c (inf_update_procs, proc_get_state, proc_string):
7317 Move prototypes from here.
7318 * gnu-nat.h: To here.
7319
0fda6bd2
JM
73202000-01-24 Kevin Buettner <kevinb@redhat.com>
7321
7322 * utils.c (get_field, put_field): Fix buffer underruns and
7323 overruns. Also, handle case where total_len is not evenly
7324 divisible by 8.
7325 (getfield): Make sure zeroing of unwanted bits occurs even
7326 when bit field to extract does not straddle two or more
7327 bytes.
7328
73292000-01-23 Christopher Faylor <cgf@cygnus.com>
7330
7331 * defs.h: Add gdb_thread_select declaration.
7332
73332000-01-23 Kevin Buettner <kevinb@redhat.com>
7334
7335 * linux-thread.c (_initialize_linuxthreads): Make sure that
7336 linuxthreads_block_mask does not block SIGCHLD.
7337
73382000-01-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
7339
7340 * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to
7341 text so that new lines work properly.
7342
73432000-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7344
7345 * proc-utils.h: New file. Export functions from proc-*.c.
7346
7347 * proc_api.c: Rename to:
7348 * proc-api.c: New file. Add include of proc-utils.h.
7349
7350 * proc_events.c: Rename to:
7351 * proc-events.c: New file.
7352
7353 * proc_flags.c: Rename to:
7354 * proc-flags.c: New file.
7355
7356 * proc_why.c: Rename to:
7357 * proc-why.c: New file. Add include of proc-utils.h.
7358
7359 * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
7b83ea04 7360 ctype.h, proc-utils.h.
0fda6bd2
JM
7361 (find_procinfo_or_die): Add braces to avoid ambiguous else clause.
7362 (open_procinfo_files): Conditionalize local variable tmp, to avoid
7b83ea04 7363 compiler warnings.
0fda6bd2 7364 (proc_iterate_over_mappings): Conditionalize local vars mapfd and
7b83ea04 7365 pathname.
0fda6bd2 7366 (procfs_wait): Adjust format in some printf_filetered calls to
7b83ea04 7367 avoid compiler warnings.
0fda6bd2 7368 (make_signal_thread_runnable): Ifdef 0. The calls to this function
7b83ea04 7369 are also ifdef'd 0 .
0fda6bd2
JM
7370 (procfs_resume): Add parentheses around '&&' operation.
7371 (procfs_set_exec_trap): Remove unused variable.
7372 (info_proc_cmd): Add braces to avoid ambiguous else clause.
7373
7374 * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
7b83ea04 7375 proc-why.o): Update dependencies.
0fda6bd2
JM
7376
7377 * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
7378 proc-*.o.
7379
c5394b80
JM
73802000-01-17 Jason Molenda (jsm@bugshack.cygnus.com)
7381
7382 * configure.in (NEW_PROC_API): Fix Unixware-matching regexp.
7383 Fix from Robert Lipe <robertl@sco.com>.
7384 * configure: Regenerated.
7385
73862000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7387
7388 * stack.c (print_frame_info_base): Break up into the frame info
7b83ea04 7389 (location) printing part and the rest (source line printing).
c5394b80 7390 (print_frame): New function. Take care of printing the location
7b83ea04 7391 information.
c5394b80
JM
7392 Update copyright.
7393
7394 * infrun.c (normal_stop): Use enum values rather than integers for the
7395 source_flag to be passed to show_and_print_stack_frame().
7b83ea04 7396 Update copyright.
62a4b482 7397
c5394b80 7398 * frame.h (print_what): New enum for 'source' argument to
7b83ea04 7399 print_frame_info_base(). Use this instead of obscure numbers.
c5394b80 7400 Update copyright.
62a4b482 7401
c5394b80
JM
7402Sun Jan 16 17:58:00 2000 David Taylor <taylor@texas.cygnus.com>
7403
7404 * event-top.c (stdin_event_handler): call quit_command rather than
7b83ea04
AC
7405 exit -- run cleanups, give target code a chance to say goodbye to
7406 the target. Fixes bug where the inferior processes were left
7407 around on Solaris (and probably elsewhere) by the testsuite.
c5394b80
JM
7408
74092000-01-14 Mark Salter <msalter@cygnus.com>
7410
7411 * v850-tdep.c (v850_target_architecture_hook): Setup correct
7b83ea04 7412 machine id for disassembly.
c5394b80 7413
0fda6bd2
JM
74142000-01-13 Jim Blandy <jimb@cygnus.com>
7415
7416 * i386-linux-nat.c (fill_gregset): Pass the correct arguments to
7417 convert_to_regset, when regno indicates a specific register.
7418
c5394b80
JM
7419Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek <nsd@cygnus.com>
7420
7421 * uw-thread.c: Document libthread.so debugging interface. Minor
7422 comment and formatting tweaks.
7423 (DEBUG): #define as 0 instead of 1.
7424 (CALL_BASE): Include function name in error msg.
7425 (libthread_stub): Adjust inferior_pid after thread exit.
7426 (uw_thread_create_inferior): Deactivate uw_thread_ops before
7427 asking procfs_ops to create inferior.
7428 (libthread_init): Don't return nonlocally on error.
7429
74302000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
7431
7432 * rdi-share/ardi.c (negotiate_params): Fix initialization of static
7433 variable.
7434
74352000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
7436
7437 * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure
7438 both sides are on the same state.
7439
74402000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
7441
7442 * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and
7443 115200 (minor syntax mistake).
7444
74452000-01-12 Jim Blandy <jimb@cygnus.com>
7446
7447 * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for
7448 this here, to go along with the definitions of PIDGET and TIDGET.
7449
74502000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7451
7452 * thread.c (do_captured_thread_select): New function. Switch
7b83ea04 7453 current thread, safely from within catch_errors().
c5394b80
JM
7454 (gdb_thread_select): New function. Switch threads safely.
7455 (thread_command): Use gdb_thread_select().
8b93c638
JM
7456 Include ui-out.h.
7457 (do_captured_list_thread_ids): New function.
7458 (gdb_list_thread_ids): New function.
7459
7460 * defs.h (gdb_thread_select, gdb_list_thread_ids): Export.
c5394b80
JM
7461
74622000-01-11 Christopher Faylor <cgf@cygnus.com>
7463
7464 * configure.in: Avoid linking -limagehlp unless it's a native build.
7465 * configure: Regenerate.
7466 * thread.cc (add_thread): Clear private data pointer here or suffer
7467 strange behavior when it is checked for NULL later.
7468
0d06e24b
JM
74692000-01-09 Christopher Faylor <cgf@cygnus.com>
7470
7471 * win32nat.c (handle_exceptions): Handle various arithmetic exceptions.
7472 * configure.in: Add an additional library to cygwin link.
7473 * configure: Regenerate.
7474
7475 Patch from Egor Duda <deo@logos-m.ru>:
7476 * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe"
7477 type.
7478
aca52a9b 74792000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b
JM
7480
7481 * uw-thread.c: New file to support UnixWare user-mode threads:
aa47baa9 7482 contributed by Nickolas Duffek <nsd@cygnus.com>.
0d06e24b
JM
7483 * target.h (struct target_ops): New vector, to_extra_thread_info,
7484 allows back-ends to give extra details in info thread display.
7485 (target_extra_thread_info): define new macro.
7486 (target_find_new_threads): simplify macro. Cleanup comments.
7487 * target.c (to_extra_thread_info): default and inherit new vector.
7488 (cleanup_target): eliminate PARAMS, break up long lines,
7489 provide default definition for to_extra_thread_info, and
7490 to_find_new_threads. Default to_thread_alive and to_query
7491 to return_zero, not target_ignore (they each return int not void).
7492 (debug_to_find_new_threads): new debug entry.
7493 (setup_target_debug): add debug_to_find_new_threads.
7494 * gdbthread.h: export struct thread_info, find_thread_pid, and
7495 iterate_over_threads. Add comments. Eliminate PARAMS. Update
7496 copyright. Add new private data pointer for use by target back-ends.
7497 * thread.c (struct thread_info): move definition to gdbthread.h.
7498 (find_thread_pid): new exported function for thread lookup.
2b266721 7499 (iterate_over_threads): new exported function for applying
0d06e24b
JM
7500 arbitrary operations to threads. Update copyright to 2000.
7501 (info_threads_command): use new target_extra_thread_info vector
7502 to display extra information about each thread (if implemented).
7503 * config/i386/tm-i386v42mp.h: remove obsolete #defines for procfs.
7504 Add defines for PIDGET, etc.
7505 * config/i386/tm-i386sol2.h: ditto.
7506 * config/sparc/tm-sun4sol2.h: ditto.
7507 * config/i386/i386v42mp.mh: add uw-thread.o to NATDEPFILES.
7508 * testsuite/gdb.threads/pthreads.exp: Try to link with -lthread
7509 if -lpthread and -lpthreads fail.
7510
7511 * procfs.c: (PIDGET, TIDGET, MERGEPID): change default to no-op.
7512 (proc_flags): combine flags that UnixWare splits into two locations.
7513 (proc_modify_flag): add support for PR_KLC (kill on last close).
7514 (proc_[un]set_kill_on_last_close): new functions.
62a4b482 7515
8b93c638
JM
75162000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7517
7518 * infrun.c (normal_stop): Print out thread id when we stop.
7519
0d06e24b
JM
75202000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
7521
7522 * remote.c (remote_open_1): Fix message so it does not imply a
2b266721 7523 specific syntax for serial ports, as it is OS dependent.
0d06e24b
JM
7524 (remote_async_open_1): Ibid.
7525 (init_remote_ops): Ibid.
7526
75272000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
7528
7529 * rdi-share/serdrv.c (SerialOpen): Use speed from "-b" argument or
7530 "set remotebaud" command (if set) when no speed is specified on
7531 the "target rdi" command.
7532
75332000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
7534
7535 * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and
7536 115200.
7537 (baud_options[]): Ibid.
7538
75392000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
7540
7541 * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix
7542 used by each operating system.
7543
75442000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7545
7546 * breakpoint.c (until_break_command): Add an argument for the
7b83ea04
AC
7547 continuation, the beginning of the cleanups set up by this
7548 command.
0d06e24b 7549 (until_break_command_continuation): Do cleanups until the one
7b83ea04 7550 passed in as argument instead of doing all of them.
0d06e24b
JM
7551
7552 * infcmd.c (finish_command_continuation): Expect a new argument,
7b83ea04
AC
7553 which indicates up to where to do cleanups. Update calls to
7554 do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
0d06e24b
JM
7555 (finish_command): Add another argument for the continuation: the
7556 starting cleanup for this command.
7557
c3f6f71d 75582000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 7559
c3f6f71d
JM
7560 From Grant Edwards <grante@visi.com> (original patch from Thomas
7561 Zenker ):
7562 * rdi-share/ardi.c: Allow interruption of interruptible
7563 targets with a <CNTL-C>.
ed9a39eb 7564
c3f6f71d 75652000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 7566
c3f6f71d
JM
7567 * rdi-share/etherdrv.c (fetch_ports): Send extra words on request
7568 to control port to accommodate some versions of Angel.
ed9a39eb 7569
c3f6f71d 75702000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 7571
c3f6f71d
JM
7572 * rdi-share/devsw.c (dumpPacket): Fix source of channel information.
7573 Add interpretation for C Support Library packets.
ed9a39eb 7574
c3f6f71d 75752000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 7576
c3f6f71d
JM
7577 * rdi-share/devsw.c (DevSW_Close): Remove const from argument that
7578 is now being modified.
7579 * rdi-share/devsw.h: Adjust declaration of the above funtion.
ed9a39eb 7580
c3f6f71d 7581For older changes see ChangeLog-99
c906108c
SS
7582\f
7583Local Variables:
7584mode: change-log
7585left-margin: 8
7586fill-column: 74
7587version-control: never
7588End:
This page took 0.440847 seconds and 4 git commands to generate.