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