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