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