* dbxread.c: Don't include param.h or sys/file.h.
[binutils-gdb.git] / gdb / ChangeLog
1 Wed Aug 7 21:45:52 1996 Stu Grossman (grossman@critters.cygnus.com)
2
3 * dbxread.c: Don't include param.h or sys/file.h.
4 * (dbx_symfile_read): Determine symfile_relocatable from bfd
5 flags instead of file extension. Also clean up a little bit.
6
7 Wed Aug 7 17:18:37 1996 Stu Grossman (grossman@critters.cygnus.com)
8
9 * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c
10 mdebugread.c os9kread.c source.c top.c utils.c: Don't
11 include param.h or sys/file.h (or unistd.h in some cases).
12 * defs.h exec.c inflow.c remote-array.c remote-e7000.c
13 sparcl-tdep.c terminal.h utils.c: Replace all occurances of
14 __WIN32__, WINGDB, WIN32, etc... with _WIN32.
15 * main.c: Remove #ifndef WINGDB around option processing. Fix
16 bug with passing argc==0 and argv==NULL to getopt.
17 * (main) Remove calls to access() before source_command. Let
18 soure_command handle access errors.
19 * maint.c (maintenance_dump_me): #ifdef out for _WIN32.
20 * symtab.c (operator_chars): Make this global for wingdb.
21 * top.c (disconnect): #ifdef out for _WIN32.
22 * (source_command): If got an error and from_tty, then call print
23 error, else just return quietly.
24 * utils.c (fatal_dump_core): Can't kill ourselves under windows.
25 Just exit.
26 * (pollquit notice_quit): #ifdef out stuff that doesn't exist
27 under windows.
28
29 Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com)
30
31 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
32 structures > 4 bytes in size.
33
34 * valops.c (call_function_by_hand): Handle aligning stacks that
35 grow up correctly.
36 * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.
37 (STACK_ALIGN): Define.
38 * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte
39 alignment on structs/unions.
40
41 Sun Aug 4 16:22:42 1996 Fred Fish <fnf@cygnus.com>
42
43 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",
44 which is the documented type under at least AIX 3 and AIX 4.
45
46 Sat Aug 3 04:02:46 1996 Fred Fish <fnf@cygnus.com>
47
48 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to
49 xm-alphaosf.h.
50 (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency
51 checks.
52
53 start-sanitize-gdbtk
54 Thu Aug 1 20:35:01 1996 Tom Tromey <tromey@creche.cygnus.com>
55
56 * gdbtk.c (mainWindow): Deleted.
57 (cleanup_init): Don't destroy main window.
58 (gdbtk_init): Main window now created by Tk_Init.
59
60 * configure.in: Most X checks now handled automatically by Tk.
61 Use new macros to find Tcl/Tk.
62 * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
63 * config.in, configure: Regenerated.
64
65 * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
66 X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
67
68 end-sanitize-gdbtk
69 Thu Aug 1 10:11:34 1996 Fred Fish <fnf@cygnus.com>
70
71 * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
72 this, define when contents are included.
73 (mips_read_processor_type): Add prototype.
74 * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h
75 * mdebugread.c (ecoff_relocate_efi): Add prototype.
76 (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
77
78 start-sanitize-gdbtk
79 Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
80
81 * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
82
83 end-sanitize-gdbtk
84 Wed Jul 31 20:21:24 1996 Fred Fish <fnf@cygnus.com>
85
86 * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
87 (vmap_ldinfo): Ensure got_exec_file is not used uninitialized.
88 (fetch_core_registers): Add prototype.
89 (vmap_symtab): Ditto.
90 (objfile_symbol_add): Ditto.
91 (add_vmap): Ditto.
92 (vmap_ldinfo): Ditto.
93 (vmap_exec): Ditto.
94
95 Tue Jul 30 17:57:46 1996 Stan Shebs <shebs@andros.cygnus.com>
96
97 * stabsread.c (get_substring): Declare second arg as int.
98
99 * remote-es.c: Include gdb_string.h after defs.h.
100
101 Mon Jul 29 21:13:20 1996 Fred Fish <fnf@cygnus.com>
102
103 * rs6000-tdep.c (push_arguments): Remove unused variable "pc".
104 (branch_dest): Remove unused variable "offset".
105 (pop_dummy_frame): Add prototype and make static.
106 (push_arguments): Guard against using len uninitialized.
107 (push_arguments): Guard against using arg uninitialized.
108 (frame_saved_pc): Remove unused variable "frameless".
109 (free_loadinfo): Ifdef out unused function.
110
111 * xcoffread.c (compare_lte): Change prototype and function to
112 be correct type for passing to qsort.
113 (add_stab_to_list): Ifdef out unused function and prototype.
114 (compare_lte): Add prototype
115 (arrange_linetable): Ditto.
116 (record_include_begin): Ditto.
117 (record_include_end): Ditto.
118 (process_linenos): Ditto.
119 (xcoff_next_symbol_text): Ditto.
120 (scan_xcoff_symtab): Ditto.
121 (xcoff_initial_scan): Ditto.
122
123 * mips-tdep.c (mips_read_processor_type): Add parens around
124 bitwise-and operands in comparison; previous expression always
125 evaluated to 0 because of equality comparison of two constants.
126
127 * rs6000-tdep.c (skip_prologue): Add missing parens around
128 operands of logical-or so that first operand does not bind
129 to previous logical-and.
130
131 * configure.in: Expand "long long" test to include code that triggers
132 known problem on HPUX with native compiler.
133 (configure): Regenerated.
134
135 Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com)
136
137 * somsolib.c (som_solib_create_inferior_hook): Don't
138 warn if __d_pid can't be found.
139
140 Sun Jul 28 10:46:39 1996 Fred Fish <fnf@cygnus.com>
141
142 * config/mips/tm-mips.h (struct frame_info): Forward decl.
143 (struct type): Ditto.
144 (struct value): Ditto.
145
146 * config/mips/tm-mips.h (sigtramp_address): Move extern decl
147 from mips-tdep.c to here.
148 (sigtramp_end): Ditto.
149 (fixup_sigtramp): Ditto.
150
151 * config/mips/tm-mips.h (init_extra_frame_info): Add prototype.
152 (mips_frame_chain): Ditto.
153 (mips_step_skips_delay): Ditto.
154 (mips_frame_saved_pc): Ditto.
155 (mips_find_saved_regs): Ditto.
156 (mips_frame_num_args): Ditto.
157 (mips_pop_frame): Ditto.
158 (mips_extract_return_value): Ditto.
159 (mips_store_return_value): Ditto.
160 (mips_push_dummy_frame): Ditto.
161 (mips_push_arguments): Ditto.
162 (mips_do_registers_info): Ditto.
163 (ecoff_relocate_efi): Ditto.
164 (ecoff_relocate_efi): Ditto.
165 * irix4-nat.c (fetch_core_registers): Add prototype.
166 * mips-tdep.c (read_next_frame_reg): Add prototype
167 (heuristic_proc_start): Ditto.
168 (heuristic_proc_desc): Ditto.
169 (mips_print_register): Ditto.
170 * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype.
171 (procfs_stopped_by_watchpoint): Ditto.
172 * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype.
173 (procfs_stopped_by_watchpoint): Ditto.
174 * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype.
175 (struct symbol): Add forward decl for prototype.
176
177 * breakpoint.c (internal_breakpoint_number): Only needed if
178 GET_LONGJMP_TARGET or SOLIB_ADD is defined.
179
180 * objfiles.c (ecoff_relocate_efi): Remove prototype.
181
182 Sat Jul 27 17:47:35 1996 Fred Fish <fnf@cygnus.com>
183
184 * configure.in: Add test for "long long" support.
185 * configure: Regenerate with autoconf.
186 * acconfig.h: Add CC_HAS_LONG_LONG
187 * config.in: Regenerate with autoheader.
188 * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove
189 * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove.
190 * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove.
191 * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove.
192 * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove
193 (PRINTF_HAS_LONG_LONG): Remove.
194 (FORCE_LONG_LONG): Remove.
195 * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version.
196 * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove
197 (PRINTF_HAS_LONG_LONG): Remove.
198 * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove.
199 (PRINTF_HAS_LONG_LONG): Remove.
200 * config/pa/tm-hppa.h (GET_FIELD): Put parens around
201 subtraction inside shift. Put parens around subtraction
202 in operand of bitwise and.
203 (struct frame_info): Forward declare
204 if __STDC__ defined.
205 (frame_saved_regs): Ditto.
206 (struct value): Ditto.
207 (struct type): Ditto.
208 (struct inferior_status): Ditto.
209 (init_extra_frame_info): Add prototype.
210 (skip_prologue): Ditto.
211 (frameless_function_invocation): Ditto.
212 (frame_chain): Ditto.
213 (frame_chain_valid): Ditto.
214 (saved_pc_after_call): Ditto.
215 (hppa_fix_call_dummy): Ditto.
216 (hppa_push_arguments): Ditto.
217 (pa_do_registers_info): Ditto.
218 (in_solib_call_trampoline): Ditto.
219 (in_solib_return_trampoline): Ditto.
220 (push_dummy_frame): Ditto.
221 * convex-tdep.c (decout): Use print_longest rather than
222 fprintf_filtered.
223 * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set
224 CC_HAS_LONG_LONG.
225 (INT_MIN): Fix so it works correctly when assigned to a long long.
226 * valprint.c (longest_to_int): Rewrite to remove dependence
227 on INT_MIN and INT_MAX.
228 (print_longest): Rewrite the code that falls back to synthesized
229 hex output when LONGEST value is not representable as in a long and
230 printf doesn't support printing long longs.
231 * ch-valprint.c (chill_val_print): Cast 2nd arg of
232 chill_print_type_scalar to LONGEST.
233 chill_print_type_scalar): Make static and add prototype.
234 * hppa-tdep.c (get_field): Ifdef out unused function.
235 (set_field): Ditto.
236 (extract_3): Ditto.
237 (extract_5_store): Ditto.
238 (extract_11): Ditto.
239 (extract_12): Ditto.
240 (deposit_17): Ditto.
241 (extract_14): Convert to static and add prototype.
242 (deposit_14): Ditto.
243 (extract_21): Ditto.
244 (deposit_21): Ditto.
245 (extract_17): Ditto.
246 (extract_5r_store): Ditto.
247 (extract_5R_store): Ditto.
248 (extract_5_load): Ditto.
249 (find_proc_framesize): Ditto.
250 (find_dummy_frame_regs): Ditto.
251 (sign_extend): Ditto.
252 (find_unwind_entry): Add prototype.
253 (find_return_regnum): Ditto.
254 (unwind_command): Ditto.
255 (find_dummy_frame_regs): Add parens around subtraction in operand
256 of bitwise-and.
257 (skip_prologue): Add parens around operands of logical-and inside
258 operand of logical-or.
259 (sign_extend): Add parens around operands of subtraction inside
260 operand of shift.
261 (low_sign_extend): Ditto.
262 * top.c (filename_completer): Convert old style decl of
263 filename_completion_function into prototype.
264 * f-lang.c (patch_common_entries): Ifdef out unused function.
265 * stabsread.c (read_cfront_baseclasses): Remove unused local
266 variable "msg_noterm".
267 (resolve_cfront_continuation): Remove unused local variable "fip".
268 (read_type): Remove unused variable xtypenums.
269 (read_cfront_static_fields): Remove unused variable "i".
270 (read_cfront_static_fields): Remove unused variable "nfields".
271 (read_cfront_member_functions): Add missing comment terminator.
272 (read_cfront_static_fields): Return 1 rather than random value.
273 (read_cfront_baseclasses): Ditto.
274 (read_cfront_baseclasses): Ditto.
275 (read_cfront_baseclasses): Ditto.
276 * somsolib.c (som_solib_create_inferior_hook): Remove unused
277 variable "u".
278 (som_solib_create_inferior_hook): Remove unused variable
279 shadow_contents.
280 (language.h): Add for needed prototypes.
281 (som_solib_sharedlibrary_command): Add prototype.
282 * hpread.c: (hpread_read_array_type): Add prototype.
283 * somread.c (hpread_build_pysmtabs): Add prototype.
284 (hpread_symfile_finish): Ditto.
285 (hpread_symfile_init): Ditto.
286 * hppah-nat.c (fetch_register): Convert old style decl
287 to prototype.
288 (gdbcore.h): Include for needed prototypes.
289 (fetch_register): Remove unused variable "mess".
290 * remote-pa.c (get_offsets): Ifdef out unused function.
291 (remote_start_remote): Remove unused variable "timeout".
292 (boot_board): Add prototype.
293 (reaad_frame): Add prototype.
294 (getpkt): Remove unused variable "bp".
295 (remote_kill): Add prototype.
296 (remote_mourn): Add prototype.
297 (remote_insert_breakpoint): Add prototype.
298 (remote_remove_breakpoint): Add prototype.
299 * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined.
300 * infcmd.c (do_registers_info): Only need prototype if
301 DO_REGISTERS_INFO is not defined.
302 (breakpoint_auto_delete_contents): Only need if
303 CALL_DUMMY_BREAKPOINT_OFFSET is defined.
304
305 Sat Jul 27 08:49:49 1996 Fred Fish <fnf@cygnus.com>
306
307 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
308 (END_PSYMTAB): Ditto.
309 (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
310
311 Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com>
312
313 * printcmd.c (_initialize_printcmd): Initialize
314 tm_print_insn_info.flavour.
315 start-sanitize-gdbtk
316 * gdbtk.c (gdb_disassemble): Initialize di.flavour.
317 end-sanitize-gdbtk
318
319 Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com>
320
321 * Makefile.in (scm-valprint.o): Depends upon gdbcore_h.
322 (arm-tdep.o): Ditto.
323 (dcache.o): Ditto.
324 (i386ly-tdep.o): Ditto.
325 (i960-tdep.o): Ditto.
326 (m68k-tdep.o): Ditto.
327 (nindy-tdep.o): Ditto.
328 (scm-lang.o): Ditto.
329 (w65-tdep.o): Ditto.
330 (z8k-tdep.o): Ditto.
331 (m68k-tdep.o): Depends upon value_h and gdb_string.h
332 (m2-valprint.o): Depends upon m2-lang.h.
333 (sparc-tdep.o): Depends upon gdb_string.h
334 (valprint.o): Depends upon valprint.h
335
336 * remote-e7000.c (notice_quit): Remove prototype.
337 * top.c (initialize_targets): Remove prototype, now in target.h.
338 * stabsread.c (resolve_cfront_continuation): Remove prototype.
339 * dbxread.c (resolve_cfront_continuation): Remove prototype.
340 * symfile.h (set_demangling_style): Remove prototype.
341 * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h.
342 * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in
343 target.h.
344 * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls,
345 now in target.h.
346 * ser-unix.c (hardwire_restore): Remove obsolete prototype.
347 * sparc-tdep.c (single_step): Remove forward decl of isbranch.
348 * scm-lang.c (find_function_in_inferior): Remove prototype.
349 (value_allocate_space_in_inferior): Ditto.
350 * infrun.c (write_pc_pid): Remove prototype, now in inferior.h.
351 * defs.h (strchr): Remove declarations, they are declared in
352 gdb_string.h also.
353 (strrchr): Ditto.
354 (strstr): Ditto.
355 (strtok): Ditto.
356 (strerror): Ditto.
357 * f-valprint.c (f77_print_array_1): Remove extra arg that was being
358 passed to f77_print_array_1.
359 * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr.
360 * scm-exp.c (scm_istr2int): Remove unused variable "j".
361 (scm_parse): Remove unused variable "str".
362 * hp300ux-nat.c (store_inferior_register): Remove unused variable
363 "buf".
364 (store_inferior_registers): Remove unnecessary decl "registers".
365 * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi".
366 * scm-lang.c (scm_get_field): Remove unused variable "val".
367 (scm_lookup_name): Remove unused variable "symval".
368 * objfiles.c (map_to_file): Remove unused local variable "tempfd".
369 * procfs.c (do_attach, do_detach): Remove unused variable "result".
370 (last_resume_pid): Remove unused static variable.
371 * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable
372 "res".
373 * objfiles.c (map_to_address): Remove unused function.
374 * f-valprint.c (print_max): Remove extraneous extern decl,
375 in valprint.h.
376 (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h.
377 * ch-exp.c (write_lower_upper_value): Remove prototype for
378 type_lower_upper.
379
380 * gdbtypes.c (cfront_mangle_name): #ifdef out unused function.
381 * ch-exp.c (parse_mode_call): Ditto.
382 * f-valprint.c (there_is_a_visible_common_named): Ditto.
383 * f-lang.c (clear_function_list): Ditto.
384 (get_bf_for_fcn): Ditto.
385 (clear_bf_list): Ditto.
386 (add_common_block): Ditto.
387 (patch_all_commons_by_name): Ditto.
388 (find_first_common_named): Ditto.
389 (add_common_entry): Ditto.
390 (allocate_saved_function_node): Ditto.
391 (allocate_saved_bf_node): Ditto.
392 (allocate_common_entry_node): Ditto.
393 (allocate_saved_f77_common_node): Ditto.
394
395 * arm-tdep.c (gdbcore.h): Include for necessary prototypes.
396 * dcache.c (gdbcore.h): Ditto.
397 * i386ly-tdep.c (gdbcore.h): Ditto.
398 * i960-tdep.c (gdbcore.h): Ditto.
399 * m2-valprint.c (m2-lang.h): Ditto.
400 * m68k-tdep.c (gdbcore.h): Ditto.
401 (value.h): Ditto.
402 (gdb_string.h): Ditto.
403 * nindy-tdep.c (gdbcore.h): Ditto.
404 * scm-lang.c (gdbcore.h): Ditto.
405 * scm-valprint.c (gdbcore.h): Ditto.
406 * w65-tdep.c (gdbcore.h): Ditto.
407 * z8k-tdep.c (gdbcore.h): Ditto.
408 * sparc-tdep.c (gdb_string.h): Include.
409 * valprint.c (valprint.h): Include.
410
411 * config/xm-lynx.h: Remove part of comment about INT_MIN
412 redefined warnings from defs.h, since INT_MIN define in
413 defs.h is now protected by #ifndef INT_MIN.
414 * config/i386/xm-i386bsd.h: Ditto.
415 * config/m68k/xm-hp300bsd.h: Ditto.
416 * config/m68k/xm-news.h: Ditto.
417
418 * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN
419 definition as 0x80000000. The macro in defs.h is better.
420 * config/i386/xm-i386m3.h (INT_MIN): Ditto.
421 * config/i386/xm-i386mach.h (INT_MIN): Ditto.
422 * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto.
423 * config/pa/xm-hppab.h: Ditto.
424
425 * core-aout.c (fetch_core_registers): Add prototype.
426 * hp300ux-nat.c (fetch_inferior_register): Ditto.
427 (store_inferior_register_1): Ditto.
428 (store_inferior_register): Ditto.
429 * config/m68k/tm-m68k.h (find_saved_regs): Ditto.
430 *scm-valprint.c (c_val_print): Ditto.
431 * procfs.c (add_fd): Ditto.
432 (remove_fd): Ditto.
433 (wait_fd): Ditto.
434 (sigcodename): Ditto.
435 (sigcodedesc): Ditto.
436 (procfs_kill_inferior): Ditto.
437 (procfs_xfer_memory): Ditto.
438 (procfs_store_registers): Ditto.
439 (create_procinfo): Ditto.
440 (procfs_init_inferior): Ditto.
441 (proc_set_exec_trap): Ditto.
442 (procfs_attach): Ditto.
443 (procfs_detach): Ditto.
444 (procfs_prepare_to_store): Ditto.
445 (procfs_files_info): Ditto.
446 (procfs_open): Ditto.
447 (procfs_wait): Ditto.
448 (procfs_fetch_registers): Ditto.
449 (procfs_mourn_inferior): Ditto.
450 (procfs_can_run): Ditto.
451 (procfs_thread_alive): Ditto.
452 (procfs_stop): Ditto.
453 * alpha-nat.c (fetch_core_registers): Ditto.
454 * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto.
455 * objfiles.c (ecoff_relocate_efi): Ditto.
456 * inflow.c (pass_signal): Ditto.
457 (handle_sigio): Ditto.
458 * annotate.c (breakpoint_changed): Ditto.
459 * callback.c (wrap): Ditto.
460 (fdbad): Ditto.
461 (fdmap): Ditto.
462 * utils.c (malloc_botch): Ditto.
463 (fputs_maybe_filtered): Ditto.
464 (vfprintf_maybe_filtered): Ditto.
465 * defs.h (notice_quit): Ditto.
466 * defs.h (xmalloc, xrealloc): Ditto.
467 * top.c (stop_sig): Ditto.
468 (init_signals): Ditto.
469 (user_defined_command): Ditto.
470 (source_cleanup_lines): Ditto.
471 (dont_repeat_command): Ditto.
472 (serial_log_command): Ditto.
473 (disconnect): Ditto.
474 * target.h (initialize_targets): Ditto.
475 * os9kread.c (read_minimal_symbols): Ditto.
476 * mdebugread.c (mdebug_psymtab_to_symtab): Ditto.
477 (fdr_name): Ditto.
478 (push_parse_stack): Ditto.
479 (pop_parse_stack): Ditto.
480 (is_pending_symbol): Ditto.
481 (add_pending): Ditto.
482 * serial.c (serial_logchar): Ditto.
483 (serial_interface_lookup): Ditto.
484 * serial.h (serial_log_command): Ditto.
485 * f-valprint.c (info_common_command): Ditto.
486 * gdbtypes.h (print_type_scalar): Ditto.
487 * scm-valprint.c (scm_scmlist_print): Ditto.
488 (scm_ipruk): Ditto.
489 * scm-lang.c (scm_printstr): Ditto.
490 (in_eval_c): Ditto.
491 (evaluate_subexp_scm): Ditto.
492 * scm-exp.c (scm_read_token): Ditto.
493 (scm_skip_ws): Ditto.
494 (scm_lreadparen): Ditto.
495 * m2-lang.c (emit_char): Ditto.
496 (m2_printchar): Ditto.
497 (m2_printstr): Ditto.
498 (m2_create_fundamental_type): Ditto.
499 * f-lang.c (emit_char): Ditto.
500 (f_printchar): Ditto.
501 (f_printstr): Ditto.
502 (f_create_fundamental_type): Ditto.
503 * ch-lang.c (chill_printchar): Ditto.
504 (chill_printstr): Ditto.
505 (chill_create_fundamental_type): Ditto.
506 (value_chill_length): Ditto.
507 (value_chill_card): Ditto.
508 (value_chill_max_min): Ditto.
509 (evaluate_subexp_chill): Ditto.
510 * ch-exp.c (PEEK_TOKEN): Ditto.
511 (peek_token_): Ditto.
512 (forward_token_): Ditto.
513 (parse_case_label): Ditto.
514 (parse_opt_untyped_expr): Ditto.
515 (parse_unary_call): Ditto.
516 (parse_call): Ditto.
517 (parse_named_record_element): Ditto.
518 (parse_tuple_element): Ditto.
519 (parse_opt_element_list): Ditto.
520 (parse_tuple): Ditto.
521 (parse_primval): Ditto.
522 (parse_operand6): Ditto.
523 (parse_operand5): Ditto.
524 (parse_operand4): Ditto.
525 (parse_operand3): Ditto.
526 (parse_operand2): Ditto.
527 (parse_operand1): Ditto.
528 (parse_operand0): Ditto.
529 (parse_expr): Ditto.
530 (parse_then_alternative): Ditto.
531 (parse_else_alternative): Ditto.
532 (parse_if_expression): Ditto.
533 (parse_untyped_expr): Ditto.
534 (growbuf_by_size): Ditto.
535 (match_simple_name_string): Ditto.
536 (decode_integer_value): Ditto.
537 (decode_integer_literal): Ditto.
538 (match_float_literal): Ditto.
539 (match_float_literal): Ditto.
540 (match_string_literal): Ditto.
541 (match_character_literal): Ditto.
542 (match_integer_literal): Ditto.
543 (match_bitstring_literal): Ditto.
544 (write_lower_upper_value): Ditto.
545 * ch-lang.h (type_lower_upper): Ditto.
546 * c-lang.c (emit_char): Ditto.
547 * dwarfread.c (free_utypes): Ditto.
548 * stabsread.h (resolve_cfront_continuation): Ditto.
549 * stabsread.c (get_substring): Ditto.
550 (read_one_struct_field): Ditto.
551 * stabsread.h (process_later): Ditto.
552 * demangle.c (set_demangling_command): Ditto.
553 * defs.h (set_demangling_style): Ditto.
554 * maint.c (maintenance_info_command): Ditto.
555 (print_section_table): Ditto.
556 (maintenance_info_sections): Ditto.
557 (maintenance_print_command): Ditto.
558 * symtab.h (maintenance_print_statistics): Ditto.
559 * objfiles.h (in_plt_section): Ditto.
560 * objfiles.c (add_to_objfile_sections): Ditto.
561 * bcache.c (hash): Ditto.
562 (lookup_cache): Ditto.
563 * exec.c (bfdsec_to_vmap): Ditto.
564 (ignore): Ditto.
565 * f-exp.y (growbuf_by_size, match_string_literal): Ditto.
566 * language.c (unk_lang_printchar): Ditto.
567 (unk_lang_printstr): Ditto.
568 (unk_lang_create_fundamental_type): Ditto.
569 (unk_lang_print_type): Ditto.
570 (unk_lang_val_print): Ditto.
571 (unk_lang_value_print): Ditto.
572 * target.c (update_current_target): Ditto.
573 (debug_to_open): Ditto.
574 (debug_to_close): Ditto.
575 (debug_to_attach): Ditto.
576 (debug_to_detach): Ditto.
577 (debug_to_resume): Ditto.
578 (debug_to_wait): Ditto.
579 (debug_to_fetch_registers): Ditto.
580 (debug_to_store_registers): Ditto.
581 (debug_to_prepare_to_store): Ditto.
582 (debug_to_xfer_memory): Ditto.
583 (debug_to_files_info): Ditto.
584 (debug_to_insert_breakpoint): Ditto.
585 (debug_to_remove_breakpoint): Ditto.
586 (debug_to_terminal_init): Ditto.
587 (debug_to_terminal_inferior): Ditto.
588 (debug_to_terminal_ours_for_output): Ditto.
589 (debug_to_terminal_ours): Ditto.
590 (debug_to_terminal_info): Ditto.
591 (debug_to_kill): Ditto.
592 (debug_to_load): Ditto.
593 (debug_to_lookup_symbol): Ditto.
594 (debug_to_create_inferior): Ditto.
595 (debug_to_mourn_inferior): Ditto.
596 (debug_to_can_run): Ditto.
597 (debug_to_notice_signals): Ditto.
598 (debug_to_thread_alive): Ditto.
599 (debug_to_stop): Ditto.
600 start-sanitize-gdbtk
601 * gdbtk.c (null_routine): Ditto.
602 (gdbtk_flush): Ditto.
603 (gdbtk_fputs): Ditto.
604 (gdbtk_query): Ditto.
605 (gdbtk_readline): Ditto.
606 (gdbtk_readline_end): Ditto.
607 (gdb_get_breakpoint_list): Ditto.
608 (gdb_get_breakpoint_info): Ditto.
609 (breakpoint_notify): Ditto.
610 (gdbtk_create_breakpoint): Ditto.
611 (gdbtk_delete_breakpoint): Ditto.
612 (gdbtk_modify_breakpoint): Ditto.
613 (gdb_loc): Ditto.
614 (gdb_eval): Ditto.
615 (gdb_sourcelines): Ditto.
616 (map_arg_registers): Ditto.
617 (get_register_name): Ditto.
618 (gdb_regnames): Ditto.
619 (get_register): Ditto.
620 (gdb_fetch_registers): Ditto.
621 (register_changed_p): Ditto.
622 (gdb_changed_register_list): Ditto.
623 (gdb_cmd): Ditto.
624 (call_wrapper): Ditto.
625 (gdb_listfiles): Ditto.
626 (gdb_stop): Ditto.
627 (gdbtk_dis_asm_read_memory): Ditto.
628 (compare_lines): Ditto.
629 (gdb_disassemble): Ditto.
630 (tk_command): Ditto.
631 (cleanup_init): Ditto.
632 (gdbtk_interactive): Ditto.
633 (x_event): Ditto.
634 (gdbtk_wait): Ditto.
635 (gdbtk_call_command): Ditto.
636 (tk_command_loop): Ditto.
637 (gdbtk_init): Ditto.
638 end-sanitize-gdbtk
639 * breakpoint.h (set_breakpoint_sal): Ditto.
640 * remote-utils.c (usage): Ditto.
641 * remote.c (set_thread): Ditto.
642 (remote_thread_alive): Ditto.
643 (get_offsets): Ditto.
644 (read_frame): Ditto.
645 (remote_insert_breakpoint): Ditto.
646 (remote_remove_breakpoint): Ditto.
647 * sparc-nat.c (fetch_core_registers): Ditto.
648 * corelow.c (add_to_thread_list): Ditto.
649 (ignore): Ditto.
650 * inftarg.c (proc_wait): Ditto.
651 * infptrace.c (udot_info): Ditto.
652 (fetch_register): Ditto.
653 * ser-unix.c (hardwire_noflush_set_tty_state): Ditto.
654 (hardwire_print_tty_state): Ditto.
655 (hardwire_flush_output): Ditto.
656 (hardwire_flush_input): Ditto.
657 (hardwire_send_break): Ditto.
658 (hardwire_setstopbits): Ditto.
659 * ser-tcp.c (tcp_return_0): Ditto.
660 (tcp_noflush_set_tty_state): Ditto.
661 (tcp_print_tty_state): Ditto.
662 * solib.c (match_main): Ditto.
663 * gdbtypes.c (print_bit_vector): Ditto.
664 (print_arg_types): Ditto.
665 (dump_fn_fieldlists): Ditto.
666 (print_cplus_stuff): Ditto.
667 * symfile.h (entry_point_address): Ditto.
668 * symfile.c (decrement_reading_symtab): Ditto.
669 * valops.c (value_arg_coerce): Ditto.
670 * value.h (find_function_in_inferior): Ditto.
671 (value_allocate_space_in_inferior): Ditto.
672 * values.c (vb_match): Ditto.
673 * thread.c (info_thread_command): Ditto.
674 (restore_current_thread): Ditto.
675 (thread_apply_all_command): Ditto.
676 (thread_apply_command): Ditto.
677 * inferior.h (write_pc_pid): Ditto.
678 * infrun.c (delete_breakpoint_current_contents): Ditto.
679 * breakpoint.c (print_it_normal): Ditto.
680 (watchpoint_check): Ditto.
681 (print_it_done): Ditto.
682 (print_it_noop): Ditto.
683 (maintenance_info_breakpoints): Ditto.
684 (create_longjmp_breakpoint): Ditto.
685 (hbreak_command): Ditto.
686 (thbreak_command): Ditto.
687 (watch_commnd_1): Ditto.
688 (rwatch_command): Ditto.
689 (awatch_command): Ditto.
690 (do_enable_breakpoint): Ditto.
691 * ch-valprint.c (chill_val_print_array_elements): Ditto.
692 * eval.c (evaluate_subexp): Ditto.
693 (get_label): Ditto.
694 (evaluate_struct_tuple): Ditto.
695 * eval.c (init_array_element): Ditto.
696
697 * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static.
698 * breakpoint.c (hw_breakpoint_used_count): Ditto.
699 (hw_watchpoint_used_count): Ditto.
700 * findvar.c (write_register_gen): Ditto.
701 (read_register_pid): Ditto.
702 * symtab.c (cplusplus_hint): Ditto.
703 * infcmd.c (breakpoint_auto_delete_contents): Ditto.
704 * ch-valprint.c (chill_print_type_scalar): Ditto.
705 * gdbtypes.c (add_name): Ditto.
706 (add_mangled_type): Ditto.
707 (cfront_mangle_name): Ditto.
708 * sparc-tdep.c (isbranch): Ditto.
709 * inftarg.c (child_stop): Ditto.
710 * win32-nat.c (child_stop): Ditto.
711 * mac-nat.c (child_stop): Ditto.
712 * remote-utils.c (sr_com): Ditto.
713 * dbxread.c (process_now): Ditto.
714 * ch-exp.c (require): Ditto.
715 (check_token): Ditto.
716 (expect): Ditto.
717 (parse_mode_call): Ditto.
718 (parse_mode_or_normal_call): Ditto.
719 * scm-lang.c (scm_lookup_name): Ditto
720 * f-lang.c (allocate_saved_bf_node): Ditto.
721 (allocate_saved_function_node): Ditto.
722 (allocate_saved_f77_common_node): Ditto.
723 (allocate_common_entry_node): Ditto.
724 (add_common_block): Ditto.
725 (add_common_entry): Ditto.
726 (find_first_common_named): Ditto.
727 (patch_common_entries): Ditto.
728 (patch_all_commons_by_name): Ditto.
729 (clear_bf_list): Ditto.
730 (get_bf_for_fcn): Ditto.
731 (clear_function_list): Ditto.
732 * scm-exp.c (scm_istr2int): Ditto.
733 (scm_istring2number): Ditto.
734 * scm-valprint.c (scm_inferior_print): Ditto.
735 * f-typeprint.c (print_equivalent_f77_float_type): Ditto.
736 * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto.
737 (f77_create_arrayprint_offset_tbl): Ditto.
738 (f77_print_array_1): Ditto.
739 (f77_print_array): Ditto.
740 (list_all_visible_commons): Ditto.
741 (there_is_a_visible_common_named): Ditto.
742 * mdebugread.c (ecoff_relocate_efi): Ditto.
743 * callback.c (os_close): Ditto.
744 (os_get_errno): Ditto.
745 (os_isatty): Ditto.
746 (os_lseek): Ditto.
747 (os_open): Ditto.
748 (os_read): Ditto.
749 (os_read_stdin): Ditto.
750 (os_write): Ditto.
751 (os_write_stdout): Ditto.
752 (os_rename): Ditto.
753 (os_system): Ditto.
754 (os_time): Ditto.
755 (os_unlink): Ditto.
756 (os_shutdown): Ditto.
757 (os_init): Ditto.
758 (os_printf_filtered): Ditto.
759
760 * scm-lang.h (scm_parse): Change old style decl to prototype.
761 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto.
762 * top.c (init_proc): Ditto.
763 (query_hook): Ditto.
764 (error_hook): Ditto.
765 * f-lang.c (c_value_print): Ditto.
766 * ch-exp.c (parse_expression): Ditto.
767 (parse_primval): Ditto.
768 (parse_untyped_expr): Ditto.
769 (parse_opt_untyped_expr): Ditto.
770 (ch_lex): Ditto.
771 * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto.
772 (sparc_frame_saved_pc): Ditto.
773 (sparc_push_dummy_frame): Ditto.
774 (sparc_pop_frame): Ditto.
775 * defs.h (fclose): Ditto.
776 (atof): Ditto.
777 (error_hook): Ditto.
778
779 * arc-tdep.c (single_step): Change arg to type "enum target_signal".
780 * rs6000-tdep.c (single_step): Ditto.
781 * sparc-tdep.c (single_step): Ditto.
782
783 * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type
784 to PTR which is what make_cleanup expects.
785 * utils.c (null_cleanup): Change arg type to PTR.
786 * defs.h (null_cleanup): Change prototype to match actual function.
787 * config/sparc/tm-sparc.h (struct frame_info): Move forward decl.
788 * ch-valprint.c (chill_val_print): Cast 2nd arg of
789 chill_print_type_scalar to LONGEST.
790 * infrun.c (wait_for_inferior): Have empty switch case for
791 BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined.
792 (stop_on_solib_events): Only needed if SOLIB_ADD is defined.
793 * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD
794 is defined.
795 * symfile.c (generic_load): Scan long int using a long int spec,
796 not an int spec.
797 * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE
798 is defined.
799 (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is
800 not defined.
801 * inflow.c (handle_sigio): Only need prototype when the actual
802 function is compiled in.
803 * valprint.c (longest_to_int): Expand error message to be
804 separate messages for args larger than largest signed int
805 and args smaller than smallest signed int.
806 * valprint.c (print_longest): Fix problems with support for case
807 where compiler supports type "long long" but the runtime doesn't
808 support printing them with "%ll".
809 * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change
810 return types to void since we don't actually return anything
811 meaningful and callees ignore the values anyway.
812 * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET
813 ifdef.
814 (modify_run_on_last_close_flag): Ditto.
815 (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL
816 ifdef
817 * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than
818 random value.
819 * infrun.c (wait_for_inferior): Ensure random_signal is not used
820 uninitialized.
821 * valops.c (call_function_by_hand): Ensure struct_addr is not used
822 uninitialized.
823 * breakpoint.c (watch_command_1): Ensure prev_frame is not used
824 uninitialized.
825 * utils.c (vfprintf_maybe_filtered): Change second arg from "char *"
826 to "const char *".
827 start-sanitize-gdbtk
828 * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers
829 to proper pointer type, from int.
830 (gdbtk_query): Change first arg to "const char *" from "char *".
831 end-sanitize-gdbtk
832 * infptrace.c (udot_info): Add two dummy args so that the type is
833 correct for passing to add_info.
834 * f-lang.c (saved_fcn): Move decl to head of file so it can be used
835 in prototypes.
836 (saved_bf_symnum): Ditto.
837 (SAVED_FUNCTION): Ditto.
838 (SAVED_FUNCTION_PTR): Ditto.
839 (SAVED_BF): Ditto.
840 (SAVED_BF_PTR): Ditto.
841 * ch-exp.c (parse_named_record_element): Build error message in
842 temporary buffer before passing it to expect, rather than passing
843 wrong number of args to expect.
844 * demangle.c (set_demangling_style): Call set_demangling_command with
845 correct number of arguments.
846 * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to
847 int to match actual function.
848 (os_isatty): Call fdmap with right number of arguments, was missing
849 the host_callback* arg.
850 * target.c (cleanup_target): Prototype all functions casts.
851 * target.h (one_stepped, single_step): Declare here and convert
852 single_step to prototype.
853 * infrun.c (one_stepped, single_step): Don't declare externs
854 here, they have moved to target.h.
855 * eval.c (init_array_element): Declare previously undeclared
856 last two args as LONGEST.
857 * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form.
858 start-sanitize-gdbtk
859 * gdbtk.c (register_changed_p): Remove unused local variable "buf".
860 end-sanitize-gdbtk
861
862 Thu Jul 25 16:11:54 1996 Doug Evans <dje@canuck.cygnus.com>
863
864 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.
865
866 Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com)
867
868 * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.
869 * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't
870 use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
871 text address. Use a seperate flag (textlow_not_set) instead.
872 This makes stabs in ELF .o files work a lot better.
873 * mdebugread.c xcoffread.c: Define textlow_not_set for
874 partial-stab.h.
875 * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
876
877 start-sanitize-gdbtk
878 Sat Jul 20 17:46:40 1996 Fred Fish <fnf@cygnus.com>
879
880 * gdbtk.tcl (files_command): Reorder the binding tags for
881 the listbox widget to avoid referencing the listbox after
882 the containing widget has been destroyed by the action of
883 a previous binding.
884 end-sanitize-gdbtk
885
886 Sat Jul 20 10:41:06 1996 Fred Fish <fnf@cygnus.com>
887
888 * dwarf2read.c (struct filenames): Change internal "struct file"
889 to "struct fileinfo" to avoid conflict with "struct file" in
890 <sys/file.h> on HPUX and Solaris.
891
892 start-sanitize-gdbtk
893 Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com>
894
895 * gdbtk.tcl (delete_expr): Unset corresponding element of
896 expr_update_list when destroying an expression.
897 (create_expr_window): Initialize expr_num, delete_expr_num,
898 and expr_update_list here when each new expression window
899 is created, rather than once at startup.
900 end-sanitize-gdbtk
901
902 Fri Jul 19 14:05:57 1996 Stan Shebs <shebs@andros.cygnus.com>
903
904 * dwarf2read.c: New file, DWARF 2 reader originally contributed by
905 Brent Benson, with additions by Gary Funck and Jerry Kreuscher.
906 * Makefile.in (COMMON_OBS): Add dwarf2read.o.
907 (SFILES): Add dwarf2read.c.
908 (dwarf2read.o): Add build rule.
909 * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare
910 exported functions.
911 * elfread.c (elf_symfile_read): Call them.
912 (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
913
914 Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com>
915
916 * symfile.c (symfile_bfd_open):
917 * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems,
918 free the user from having to type the .exe extension.
919
920 Wed Jul 17 06:54:50 1996 Mark Alexander <marka@cygnus.com>
921
922 * mon960-rom.c: Shorten the mon960_inits string to a single
923 carriage return; this prevents a hang on connecting immediately
924 after powerup, when MON960 is attempting autobaud detection.
925
926 Tue Jul 16 23:47:04 1996 Mark Alexander <marka@cygnus.com>
927
928 * a29k-tdep.c (get_saved_register): Allow PC to be modified
929 when innermost frame is selected, but not in outer frames.
930
931 Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com)
932
933 * command.c (do_setshow_command): Don't segfault when showing
934 var_string and var_string_noescape vars that are NULL.
935
936 Mon Jul 15 16:55:48 1996 Doug Evans <dje@canuck.cygnus.com>
937
938 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
939 cygwin32_conv_to_posix_path.
940 (child_create_inferior): unix_path_to_dos_path renamed to
941 cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
942
943 Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com)
944
945 * defs.h printcmd.c: Create global disassemble_info structure
946 tm_print_insn_info.
947 start-sanitize-gdbtk
948 * gdbtk.c (gdb_disassemble): Setup di.mach from
949 tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
950 end-sanitize-gdbtk
951 * i386-tdep.c (set_assembly_language_command): set
952 tm_print_insn_info.mach to the appropriate value for 386 or 8086
953 disassembly.
954 * printcmd.c (print_insn): Move init of disassembler_info to
955 _initialize_printcmd. Set endian for disassembler here.
956 * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to
957 select sparc/sparclite.
958 * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of
959 TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to
960 bfd_mach_sparc/bfd_mach_sparc_sparclite.
961
962 Fri Jul 12 19:04:32 1996 Fred Fish <fnf@cygnus.com>
963
964 * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
965 than xmalloc/xrealloc.
966
967 Fri Jul 12 17:59:47 1996 Fred Fish <fnf@ninemoons.com>
968
969 * objfiles.c (map_to_file): Error return from mmalloc_findbase is
970 a NULL pointer, not a -1.
971
972 Fri Jul 12 10:16:24 1996 Stu Grossman (grossman@critters.cygnus.com)
973
974 * i386-tdep.c (set_assembly_language_command): New routine to
975 select between i386 and i8086 instruction sets for disassembly.
976 New command `set assembly-language {i386 i8086}'.
977
978 Thu Jul 11 21:13:21 1996 Mark Alexander <marka@cygnus.com>
979
980 * monitor.c (monitor_write_memory, monitor_read_memory_single):
981 Disable use of "long long" memory read/write commands; can't
982 use them because we hold the values to read/write in an int
983 variable, and because strtoul fails on values that exceed the
984 size of a long. This fixes breakpoint problems on MON960.
985
986 Thu Jul 11 11:39:31 1996 Fred Fish <fnf@cygnus.com>
987
988 * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
989 * config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
990
991 Wed Jul 10 16:54:41 1996 Fred Fish <fnf@cygnus.com>
992
993 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
994 and MMALLOC_CHECK macros, and add comment indicating how host dependent
995 makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
996 to use it but to not do heap corruption checking.
997 * gdbserver/Makefile.in: Ditto.
998 * utils.c (init_malloc): Replace warning() use with direct call of
999 fprintf_unfiltered, since current_target has not yet been set and thus
1000 we cannot use warning(). If we try to use mmcheck and it fails,
1001 suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
1002 defined. Other small mmalloc related cleanups.
1003 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
1004 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.
1005
1006 * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1007 * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1008 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1009 * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1010 * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
1011 * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1012 * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1013 * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1014 Remove obsolete defines.
1015
1016 * config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
1017 * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
1018 * config/rs6000/rs6000.mh (MMALLOC_DISABLE):
1019 * config/rs6000/aix4.mh (MMALLOC_DISABLE):
1020 * config/powerpc/aix4.mh (MMALLOC_DISABLE):
1021 * config/powerpc/aix.mh (MMALLOC_DISABLE):
1022 * config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
1023 * config/mips/mipsm3.mh (MMALLOC_DISABLE):
1024 * config/mips/decstation.mh (MMALLOC_DISABLE):
1025 * config/m88k/cxux.mh (MMALLOC_DISABLE):
1026 * config/i386/i386mk.mh (MMALLOC_DISABLE):
1027 * config/i386/i386m3.mh (MMALLOC_DISABLE):
1028 * config/i386/i386gnu.mh (MMALLOC_DISABLE):
1029 Use MMALLOC_CFLAGS instead.
1030
1031 Tue Jul 9 22:41:12 1996 Jeffrey A Law (law@cygnus.com)
1032
1033 * h8300-tdep.c: Remove some outdated comments.
1034 (h8300_skip_prologue): Rework to be more correct for the H8/300H.
1035 Handle stm.l insns for the H8/S.
1036 (examine_prologue): Likewise.
1037
1038 Tue Jul 9 16:48:55 1996 Raymond Jou <rjou@mexican.cygnus.com>
1039
1040 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.
1041
1042 Mon Jul 08 08:50:39 1996 Mark Alexander <marka@cygnus.com>
1043
1044 * mon960-rom.c (mon960_open): Add floating point detection to
1045 prevent hang on non-FPU processors (PR 9775).
1046 (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
1047 setting breakpoints and improve loading speed.
1048
1049 Sun Jul 7 14:57:34 1996 Fred Fish <fnf@cygnus.com>
1050
1051 * coffread.c (record_minimal_symbol): Don't presave name string
1052 on symbol_obstack before passing to prim_record_minimal_symbol.
1053 It now handles saving the string itself.
1054 * dbxread.c (read_dbx_dynamic_symtab): Ditto.
1055 * mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
1056 * os9kread.c (record_minimal_symbol): Ditto.
1057 * solib.c (solib_add_common_symbols): Ditto.
1058
1059 * coffread.c (coff_symtab_read): Don't presave name string on
1060 symbol_obstack before passing to prim_record_minimal_symbol_and_info.
1061 It now handles saving the string itself.
1062 * dbxread.c (record_minimal_symbol): Ditto.
1063 * elfread.c (record_minimal_symbol_and_info): Ditto.
1064
1065 * dstread.c (record_minimal_symbol): Remove static function that just
1066 called prim_record_minimal_symbol with the same args (after change to
1067 prim_record_minimal_symbol to do it's own name string saves).
1068 * nlmread.c (record_minimal_symbol): Ditto.
1069 * somread.c (record_minimal_symbol): Ditto.
1070
1071 * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
1072 (hpread_read_function_type): Ditto.
1073 (hpread_process_one_debug_symbol): Ditto.
1074 * mdebugread.c (parse_symbol): Ditto.
1075 (new_symbol): Ditto.
1076 * minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
1077
1078 * coffread.c (process_coff_symbol): Use obsavestring to save
1079 SYMBOL_NAME, rather than obstack_copy0.
1080 * dstread.c (create_new_symbol): Ditto
1081 * symfile.c (obconcat): Ditto.
1082 * stabsread.c (patch_block_stabs): Ditto.
1083 * xcoffread.c (SYMNAME_ALLOC): Ditto.
1084
1085 * symfile.c (obsavestring): Update comments
1086 * solib.c (solib_add_common_symbols): Remove local var origname.
1087
1088 Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com)
1089
1090 * configure: Re-build with autoconf-2.10.
1091
1092 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
1093 config/sparc/tm-sparclite.h: Initialize tm_print_insn from
1094 TM_PRINT_INSN, which comes from the tm file.
1095
1096 Tue Jul 02 21:41:20 1996 Mark Alexander <marka@cygnus.com>
1097
1098 * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
1099 os9kread.c: Replace identical sym_offsets functions with
1100 default_symfile_offsets.
1101 * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
1102 macro to allocate section_offsets.
1103 * symfile.c (default_symfile_offsets): New function.
1104 * symfile.h: Declare default_symfile_offsets.
1105 * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
1106 simplify allocation of section_offsets.
1107
1108 Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
1109
1110 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
1111 * configure configure.in: Only make sol-thread.o for native.
1112 Also, switch to dlopened libthread_db.so.1.
1113 * sol-thread.c: Switch to using dlopen to get the thread_db
1114 library.
1115
1116 Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com)
1117
1118 * configure, configure.in: Change test for libthread_db to only
1119 work for configs where build/host/target are the same.
1120
1121 Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1122
1123 * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
1124 PowerPC.
1125
1126 * configure.in (powerpc-*-linux): Add Linux, System V, and ELF
1127 support.
1128 * configure: Regenerate.
1129
1130 Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com>
1131
1132 From Raymond Jou <rjou@mexican.cygnus.com>:
1133 * mpw-make.sed: Add lines to whack out autoconf hook
1134 @CONFIG_LDFLAGS@.
1135
1136 Mon Jul 01 11:07:15 1996 Mark Alexander <marka@cygnus.com>
1137
1138 * remote-e7000.c (e7000_stop): New function.
1139
1140 Fri Jun 28 06:34:19 1996 Dawn Perchik <dawn@cygnus.com>
1141
1142 * configure, configure.in: Add target sparclet.
1143 * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM
1144 (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if
1145 command to start process running on target is different from one
1146 to continue execution), MO_HEX_PREFIX (if addresses from monitor
1147 have a "0x" prefix).
1148 * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the
1149 registers array. This is to allow NULLs to be place holders in
1150 the tm-*.h file so that only minor changes are needed when a new
1151 processor is introduced (eg, one without floating point).
1152 * sparc-tdep.c: Conditionally remove dependancies on floating
1153 point.
1154 * sparclet-rom.c, config/sparc/sparclet.mt,
1155 config/sparc/tm-sparclet.h: New files for target sparclet.
1156 * symfile.c (load_command): Add option for 2nd parameter; a load
1157 offset added to the vma of each section.
1158
1159 Fri Jun 28 05:39:19 1996 Dawn Perchik <dawn@cygnus.com>
1160
1161 * main.c (main): Add option "l" for setting remote_timeout.
1162
1163 Fri Jun 28 05:25:18 1996 Dawn Perchik <dawn@cygnus.com>
1164
1165 * remote-e7000.c, remote.c, target.h, top.c: Add set option
1166 "remote_timeout" for setting remote_timeout. Add set option
1167 "use_hard_breakpoints" for setting hardware .vs. memory
1168 breakpoints.
1169
1170 Fri Jun 28 04:32:18 1996 Dawn Perchik <dawn@cygnus.com>
1171
1172 * remote-e7000.c (e7000_parse_device): New function.
1173 Add option "tcp_remote" to target command if using
1174 tcp to connect to a remote host which is then connected
1175 via serial port to the e7000 (for exampole, a port master).
1176 (e7000_open): Change to call e7000_parse_device.
1177
1178 Fri Jun 28 03:47:17 1996 Dawn Perchik <dawn@cygnus.com>
1179
1180 * monitor.c (monitor_debug): Fix remotedebug buffering.
1181
1182 Thu Jun 27 18:24:17 1996 Stan Shebs <shebs@andros.cygnus.com>
1183
1184 * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh
1185 (NATDEPFILES): Add a space.
1186
1187 Wed Jun 26 06:05:39 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
1188
1189 * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
1190 is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
1191
1192 * ch-exp.c (calculate_array_length): Function removed.
1193
1194 Tue Jun 25 17:41:06 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1195
1196 * remote-e7000.c (e7000_read_inferior_memory_large): New function.
1197 (e7000_xfer_inferior_memory): Call it.
1198
1199 Tue Jun 25 23:14:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1200
1201 * gdb/gdbserver/Makefile.in (docdir): Removed.
1202
1203 Tue Jun 25 22:05:38 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1204
1205 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
1206 Use autoconf set values.
1207 (docdir): Removed.
1208 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1209 * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir,
1210 includedir): Use autoconf set values.
1211 (docdir): Removed.
1212 * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
1213 * nlm/configure: Rebuilt.
1214 * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
1215
1216 Mon Jun 24 09:56:14 1996 Angela Marie Thomas (angela@cygnus.com)
1217
1218 * stabsread.c (read_cfront_member_functions): add type
1219
1220 Sun Jun 23 23:40:48 1996 Doug Evans <dje@canuck.cygnus.com>
1221
1222 * win32-nat.c: #include <unistd.h>.
1223 (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
1224 (child_create_inferior): Convert only env var PATH to win32 style.
1225 (set_pathstyle_dos): Delete.
1226 (_initialize_inftarg): Delete dos-path-style command.
1227
1228 start-sanitize-gdbtk
1229 Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com>
1230
1231 * gdbtk.tcl (create_register_windows): Include missing '$'s.
1232 Add global declarations for various reg_format_* variables.
1233 * gdbtk.tcl (populate_register_window): Make initial window one
1234 line taller to account for new column header line.
1235
1236 Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com>
1237
1238 * gdbtk.c (get_register): Support for printing raw formats.
1239 * gdbtk.tcl: Add hint for using debug_interface.
1240 (center_window, add_breakpoint_frame, delete_breakpoint_frame):
1241 Enclose arg in braces for consistency.
1242 (create_registers_window, populate_reg_window, update_registers):
1243 Major rewrite to support displaying multiple formats in the register
1244 window.
1245 (init_reg_info): New function.
1246 (recompute_reg_display_list): Reset reg_display_list, start
1247 register display lines at line 2.
1248
1249 end-sanitize-gdbtk
1250 Thu Jun 20 13:42:23 1996 Doug Evans <dje@canuck.cygnus.com>
1251
1252 * configure.in: Revise sol-thread.o test.
1253 * configure: Regenerated.
1254
1255 * source.c (find_source_lines): Reassign size to result of read.
1256
1257 start-sanitize-gdbtk
1258 Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com>
1259
1260 * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
1261 avoid backing up over prompt. At every input, make sure insert
1262 point is at least after command start, handle control-u to delete
1263 current input line.
1264 (tclsh): Handle backspace to avoid backing up over prompt. Handle
1265 control-u to delete current input line.
1266
1267 Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com>
1268
1269 * configure.in: disable gdbtk for *cygwin32* hosted compiles
1270 * configure: regenerated with autoconf 2.8
1271
1272 end-sanitize-gdbtk
1273 Tue Jun 18 16:25:54 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1274
1275 * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
1276 (h8300_command): Likewise.
1277 (set_machine): Likewise.
1278 (set_machine_hook): Likewise.
1279 (_initialize_h8300m): Likewise.
1280
1281 * config/h8300/tm-h8300.h (h8300smode): Declare.
1282
1283 Sun Jun 16 15:21:51 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1284
1285 * somsolib.c (som_solib_create_inferior_hook): Handle tracking
1286 of shl_load calls for hpux10.
1287
1288 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
1289
1290 * config.in: Regenerated.
1291 * acconfig.h (HAVE_THREAD_DB_LIB): Added entry.
1292
1293 * configure: Regenerated.
1294 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1295 avoid name clashes with SunOS headers.
1296
1297 Tue Jun 11 19:52:50 1996 Fred Fish <fnf@cygnus.com>
1298
1299 From Michael Snyder <Michael_Snyder@next.com>:
1300 * bcache.c (print_bcache_statistics): Avoid divide-by-zero
1301 exception if one or more objfile has no symbols, such as when
1302 a dynamic library has been stripped.
1303
1304 Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
1305
1306 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
1307 * configure configure.in: Only make sol-thread.o for native.
1308 Also, switch to dlopened libthread_db.so.1.
1309 * sol-thread.c: Switch to using dlopen to get the thread_db
1310 library.
1311
1312 Mon Jun 10 14:17:19 1996 Fred Fish <fnf@cygnus.com>
1313
1314 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
1315 Change from 0xE0000000 to 0xC0000000.
1316
1317 Thu Jun 6 17:10:32 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1318
1319 * config/powerpc/xm-solaris.h: Initial version of support for
1320 Solaris on PowerPC.
1321
1322 Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>
1323
1324 * configure.in (configdirs): Force 4100 builds to use 4300 GDB
1325 target.
1326 * configure: Rebuild.
1327
1328 * config/mips/vr4300el.mt (SIM_OBS): Include simulator in
1329 little-endian builds.
1330
1331 Mon Jun 3 11:48:29 1996 Jeffrey A Law (law@cygnus.com)
1332
1333 * inftarg.c (child_thread_alive): Protect declaration with
1334 #ifndef CHILD_THREAD_ALIVE.
1335
1336 * source.c (find_source_lines): Check the time on the symtab's bfd if
1337 it exists, else check the time on the exec_bfd.
1338
1339 Thu May 30 09:43:17 1996 Mark Alexander <marka@cygnus.com>
1340
1341 * dsrec.c (make_srec): Fix calculation of address size
1342 to allow addresses less than 0x100.
1343
1344 Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
1345
1346 * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
1347
1348 Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com>
1349
1350 * remote-mips.c: cannot use EINVAL for breakpoint test since
1351 its value varies for different hosts (e.g. go32's is 19, while
1352 sunos is 22). Changed to hardcoded 22 since that is what the
1353 mips boards return.
1354
1355 Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com>
1356
1357 * configure: Regenerated.
1358 * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
1359 (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
1360
1361 Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
1362
1363 * solib.c (solib_absolute_prefix, solib_search_path): New variables.
1364 (_initialize_solib): Add set/show commands for those variables.
1365 (solib_map_sections): Implement searching using them.
1366
1367 Sun May 26 14:14:49 1996 Fred Fish <fnf@cygnus.com>
1368
1369 Changes from: David Mosberger-Tang <davidm@azstarnet.com>
1370
1371 * NEWS: Add Alpha Linux as a new native configuration.
1372
1373 * mdebugread.c (parse_symbol): When we find a malloc() symbol with
1374 return type VOID, assume no debugging info is available for that
1375 object file and patch the return value into VOID *. Otherwise,
1376 operations requiring an implicit call to malloc() will fail.
1377
1378 * infrun.c (wait_for_inferior): The criterion to detect entering a
1379 sigtramp handler is now: (a) the current pc is inside a sigtramp
1380 handler, (b) the previous pc is not in a sigtramp handler, and (c)
1381 the current stack pointer is "inner" than the old one. Condition
1382 (c) is new to avoid mistaking a return from a signal handler into
1383 sigtramp as a new sigtramp invocation.
1384
1385 * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An
1386 int may not be big enough to hold an address.
1387 (dcache_hit): Ditto.
1388 (dcache_peek_byte): Fix indentation.
1389
1390 * configure.in (alpha-*-linux*): Add target.
1391 * configure: Rebuild
1392
1393 * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
1394 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
1395 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
1396 (SIGCONTEXT_ADDR): Ditto.
1397 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
1398
1399 * config/alpha/alpha-linux.mh: New file.
1400 * config/alpha/alpha-linux.mt: Ditto.
1401 * config/alpha/nm-linux.h: Ditto.
1402 * config/alpha/tm-alphalinux.h: Ditto.
1403 * config/alpha/xm-alphalinux.h: Ditto.
1404 * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
1405 * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
1406 xm-alphaosf.h.
1407 * config/alpha/alpha-osf2.mh: Ditto.
1408
1409 * blockframe.c (find_pc_partial_function): Pass PC to
1410 SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
1411 that detect sigtramp code via designated code sequences (as is the
1412 case for Linux/Alpha, for example).
1413
1414 * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
1415 to ignore new PC argument.
1416 * config/m68k/tm-hp300bsd.h: Ditto.
1417 * config/vax/tm-vax.h: Ditto.
1418
1419 * alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
1420 (alpha_osf_skip_sigtramp_frame): Ditto.
1421 (push_sigtramp_desc): Ditto.
1422 (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
1423 sigcontext address from frame.
1424 (alpha_saved_pc_after_call): When in sigtramp, use
1425 alpha_frame_saved_pc() instead of read-register().
1426 (after_prologue): When inside a dynamically generated sigtramp
1427 function, there is no prologue, so return address of first
1428 instruction.
1429 (alpha_in_prologue): Fix typo in comment.
1430 (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
1431 whether we're inside a dynamicaly generated sigtramp function. If
1432 so, create and push and appropriate procedure descriptor.
1433 (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
1434 the frame past a sigtramp frame (if the current frame is indeed a
1435 sigtramp function).
1436 (init_extra_frame_info): Don't read next frame register off of
1437 stack-pointer when inside a dynamiccaly generated sigtramp.
1438 (alpha_pop_frame): Also unlink and destroy procedure descriptors
1439 created for dynamically generated sigtramp functions.
1440
1441 * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
1442 <alpha/ptrace.h> instead of <machine/reg.h>
1443
1444 Tue Jul 2 13:58:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
1445
1446 * gnu-nat.c (inf_validate_task_sc):
1447 Give terminal to gdb while asking question.
1448 (inf_resume): Don't validate the task suspend-count while execing.
1449
1450 Thu Jun 13 11:04:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
1451
1452 * gnu-nat.c (inf_validate_task_sc): Query user before clearing any
1453 additional suspend count.
1454 (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc.
1455 (inf_resume): Call inf_validate_task_sc here.
1456 (gnu_resume): Call inf_update_procs to ensure noticing new threads.
1457
1458 Fri Jun 7 17:00:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
1459
1460 * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID.
1461
1462 Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com)
1463
1464 * h8300-tdep.c (IS_PUSH): Refine.
1465 (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
1466 (IS_SUB4_SP, IS_SUBL_SP): New macros.
1467 (h8300_skip_prologue): Handle H8/300H prologue code sequences.
1468 (examine_prologue): Handle addresses from 0x010000 to 0xffffff
1469 when in H8/300H mode. Get the return pointer's address correctly
1470 for the H8/300H. Handle H8/300H prolouge code sequences.
1471
1472 * symfile.c (generic_load): Print the starting address
1473 of the file just loaded.
1474
1475 Thu May 23 12:09:52 1996 Stan Shebs <shebs@andros.cygnus.com>
1476
1477 * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
1478
1479 Tue May 21 11:53:56 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1480
1481 * breakpoint.c (bpstat_do_actions): Avoid endless recursion
1482 if a `source' command is contained in bs->commands.
1483
1484 * infrun.c (wait_for_inferior): Update step_frame_address when
1485 stepping into a new line.
1486
1487 From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab):
1488 * breakpoint.c (breakpoint_1): Add shlib_disabled case to
1489 bpenables array.
1490
1491 Mon May 20 22:52:00 1996 Mark Alexander <marka@cygnus.com>
1492
1493 * dsrec.c (load_srec): Add WAITACK parameter, for machines
1494 like EST visionICE that send back an ACK after each S-record.
1495 * monitor.c (monitor_wait_srec_ack): New function.
1496 (monitor_load): Pass monitor_wait_srec_ack to load_srec
1497 if the monitor's MO_SREC_ACK flag is set.
1498 * monitor.h: Define MO_SREC_ACK flag.
1499 * remote-est.c (est_cmds): Add MO_SREC_ACK flag.
1500 * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
1501 * srec.h: Add WAITACK parameter to load_srec prototype.
1502
1503 Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll>
1504
1505 * config/sparc/sparclite.mt: Add the sparc simulator.
1506
1507 Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com>
1508
1509 * defs.h (read_command_lines, query_hook): Update prototypes.
1510 (readline_begin_hook, readline_hook, readline_end_hook): Declare.
1511 * breakpoint.c (commands_command): Build message in temporary buffer
1512 and pass that, as well as tty control flag, to read_command_lines.
1513 * top.c (readline_begin_hook, readline_hook, readline_end_hook):
1514 Define here.
1515 (command_loop): Check for non-NULL instream before looping.
1516 (command_line_input): Use readline_hook when appropriate, to get
1517 user input from a GUI window.
1518 (read_next_line): Also build prompt if getting user input from a GUI.
1519 (recurse_read_control_structure): Fix typo in comment.
1520 (read_command_lines): Use passed in prompt and tty flag to decide how
1521 to build message. Use readline_begin_hook when appropriate, to set
1522 up a GUI interaction window. Just return head, whether NULL or not,
1523 after using readline_end_hook to complete GUI interaction.
1524 (define_command, document_command): Build message in a temporary
1525 buffer and pass it to read_command_lines, along with tty flag.
1526
1527 start-sanitize-gdbtk
1528 * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
1529 New functions.
1530 (tk_command_loop): Set instream to NULL to enable Tk user interaction.
1531 (gdbtk_init): Set readline_begin_hook, readline_hook,
1532 and readline_end_hook.
1533 * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
1534 gdbtk_tcl_readline_end): New functions.
1535 (tclsh): Pack scroll bar on right side of window, not left.
1536 end-sanitize-gdbtk
1537
1538 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1539
1540 * blockframe.c (frameless_look_for_prologue):
1541 Add FUNCTION_START_OFFSET only if func_start is non-zero.
1542 * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if
1543 pc is not in a known section.
1544 * stack.c (print_frame_info): Remove check for fi->pc in known
1545 section, now handled by lookup_minimal_symbol_by_pc.
1546
1547 start-sanitize-gdbtk
1548 Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com>
1549
1550 * gdbtk.tcl (create_command_window): Change a misspelled "get"
1551 to the intended "cget".
1552 (delete_line): Fix so it deletes the current line at the
1553 insertion cursor.
1554 end-sanitize-gdbtk
1555
1556 Fri May 17 13:31:04 1996 Stan Shebs <shebs@andros.cygnus.com>
1557
1558 * sh-stub.c: New file, was config/sh/stub.c.
1559
1560 start-sanitize-gdbtk
1561 Thu May 16 19:20:29 1996 Fred Fish <fnf@fishfood.ninemoons.com>
1562
1563 * gdbtk.tcl (gdb_prompt): Set this early on.
1564 (create_command_window): Use gdb_prompt rather than "(gdb) ".
1565 (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
1566 (tclsh): If an evaluation window already exists, just bring it
1567 to the front instead of trying to create another.
1568 * gdbtk.c (tk_command_loop): New function.
1569 (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
1570
1571 Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com>
1572
1573 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that
1574 implement a tcl evaluation window for gdbtk maintainers to use.
1575
1576 Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com>
1577
1578 * gdbtk.tcl (files_command): Correctly insert list of files into
1579 listbox widget.
1580
1581 * gdbtk.tcl (files_command): listbox command no longer accepts
1582 -geometry.
1583
1584 Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com>
1585
1586 * gdbtk.tcl (create_command_window): If command window's buffer
1587 is disabled, don't execute any of the key bindings.
1588 end-sanitize-gdbtk
1589
1590 Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com)
1591
1592 * top.c (read_next_line): Fix thinkos. From Donn Seeley.
1593
1594 * coffread.c (coff_symtab_read): Handle C_LABEL symbols like
1595 C_STAT symbols.
1596 * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly.
1597 Flush cached frames just before exiting.
1598 * remote-sim.c (gdbsim_resume): Complain if the program isn't
1599 being run.
1600 * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define.
1601
1602 Tue May 14 18:05:16 1996 Stu Grossman (grossman@critters.cygnus.com)
1603
1604 * procfs.c (procfs_thread_alive procfs_stop): Make static.
1605 (procfs_pid_to_str): New routine to print out thread id's in an
1606 intelligible manner.
1607 * sol-thread.c (sol_thread_fetch_registers): Re-order manner in
1608 which supply_register is called to fix bug with writing
1609 individual regs.
1610 * config/sparc/tm-sun4sol2.h: Define default for
1611 target_pid_to_str in case host lacks libthread_db.
1612
1613 Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com)
1614
1615 * Makefile.in config.in configure configure.in
1616 config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
1617 config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread
1618 and pthread support, since pre-2.5 systems don't come with
1619 libthread_db.so.1.
1620
1621 * procfs.c (info_proc): Use int instead of id_t. Old versions of
1622 Irix don't seem to define this.
1623
1624 start-sanitize-gdbtk
1625 Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com>
1626
1627 * gdbtk.c (tk_command): Catch case where no argument is given
1628 since this will cause the tcl interpreter to dump core.
1629 end-sanitize-gdbtk
1630
1631 Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com)
1632
1633 * top.c (execute_control_command, case while_control): Allow
1634 a while command to be interrupted.
1635
1636 Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com)
1637
1638 * sol-thread.c: More cleanup, add comments.
1639 (sol_thread_resume): Prevent people from trying to step
1640 inactive threads.
1641 (sol_thread_wait sol_thread_fetch_registers
1642 sol_thread_store_registers): Remove unnecessary check for
1643 sol_thread_active. These routines won't get called unless threads
1644 are active.
1645
1646 Mon May 13 11:29:37 1996 Stan Shebs <shebs@andros.cygnus.com>
1647
1648 SH3-E support from Allan Tajii <atajii@hmsi.com>:
1649 * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for
1650 float registers.
1651 (sh3e_reg_names): New register name array.
1652 (sh_processor_type_table): Add sh3e processor type.
1653 * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test.
1654 (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for
1655 full set of registers.
1656 * remote-e7000.c (want_sh3, want_sh3_nopc): New globals.
1657 (e7000_fetch_registers, e7000_wait): Use them.
1658 * sh3-rom.c (sh3_regnames): Add float registers.
1659 (sh3e_cmds, sh3e_ops): New globals.
1660 (sh3e_open): New function.
1661 (_initialize_sh3_rom): Rename from _initialize_sh3, set up
1662 sh3e target vector.
1663
1664 Fri May 10 15:53:38 1996 Stu Grossman (grossman@lisa.cygnus.com)
1665
1666 * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes.
1667 Print out messages instead of codes for thread_db errors. Make
1668 access macros for thread and lwp manipulation. Make cleanups to
1669 fixup inferior_pid in case of errors.
1670
1671 Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com>
1672
1673 * aclocal.m4: Remove unused definition of AC_C_CROSS.
1674 * configure.in: Add powerpcle-*-solaris* host and target config
1675 so April 30th change does not get lost next time configure is
1676 rebuilt.
1677
1678 Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com)
1679
1680 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
1681 infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c,
1682 win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to
1683 avoid conflict with Solaris /usr/include/thread.h.
1684
1685 Thu May 9 12:33:32 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1686
1687 * abug-rom.c: Config file for the older style ABug monitor that
1688 runs on the mvme13x boards.
1689 * config/m68k/monitor.mt: Add abug support for m68k cross
1690 debugging.
1691
1692 Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com>
1693
1694 * infcmd.c (do_registers_info): Always print the raw floating
1695 point value's bytes in big endian order, so the the leftmost bit
1696 is the most significant.
1697 * breakpoint.c (clear_momentary_breakpoints): Remove dead code
1698 that is referenced nowhere else.
1699 (set_breakpoint): Ditto.
1700 (do_enable_breakpoint): Created from enable_once_breakpoint
1701 with a couple of changes.
1702 (enable_breakpoint): Call do_enable_breakpoint with an appropriate
1703 bpdisp enum value to set disposition of breakpoint.
1704 (enable_once_breakpoint): Ditto.
1705 (enable_delete_breakpoint): Ditto.
1706 * breakpoint.h (clear_momentary_breakpoints): Remove prototype.
1707 * symtab.c (find_pc_line): Improve comments.
1708 start-sanitize-gdbtk
1709 * gdbtk.c: Fix a couple of misspellings.
1710 end-sanitize-gdbtk
1711 * xcoffread.c: Ditto.
1712
1713 Tue May 7 18:37:06 1996 Stan Shebs <shebs@andros.cygnus.com>
1714
1715 * target.c (debug_to_xfer_memory): Insert line breaks when
1716 dumping the memory block.
1717
1718 Mon May 6 13:52:52 1996 Stu Grossman (grossman@critters.cygnus.com)
1719
1720 * fork-child.c (fork_inferior), inferior.h: init_trace_fun now
1721 returns a possibly modified pid.
1722 * inftarg.c (ptrace_him): Now returns pid;
1723 * m3-nat.c (m3_trace_him): Now returns pid;
1724 * infcmd.c (run_command): Minor cleanup.
1725 * infrun.c (wait_for_inferior): Add another check for one_stepped
1726 near where we read the pc to avoid erroneously setting
1727 random_signal for multi-threaded support.
1728 * procfs.c: Add support for Solaris LWPs. Remove def of
1729 LOSING_POLL. Many cleanups... Several workarounds for Solaris
1730 lossage. System call entry and exit are now handled by
1731 dynamically registered handlers.
1732 * (syscallname): Don't barf when handed an unknown syscall
1733 number.
1734 * (info_proc_syscalls): Ditto.
1735 * sol-thread.c: New file. Implements Solaris thread support.
1736 * symfile.c (symbol_file_add): Add call to target_new_objfile to
1737 notify target-dependent code about new symbol tables.
1738 * (clear_symtab_users): Call target_new_objfile to notify it of
1739 the removal of all symbol tables.
1740 * target.c (push_target): Make sure that to_close is non-zero
1741 before calling it.
1742 * target.h (target_new_objfile): Provide default.
1743 * config/alpha/nm-osf2.h: Define LOSING_POLL because this version
1744 of OSF can't hack using poll with /proc.
1745 * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be
1746 sol-thread-new-objfile.
1747 * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and
1748 add libthread_db.so.1 to NAT_CLIBS.
1749 * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and
1750 target_pid_to_str.
1751
1752 Sat May 4 02:13:34 1996 N Srin Kumar <nsrin@wipinfo.soft.net>
1753
1754 * procfs.c (remove_fd): Fix copy of fds to fill hole left after
1755 removal of the requested fd.
1756
1757 Mon May 6 07:52:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1758
1759 * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific
1760 hooks under ELF.
1761
1762 * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT.
1763
1764 start-sanitize-gdbtk
1765 Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com>
1766
1767 * gdbtk.tcl (debug_interface): New global, use to aid debugging.
1768 (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
1769 (file_popup_menu): Delete, never used.
1770 (listing_window_popup): Rename from listing_window_button_1,
1771 remove breakpoint toggling code.
1772 (toggle_breakpoint): New procedure.
1773 (create_file_win): Bind popup menu to button 2, toggle breakpoints
1774 with button 1 in breakpoint area, add display of tagged areas if
1775 debugging on.
1776 end-sanitize-gdbtk
1777
1778 Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com)
1779
1780 From Peter Schauer:
1781 * breakpoint.h (enum bpdisp): Add del_at_next_stop.
1782 * breakpoint.c (insert_breakpoints, watchpoint_check,
1783 bpstat_stop_status): Avoid bad references to memory freed via
1784 delete_breakpoint on watchpoints going out of scope.
1785 Do not delete these watchpoints, disable them and change their
1786 disposition to del_at_next_stop instead.
1787 (breakpoint_auto_delete): Delete all breakpoints whose disposition
1788 is del_at_next_stop.
1789 (breakpoint_init_inferior): Use switch to avoid reference to
1790 already deleted breakpoint.
1791
1792 Wed May 1 17:29:18 1996 Fred Fish <fnf@cygnus.com>
1793
1794 * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h.
1795 * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ...
1796 * config/rs6000/rs6000.mt (TDEPFILES): ... to here.
1797 * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize.
1798 (solib_info): Call xcoff_relocate_symtab via the hook.
1799 (sharedlibrary_command): Ditto.
1800 * xcoffread.c: Remove all FAKING_RS6000 comments and defines.
1801 (xcoff_add_toc_to_loadinfo_hook): Define and initialize here.
1802 (xcoff_init_loadinfo_hook): Define and initialize here.
1803 (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook.
1804 (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook.
1805 * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func.
1806 * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations
1807 of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
1808 * rs6000-nat.c (_initialize_core_rs6000): Add initialization
1809 of xcoff_relocate_symtab_hook.
1810
1811 Tue Apr 30 13:22:02 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1812
1813 * configure (powerpcle-*-solaris*): Add Solaris support.
1814
1815 * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for
1816 Solaris support.
1817
1818 Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com>
1819
1820 * c-valprint.c (c_val_print): Fix printing for arrays defined
1821 with 0 length.
1822
1823 Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com>
1824
1825 Support for bi-endian remote breakpoints.
1826 * remote.c (big_break_insn, little_break_insn): New globals.
1827 (break_insn): Remove.
1828 (remote_insert_breakpoint, remote_remove_breakpoint): Use own
1829 code if REMOTE_BREAKPOINT defined, otherwise call memory
1830 breakpoint functions.
1831 * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove.
1832 (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
1833
1834 * mon960-rom.c (mon960_cmds): Remove forward decl.
1835 (mon960_load): Use current_monitor instead of mon960_cmds.
1836 (mon960_regnames): Remove backslashes from line ends.
1837 (_initialize_mon960): Fix documentation string.
1838
1839 Sun Apr 28 12:10:35 1996 Fred Fish <fnf@cygnus.com>
1840
1841 * symfile.h (psymbol_allocation_list): Expand comments which
1842 describe the psymbol allocation list and how each field is
1843 used.
1844
1845 Sun Apr 28 03:44:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1846
1847 * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp
1848 storage leaks.
1849 (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks.
1850
1851 * infcmd.c (run_command), solib.c (locate_base): Check for
1852 target_has_execution in addition to inferior_pid, a core file
1853 from a threaded program is yielding a non-zero inferior_pid.
1854
1855 * sparc-tdep.c (get_saved_register): Handle window registers
1856 in a dummy frame correctly.
1857
1858 Sat Apr 27 20:38:32 1996 Fred Fish <fnf@cygnus.com>
1859
1860 * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,
1861 so that anything that wants an allocation function not yet pulled
1862 in, will get it from mmalloc rather than a system library.
1863 * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS,
1864 to avoid surprising results when used.
1865
1866 Sat Apr 27 00:12:05 1996 Dawn Perchik (dawn@cygnus.com)
1867
1868 * stabsread.c: Changes and bug fixes for cfront support.
1869 Fix bug for class data members.
1870 Fix parsing bug when no base classes exist.
1871 Fix memory bug - allocate space for cplusplus specific info.
1872 Add support for static data.
1873 Add prototypes for static functions.
1874 Enhance comments to show what each function expects to parse.
1875 Cleanup code.
1876 * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename
1877 function to resolve_cfront_continuation.
1878
1879 Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com)
1880
1881 * infrun.c (wait_for_inferior): Call registers_changed when
1882 restarting the inferior to get over a nullified instruction.
1883
1884 Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com)
1885
1886 * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c:
1887 Add new support for parsing cfront stabs.
1888
1889 Wed Apr 24 00:32:55 1996 Jeffrey A Law (law@cygnus.com)
1890
1891 * infrun.c (wait_for_inferior): Move "have_waited" label
1892 outside of #ifdef conditionals. Don't trash the wait status
1893 if we get a signal and the current instruction is nullified.
1894
1895 Mon Apr 22 20:17:01 1996 Fred Fish <fnf@cygnus.com>
1896
1897 * Makefile.in (VERSION): Bump version number to 4.16.1.
1898 * NEWS: Update for 4.16 release.
1899
1900 Mon Apr 22 16:32:29 1996 Stan Shebs <shebs@andros.cygnus.com>
1901
1902 * monitor.h: Clean up comment formatting.
1903 (current_monitor): Remove decl.
1904 (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
1905 (push_monitor, SREC_SIZE): Remove.
1906 * monitor.c: Expand old macro into current_monitor derefs
1907 everywhere.
1908 * remote-os9k.c (current_monitor): Remove definition.
1909
1910 Mon Apr 22 14:54:45 1996 Mark Alexander <marka@superball.cygnus.com>
1911
1912 * corefile.c (specify_exec_file_hook): Allow arbitrary number of
1913 hooks.
1914 (call_extra_exec_file_hooks): New function.
1915 * h8300-tdep.c: Lint; add .h files to provide missing declarations,
1916 remove unused variables.
1917 (set_machine_hook): New function.
1918 (_initialize_h8300m): Initialize it.
1919
1920 Fri Apr 19 15:03:49 1996 Ian Lance Taylor <ian@cygnus.com>
1921
1922 * remote-mips.c (encoding): Don't specify size, to avoid bug in
1923 SunOS native compiler.
1924
1925 Thu Apr 18 18:46:57 1996 Stan Shebs <shebs@andros.cygnus.com>
1926
1927 * monitor.c: Use int rather than LONGEST for values, since
1928 the formatting strings are not prepared to accept long longs.
1929
1930 Wed Apr 17 20:17:27 1996 Doug Evans <dje@canuck.cygnus.com>
1931
1932 * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
1933
1934 Tue Apr 16 17:38:23 1996 Stu Grossman (grossman@critters.cygnus.com)
1935
1936 * corelow.c (add_to_thread_list): Make sure reg_sect is non-null
1937 before de-referencing it. Prevents deref of NULL pointer if core
1938 file lacks .reg section.
1939 * defs.h: Rename floatformat_{to from}_long_double to
1940 floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO
1941 FROM}... macros.
1942 * findvar.c (extract_floating store_floating): Change all refs to
1943 FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
1944 * utils.c: Change floatformat_{to from}_long_double to
1945 floatformat_{to from}_doublest cuz the new routines will use
1946 whatever size (double or long double) is appropriate.
1947 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
1948 REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to
1949 floatformat... routine calls.
1950
1951 Mon Apr 15 16:34:11 1996 Per Bothner <bothner@kalessin.cygnus.com>
1952
1953 * stabsread.c (read_type): Move handling of '@' from type
1954 number handling to handling of types proper (as emitted by gcc!).
1955 For typedefs, allocate the typedef type before reading its
1956 definition, to properly handling recursive types.
1957
1958 Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
1959
1960 * ch-exp.c (calculate_array_length): Fix prototype.
1961
1962 Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com)
1963
1964 * remote-nindy.c (nindy_open): Acquire more target state so that
1965 user can attach to a previously running program.
1966 * (nindy_fetch_registers nindy_store_registers): Get rid of fp
1967 conversion code. That's all handled in {extract store}_floating
1968 now.
1969 * utils.c (floatformat_to_double): Don't bias exponent when
1970 handling zero's, denorms or NaNs.
1971 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
1972 REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and
1973 FLOATFORMAT_TO/FROM_DOUBLEST macros.
1974 * config/i960/tm-nindy960.h: Undefine
1975 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
1976 REGISTER_CONVERTIBLE. These are no longer necessary now that all
1977 the magic happens in extract/store_floating.
1978
1979 Sat Apr 13 02:58:02 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1980
1981 * eval.c (evaluate_subexp_standard): Report error when attempting to
1982 evaluate subscripts for types which cannot be subscripted.
1983
1984 * valarith.c (value_x_binop, value_x_unop): Add noside parameter.
1985 Return a zero value with the return type of the member function
1986 if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
1987 function.
1988 * values.h (value_x_binop, value_x_unop): Update prototypes
1989 accordingly.
1990 * eval.c (evaluate_subexp_standard): Update all callers of
1991 value_x_binop, value_x_unop accordingly.
1992
1993 * valarith.c (value_neg, value_complement): Perform ANSI C/C++
1994 integral promotion on operands.
1995
1996 Fri Apr 12 13:19:27 1996 Fred Fish <fnf@cygnus.com>
1997
1998 * README: Update for 4.16 release.
1999 * configure.in (AC_CHECK_FUNCS): Also check for sbrk.
2000 * configure: Regenerate with autoconf.
2001 * config.in: Regenerate with autoheader.
2002 * main.c (main): Only use sbrk() when HAVE_SBRK is defined.
2003 * top.c (command_loop): Ditto.
2004
2005 Fri Apr 12 09:45:29 1996 Stu Grossman (grossman@critters.cygnus.com)
2006
2007 * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
2008 defaults for bi-endian targets. Replace function pointers for
2009 floatformat routines with macros. No need for these to be runtime
2010 selectable.
2011 * findvar.c: Get rid of floatformat function pointers. Use
2012 macros in extract_floating and store_floating.
2013 * remote-nindy.c (nindy_fetch_registers nindy_store_registers):
2014 Use floatformat macros.
2015
2016 Thu Apr 11 21:28:02 1996 Fred Fish <fnf@cygnus.com>
2017
2018 From: Miles Bader <miles@gnu.ai.mit.edu>
2019 * configure.in (AC_CHECK_HEADERS): check for endian.h.
2020 Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK.
2021 Add host & target cases for i[345]86-*-gnu*.
2022 * config.in: Regenerate with autoheader.
2023 * configure: Regenerate with autoconf.
2024 * Makefile.in (AR, AWK): Set from corresponding autoconf substs.
2025 (init.c): Don't scan mig-generated files.
2026 * defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
2027 * config/nm-m3.h (ATTACH_NO_WAIT): Define.
2028 * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
2029 rather than "#ifndef MACH".
2030
2031 Thu Apr 11 18:49:42 1996 Stan Shebs <shebs@andros.cygnus.com>
2032
2033 * remote.c (remotewritesize): New GDB variable, controls size
2034 of memory packets sent to the target.
2035
2036 Thu Apr 11 13:47:52 1996 Stu Grossman (grossman@critters.cygnus.com)
2037
2038 * dcache.c: Add prototypes. Make many functions static.
2039 * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and
2040 dcache_poke call dcache_xfer_memory directly in order to fix
2041 problems with turning off dcache. dcache_peek is now unnecessary,
2042 so it goes away.
2043
2044 * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
2045 and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
2046 to a struct floatformat. This allows for better handling of
2047 targets whose floating point formats differ from the host by more
2048 than just byte order.
2049 * (floatformat_to_long_double floatformat_from_long_double):
2050 Prototypes for new functions in utils.c.
2051 * (floatformat_to_doublest floatformat_from_doublest): Prototypes
2052 for pointers to floating point conversion functions. The actual
2053 function uses either double or long double if the host supports it.
2054 * findvar.c (floatformat_to_doublest floatformat_from_doublest):
2055 Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
2056 * (extract_floating store_floating): Rewrite. Now, if host fp
2057 format is the same as the target, we just do a copy. Otherwise,
2058 we call floatformat_{to from}_doublest.
2059 * remote-nindy.c (nindy_xfer_inferior_memory): Change param
2060 `write' to `should_write'.
2061 * utils.c (floatformat_to_long_double
2062 floatformat_from_long_double): New routines that implement long
2063 double versions of functions in libiberty/floatformat.c.
2064 * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for
2065 i960 extended real (80 bit) numbers.
2066 * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes
2067 actually read or written.
2068
2069 Wed Apr 10 02:56:06 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2070
2071 * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
2072 (calculate_array_length): Move function from here ...
2073
2074 * ch-exp.c (calculate_array_length): ... to here.
2075 (parse_primval): If we have a symbol with an array type
2076 and the length is 0, call calculate_array_length.
2077
2078 Tue Apr 9 01:23:05 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2079
2080 * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
2081 Add some checks for powerset compatibility.
2082
2083 * valops.c (value_slice): Use lowbound instead of lowerbound for
2084 call to slice_range_type to get correct bounds.
2085
2086 Mon Apr 8 12:53:56 1996 Fred Fish <fnf@cygnus.com>
2087
2088 * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
2089 dependencies.
2090 * scm-lang.c (gdb_string.h): Include.
2091 * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
2092 call to correct type (char *).
2093 * cp-valprint.c (cp_print_static_field): Ditto.
2094 * somsolib.c (som_solib_create_inferior_hook): Add a declaration
2095 for external find_unwind_entry function (from hppa-tdep.c).
2096 * remote-pa.c (remote_write_bytes, remote_read_bytes): Change
2097 type of second arg to "char *" to be type compatible with
2098 dcache.
2099 (remote_wait): Cast second arg to strtol to correct type.
2100 * hppa-tdep.c (compare_unwind_entries): Change argument types to
2101 "const void *" to be type compatible with qsort, and then
2102 assign to local args prior to use.
2103
2104 Mon Apr 8 15:35:52 1996 Jeffrey A Law (law@cygnus.com)
2105
2106 * infptrace.c (kill_inferior): Remove call to "kill"; update
2107 comments.
2108
2109 Mon Apr 8 14:05:07 1996 Geoffrey Noer <noer@cygnus.com>
2110
2111 * remote-e7000.c: don't append :23 to target port if __WIN32__
2112 is defined (it's WinGDB).
2113
2114 Sun Apr 7 22:34:29 1996 Fred Fish <fnf@cygnus.com>
2115
2116 From: Miles Bader <miles@gnu.ai.mit.edu>
2117 * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
2118 msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
2119 config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
2120 m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
2121
2122 Sun Apr 7 13:32:41 1996 Fred Fish <fnf@cygnus.com>
2123
2124 * configure.in (case host): Add i386sco5 host.
2125 * configure: Regenerate.
2126
2127 From: Robert Lipe <robertl@dgii.com>
2128 Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
2129 target is an SVR3.2 with COFF, ELF, and shared libes, but
2130 no /proc.
2131 * config/i386/i386sco5.mh: New file.
2132 * config/i386/nm-i386sco5.h: New file.
2133
2134 Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com>
2135
2136 * bcache.c (bcache): When size of chunk to cache is exactly equal to
2137 BCACHE_MAXLENGTH, stash chunk as unique copy.
2138
2139 Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com>
2140
2141 * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
2142 (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
2143 use it, rather than calling add_psymbol_addr_to_list.
2144 (add_psymbol_addr_to_list): Delete.
2145 (add_psymbol_to_list): Make psymbol static to avoid random data in
2146 gaps due to alignment of structure members.
2147 * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
2148 ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
2149 performance improvements by inlining via complicated macros and
2150 they just make gdb larger and harder to maintain.
2151 * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
2152 and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
2153 add_psymbol_to_list with appropriate long or CORE_ADDR args.
2154 (add_partial_symbol): Ditto.
2155 * partial-stab.h: Ditto.
2156 * os9kread.c (read_os9k_psymtab): Ditto
2157 * mdebugread.c (parse_partial_symbols): Ditto.
2158 (handle_psymbol_enumerators): Ditto.
2159 (demangle.h): Include.
2160 * hpread.c (hpread_build_psymtabs): Ditto.
2161 (hpread_build_psymtabs): Ditto.
2162 (demangle.h): Include
2163
2164 start-sanitize-gdbtk
2165 Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com>
2166
2167 * gdbtk.c (running_now): New global variable.
2168 (gdb_cmd): Test it before executing any command.
2169 (gdbtk_call_command): Set it when inferior is running.
2170 * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
2171 disable interaction with command window's text appropriately.
2172
2173 Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2174
2175 * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
2176 some versions of the kernel don't support it.
2177 end-sanitize-gdbtk
2178
2179 Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com>
2180
2181 * configure.in: Check for setpgid function.
2182 * config.in: Regenerate with autoheader.
2183 * configure: Regenerate with autoconf.
2184 * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
2185 if it is actually defined.
2186 (gdb_setpgid): Use HAVE_SETPGID.
2187 * ch-exp.c: Change include of <string.h> to "gdb_string.h".
2188 * c-exp.y, f-exp.y, m2-exp.y: Ditto.
2189 * c-exp.y, serial.c: Include <ctype.h>.
2190 * config/m68k/nm-news.h: Add typedef for pid_t which is
2191 apparently missing from <sys/types.h>. Enclose entire
2192 file in NM_NEWS_H ifndef and define when included.
2193 * config/mips/nm-news-mips.h: Ditto.
2194 * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
2195 REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
2196
2197 Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com>
2198
2199 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
2200 * arm-tdep.c (arm_apcs_32): New global.
2201 (arm_addr_bits_remove, arm_saved_pc_after_call,
2202 arm_push_dummy_frame, arm_pop_frame): New functions.
2203 (arm_skip_prologue): Updated version from Richard Earnshaw.
2204 (_initialize_arm_tdep): Add set/show "apcs32".
2205 * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
2206 arm_addr_bits_remove.
2207 (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
2208 (frame_find_saved_regs): Declare properly.
2209 (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
2210 (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
2211 explicit mask.
2212 * config/arm/nm-arm.h: New file.
2213 * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
2214 Move definitions to nm-arm.h.
2215 * config/arm/arm.mh (NAT_FILE): Define.
2216
2217 * symfile.c (generic_load): Initialize data_count properly.
2218
2219 Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com>
2220
2221 * symmisc.c (print_objfile_statistics): Print memory used by
2222 psymbol cache obstack.
2223
2224 Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com>
2225
2226 * symfile.c (report_transfer_performance): New function.
2227 (generic_load): Call it to report transfer rate.
2228 * remote-e7000.c (e7000_load): Ditto.
2229
2230 Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com>
2231
2232 * mpw-make.sed: Change references to config.h to be in objdir,
2233 edit out rules to rebuild config.h.
2234
2235 Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com>
2236
2237 * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
2238 proceeding.
2239
2240 Sun Mar 31 16:15:43 1996 Fred Fish <fnf@cygnus.com>
2241
2242 * hppah-nat.c (store_inferior_registers, store_inferior_registers,
2243 fetch_register, child_xfer_memory): Use call_ptrace function supplied
2244 by infptrace.c rather than calling ptrace directly.
2245
2246 Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com>
2247
2248 * mon960-rom.c: Cleanups and elimination of unused code,
2249 clarify documentation string.
2250 (mon960_serial, mon960_ttyname): Remove.
2251 * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
2252 ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
2253
2254 Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com>
2255
2256 * configure.in: Check whether printf family supports printing
2257 long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
2258 * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
2259 * configure: Regenerate.
2260 * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
2261 * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
2262 * configure.in: Fix have_gregset and have_fpregset autoconf
2263 variable names so that they match the pattern required to
2264 cache them.
2265
2266 Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com>
2267
2268 * core-aout.c (fetch_core_registers): Cast core_reg_size to int
2269 before testing against reg_ptr.
2270 * eval.c (evaluate_subexp_standard): Cast type of
2271 TYPE_FN_FIELD_VOFFSET to int.
2272 * findvar.c (extract_signed_integer, extract_unsigned_integer,
2273 extract_long_unsigned_integer): Cast type of sizeof to int.
2274 * values.c (unpack_field_as_long, modify_field): Ditto.
2275 * valops.c (value_assign, call_function_by_hand): Ditto.
2276 * infcmd.c (do_registers_info): Ditto.
2277 * ser-tcp.c (tcp_open): Ditto.
2278 * remote.c (putpkt): Ditto.
2279 * dcache.c (dcache_peek): Ditto.
2280 * dcache.c (dcache_poke): Ditto.
2281 * m2-exp.y (yylex): Ditto.
2282 * gnu-regex.c (re_match_2): Ditto.
2283 * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
2284 out unused macro definition and variables.
2285 * inftarg.c (proc_wait): Move from main.c to here, and make static.
2286 * valprint.c (val_print_string): Change bufsize from int to unsigned.
2287 * main.c (wait.h): Include.
2288 * top.c (command_line_input): Remove unused variable "c".
2289 * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
2290 value TYPE_CODE_TYPEDEF to switch statement.
2291 (f_type_print_varspec_suffix): Add missing enum value
2292 TYPE_CODE_TYPEDEF to switch statement.
2293 * ch-exp.c (parse_primval): Add remaining enumeration values to
2294 switch statement, with no specific action.
2295 (ch_lex): Add LOC_UNRESOLVED in switch statement.
2296 (pushback_token): Ifdef out, since code using it is ifdef'd out.
2297 * stabsread.c (cleanup_undefined_types): Remove unused label
2298 "badtype".
2299 * objfiles.h (print_symbol_bcache_statistics): Add prototype.
2300 * maint.c (objfiles.h): Include.
2301 (maintenance_print_statistics): Remove unused variable "temp".
2302 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
2303 unused variable "found_file_symbol".
2304 * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
2305 * language.c (lang_bool_type): Use existing function local type
2306 variable rather than create block local variables.
2307 * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
2308 * infptrace.c (wait.h, command.h): Include.
2309 * ser-tcp.c (gdb_string.h): Include
2310 * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
2311 (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
2312 * command.c (complete_on_enum): Make assignment used as truth value
2313 explictly check against NULL.
2314 (wait.h): Include.
2315 * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
2316 that uses it is ifdef'd out.
2317 * parser-defs.h: Add prototype for write_dollar_variable.
2318 * infrun.c: Add prototype for write_pc_pid.
2319 * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
2320 * symmisc.c (bcache.h): Include.
2321 * bcache.h: Add prototype for print_bcache_statistics.
2322 * symfile.c: Include <time.h>.
2323 * printcmd.c (print_scalar_formatted): Change len to unsigned int.
2324 * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
2325 * valarith.c (value_binop): Change result_len, promoted_len1,
2326 and promoted_len2 to unsigned int.
2327 * valarith.c (value_subscripted_rvalue): Change elt_offs and
2328 elt_size to unsigned int.
2329 * valops.c (value_array): Change typelength to unsigned int.
2330 (destructor_name_p): Change len to unsigned int.
2331 * scm-lang.h (scm_parse): Add prototype for scm_unpack.
2332 * symfile.c (decrement_reading_symtab): Change return type to void.
2333 * valarith.c (value_subscript): Remove unused variable "word".
2334 (value_subscript): Remove unused variable "tint".
2335 * valops.c (auto_abandon): Ifdef out, since code using it is also
2336 ifdef'd out.
2337 * eval.c (init_array_element): Remove unused variable "val".
2338 * Makefile.in (values.o): Depends on scm-lang.h.
2339 (command.o): Depends upon wait_h.
2340 (ser-tcp.o): Depends upon gdb_string.h.
2341 (infptrace.o): Depends upon wait_h and command_h.
2342 (maint.o): Depends on objfiles.h and symfile.h.
2343 * values.c (allocate_repeat_value): Remove unused variable
2344 "element_type".
2345 (scm-lang.h): Include.
2346 * breakpoint.c (create_longjmp_breakpoint): Enclose in
2347 GET_LONGJMP_TARGET define, unused otherwise.
2348 * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
2349 i386_remove_watchpoint and i386_stopped_by_watchpoint.
2350
2351 Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com>
2352
2353 * configure.in (sparc64-*-solaris2*): Delete.
2354 Stick with sparc-*-solaris2*.
2355 * configure: Regenerated.
2356
2357 Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com>
2358
2359 * valops.c (value_assign): Make copy of internal variable value
2360 before returning it as a new value, since it is owned by the
2361 internal variable and will be freed along with it.
2362
2363 Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com)
2364
2365 * From Peter Schauer.
2366 * breakpoint.c (breakpoint_re_set_one): Keep temporary
2367 breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
2368 and bp_step_resume in case breakpoint_re_set_one is called due
2369 to a step over a dlopen call.
2370 * infrun.c (wait_for_inferior): Always remove breakpoints from
2371 inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
2372
2373 Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com>
2374
2375 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
2376 non-prototyped case over prototyped case for C.
2377 * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
2378
2379 Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com>
2380
2381 * os9kread.c (os9k_process_one_symbol): Note nonportable
2382 assumption that an int can hold a char *.
2383
2384 * bcache.h (struct hashlink): Wrap data[] inside union with
2385 double to force longest alignment.
2386 (BCACHE_DATA): New macro to access data[].
2387 (BCACHE_ALIGNMENT): New macro to get offset to data[].
2388 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
2389 address of cached data. Use BCACHE_ALIGNMENT to compute
2390 amount of space to allocate for each hashlink struct.
2391
2392 Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com>
2393
2394 * ch-lang.c (evaluate_subexp_chill): Fix typo.
2395
2396 Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com>
2397
2398 * Makefile.in (VERSION): Bump version to 4.15.3
2399
2400 Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
2401
2402 * config.in: Rename from config.h.in.
2403 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
2404 Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
2405 * configure: Rebuild.
2406 * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
2407 Set CONFIG_HEADERS to config.h:config.in.
2408
2409 Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2410
2411 * partial-stab.h (case N_ENDM): Finish current partial symbol
2412 table for Solaris 2 cc.
2413
2414 Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com)
2415
2416 * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
2417 PC in the registers array. From Peter Schauer.
2418
2419 Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com>
2420
2421 * symfile.c (reread_symbols): Reinitialize bcache struct
2422 members to zero using memset. Also use memset to reinit
2423 global_psymbols and static_psymbols, rather than explicitly
2424 resetting each structure member.
2425
2426 Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com>
2427
2428 * configure.in: Add fragment to create stamp-h.
2429
2430 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
2431 * configure.in (AC_CHECK_HEADERS): Check for link.h.
2432 * configure: Regenerate with autoconf.
2433 * config.h.in: Regenerate with autoheader.
2434 * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
2435 is defined.
2436 * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
2437 * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
2438 older a.out based systems.
2439
2440 Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com>
2441
2442 * config.h.in: New file.
2443 * acconfig.h: New file, for autoheader.
2444 * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
2445 * configure: Regenerate.
2446 * Makefile.in (defs_h): Add config.h
2447 (distclean): Remove config.h and stamp-h during distclean.
2448 (config.h, stamp-h): New targets to remake config.h when necessary.
2449 * defs.h (config.h): Include before any other includes or defines.
2450 * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
2451 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
2452
2453 Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com>
2454
2455 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
2456 * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
2457 result in an empty line, to work around a bug in native Ultrix 4.4
2458 and OSF/1-3.2C make.
2459
2460 Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com>
2461
2462 * configure.in: Add gdbserver to configdirs under linux.
2463 * configure: Regenerate.
2464
2465 Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com>
2466
2467 * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
2468 * config/i386/tm-nbsd.h (NUM_REGS): Define.
2469
2470 Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com)
2471
2472 * solib.c (solib_break_names): Add _r_debug_state for
2473 vanilla SVR4 implementations. From Peter Schauer.
2474
2475 Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com>
2476
2477 * mon960-rom.c: New file; support mon960 rom monitor on i960.
2478 * monitor.c (monitor_debug): Change remotedebug to buffer strings.
2479 * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
2480 epecting prompt and echo during open.
2481 * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
2482 determine if break should be sent as stop command.
2483 * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
2484 * i960-tdep.c (mon960_frame_chain_valid): New function for getting
2485 stack frame on mon960.
2486 * Makefile.in: Add mon960 files.
2487 * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
2488 added i960-nindy-coff* and i960-nindy-elf* for target nindy.
2489 * configure: Regenerated.
2490 * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
2491 support mon960 rom monitor on i960.
2492
2493 Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
2494
2495 With Michael Snyder:
2496 * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
2497 * win32-nat.c (CHECK, DEBUG*, debug_*): New.
2498 (handle_load_dll): Don't reload symbols.
2499 (handle_exception): Use the DEBUG_* names.
2500 (child_wait): Add DEBUG_* code.
2501 (_initialize_inftarg): Add new commands to set debug_ names.
2502
2503 Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com)
2504
2505 * From Peter Schauer:
2506 * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
2507 (bpstat_stop_status): Likewise.
2508 (remove_solib_event_breakpoints): Likewise.
2509 (clear_momentary_breakpoints): Likewise.
2510 (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
2511 if we still can't read the memory for that breakpoint.
2512 (mention): Add bp_shlib_event case to keep gcc quiet.
2513
2514 Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com)
2515
2516 * breakpoint.h (enum enable): New enum shlib_disabled for
2517 shared library breakpoints that have been temporarily disabled.
2518 * breakpoint.c: Handle temporarily disabled shared library
2519 breakpoints like disabled breakpoints in most places.
2520 (insert_breakpoints): Use shlib_disabled to indicate
2521 that an unsettable breakpoint is only temporarily disabled.
2522 (re_enable_breakpoints_in_shlibs): New function.
2523 * corelow.c (solib_add_stub): After adding shared libraries,
2524 try to reenable any temporarily disabled breakpoints.
2525 * infcmd.c (attach_command): Likewise.
2526 * infrun.c (wait_for_inferior): Likewise.
2527
2528 Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com>
2529
2530 * defs.h (extract_long_unsigned_integer): Declare.
2531 * findvar.c (extract_long_unsigned_integer): New function.
2532 * printcmd.c (print_scalar_formatted): Use it.
2533 * valprint.c (val_print_type_code_int): Likewise.
2534
2535 Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com>
2536
2537 * infcmd.c (do_registers_info): Ignore anonymous registers.
2538 * sh-tdep.c (set processor): New command to set specific
2539 processor type.
2540 (sh_reg_names, sh3_reg_names): Arrays of register names for
2541 SH and SH3 processors.
2542 (sh_set_processor_type): New function.
2543 * sh3-rom.c (sh3_open): Call it.
2544 (sh3_regname): Add names of all the bank registers.
2545 (sh3_supply_register): Clean up formatting.
2546 * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
2547 bank registers.
2548 (REGISTER_NAMES): Add names of bank registers.
2549 (FP15_REGNUM): Define.
2550 (REGISTER_VIRTUAL_TYPE): Use it.
2551 * monitor.c: Clean up some comments.
2552
2553 Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
2554
2555 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
2556 s* and t* symbols too.
2557
2558 Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
2559
2560 * symfile.c (generic_load): Avoid division by zero.
2561
2562 Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com)
2563
2564 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
2565 not just those with HANDLE_SVR4_EXEC_EMULATORS.
2566
2567 From Peter Schauer:
2568 * breakpoint.c (internal_breakpoint_number): Move to file scope.
2569 (create_solib_event_breakpoint): Use an internal breakpoint number.
2570
2571 Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2572
2573 * valarith.c (value_in): Change builtin_type_chill_bool to
2574 LA_BOOL_TYPE.
2575
2576 Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2577
2578 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
2579 (match_string_literal): Handle control sequence.
2580 (match_character_literal): Deto.
2581
2582 * ch-lang.c (chill_printchar): Change formating of nonprintable
2583 characters from C'xx' to ^(num).
2584 (chill_printstr): Deto.
2585 (value_chill_card, value_chill_max_min): New functions to process
2586 Chill's CARD, MAX, MIN.
2587 (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
2588
2589 * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
2590 for Chill's CARD, MAX, MIN.
2591
2592 * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
2593 and change return type from builtin_type_int to
2594 builtin_type_chill_bool.
2595
2596 Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com>
2597
2598 * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
2599 from config/nm-nbsd.h.
2600 * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
2601 from config/sparc/tm-nbsd.h.
2602
2603 * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
2604 instead of in config/m68k/xm-hp300hpux.h.
2605
2606 Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com>
2607
2608 * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
2609 implementation for NetBSD systems.
2610
2611 Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com>
2612
2613 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
2614 (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
2615
2616 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
2617 if "function" is pointer to non-function.
2618
2619 Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com>
2620
2621 * top.c (print_gdb_version): Update copyright year.
2622
2623 Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com)
2624
2625 From Peter Schauer:
2626 * infrun.c (wait_for_inferior): Remove breakpoints and
2627 switch terminal settings before calling SOLIB_ADD.
2628 * solib.c (enable_break, SVR4 variant): Don't map in symbols
2629 for the dynamic linker, the namespace pollution causes real
2630 problems.
2631
2632 Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
2633
2634 * remote-mips.c (common_breakpoint): Explicitly terminate the
2635 returned buffer.
2636
2637 Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com>
2638
2639 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
2640 * remote.c (remote_detach): Send a command 'D' to the target
2641 when detaching, update the function's comments.
2642
2643 Thu Jun 6 16:11:38 1996 Miles Bader <miles@gnu.ai.mit.edu>
2644
2645 * gnu-nat.c (thread_cmd_list): New declaration.
2646 (parse_int_arg): New function.
2647
2648 Wed Jun 5 17:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
2649
2650 * gnu-nat.h (struct proc): Add DETACH_SC field.
2651 * gnu-nat.c (make_proc): Set DETACH_SC.
2652 (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
2653 (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
2654 (add_thread_commands): Add set/show for detach-suspend-count.
2655 Add takeover-suspend-count cmd.
2656 (inf_detach): Set suspend counts to the detach SC, not 0.
2657 (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd,
2658 set_task_detach_sc_cmd, show_task_detach_sc_cmd,
2659 set_thread_default_thread_detach_sc_cmd,
2660 show_thread_default_thread_detach_sc_cmd): New functions.
2661 (show_task_cmd): Also show detach-suspend-count values.
2662 (thread_takeover_sc_cmd): New function.
2663
2664 Fri May 31 16:49:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
2665
2666 * gnu-nat.c (show_thread_run_cmd): Actually print state.
2667
2668 Thu May 30 10:47:56 1996 Miles Bader <miles@gnu.ai.mit.edu>
2669
2670 * gnu-nat.c (inf_signal): Make unforwardable exceptions an error.
2671
2672 Tue May 28 17:06:36 1996 Miles Bader <miles@gnu.ai.mit.edu>
2673
2674 * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a
2675 pointer to the flags now, not the flags themselves.
2676
2677 Mon May 27 13:31:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
2678
2679 * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs.
2680 (gnu_create_inferior): Check return from ptrace.
2681
2682 Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2683
2684 * gnu-nat.h (struct proc): Add DEAD field.
2685 * gnu-nat.c (make_proc): Initialize DEAD.
2686 (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it.
2687 (gnu_wait): Only abort for 0 threads if the task isn't dead.
2688
2689 Sat May 25 17:06:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
2690
2691 * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal.
2692
2693 Wed May 22 18:44:28 1996 Miles Bader <miles@gnu.ai.mit.edu>
2694
2695 * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument.
2696 (inf_set_traced): Only give no-signal-thread error message if
2697 turning *on* tracing.
2698
2699 Wed May 15 13:03:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
2700
2701 * gnu-nat.c (inf_validate_procs): If INF has no threads, always
2702 set inf->threads_up_to_date to 0.
2703 (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced.
2704 (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation.
2705 (proc_update_sc): Cast thread state arg to thread_set_state.
2706 (proc_get_state): Cast thread state arg to thread_get_state.
2707 (inf_validate_task_sc): Cast task_basic_info arg to task_info.
2708 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call
2709 inf_update_procs before we lookup the thread.
2710 * config/i386/i386gnu.mh (MH_CFLAGS): New variable.
2711
2712 Tue May 7 17:52:33 1996 Miles Bader <miles@gnu.ai.mit.edu>
2713
2714 * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task.
2715
2716 Mon May 6 19:06:49 1996 Miles Bader <miles@gnu.ai.mit.edu>
2717
2718 * gnu-nat.c (inf_set_traced): Use msg_set_init_int with
2719 INIT_TRACEMASK instead of setting the exec flags.
2720
2721 Fri May 3 19:10:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
2722
2723 * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find
2724 the task's died, so others have a chance at it.
2725 (gnu_resume): When single-stepping a single thread, given an error
2726 if there is no such thread. When single-stepping one but running
2727 the others, just given a warning and still run all the threads.
2728 (gnu_wait): If there seem to be no threads, look harder, and
2729 signal an error if there really aren't any.
2730 (gnu_attach): Reset thread numbering to 0.
2731
2732 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give
2733 thread name in warning messages.
2734
2735 * gnu-nat.c (active_inf): New function.
2736 (show_sig_thread_cmd, show_stopped_cmd): Use it.
2737 (info_port_rights, info_send_rights_cmd, info_port_sets_cmd,
2738 info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd):
2739 New functions.
2740 (add_task_commands): Add new port-right info commands.
2741
2742 Fri Apr 26 20:42:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
2743
2744 * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just
2745 use mach_msg with MACH_RCV_INTERRUPT.
2746 (set_noninvasive_cmd): New function.
2747 (add_task_commands): Add command entry for `set noninvasive'.
2748
2749 Mon Mar 4 14:12:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
2750
2751 * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy.
2752 (safe_bcopy): Function removed.
2753
2754 Mon Dec 4 14:18:26 1995 Miles Bader <miles@gnu.ai.mit.edu>
2755
2756 * gnu-nat.c (proc_update_sc): Assert only threads can have state.
2757 (make_proc): Initialize state_valid & state_changed fields.
2758
2759 Tue Nov 28 17:51:21 1995 Miles Bader <miles@gnu.ai.mit.edu>
2760
2761 * reply_mig_hack.awk: New file.
2762
2763 Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu>
2764
2765 * breakpoint.c (breakpoint_1): Print breakpoint thread field.
2766
2767 * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new
2768 threads.
2769
2770 Mon Nov 13 18:30:53 1995 Miles Bader <miles@gnu.ai.mit.edu>
2771
2772 * target.c (debug_to_check_threads): New function.
2773
2774 * inflow.c (terminal_init_inferior_with_pgrp): New function.
2775 (terminal_init_inferior): Call terminal_init_inferior_with_pgrp.
2776 * inferior.h (terminal_init_inferior_with_pgrp): New declaration,
2777 but only if PROCESS_GROUP_TYPE is defined.
2778
2779 Mon Nov 6 16:42:09 1995 Miles Bader <miles@gnu.ai.mit.edu>
2780
2781 * target.c (debug_to_thread_alive): Pass through the return value.
2782
2783 Thu Nov 2 18:05:00 1995 Miles Bader <miles@gnu.ai.mit.edu>
2784
2785 * target.c (signals, target_signal_from_host, target_signal_to_host):
2786 Add mach exceptions.
2787 * target.h (enum target_signal): Add mach exceptions.
2788
2789 Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu>
2790
2791 * gnu-nat.c: New file: gnu native backend.
2792 * i386gnu-nat.c: New file: i386-specific part of gnu native backend.
2793 * gnu-nat.h: New file.
2794 * config/nm-gnu.h: New file.
2795 * config/tm-i386gnu.h: New file.
2796 * config/xm-i386gnu.h: New file.
2797 * config/i386/i386gnu.mh: New file.
2798 * config/i386/i386gnu.mt: New file.
2799
2800 Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com>
2801
2802 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
2803 baseline for gdb 4.16 rerelease testing.
2804
2805 Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com)
2806
2807 * somsolib.c (som_solib_create_inferior_hook): Before returning
2808 call clear_symtab_users.
2809
2810 Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com)
2811
2812 * remote-e7000.c (e7000_open): Delete all breakpoints when
2813 connecting to e7000. Change connect message to allow use of
2814 monitor.exp in test suite.
2815 * (e7000_load): Print transfer rate of download.
2816 * symfile.c (generic_load): Print transfer rate of download.
2817
2818 Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com>
2819
2820 * configure.in (mips*-*-vxworks*): New config.
2821 * configure: Regenerated.
2822
2823 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
2824 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
2825 Remove, never used.
2826
2827 Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2828
2829 * partial-stab.h (case N_FUN): Function symbols generated
2830 by SPARCworks cc have a meaningless zero value, do not update
2831 pst->textlow if the function symbol value is zero.
2832
2833 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
2834 for function prototype declaration symbols.
2835
2836 Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com)
2837
2838 * remote-e7000.c (e7000_load): New routine to download via the
2839 network.
2840 * (e7000_wait): Don't backup PC when we hit a breakpoint.
2841 Apparantly new sh2 pods get this right...
2842 * (e7000_ops): Add call to e7000_load.
2843
2844 Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com>
2845
2846 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
2847 m68knbsd-nat.c: New files, support for NetBSD/m68k.
2848
2849 * configure.in (m68k-*-netbsd*): New config.
2850 * configure: Regenerated.
2851
2852 Wed Feb 21 19:00:21 1996 Fred Fish <fnf@cygnus.com>
2853
2854 * standalone.c (open, _initialize_standalone): Fix obvious typos
2855 reported by Martin Pool <martin@citr.uq.oz.au>.
2856
2857 Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
2858
2859 * solib.c (solib_create_inferior_hook): Fix thinko.
2860
2861 Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com)
2862
2863 * solib.c (solib_break_names): Define for Solaris and Linux.
2864 (enable_break): For SVR4 systems, first try to use the debugger
2865 interfaces in the dynamic linker to track shared library events
2866 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
2867 BKPT_AT_SYMBOL code to use shared library event breakpoints.
2868 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
2869 it no longer needs to restart/wait on the inferior.
2870 * symfile.c (find_lowest_section): No longer static.
2871 * symfile.h (find_lowest_section): Corresponding changes.
2872
2873 Tue Feb 20 18:54:08 1996 Fred Fish <fnf@cygnus.com>
2874
2875 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
2876 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
2877 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
2878 * config/mips/tm-mips.h: Ditto.
2879 * config/pa/tm-hppa.h: Ditto.
2880 * config/rs6000/tm-rs6000.h: Ditto.
2881 * config/sparc/tm-sparc.h: Ditto.
2882
2883 Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
2884
2885 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
2886
2887 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
2888 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
2889 #ifdef'd out definitions --- Causes serious gdb failures on
2890 the i386. Need to investigate further before enabling.
2891
2892 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
2893 fetch_core_registers): New functions. These functions are defined
2894 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
2895 with ptrace PT_GETREGS/PT_SETREGS.
2896
2897 Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com)
2898
2899 * findvar.c (extract_floating store_floating): Replace `long
2900 double' with `DOUBLEST'.
2901
2902 Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
2903
2904 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
2905 Define.
2906
2907 Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com)
2908
2909 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
2910
2911 * breakpoint.h (remove_solib_event_breakpoints): Declare.
2912 * breakpoint.c (remove_solib_event_breakpoints): New function.
2913 * somsolib.c (solib_create_inferior_hook): Remove all solib event
2914 breakpoints before inserting any new ones. Use a solib event
2915 breakpoint for the breakpoint at "_start".
2916 Remove extraneous "\n" from calls to warning.
2917
2918 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
2919 name array.
2920
2921 Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com>
2922
2923 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
2924 for CORE_ADDR values.
2925 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
2926 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
2927
2928 Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2929
2930 * mipsread.c (mipscoff_symfile_read): Unconditionally add
2931 alpha coff dynamic symbols for all symbol files. Makes skipping
2932 over the trampoline code work when stepping from a function in a
2933 shared library into a function in a different shared library.
2934
2935 Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com)
2936
2937 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
2938 RETURN_VALUE_ON_STACK to return long doubles on the stack.
2939
2940 Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com>
2941
2942 * Makefile.in (ch-exp.o): Add dependencies.
2943 (various): Add gdb_string.h to dependencies that need it.
2944
2945 Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com>
2946
2947 * symmisc.c (print_symbol_bcache_statistics): Update description for
2948 printing byte cache statistics.
2949
2950 Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com)
2951
2952 * Add native support for long double data type.
2953 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
2954 to store actual data. Change types of INT and FLOAT tokens to
2955 typed_val_int and typed_val_float respectively. Create new token
2956 DOUBLE_KEYWORD to specify the string `double'. Make production
2957 for FLOAT use type determined by parse_number. Add production for
2958 "long double" data type.
2959 * (parse_number): Use sscanf to parse numbers as float, double or
2960 long double depending upon the type of typed_val_float.dval. Also
2961 allow user to specify `f' or `l' suffix to explicitly specify
2962 float or long double constants. Change typed_val to
2963 typed_val_int.
2964 * (yylex): Change typed_val to typed_val_int. Also, scan for
2965 "double" keyword.
2966 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
2967 type.
2968 * configure, configure.in: Add check for long double support in
2969 the host compiler.
2970 * defs.h: Define DOUBLEST appropriatly depending on whether
2971 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
2972 for functions that handle this type.
2973 * expression.h (union exp_element): doubleconst is now type
2974 DOUBLEST.
2975 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
2976 * findvar.c (extract_floating): Make return value be DOUBLEST.
2977 Also, add support for numbers with size of long double.
2978 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
2979 floating types.
2980 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
2981 DOUBLEST.
2982 * valarith.c (value_binop): Change temp variables v1, v2 and v to
2983 type DOUBLEST. Coerce type of result to long double if either op
2984 was of that type.
2985 * valops.c (value_arg_coerce): If argument type is bigger than
2986 double, coerce to long double.
2987 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
2988 arg type is float and > 8 bytes, then use pointer-to-object
2989 calling conventions.
2990 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
2991 Use appropriate format and precision to print out floating point
2992 values.
2993 * value.h: Fixup prototypes for value_as_double,
2994 value_from_double, and unpack_double to use DOUBLEST.
2995 * values.c (record_latest_value): Remove check for invalid
2996 floats. Allow history to store them so that people may examine
2997 them in hex if they want.
2998 * (value_as_double unpack_double): Change return value to DOUBLEST.
2999 * (value_from_double): Arg `num' is now DOUBLEST.
3000 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
3001 specific) to expect certain types to always be returned on the stack.
3002
3003 Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com>
3004
3005 * bcache.c, bcache.h: New files to implement a byte cache.
3006 * Makefile.in (SFILES): Add bcache.c.
3007 (symtab_h): Add bcache.h.
3008 (HFILES_NO_SRCDIR): add bcache.h
3009 (COMMON_OBJS): Add bcache.o
3010 (bcache.o): New target.
3011 * dbxread.c (start_psymtab): Make global_syms & static_syms
3012 type "partial_symbol **".
3013 * hpread.c (hpread_start_symtab): Ditto.
3014 * os9kread.c (os9k_start_psymtab): Ditto.
3015 * stabsread.h (start_psymtab): Ditto.
3016 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
3017 * maint.c (maintenance_print_statistics): Call
3018 print_symbol_bcache_statistics.
3019 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
3020 and free pointers.
3021 * solib.c (allocate_rt_common_objfile): Ditto.
3022 * symfile.c (reread_symbols): Ditto.
3023 (free_objfile): Free psymbol bcache when objfile is freed.
3024 (objfile_relocate): Use new indirect psymbol pointers.
3025 * objfiles.h (struct objfile): Add psymbol cache.
3026 * symfile.c (compare_psymbols): Now passed pointers to pointers to
3027 psymbols.
3028 (reread_symbols): Free psymbol bcache when freeing other objfile
3029 resources.
3030 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
3031 psymbol using the psymbol bcache.
3032 (init_psymbol_list): Psymbol lists now contain pointers rather than
3033 the actual psymbols.
3034 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
3035 grown arrays of pointers.
3036 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
3037 bcache.
3038 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
3039 to partial symbol.
3040 (print_symbol_bcache_statistics): New function to print per objfile
3041 bcache statistics.
3042 (print_partial_symbol, print_partial_symbols,
3043 maintenance_check_symtabs, extend_psymbol_list):
3044 Account for change to pointer to pointer to partial symbol.
3045 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
3046 make_symbol_completion_list):
3047 Account for change to pointer to pointer to partial symbol.
3048 * symtab.h (bcache.h): Include.
3049 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
3050 type "partial_symbol **".
3051
3052 Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com>
3053
3054 * dwarfread.c (free_utypes): New function.
3055 (read_file_scope): Call free_utypes as cleanup, rather than just
3056 freeing the utypes pointer.
3057
3058 Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3059
3060 * demangle.c (is_cplus_marker): New function, checks if a
3061 character is one of the commonly used C++ marker characters.
3062 * defs.h (is_cplus_marker): Add prototype.
3063 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
3064 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
3065 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
3066 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
3067 values.c (vb_match): Use is_cplus_marker instead of comparison
3068 with CPLUS_MARKER.
3069
3070 Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com>
3071
3072 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
3073 delete entirely someday.
3074
3075 Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com>
3076
3077 * mpw-make.sed: Edit out makefile rebuild rule.
3078 (host_alias, target_alias): Comment out instead of deleting.
3079 (@LIBS@): Edit out references.
3080
3081 Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com>
3082
3083 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
3084 Use n_psyms in OBJSTAT, not psyms.
3085
3086 Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com>
3087
3088 * configure.in (sparclet-*-aout*): New config.
3089 * configure: Regenerated.
3090
3091 Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com>
3092
3093 * somsolib.c (som_solib_add): Use xmalloc rather than bare
3094 unchecked call to malloc.
3095 * remote-mips.c (pmon_load_fast): ditto.
3096 * remote-mm.c (mm_open): ditto.
3097 * hpread.c (hpread_lookup_type): ditto.
3098 * remote-adapt.c (adapt_open): ditto.
3099
3100 Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com>
3101
3102 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
3103 allocate_saved_f77_common_node, allocate_common_entry_node,
3104 add_common_block): Use xmalloc rather than malloc, some of which
3105 were unchecked.
3106 * gnu-regex.c: At same point as other gdb specific changes
3107 #undef malloc and then #define it to xmalloc.
3108 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
3109 bare unchecked calls to malloc/realloc.
3110 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
3111 unchecked call to malloc.
3112
3113 Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com)
3114
3115 * symtab.c (gdb_mangle_name): Change opname var to be const to
3116 match return val of cplus_mangle_name.
3117 * i960-tdep.c: Change arg types of next_insn to match callers.
3118
3119 Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com>
3120
3121 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
3122 apparently aren't needed in any reasonably recent version of
3123 linux.
3124
3125 Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com>
3126
3127 * stabsread.c (read_range_type): If !self-subrange and language
3128 is Chill, assume a true range. If a true_range is a sub_subrange,
3129 use builtin_type_int for index_type.
3130
3131 Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com>
3132
3133 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
3134 with an ANSI compiler.
3135
3136 start-sanitize-gdbtk
3137 Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
3138
3139 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
3140 double-clicking will work again.
3141 (create_asm_win): Put "break" at end of all B1 bindings.
3142 (create_file_win): Lower "sel" tag, don't raise it.
3143 (ensure_line_visible): New proc.
3144 (update_listing, update_assembly): Use it.
3145 (create_copyright_window): Destroy window on Leave event.
3146 (create_command_window): Put "break" at end of all B2 bindings.
3147
3148 end-sanitize-gdbtk
3149 Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com>
3150
3151 From Michael_Snyder@NeXT.COM (Michael Snyder):
3152 * valops.c (value_arg_coerce): Coerce float to double, unless the
3153 function prototype specifies float.
3154
3155 Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com>
3156
3157 * language.c (set_language_command): Use languages table when
3158 printing available languages.
3159
3160 Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com>
3161
3162 Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl):
3163 * command.c (add_cmd): Add missing initialization for enums member.
3164 Reorder members to match structure declaration to make it easier to
3165 tell when one is missing.
3166 * exec.c (exec_file_command): Fix problem where filename in malloc'd
3167 memory is referenced after being freed.
3168
3169 Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3170
3171 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
3172 AT_name tag is missing.
3173
3174 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
3175 FLTWATCH and FLTKWATCH are defined.
3176
3177 * remote.c (remote_read_bytes): Advance memaddr for transfers,
3178 return number of bytes transferred for partial reads.
3179
3180 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
3181
3182 Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com>
3183
3184 * win32-nat.c (mappings): Add ppc registers.
3185 (child_resume): Turn off step for ppc.
3186
3187 Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com>
3188
3189 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
3190 xm-cygwin32.h): New.
3191 * config/i386/(*win32*): Becomes *cygwin32*.
3192 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
3193 (powerpcle-*-cygwin32): New.
3194 * configure: Regenerate.
3195 * win32-nat.c (child_create_inferior): Call CreateProcess
3196 with the right program arg.
3197
3198 Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com)
3199
3200 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
3201
3202 Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com>
3203
3204 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
3205
3206 Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com>
3207
3208 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
3209
3210 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
3211
3212 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
3213 here from config/i386/xm-i386mach.h, fix name.
3214 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
3215 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
3216 here from config/i386/xm-ptx4.h.
3217 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
3218 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
3219 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
3220 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
3221 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
3222
3223 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
3224 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
3225 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
3226
3227 Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com)
3228
3229 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
3230 floating point correctly.
3231 (STORE_RETURN_VALUE): Likewise.
3232 * config/pa/tm-pro.h (SOFT_FLOAT): define.
3233
3234 Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
3235
3236 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
3237 Define to what should be reasonable values. However, apparently
3238 a bug in linux mmap prevents mapped symbol tables from working.
3239
3240 Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
3241
3242 * defs.h (errno.h>: Move #include closer to head of file to solve
3243 obscure problem with systems that declare perror with const arg, in
3244 both errno.h and stdio.h, and const is defined away by intervening
3245 local include.
3246
3247 Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com>
3248
3249 From Jon Reeves <reeves@zk3.dec.com>:
3250 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
3251 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
3252
3253 Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com>
3254
3255 * Makefile.in (diststuff): Make all-doc; diststuff target does not
3256 exist in doc/Makefile.in.
3257
3258 Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com>
3259
3260 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
3261
3262 Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
3263
3264 * ch-valprint.c (calculate_array_length): New function to
3265 determine the length of an array type.
3266 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
3267 array type is zero, call calculate_array_length.
3268
3269 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
3270 values may not be sorted. Scan all entries and set the real lower
3271 and upper bound.
3272
3273 Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com>
3274
3275 * config/xm-linux.h: Move include of solib.h and #define of
3276 SVR4_SHARED_LIBS from here ...
3277 * config/nm-linux.h: ...to here.
3278
3279 Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com>
3280
3281 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
3282 Also check for gregset_t and fpregset_t types.
3283 * configure: Regenerate.
3284 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
3285 is defined.
3286 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
3287 and HAVE_FPREGSET_T are defined. These changes allow systems
3288 like linux that are migrating to /proc support to use a single
3289 configuration for both new and old versions.
3290
3291 * config/i386/linux.mt: Note that this is now for both a.out and
3292 ELF systems.
3293 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
3294 i386v4-nat.o
3295 * config/i386/tm-linux.h (tm-sysv4.h): Include.
3296 * config/i386/xm-linux.h (solib.h): Include
3297 (SVR4_SHARED_LIBS): Define.
3298 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
3299 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
3300 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
3301 defined.
3302
3303 Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com>
3304
3305 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
3306 * config/i386/xm-sun386.h: Ditto.
3307 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
3308
3309 Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com>
3310
3311 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
3312
3313 Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
3314
3315 From Greg McGary <gkm@gnu.ai.mit.edu>:
3316 * dcache.c (dcache_peek, dcache_poke): Advance addr for
3317 multi-byte I/O.
3318
3319 Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
3320
3321 * infrun.c (normal_stop): Fix test for shared library event.
3322
3323 Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com>
3324
3325 * configure.in (sparc64-*-*): Add default host configuration.
3326 start-sanitize-gdbtk
3327 (sparc64-*-solaris2* host): Link statically if GCC used.
3328 end-sanitize-gdbtk
3329 (sparc64-*-solaris2*): Add target configuration.
3330 * configure: Regenerated.
3331 * sparc/sp64sol2.mt: New file.
3332
3333 Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com>
3334
3335 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
3336
3337 Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com>
3338
3339 * Makefile.in (lint): Close backquotes.
3340
3341 start-sanitize-gdbtk
3342 Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
3343
3344 * gdbtk.tcl, gdbtk.c: Updated copyrights.
3345
3346 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
3347 greater.
3348 * configure: Rebuilt.
3349
3350 end-sanitize-gdbtk
3351 Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com>
3352
3353 * NEWS: Make note of new record and replay feature for
3354 remote debug sessions.
3355 * serial.c (gdbcmd.h): Include.
3356 (serial_logfile, serial_logfp, serial_reading, serial_writing):
3357 Define here, for remote debug session logging.
3358 (serial_log_command, serial_logchar, serial_write, serial_readchar):
3359 New functions for remote debug session logging.
3360 (serial_open): Open remote debug session log file when needed.
3361 (serial_close): Close remote debug session log file when needed.
3362 (_initialize_serial): Add set/show commands for name of remote
3363 debug session log file.
3364 * serial.h (serial_readchar): Declare
3365 (SERIAL_READCHAR): Call serial_readchar().
3366 (SERIAL_WRITE): Call serial_write().
3367 (serial_close): Declare as extern.
3368 (serial_logfile, serial_logfp): Declare.
3369 * top.c (execute_command): Declare serial_logfp. Log user command
3370 in remote debug session log if log file is open.
3371 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
3372 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
3373 * remote-array.c (SREC_SIZE): Remove, duplicates define in
3374 monitor.h.
3375 * remote-array.c (hexchars, hex2mem): Remove, unused.
3376 * gdbserver/low-linux.c (store_inferior_registers): Remove
3377 unnecessary extern declaration of registers[].
3378 * gdbserver/Makefile.in (all): Add gdbreplay.
3379 * gdbserver/gdbreplay.c: New file.
3380 * gdbserver/README: Give example of recording a remote
3381 debug session with gdb and then replaying it with gdbreplay.
3382
3383 Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com>
3384
3385 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
3386 (read_one_struct_field): Support boolean bitfields.
3387 * c-valprint.c (c_val_print): Print booleans properly.
3388
3389 Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
3390
3391 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
3392 Remove, never used.
3393 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
3394
3395 Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
3396
3397 * ch-exp.c (parse_tuple): Error if invalid mode.
3398
3399 * value.h (COERCE_ARRAY): Don't coerce enums.
3400 (COERCE_ENUM): Don't COERCE_REF.
3401 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
3402 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
3403 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
3404 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
3405 Add COERCE_REF before COERCE_ENUM.
3406 * values.c (value_as_long): Simplify.
3407
3408 * valops.c (value_array): Create internalvar if !c_style_arrays.
3409
3410 * language.c (lang_bool_type): Add Fortran support.
3411 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
3412
3413 Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
3414
3415 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
3416 All references changed.
3417 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
3418 Update state table. Reformat so that it's still readable.
3419 When we hit the shlib_event breakpoint, set the calss of shlib_event.
3420 (breakpoint_1): Add "shlib events" as a breakpoint type.
3421 Print the shlib_event breakpoint like other breakpoints.
3422 (create_solib_event_breakpoint): New function.
3423 (breakpoint_re_set_one): Handle solib_event breakpoints.
3424 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
3425 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
3426 action.
3427 (create_solib_event_breakpoint): Declare.
3428 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
3429 (normal_stop): Inform the user when the inferior stoped due
3430 to a shared library event.
3431 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
3432 to control whether or not gdb continues the inferior or stops it when
3433 a shared library event occurs.
3434 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
3435 * somsolib.c (TODO list): Update.
3436 (som_solib_create_inferior_hook): Arrange for gdb to be notified
3437 when significant shared library events occur.
3438 * hppa-tdep.c (find_unwind_entry): No longer static.
3439
3440 Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
3441
3442 * printcmd.c (print_insn): Pass fprintf_unfiltered to
3443 INIT_DISASSEMBLE_INFO.
3444 start-sanitize-gdbtk
3445 * gdbtk.c (gdb_disassemble): Likewise.
3446 end-sanitize-gdbtk
3447
3448 Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
3449
3450 * remote.c (remotebreak): New GDB variable.
3451 (remote_break): New global.
3452 (remote_interrupt): Send a break instead of ^C if remote_break.
3453 * NEWS: Describe the new variable.
3454
3455 Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
3456
3457 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
3458
3459 Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
3460
3461 * hp300ux-nat.c (getpagesize): Remove unused function
3462 fetch_core_registers.
3463 (hp300ux_core_fns): Remove, is unused.
3464 (_initialize_core_hp300ux): Remove, is unused.
3465 (gdbcore.h): Remove #include, no longer needed.
3466
3467 Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
3468
3469 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
3470 ptrace bug in aix4.1.3 on the rs6000.
3471
3472 Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
3473
3474 * remote-hms.c (hms_ops): Add value for to_thread_alive.
3475 * remote-nindy.c (nindy_ops): Ditto.
3476 * remote-udi.c (udi_ops): Ditto.
3477
3478 Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
3479
3480 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
3481 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
3482 pmon_load_fast): New functions. Support for the PMON monitor world.
3483 (common_open): New function to merge support for different monitors.
3484 (mips_open): Use common_open().
3485 (mips_send_command): New function.
3486 (mips_send_packet): Scan out-of-sequence packets.
3487 (mips_enter_debug, mips_exit_debug): New functions.
3488 (pmon_ops): New target definition structure.
3489
3490 Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
3491
3492 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
3493 specified on the make command line (via make LIBS=xxx).
3494 start-sanitize-gm
3495 * configure.in (enable-gm): magic.o -> gmagic.o.
3496 end-sanitize-gm
3497
3498 start-sanitize-gdbtk
3499 Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
3500
3501 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
3502 (add_expr): Changes from create_expr_window.
3503 (create_command_window): Set focus.
3504 (delete_expr): Rewrote.
3505 (expr_update_button): New proc.
3506 (add_expr): Put bindings on FocusIn, FocusOut.
3507 Don't allow .file_popup to be torn off.
3508 end-sanitize-gdbtk
3509
3510 Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
3511
3512 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
3513 is set but there are no psymtabs.
3514
3515 Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
3516
3517 * dsrec.c (load_srec): Remove unused variable.
3518 * monitor.c (monitor_expect): Don't expect a ^C to echo.
3519 * serial.c (serial_open): Add parallel interface.
3520 * sh3-rom.c (parallel, parallel_in_use): New.
3521 (sh3_load): If parallel_in_use, download though the
3522 parallel port.
3523 (sh3_open): Open parallel port if specified.
3524 (sh3_close): New function.
3525 (_inititalize_sh3): Add sh3_close hook and documentation.
3526 * monitor.c (monitor_close): Export.
3527 * monitor.h (monitor_close): Add prototype.
3528
3529 Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
3530
3531 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
3532 * remote.c (remotetimeout): New GDB variable, use to set the
3533 remote timeout for reading.
3534
3535 start-sanitize-gdbtk
3536 Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
3537
3538 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
3539 (update_listing): Use lassign. Use "see" to scroll. Don't need
3540 screen_top, screen_bot, screen_height.
3541 (update_assembly): Use "see" to scroll.
3542 (textscrollproc): Removed.
3543 (create_file_win): Don't use textscrollproc.
3544 (asmscrollproc): Removed.
3545 (create_asm_window): Don't use asmscrollproc.
3546 (create_asm_win): Ditto.
3547 (screen_height, screen_top, screen_bot): Removed.
3548 (run_editor): New proc.
3549 (build_framework): Use it.
3550 (create_file_win, create_source_window): Don't use textscrollproc.
3551 (create_breakpoints_window): Set -xscrollcommand on canvas.
3552 (not_implemented_yet): Default button is 0.
3553 (delete_char): Don't use tk_textBackspace.
3554 (create_command_window): Allow Tk bindings to fire after deleting
3555 character.
3556 (create_command_window): Make Delete delete left, not right.
3557 end-sanitize-gdbtk
3558
3559 Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cygnus.com>
3560
3561 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
3562 to get "struct core_fns" defined.
3563 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
3564 Are dependent upon gdbcore_h.
3565
3566 Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
3567
3568 * symfile.c (decrement_reading_symtab): New function.
3569 * symfile.c, symtab.h (currently_reading_symtab): New variable.
3570 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
3571 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
3572 currently_reading_symtab (since that could infinitely recurse).
3573
3574 Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
3575
3576 * stabsread.c (read_struct_type): Trivial simplification.
3577
3578 * stabsread.c (define-symbol): Use invisible references
3579 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
3580 * valops.c (call_function_by_hand): Likewise.
3581 * eval.c (evaluate_subexp_standard): When known, use the formal
3582 parameter type as the expected type when evaluating arg expressions.
3583 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
3584
3585 start-sanitize-gdbtk
3586 Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
3587
3588 * main.c (main): Disable window interface if --help or --version
3589 specified.
3590
3591 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
3592
3593 Changes in sync with expect:
3594 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
3595 CY_AC_PATH_TK.
3596 * aclocal.m4: Replaced with version from expect.
3597 * configure: Regenerated.
3598 end-sanitize-gdbtk
3599
3600 Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
3601
3602 * configure.in, configure: Recognize rs6000-*-aix4*.
3603 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
3604 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
3605 * config/rs6000/xm-aix4.h: New file.
3606 * config/xm-aix4.h: New file.
3607
3608 Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
3609
3610 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
3611 * gdbserver/low-linux.c: New file.
3612 * remote.c (remote_read_bytes): Fix aborts on larger packets.
3613
3614 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
3615 Define.
3616 * stabsread.c (define_symbol): If register value is too large,
3617 tell what it is and what max is.
3618
3619 start-sanitize-gdbtk
3620 Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
3621
3622 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
3623 gdbtk_tcl_flush): Use "see", not "yview".
3624 (gdbtk_tcl_query): Use questhead bitmap.
3625 various: Always wrap condition of 'if' in {...}.
3626 (add_breakpoint_frame): Set -value on radiobuttons.
3627 (lassign): New proc.
3628 (add_breakpoint_frame): Use lassign, not series of assignments.
3629 (decr): Made faster.
3630 (interactive_cmd): Use "see", not "yview".
3631 (not_implemented_yet): Use warning bitmap.
3632 (update_expr): Don't allow $expr to be evalled by Tcl.
3633 (create_expr_window): Don't use "focus".
3634 (delete_char, delete_line): Define globally.
3635 (delete_line, delete_char, create_command_window, update_autocmd,
3636 build_framework, create_asm_win, create_file_win): Use "see", not
3637 "yview".
3638 (create_copyright_window, center_window, bind_widget_after_class):
3639 New procs.
3640 (FSBox,create_command_window, create_autocmd_window): Binding
3641 changes for Tk4.
3642 (textscrollproc): Define globally.
3643 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
3644 Home, End, Up, and Down are all defined by Tk.
3645 (apply_filespec): Use error bitmap in dialog.
3646 (files_command): Don't use tk_listboxSingleSelect.
3647 (files_command): Don't use "uniq" to remove duplicates from a
3648 list.
3649 (update_assembly): Use lassign.
3650 (create_asm_win): Removed redundant bindings.
3651 (listing_window_button_1, file_popup_menu): Use tk_popup.
3652 (ButtonRelease-1 binding): Just remove tag from window; rest
3653 handled by Tk.
3654
3655 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
3656 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
3657 (gdbtk_call_command): Ditto.
3658 end-sanitize-gdbtk
3659
3660 Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
3661
3662 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
3663 enum namespace -> enum_namespace change.
3664
3665 Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
3666
3667 * ch-exp.c (parse_primval): In case ARRAY, add missing
3668 FORWARD_TOKEN ().
3669
3670 Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
3671
3672 * remote-mips.c (mips_receive_header): Recognize \012 instead
3673 of \n, but write \n when program sends a \012.
3674 * ser-mac.c (mac_input_buffer): Increase size of buffer.
3675
3676 Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
3677
3678 * infptrace.c (initialize_infptrace): Move function out of
3679 #ifdef conditional; put code within the function inside an
3680 #ifdef conditional.
3681
3682 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
3683 arguments. Sorting is now dependent on OBJF_REORDERED. All
3684 callers/references changed.
3685 * dbxread.c (read_ofile_symtab): Correctly determine value for
3686 last_source_start_addr for reordered executables.
3687 (process_one_symbol): Handle N_FUN with no name as an end of
3688 function marker.
3689 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
3690 is the high text address for a psymtab.
3691 (case N_SO): Likewise.
3692 (case N_FUN): Handle N_FUN with no name as an end of function
3693 marker.
3694 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
3695 at the same address rather than a random subset of them.
3696 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
3697 * elfread.c (elf_symfile_init): Similarly.
3698 * somread.c (som_symfile_init): Similarly.
3699 * xcoffread.c (xcoff_symfile_init): Similarly.
3700
3701 Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
3702
3703 * stack.c (print_stack_frame print_frame_info) symmisc.c
3704 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
3705 that catch_errors doesn't get blindsided by QUIT and lose the
3706 cleanup chain. This fixes a problem where ^C while in a
3707 user-defined command sometimes leaves instream NULL and causes a
3708 segfault in command_loop.
3709
3710 Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
3711
3712 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
3713
3714 Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
3715
3716 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
3717 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
3718 srec.o renamed to dsrec.o.
3719
3720 Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
3721
3722 * breakpoint.c (remove_breakpoint): Change error to warning so
3723 that hardware watchpoint removal problems won't leave breakpoint
3724 traps in the target.
3725 start-sanitize-gdbtk
3726 * configure configure.in: Make --enable-gdbtk be the default.
3727 end-sanitize-gdbtk
3728 * remote-e7000.c (e7000_insert_breakpoint,
3729 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
3730 breakpoints.
3731 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
3732 compensate for e7000 maladjustment.
3733 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
3734 which prevented hardware watchpoints from working.
3735
3736 Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cygnus.com>
3737
3738 * infptrace.c (udot_info): New function.
3739 (PT_*): Define each individually if that one is not defined.
3740 * rs6000-nat.c (kernel_u_size): New function
3741 Include <sys/user.h> for "struct user"
3742 * alpha-nat.c (kernel_u_size): New function.
3743 Include <sys/user.h> for "struct user"
3744 * sparc-nat.c (kernel_u_size): New function.
3745 Include <sys/user.h> for "struct user"
3746 * i386b-nat.c (kernel_u_size): New function.
3747 * i386v-nat.c (kernel_u_size): New function.
3748 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
3749 (kernel_u_size): Declare.
3750 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
3751 (kernel_u_size): Declare.
3752 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
3753 (kernel_u_size): Declare.
3754 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
3755 (kernel_u_size): Declare.
3756 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
3757 (kernel_u_size): Declare.
3758
3759 Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
3760
3761 * mdebugread.c (mylookup_symbol): enum namespace becomes
3762 enum_namespace type.
3763 * symfile.c (add_psymbol_to_list)
3764 (add_psymbol_addr_to_list): Ditto.
3765 * symtab.c (lookup_partial_symbol): Ditto.
3766 (lookup_symbol): Ditto.
3767 (lookup_block_symbol): Ditto.
3768 * win32-nat.c (handle_load_dll): Use incoming dll base.
3769 (child_wait): Catch DLL load errors.
3770 (create_child_inferior): Translated between paths correctly.
3771
3772 Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
3773
3774 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
3775 from NUM_REGS to get number of general registers that we care about.
3776 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
3777 of number of general regs and number of floating point regs.
3778
3779 Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
3780
3781 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
3782 (SKIP_TRAMPOLINE_CODE): New.
3783 * config/i386/xm-win32.h (CANT_FORK): Deleted.
3784 (SLASH*) Changed to use unix style slash.
3785 * symtab.h (namespace enum): becomes typedef to avoid namespace
3786 collision in C++.
3787 * infcmd.c (path_command): Use empty string if PATH name not set.
3788 * i386-tdep.c (skip_trampoline_code): New function.
3789 * srec.c: Renamed dsrec.c to avoid filename collision.
3790 * Makefile.in: Cope with renaming.
3791
3792 Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
3793
3794 * symmisc.c (print_objfile_statistics): Print memory use statistics
3795 for objfile psymbol, symbol, and type obstacks.
3796
3797 Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
3798
3799 * config/mips/nm-irix5.h: Restore.
3800 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
3801 from Lee Iverson <leei@ai.sri.com>.
3802 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
3803 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3804
3805 For older changes see ChangeLog-95
3806 \f
3807 Local Variables:
3808 mode: indented-text
3809 left-margin: 8
3810 fill-column: 74
3811 version-control: never
3812 End: