No longer need to sanitize away h8s stuff.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
89e673a4
SG
1Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com)
2
bc859e63
SG
3 * configure: Re-build with autoconf-2.10.
4
89e673a4
SG
5 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
6 config/sparc/tm-sparclite.h: Initialize tm_print_insn from
7 TM_PRINT_INSN, which comes from the tm file.
8
e74acce4
MA
9Tue Jul 02 21:41:20 1996 Mark Alexander <marka@cygnus.com>
10
11 * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
12 os9kread.c: Replace identical sym_offsets functions with
13 default_symfile_offsets.
14 * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
15 macro to allocate section_offsets.
16 * symfile.c (default_symfile_offsets): New function.
17 * symfile.h: Declare default_symfile_offsets.
18 * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
19 simplify allocation of section_offsets.
20
89e673a4
SG
21Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
22
23 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
24 * configure configure.in: Only make sol-thread.o for native.
25 Also, switch to dlopened libthread_db.so.1.
26 * sol-thread.c: Switch to using dlopen to get the thread_db
27 library.
28
29Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com)
30
31 * configure, configure.in: Change test for libthread_db to only
32 work for configs where build/host/target are the same.
33
eafdda3d
MM
34Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
35
36 * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
37 PowerPC.
38
39 * configure.in (powerpc-*-linux): Add Linux, System V, and ELF
40 support.
41 * configure: Regenerate.
42
6687c953
SS
43Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com>
44
45 From Raymond Jou <rjou@mexican.cygnus.com>:
46 * mpw-make.sed: Add lines to whack out autoconf hook
47 @CONFIG_LDFLAGS@.
48
97fd185a 49Mon Jul 01 11:07:15 1996 Mark Alexander <marka@cygnus.com>
012be3ce 50
97fd185a 51 * remote-e7000.c (e7000_stop): New function.
012be3ce
DP
52
53Fri Jun 28 06:34:19 1996 Dawn Perchik <dawn@cygnus.com>
54
6687c953
SS
55 * configure, configure.in: Add target sparclet.
56 * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM
57 (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if
58 command to start process running on target is different from one
59 to continue execution), MO_HEX_PREFIX (if addresses from monitor
60 have a "0x" prefix).
61 * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the
62 registers array. This is to allow NULLs to be place holders in
63 the tm-*.h file so that only minor changes are needed when a new
64 processor is introduced (eg, one without floating point).
65 * sparc-tdep.c: Conditionally remove dependancies on floating
66 point.
67 * sparclet-rom.c, config/sparc/sparclet.mt,
68 config/sparc/tm-sparclet.h: New files for target sparclet.
69 * symfile.c (load_command): Add option for 2nd parameter; a load
70 offset added to the vma of each section.
012be3ce 71
265c044a
DP
72Fri Jun 28 05:39:19 1996 Dawn Perchik <dawn@cygnus.com>
73
74 * main.c (main): Add option "l" for setting remote_timeout.
75
cb1709ae
DP
76Fri Jun 28 05:25:18 1996 Dawn Perchik <dawn@cygnus.com>
77
6687c953
SS
78 * remote-e7000.c, remote.c, target.h, top.c: Add set option
79 "remote_timeout" for setting remote_timeout. Add set option
80 "use_hard_breakpoints" for setting hardware .vs. memory
81 breakpoints.
cb1709ae 82
56a4bf53
DP
83Fri Jun 28 04:32:18 1996 Dawn Perchik <dawn@cygnus.com>
84
85 * remote-e7000.c (e7000_parse_device): New function.
86 Add option "tcp_remote" to target command if using
87 tcp to connect to a remote host which is then connected
88 via serial port to the e7000 (for exampole, a port master).
89 (e7000_open): Change to call e7000_parse_device.
90
f7ce02f4
DP
91Fri Jun 28 03:47:17 1996 Dawn Perchik <dawn@cygnus.com>
92
93 * monitor.c (monitor_debug): Fix remotedebug buffering.
94
99afd188
SS
95Thu Jun 27 18:24:17 1996 Stan Shebs <shebs@andros.cygnus.com>
96
97 * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh
98 (NATDEPFILES): Add a space.
99
81508b27
WM
100Wed Jun 26 06:05:39 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
101
102 * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
103 is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
104
105 * ch-exp.c (calculate_array_length): Function removed.
106
ebea0366
MH
107Tue Jun 25 17:41:06 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
108
109 * remote-e7000.c (e7000_read_inferior_memory_large): New function.
110 (e7000_xfer_inferior_memory): Call it.
111
a69b7bdc
JM
112Tue Jun 25 23:14:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
113
114 * gdb/gdbserver/Makefile.in (docdir): Removed.
115
5d8b7982
JM
116Tue Jun 25 22:05:38 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
117
118 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
119 Use autoconf set values.
120 (docdir): Removed.
121 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
122 * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir,
123 includedir): Use autoconf set values.
124 (docdir): Removed.
125 * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
126 * nlm/configure: Rebuilt.
127 * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
128
129Mon Jun 24 09:56:14 1996 Angela Marie Thomas (angela@cygnus.com)
130
131 * stabsread.c (read_cfront_member_functions): add type
132
133Sun Jun 23 23:40:48 1996 Doug Evans <dje@canuck.cygnus.com>
134
135 * win32-nat.c: #include <unistd.h>.
136 (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
137 (child_create_inferior): Convert only env var PATH to win32 style.
138 (set_pathstyle_dos): Delete.
139 (_initialize_inftarg): Delete dos-path-style command.
140
3d9f68c0 141start-sanitize-gdbtk
ab5c0a12
FF
142Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com>
143
144 * gdbtk.tcl (create_register_windows): Include missing '$'s.
145 Add global declarations for various reg_format_* variables.
4149b5f4
FF
146 * gdbtk.tcl (populate_register_window): Make initial window one
147 line taller to account for new column header line.
ab5c0a12
FF
148
149Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com>
3d9f68c0
FF
150
151 * gdbtk.c (get_register): Support for printing raw formats.
152 * gdbtk.tcl: Add hint for using debug_interface.
153 (center_window, add_breakpoint_frame, delete_breakpoint_frame):
154 Enclose arg in braces for consistency.
155 (create_registers_window, populate_reg_window, update_registers):
ab5c0a12
FF
156 Major rewrite to support displaying multiple formats in the register
157 window.
3d9f68c0
FF
158 (init_reg_info): New function.
159 (recompute_reg_display_list): Reset reg_display_list, start
160 register display lines at line 2.
161
162end-sanitize-gdbtk
1a7b4b7c
DE
163Thu Jun 20 13:42:23 1996 Doug Evans <dje@canuck.cygnus.com>
164
165 * configure.in: Revise sol-thread.o test.
166 * configure: Regenerated.
167
168 * source.c (find_source_lines): Reassign size to result of read.
169
b613bfbf 170start-sanitize-gdbtk
3f8eefba
FF
171Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com>
172
173 * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
174 avoid backing up over prompt. At every input, make sure insert
175 point is at least after command start, handle control-u to delete
176 current input line.
177 (tclsh): Handle backspace to avoid backing up over prompt. Handle
178 control-u to delete current input line.
179
b613bfbf
GN
180Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com>
181
182 * configure.in: disable gdbtk for *cygwin32* hosted compiles
183 * configure: regenerated with autoconf 2.8
184
185end-sanitize-gdbtk
b613bfbf
GN
186Tue Jun 18 16:25:54 1996 Jeffrey A. Law <law@rtl.cygnus.com>
187
188 * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
189 (h8300_command): Likewise.
190 (set_machine): Likewise.
191 (set_machine_hook): Likewise.
192 (_initialize_h8300m): Likewise.
193
194 * config/h8300/tm-h8300.h (h8300smode): Declare.
195
5499f9a1
JL
196Sun Jun 16 15:21:51 1996 Jeffrey A. Law <law@rtl.cygnus.com>
197
198 * somsolib.c (som_solib_create_inferior_hook): Handle tracking
199 of shl_load calls for hpux10.
200
201Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
202
203 * config.in: Regenerated.
204 * acconfig.h (HAVE_THREAD_DB_LIB): Added entry.
205
206 * configure: Regenerated.
207 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
208 avoid name clashes with SunOS headers.
209
9d111656
FF
210Tue Jun 11 19:52:50 1996 Fred Fish <fnf@cygnus.com>
211
212 From Michael Snyder <Michael_Snyder@next.com>:
213 * bcache.c (print_bcache_statistics): Avoid divide-by-zero
214 exception if one or more objfile has no symbols, such as when
215 a dynamic library has been stripped.
216
217Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
218
219 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
220 * configure configure.in: Only make sol-thread.o for native.
221 Also, switch to dlopened libthread_db.so.1.
222 * sol-thread.c: Switch to using dlopen to get the thread_db
223 library.
224
f023ce5c
FF
225Mon Jun 10 14:17:19 1996 Fred Fish <fnf@cygnus.com>
226
227 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
228 Change from 0xE0000000 to 0xC0000000.
229
230Thu Jun 6 17:10:32 1996 Michael Meissner <meissner@tiktok.cygnus.com>
231
232 * config/powerpc/xm-solaris.h: Initial version of support for
233 Solaris on PowerPC.
234
911026aa
JSC
235Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>
236
237 * configure.in (configdirs): Force 4100 builds to use 4300 GDB
238 target.
239 * configure: Rebuild.
240
241 * config/mips/vr4300el.mt (SIM_OBS): Include simulator in
242 little-endian builds.
243
093c1a2f
JL
244Mon Jun 3 11:48:29 1996 Jeffrey A Law (law@cygnus.com)
245
f4c952e4
JL
246 * inftarg.c (child_thread_alive): Protect declaration with
247 #ifndef CHILD_THREAD_ALIVE.
248
093c1a2f
JL
249 * source.c (find_source_lines): Check the time on the symtab's bfd if
250 it exists, else check the time on the exec_bfd.
251
f6decc18
MA
252Thu May 30 09:43:17 1996 Mark Alexander <marka@cygnus.com>
253
254 * dsrec.c (make_srec): Fix calculation of address size
255 to allow addresses less than 0x100.
256
3db21ca5
WM
257Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
258
259 * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
260
3308a107
GN
261Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com>
262
263 * remote-mips.c: cannot use EINVAL for breakpoint test since
264 its value varies for different hosts (e.g. go32's is 19, while
265 sunos is 22). Changed to hardcoded 22 since that is what the
266 mips boards return.
267
e44d1491
TT
268Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com>
269
270 * configure: Regenerated.
271 * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
272 (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
273
9391c997
FF
274Sun May 26 14:14:49 1996 Fred Fish <fnf@cygnus.com>
275
276 Changes from: David Mosberger-Tang <davidm@azstarnet.com>
277
278 * NEWS: Add Alpha Linux as a new native configuration.
279
280 * mdebugread.c (parse_symbol): When we find a malloc() symbol with
281 return type VOID, assume no debugging info is available for that
282 object file and patch the return value into VOID *. Otherwise,
283 operations requiring an implicit call to malloc() will fail.
284
285 * infrun.c (wait_for_inferior): The criterion to detect entering a
286 sigtramp handler is now: (a) the current pc is inside a sigtramp
287 handler, (b) the previous pc is not in a sigtramp handler, and (c)
288 the current stack pointer is "inner" than the old one. Condition
289 (c) is new to avoid mistaking a return from a signal handler into
290 sigtramp as a new sigtramp invocation.
291
292 * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An
293 int may not be big enough to hold an address.
294 (dcache_hit): Ditto.
295 (dcache_peek_byte): Fix indentation.
296
297 * configure.in (alpha-*-linux*): Add target.
298 * configure: Rebuild
299
300 * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
301 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
302 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
303 (SIGCONTEXT_ADDR): Ditto.
304 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
305
306 * config/alpha/alpha-linux.mh: New file.
307 * config/alpha/alpha-linux.mt: Ditto.
308 * config/alpha/nm-linux.h: Ditto.
309 * config/alpha/tm-alphalinux.h: Ditto.
310 * config/alpha/xm-alphalinux.h: Ditto.
311 * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
312 * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
313 xm-alphaosf.h.
314 * config/alpha/alpha-osf2.mh: Ditto.
315
316 * blockframe.c (find_pc_partial_function): Pass PC to
317 SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
318 that detect sigtramp code via designated code sequences (as is the
319 case for Linux/Alpha, for example).
320
321 * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
322 to ignore new PC argument.
323 * config/m68k/tm-hp300bsd.h: Ditto.
324 * config/vax/tm-vax.h: Ditto.
325
326 * alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
327 (alpha_osf_skip_sigtramp_frame): Ditto.
328 (push_sigtramp_desc): Ditto.
329 (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
330 sigcontext address from frame.
331 (alpha_saved_pc_after_call): When in sigtramp, use
332 alpha_frame_saved_pc() instead of read-register().
333 (after_prologue): When inside a dynamically generated sigtramp
334 function, there is no prologue, so return address of first
335 instruction.
336 (alpha_in_prologue): Fix typo in comment.
337 (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
338 whether we're inside a dynamicaly generated sigtramp function. If
339 so, create and push and appropriate procedure descriptor.
340 (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
341 the frame past a sigtramp frame (if the current frame is indeed a
342 sigtramp function).
343 (init_extra_frame_info): Don't read next frame register off of
344 stack-pointer when inside a dynamiccaly generated sigtramp.
345 (alpha_pop_frame): Also unlink and destroy procedure descriptors
346 created for dynamically generated sigtramp functions.
347
348 * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
349 <alpha/ptrace.h> instead of <machine/reg.h>
350
52f74d48
JL
351Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com)
352
31778db0
JL
353 * h8300-tdep.c (IS_PUSH): Refine.
354 (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
355 (IS_SUB4_SP, IS_SUBL_SP): New macros.
356 (h8300_skip_prologue): Handle H8/300H prologue code sequences.
357 (examine_prologue): Handle addresses from 0x010000 to 0xffffff
358 when in H8/300H mode. Get the return pointer's address correctly
359 for the H8/300H. Handle H8/300H prolouge code sequences.
360
52f74d48
JL
361 * symfile.c (generic_load): Print the starting address
362 of the file just loaded.
363
e7600d8e
SS
364Thu May 23 12:09:52 1996 Stan Shebs <shebs@andros.cygnus.com>
365
366 * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
367
368Tue May 21 11:53:56 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
369
370 * breakpoint.c (bpstat_do_actions): Avoid endless recursion
371 if a `source' command is contained in bs->commands.
372
373 * infrun.c (wait_for_inferior): Update step_frame_address when
374 stepping into a new line.
375
376 From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab):
377 * breakpoint.c (breakpoint_1): Add shlib_disabled case to
378 bpenables array.
379
c92f31c6
MA
380Mon May 20 22:52:00 1996 Mark Alexander <marka@cygnus.com>
381
382 * dsrec.c (load_srec): Add WAITACK parameter, for machines
383 like EST visionICE that send back an ACK after each S-record.
384 * monitor.c (monitor_wait_srec_ack): New function.
385 (monitor_load): Pass monitor_wait_srec_ack to load_srec
386 if the monitor's MO_SREC_ACK flag is set.
387 * monitor.h: Define MO_SREC_ACK flag.
388 * remote-est.c (est_cmds): Add MO_SREC_ACK flag.
389 * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
390 * srec.h: Add WAITACK parameter to load_srec prototype.
391
6a4bfd83
RS
392Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll>
393
394 * config/sparc/sparclite.mt: Add the sparc simulator.
395
41756e56
FF
396Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com>
397
398 * defs.h (read_command_lines, query_hook): Update prototypes.
399 (readline_begin_hook, readline_hook, readline_end_hook): Declare.
400 * breakpoint.c (commands_command): Build message in temporary buffer
401 and pass that, as well as tty control flag, to read_command_lines.
402 * top.c (readline_begin_hook, readline_hook, readline_end_hook):
403 Define here.
404 (command_loop): Check for non-NULL instream before looping.
405 (command_line_input): Use readline_hook when appropriate, to get
406 user input from a GUI window.
407 (read_next_line): Also build prompt if getting user input from a GUI.
408 (recurse_read_control_structure): Fix typo in comment.
409 (read_command_lines): Use passed in prompt and tty flag to decide how
410 to build message. Use readline_begin_hook when appropriate, to set
411 up a GUI interaction window. Just return head, whether NULL or not,
412 after using readline_end_hook to complete GUI interaction.
413 (define_command, document_command): Build message in a temporary
414 buffer and pass it to read_command_lines, along with tty flag.
415
416start-sanitize-gdbtk
417 * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
418 New functions.
419 (tk_command_loop): Set instream to NULL to enable Tk user interaction.
420 (gdbtk_init): Set readline_begin_hook, readline_hook,
421 and readline_end_hook.
422 * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
423 gdbtk_tcl_readline_end): New functions.
424 (tclsh): Pack scroll bar on right side of window, not left.
425end-sanitize-gdbtk
426
f0c56658
PS
427Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
428
429 * blockframe.c (frameless_look_for_prologue):
430 Add FUNCTION_START_OFFSET only if func_start is non-zero.
431 * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if
432 pc is not in a known section.
433 * stack.c (print_frame_info): Remove check for fi->pc in known
434 section, now handled by lookup_minimal_symbol_by_pc.
435
81ae689a
FF
436start-sanitize-gdbtk
437Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com>
438
439 * gdbtk.tcl (create_command_window): Change a misspelled "get"
440 to the intended "cget".
441 (delete_line): Fix so it deletes the current line at the
442 insertion cursor.
443end-sanitize-gdbtk
444
6a4547c0
SS
445Fri May 17 13:31:04 1996 Stan Shebs <shebs@andros.cygnus.com>
446
447 * sh-stub.c: New file, was config/sh/stub.c.
448
b8f3d4c6 449start-sanitize-gdbtk
5bac2b50
FF
450Thu May 16 19:20:29 1996 Fred Fish <fnf@fishfood.ninemoons.com>
451
452 * gdbtk.tcl (gdb_prompt): Set this early on.
453 (create_command_window): Use gdb_prompt rather than "(gdb) ".
454 (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
455 (tclsh): If an evaluation window already exists, just bring it
456 to the front instead of trying to create another.
457 * gdbtk.c (tk_command_loop): New function.
458 (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
459
954a4a2a
FF
460Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com>
461
462 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that
463 implement a tcl evaluation window for gdbtk maintainers to use.
464
76e641bd
TT
465Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com>
466
f4e769dc
TT
467 * gdbtk.tcl (files_command): Correctly insert list of files into
468 listbox widget.
469
76e641bd
TT
470 * gdbtk.tcl (files_command): listbox command no longer accepts
471 -geometry.
472
b8f3d4c6
SS
473Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com>
474
475 * gdbtk.tcl (create_command_window): If command window's buffer
476 is disabled, don't execute any of the key bindings.
477end-sanitize-gdbtk
478
6bafbdfb
JL
479Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com)
480
e7600d8e 481 * top.c (read_next_line): Fix thinkos. From Donn Seeley.
ecebd693 482
6bafbdfb
JL
483 * coffread.c (coff_symtab_read): Handle C_LABEL symbols like
484 C_STAT symbols.
485 * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly.
486 Flush cached frames just before exiting.
487 * remote-sim.c (gdbsim_resume): Complain if the program isn't
488 being run.
489 * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define.
490
9b33e492
SG
491Tue May 14 18:05:16 1996 Stu Grossman (grossman@critters.cygnus.com)
492
493 * procfs.c (procfs_thread_alive procfs_stop): Make static.
e7600d8e 494 (procfs_pid_to_str): New routine to print out thread id's in an
9b33e492
SG
495 intelligible manner.
496 * sol-thread.c (sol_thread_fetch_registers): Re-order manner in
b8f3d4c6 497 which supply_register is called to fix bug with writing
9b33e492
SG
498 individual regs.
499 * config/sparc/tm-sun4sol2.h: Define default for
500 target_pid_to_str in case host lacks libthread_db.
501
47ef0da5
SG
502Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com)
503
504 * Makefile.in config.in configure configure.in
505 config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
506 config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread
507 and pthread support, since pre-2.5 systems don't come with
508 libthread_db.so.1.
509
510 * procfs.c (info_proc): Use int instead of id_t. Old versions of
e7600d8e 511 Irix don't seem to define this.
47ef0da5 512
572977a5
FF
513start-sanitize-gdbtk
514Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com>
515
516 * gdbtk.c (tk_command): Catch case where no argument is given
517 since this will cause the tcl interpreter to dump core.
518end-sanitize-gdbtk
519
24ecc17a
JL
520Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com)
521
522 * top.c (execute_control_command, case while_control): Allow
523 a while command to be interrupted.
524
a50cedad
SG
525Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com)
526
527 * sol-thread.c: More cleanup, add comments.
b8f3d4c6 528 (sol_thread_resume): Prevent people from trying to step
a50cedad 529 inactive threads.
b8f3d4c6 530 (sol_thread_wait sol_thread_fetch_registers
a50cedad
SG
531 sol_thread_store_registers): Remove unnecessary check for
532 sol_thread_active. These routines won't get called unless threads
533 are active.
534
05535e79
SS
535Mon May 13 11:29:37 1996 Stan Shebs <shebs@andros.cygnus.com>
536
537 SH3-E support from Allan Tajii <atajii@hmsi.com>:
538 * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for
539 float registers.
540 (sh3e_reg_names): New register name array.
541 (sh_processor_type_table): Add sh3e processor type.
542 * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test.
543 (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for
544 full set of registers.
545 * remote-e7000.c (want_sh3, want_sh3_nopc): New globals.
546 (e7000_fetch_registers, e7000_wait): Use them.
547 * sh3-rom.c (sh3_regnames): Add float registers.
548 (sh3e_cmds, sh3e_ops): New globals.
549 (sh3e_open): New function.
550 (_initialize_sh3_rom): Rename from _initialize_sh3, set up
551 sh3e target vector.
552
934741a1
SG
553Fri May 10 15:53:38 1996 Stu Grossman (grossman@lisa.cygnus.com)
554
555 * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes.
556 Print out messages instead of codes for thread_db errors. Make
557 access macros for thread and lwp manipulation. Make cleanups to
558 fixup inferior_pid in case of errors.
559
31ed312c
FF
560Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com>
561
562 * aclocal.m4: Remove unused definition of AC_C_CROSS.
563 * configure.in: Add powerpcle-*-solaris* host and target config
564 so April 30th change does not get lost next time configure is
565 rebuilt.
566
fdfa3315
SG
567Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com)
568
569 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
570 infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c,
571 win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to
572 avoid conflict with Solaris /usr/include/thread.h.
573
7574859f
RS
574Thu May 9 12:33:32 1996 Rob Savoye <rob@chinadoll.cygnus.com>
575
576 * abug-rom.c: Config file for the older style ABug monitor that
577 runs on the mvme13x boards.
578 * config/m68k/monitor.mt: Add abug support for m68k cross
579 debugging.
580
2ae2f078 581Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com>
3f37b696 582
2ae2f078
FF
583 * infcmd.c (do_registers_info): Always print the raw floating
584 point value's bytes in big endian order, so the the leftmost bit
585 is the most significant.
3f37b696
FF
586 * breakpoint.c (clear_momentary_breakpoints): Remove dead code
587 that is referenced nowhere else.
588 (set_breakpoint): Ditto.
589 (do_enable_breakpoint): Created from enable_once_breakpoint
590 with a couple of changes.
591 (enable_breakpoint): Call do_enable_breakpoint with an appropriate
592 bpdisp enum value to set disposition of breakpoint.
593 (enable_once_breakpoint): Ditto.
594 (enable_delete_breakpoint): Ditto.
595 * breakpoint.h (clear_momentary_breakpoints): Remove prototype.
596 * symtab.c (find_pc_line): Improve comments.
572977a5 597start-sanitize-gdbtk
3f37b696 598 * gdbtk.c: Fix a couple of misspellings.
572977a5 599end-sanitize-gdbtk
3f37b696
FF
600 * xcoffread.c: Ditto.
601
37316b52
SS
602Tue May 7 18:37:06 1996 Stan Shebs <shebs@andros.cygnus.com>
603
604 * target.c (debug_to_xfer_memory): Insert line breaks when
605 dumping the memory block.
606
8fc2b417
SG
607Mon May 6 13:52:52 1996 Stu Grossman (grossman@critters.cygnus.com)
608
609 * fork-child.c (fork_inferior), inferior.h: init_trace_fun now
610 returns a possibly modified pid.
611 * inftarg.c (ptrace_him): Now returns pid;
612 * m3-nat.c (m3_trace_him): Now returns pid;
613 * infcmd.c (run_command): Minor cleanup.
614 * infrun.c (wait_for_inferior): Add another check for one_stepped
615 near where we read the pc to avoid erroneously setting
616 random_signal for multi-threaded support.
617 * procfs.c: Add support for Solaris LWPs. Remove def of
618 LOSING_POLL. Many cleanups... Several workarounds for Solaris
619 lossage. System call entry and exit are now handled by
620 dynamically registered handlers.
621 * (syscallname): Don't barf when handed an unknown syscall
622 number.
623 * (info_proc_syscalls): Ditto.
624 * sol-thread.c: New file. Implements Solaris thread support.
625 * symfile.c (symbol_file_add): Add call to target_new_objfile to
626 notify target-dependent code about new symbol tables.
627 * (clear_symtab_users): Call target_new_objfile to notify it of
628 the removal of all symbol tables.
629 * target.c (push_target): Make sure that to_close is non-zero
630 before calling it.
631 * target.h (target_new_objfile): Provide default.
632 * config/alpha/nm-osf2.h: Define LOSING_POLL because this version
633 of OSF can't hack using poll with /proc.
634 * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be
635 sol-thread-new-objfile.
636 * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and
637 add libthread_db.so.1 to NAT_CLIBS.
638 * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and
639 target_pid_to_str.
640
641Sat May 4 02:13:34 1996 N Srin Kumar <nsrin@wipinfo.soft.net>
642
643 * procfs.c (remove_fd): Fix copy of fds to fill hole left after
644 removal of the requested fd.
645
8678180e
MM
646Mon May 6 07:52:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
647
648 * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific
649 hooks under ELF.
650
651 * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT.
652
9e9cf822
SS
653start-sanitize-gdbtk
654Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com>
655
656 * gdbtk.tcl (debug_interface): New global, use to aid debugging.
657 (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
658 (file_popup_menu): Delete, never used.
659 (listing_window_popup): Rename from listing_window_button_1,
660 remove breakpoint toggling code.
661 (toggle_breakpoint): New procedure.
662 (create_file_win): Bind popup menu to button 2, toggle breakpoints
663 with button 1 in breakpoint area, add display of tagged areas if
664 debugging on.
665end-sanitize-gdbtk
666
e51481f9
JL
667Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com)
668
9e9cf822 669 From Peter Schauer:
e51481f9
JL
670 * breakpoint.h (enum bpdisp): Add del_at_next_stop.
671 * breakpoint.c (insert_breakpoints, watchpoint_check,
672 bpstat_stop_status): Avoid bad references to memory freed via
673 delete_breakpoint on watchpoints going out of scope.
674 Do not delete these watchpoints, disable them and change their
675 disposition to del_at_next_stop instead.
676 (breakpoint_auto_delete): Delete all breakpoints whose disposition
677 is del_at_next_stop.
678 (breakpoint_init_inferior): Use switch to avoid reference to
679 already deleted breakpoint.
680
062cb0d3
FF
681Wed May 1 17:29:18 1996 Fred Fish <fnf@cygnus.com>
682
9e9cf822 683 * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h.
062cb0d3 684 * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ...
9e9cf822 685 * config/rs6000/rs6000.mt (TDEPFILES): ... to here.
062cb0d3
FF
686 * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize.
687 (solib_info): Call xcoff_relocate_symtab via the hook.
688 (sharedlibrary_command): Ditto.
689 * xcoffread.c: Remove all FAKING_RS6000 comments and defines.
690 (xcoff_add_toc_to_loadinfo_hook): Define and initialize here.
691 (xcoff_init_loadinfo_hook): Define and initialize here.
692 (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook.
693 (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook.
694 * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func.
695 * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations
696 of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
697 * rs6000-nat.c (_initialize_core_rs6000): Add initialization
698 of xcoff_relocate_symtab_hook.
699
fe8d28cf
MM
700Tue Apr 30 13:22:02 1996 Michael Meissner <meissner@tiktok.cygnus.com>
701
702 * configure (powerpcle-*-solaris*): Add Solaris support.
703
704 * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for
705 Solaris support.
aad09779
DP
706
707Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com>
9e9cf822 708
aad09779
DP
709 * c-valprint.c (c_val_print): Fix printing for arrays defined
710 with 0 length.
711
5a2934b4
SS
712Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com>
713
fea17b55
SS
714 Support for bi-endian remote breakpoints.
715 * remote.c (big_break_insn, little_break_insn): New globals.
716 (break_insn): Remove.
717 (remote_insert_breakpoint, remote_remove_breakpoint): Use own
718 code if REMOTE_BREAKPOINT defined, otherwise call memory
719 breakpoint functions.
720 * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove.
721 (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
722
5a2934b4
SS
723 * mon960-rom.c (mon960_cmds): Remove forward decl.
724 (mon960_load): Use current_monitor instead of mon960_cmds.
725 (mon960_regnames): Remove backslashes from line ends.
726 (_initialize_mon960): Fix documentation string.
727
d2c17d4f
FF
728Sun Apr 28 12:10:35 1996 Fred Fish <fnf@cygnus.com>
729
730 * symfile.h (psymbol_allocation_list): Expand comments which
731 describe the psymbol allocation list and how each field is
732 used.
733
39ce6829
PS
734Sun Apr 28 03:44:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
735
736 * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp
737 storage leaks.
738 (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks.
739
740 * infcmd.c (run_command), solib.c (locate_base): Check for
741 target_has_execution in addition to inferior_pid, a core file
742 from a threaded program is yielding a non-zero inferior_pid.
743
744 * sparc-tdep.c (get_saved_register): Handle window registers
745 in a dummy frame correctly.
746
6c0643e3
FF
747Sat Apr 27 20:38:32 1996 Fred Fish <fnf@cygnus.com>
748
749 * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,
750 so that anything that wants an allocation function not yet pulled
751 in, will get it from mmalloc rather than a system library.
752 * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS,
753 to avoid surprising results when used.
754
00d93b6d
DP
755Sat Apr 27 00:12:05 1996 Dawn Perchik (dawn@cygnus.com)
756
757 * stabsread.c: Changes and bug fixes for cfront support.
758 Fix bug for class data members.
759 Fix parsing bug when no base classes exist.
760 Fix memory bug - allocate space for cplusplus specific info.
761 Add support for static data.
762 Add prototypes for static functions.
763 Enhance comments to show what each function expects to parse.
764 Cleanup code.
765 * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename
766 function to resolve_cfront_continuation.
767
7dbb5eed
JL
768Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com)
769
770 * infrun.c (wait_for_inferior): Call registers_changed when
6cc17fd5 771 restarting the inferior to get over a nullified instruction.
7dbb5eed 772
73e75264 773Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com)
7dbb5eed 774
73e75264
DP
775 * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c:
776 Add new support for parsing cfront stabs.
777
894d8e69
JL
778Wed Apr 24 00:32:55 1996 Jeffrey A Law (law@cygnus.com)
779
780 * infrun.c (wait_for_inferior): Move "have_waited" label
781 outside of #ifdef conditionals. Don't trash the wait status
782 if we get a signal and the current instruction is nullified.
783
784Mon Apr 22 20:17:01 1996 Fred Fish <fnf@cygnus.com>
785
9e9cf822 786 * Makefile.in (VERSION): Bump version number to 4.16.1.
894d8e69
JL
787 * NEWS: Update for 4.16 release.
788
178ed338
SS
789Mon Apr 22 16:32:29 1996 Stan Shebs <shebs@andros.cygnus.com>
790
791 * monitor.h: Clean up comment formatting.
792 (current_monitor): Remove decl.
793 (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
794 (push_monitor, SREC_SIZE): Remove.
795 * monitor.c: Expand old macro into current_monitor derefs
796 everywhere.
797 * remote-os9k.c (current_monitor): Remove definition.
798
f9fedc48
MA
799Mon Apr 22 14:54:45 1996 Mark Alexander <marka@superball.cygnus.com>
800
801 * corefile.c (specify_exec_file_hook): Allow arbitrary number of
802 hooks.
803 (call_extra_exec_file_hooks): New function.
804 * h8300-tdep.c: Lint; add .h files to provide missing declarations,
805 remove unused variables.
806 (set_machine_hook): New function.
807 (_initialize_h8300m): Initialize it.
808
102f473b
ILT
809Fri Apr 19 15:03:49 1996 Ian Lance Taylor <ian@cygnus.com>
810
811 * remote-mips.c (encoding): Don't specify size, to avoid bug in
812 SunOS native compiler.
813
69159fad
SS
814Thu Apr 18 18:46:57 1996 Stan Shebs <shebs@andros.cygnus.com>
815
816 * monitor.c: Use int rather than LONGEST for values, since
817 the formatting strings are not prepared to accept long longs.
818
e1b4f287
DE
819Wed Apr 17 20:17:27 1996 Doug Evans <dje@canuck.cygnus.com>
820
821 * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
822
8eff3c7f
SG
823Tue Apr 16 17:38:23 1996 Stu Grossman (grossman@critters.cygnus.com)
824
825 * corelow.c (add_to_thread_list): Make sure reg_sect is non-null
826 before de-referencing it. Prevents deref of NULL pointer if core
827 file lacks .reg section.
828 * defs.h: Rename floatformat_{to from}_long_double to
829 floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO
830 FROM}... macros.
831 * findvar.c (extract_floating store_floating): Change all refs to
832 FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
833 * utils.c: Change floatformat_{to from}_long_double to
834 floatformat_{to from}_doublest cuz the new routines will use
835 whatever size (double or long double) is appropriate.
836 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
837 REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to
838 floatformat... routine calls.
839
15b03b57
PB
840Mon Apr 15 16:34:11 1996 Per Bothner <bothner@kalessin.cygnus.com>
841
842 * stabsread.c (read_type): Move handling of '@' from type
843 number handling to handling of types proper (as emitted by gcc!).
844 For typedefs, allocate the typedef type before reading its
845 definition, to properly handling recursive types.
846
c5ee9d00
JL
847Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
848
849 * ch-exp.c (calculate_array_length): Fix prototype.
850
449abd89
SG
851Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com)
852
853 * remote-nindy.c (nindy_open): Acquire more target state so that
854 user can attach to a previously running program.
855 * (nindy_fetch_registers nindy_store_registers): Get rid of fp
856 conversion code. That's all handled in {extract store}_floating
857 now.
858 * utils.c (floatformat_to_double): Don't bias exponent when
859 handling zero's, denorms or NaNs.
860 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
861 REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and
862 FLOATFORMAT_TO/FROM_DOUBLEST macros.
863 * config/i960/tm-nindy960.h: Undefine
864 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
865 REGISTER_CONVERTIBLE. These are no longer necessary now that all
866 the magic happens in extract/store_floating.
867
9898b3b7
PS
868Sat Apr 13 02:58:02 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
869
870 * eval.c (evaluate_subexp_standard): Report error when attempting to
871 evaluate subscripts for types which cannot be subscripted.
872
873 * valarith.c (value_x_binop, value_x_unop): Add noside parameter.
874 Return a zero value with the return type of the member function
875 if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
876 function.
877 * values.h (value_x_binop, value_x_unop): Update prototypes
878 accordingly.
879 * eval.c (evaluate_subexp_standard): Update all callers of
880 value_x_binop, value_x_unop accordingly.
881
882 * valarith.c (value_neg, value_complement): Perform ANSI C/C++
883 integral promotion on operands.
884
38d715a4
FF
885Fri Apr 12 13:19:27 1996 Fred Fish <fnf@cygnus.com>
886
887 * README: Update for 4.16 release.
888 * configure.in (AC_CHECK_FUNCS): Also check for sbrk.
889 * configure: Regenerate with autoconf.
890 * config.in: Regenerate with autoheader.
891 * main.c (main): Only use sbrk() when HAVE_SBRK is defined.
892 * top.c (command_loop): Ditto.
893
c6fbd98b
SG
894Fri Apr 12 09:45:29 1996 Stu Grossman (grossman@critters.cygnus.com)
895
896 * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
897 defaults for bi-endian targets. Replace function pointers for
898 floatformat routines with macros. No need for these to be runtime
899 selectable.
900 * findvar.c: Get rid of floatformat function pointers. Use
901 macros in extract_floating and store_floating.
902 * remote-nindy.c (nindy_fetch_registers nindy_store_registers):
903 Use floatformat macros.
904
d8efbc66
FF
905Thu Apr 11 21:28:02 1996 Fred Fish <fnf@cygnus.com>
906
907 From: Miles Bader <miles@gnu.ai.mit.edu>
908 * configure.in (AC_CHECK_HEADERS): check for endian.h.
909 Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK.
910 Add host & target cases for i[345]86-*-gnu*.
911 * config.in: Regenerate with autoheader.
912 * configure: Regenerate with autoconf.
913 * Makefile.in (AR, AWK): Set from corresponding autoconf substs.
914 (init.c): Don't scan mig-generated files.
915 * defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
916 * config/nm-m3.h (ATTACH_NO_WAIT): Define.
917 * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
918 rather than "#ifndef MACH".
919
4eaf7c0a
SS
920Thu Apr 11 18:49:42 1996 Stan Shebs <shebs@andros.cygnus.com>
921
922 * remote.c (remotewritesize): New GDB variable, controls size
923 of memory packets sent to the target.
924
a243a22f
SG
925Thu Apr 11 13:47:52 1996 Stu Grossman (grossman@critters.cygnus.com)
926
927 * dcache.c: Add prototypes. Make many functions static.
928 * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and
929 dcache_poke call dcache_xfer_memory directly in order to fix
930 problems with turning off dcache. dcache_peek is now unnecessary,
931 so it goes away.
932
933 * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
934 and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
935 to a struct floatformat. This allows for better handling of
936 targets whose floating point formats differ from the host by more
937 than just byte order.
938 * (floatformat_to_long_double floatformat_from_long_double):
939 Prototypes for new functions in utils.c.
940 * (floatformat_to_doublest floatformat_from_doublest): Prototypes
941 for pointers to floating point conversion functions. The actual
942 function uses either double or long double if the host supports it.
943 * findvar.c (floatformat_to_doublest floatformat_from_doublest):
944 Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
945 * (extract_floating store_floating): Rewrite. Now, if host fp
946 format is the same as the target, we just do a copy. Otherwise,
947 we call floatformat_{to from}_doublest.
948 * remote-nindy.c (nindy_xfer_inferior_memory): Change param
949 `write' to `should_write'.
950 * utils.c (floatformat_to_long_double
951 floatformat_from_long_double): New routines that implement long
952 double versions of functions in libiberty/floatformat.c.
953 * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for
954 i960 extended real (80 bit) numbers.
955 * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes
956 actually read or written.
957
f046f4c8
WM
958Wed Apr 10 02:56:06 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
959
960 * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
961 (calculate_array_length): Move function from here ...
962
963 * ch-exp.c (calculate_array_length): ... to here.
964 (parse_primval): If we have a symbol with an array type
965 and the length is 0, call calculate_array_length.
966
a539f6d8
WM
967Tue Apr 9 01:23:05 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
968
969 * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
970 Add some checks for powerset compatibility.
971
972 * valops.c (value_slice): Use lowbound instead of lowerbound for
973 call to slice_range_type to get correct bounds.
974
d8efbc66 975Mon Apr 8 12:53:56 1996 Fred Fish <fnf@cygnus.com>
5579919f
FF
976
977 * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
978 dependencies.
979 * scm-lang.c (gdb_string.h): Include.
980 * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
981 call to correct type (char *).
982 * cp-valprint.c (cp_print_static_field): Ditto.
983 * somsolib.c (som_solib_create_inferior_hook): Add a declaration
984 for external find_unwind_entry function (from hppa-tdep.c).
985 * remote-pa.c (remote_write_bytes, remote_read_bytes): Change
986 type of second arg to "char *" to be type compatible with
987 dcache.
988 (remote_wait): Cast second arg to strtol to correct type.
989 * hppa-tdep.c (compare_unwind_entries): Change argument types to
990 "const void *" to be type compatible with qsort, and then
991 assign to local args prior to use.
992
75eb5231
JL
993Mon Apr 8 15:35:52 1996 Jeffrey A Law (law@cygnus.com)
994
995 * infptrace.c (kill_inferior): Remove call to "kill"; update
996 comments.
997
7782ee45
GN
998Mon Apr 8 14:05:07 1996 Geoffrey Noer <noer@cygnus.com>
999
1000 * remote-e7000.c: don't append :23 to target port if __WIN32__
1001 is defined (it's WinGDB).
1002
ce0787ef
FF
1003Sun Apr 7 22:34:29 1996 Fred Fish <fnf@cygnus.com>
1004
1005 From: Miles Bader <miles@gnu.ai.mit.edu>
1006 * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
1007 msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
1008 config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
1009 m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
1010
1011Sun Apr 7 13:32:41 1996 Fred Fish <fnf@cygnus.com>
125c17af
FF
1012
1013 * configure.in (case host): Add i386sco5 host.
1014 * configure: Regenerate.
1015
1016 From: Robert Lipe <robertl@dgii.com>
1017 Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
1018 target is an SVR3.2 with COFF, ELF, and shared libes, but
1019 no /proc.
1020 * config/i386/i386sco5.mh: New file.
1021 * config/i386/nm-i386sco5.h: New file.
1022
a6b65627
FF
1023Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com>
1024
1025 * bcache.c (bcache): When size of chunk to cache is exactly equal to
1026 BCACHE_MAXLENGTH, stash chunk as unique copy.
1027
eae8aa30
FF
1028Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com>
1029
1030 * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
1031 (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
1032 use it, rather than calling add_psymbol_addr_to_list.
1033 (add_psymbol_addr_to_list): Delete.
1034 (add_psymbol_to_list): Make psymbol static to avoid random data in
1035 gaps due to alignment of structure members.
1036 * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
1037 ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
1038 performance improvements by inlining via complicated macros and
1039 they just make gdb larger and harder to maintain.
1040 * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
1041 and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
1042 add_psymbol_to_list with appropriate long or CORE_ADDR args.
1043 (add_partial_symbol): Ditto.
1044 * partial-stab.h: Ditto.
1045 * os9kread.c (read_os9k_psymtab): Ditto
1046 * mdebugread.c (parse_partial_symbols): Ditto.
1047 (handle_psymbol_enumerators): Ditto.
1048 (demangle.h): Include.
1049 * hpread.c (hpread_build_psymtabs): Ditto.
1050 (hpread_build_psymtabs): Ditto.
1051 (demangle.h): Include
1052
51bea8cf 1053start-sanitize-gdbtk
fda6fadc
SS
1054Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com>
1055
1056 * gdbtk.c (running_now): New global variable.
1057 (gdb_cmd): Test it before executing any command.
1058 (gdbtk_call_command): Set it when inferior is running.
1059 * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
1060 disable interaction with command window's text appropriately.
1061
8b3f9ed6
MM
1062Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1063
1064 * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
1065 some versions of the kernel don't support it.
51bea8cf 1066end-sanitize-gdbtk
8b3f9ed6 1067
72ae15f6
FF
1068Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com>
1069
1070 * configure.in: Check for setpgid function.
1071 * config.in: Regenerate with autoheader.
1072 * configure: Regenerate with autoconf.
1073 * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
1074 if it is actually defined.
1075 (gdb_setpgid): Use HAVE_SETPGID.
1076 * ch-exp.c: Change include of <string.h> to "gdb_string.h".
fda6fadc
SS
1077 * c-exp.y, f-exp.y, m2-exp.y: Ditto.
1078 * c-exp.y, serial.c: Include <ctype.h>.
72ae15f6
FF
1079 * config/m68k/nm-news.h: Add typedef for pid_t which is
1080 apparently missing from <sys/types.h>. Enclose entire
1081 file in NM_NEWS_H ifndef and define when included.
1082 * config/mips/nm-news-mips.h: Ditto.
1083 * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
1084 REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
1085
67c1413d
SS
1086Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com>
1087
72c9954b
SS
1088 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
1089 * arm-tdep.c (arm_apcs_32): New global.
1090 (arm_addr_bits_remove, arm_saved_pc_after_call,
1091 arm_push_dummy_frame, arm_pop_frame): New functions.
1092 (arm_skip_prologue): Updated version from Richard Earnshaw.
1093 (_initialize_arm_tdep): Add set/show "apcs32".
1094 * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
1095 arm_addr_bits_remove.
1096 (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
1097 (frame_find_saved_regs): Declare properly.
1098 (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
1099 (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
1100 explicit mask.
1101 * config/arm/nm-arm.h: New file.
1102 * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
1103 Move definitions to nm-arm.h.
1104 * config/arm/arm.mh (NAT_FILE): Define.
1105
67c1413d
SS
1106 * symfile.c (generic_load): Initialize data_count properly.
1107
3e3ee48f
FF
1108Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com>
1109
1110 * symmisc.c (print_objfile_statistics): Print memory used by
1111 psymbol cache obstack.
1112
72158e71
SS
1113Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com>
1114
1115 * symfile.c (report_transfer_performance): New function.
1116 (generic_load): Call it to report transfer rate.
1117 * remote-e7000.c (e7000_load): Ditto.
1118
761e98aa
SS
1119Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com>
1120
1121 * mpw-make.sed: Change references to config.h to be in objdir,
1122 edit out rules to rebuild config.h.
1123
251b8ab9
FF
1124Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com>
1125
1126 * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
1127 proceeding.
1128
517cb8d7 1129Sun Mar 31 16:15:43 1996 Fred Fish <fnf@cygnus.com>
771f63d3
FF
1130
1131 * hppah-nat.c (store_inferior_registers, store_inferior_registers,
1132 fetch_register, child_xfer_memory): Use call_ptrace function supplied
1133 by infptrace.c rather than calling ptrace directly.
1134
32b18604
SS
1135Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com>
1136
1137 * mon960-rom.c: Cleanups and elimination of unused code,
1138 clarify documentation string.
1139 (mon960_serial, mon960_ttyname): Remove.
1140 * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
1141 ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
1142
07b77f5c
FF
1143Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com>
1144
1145 * configure.in: Check whether printf family supports printing
1146 long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
1147 * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
1148 * configure: Regenerate.
1149 * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
1150 * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
1151 * configure.in: Fix have_gregset and have_fpregset autoconf
1152 variable names so that they match the pattern required to
1153 cache them.
1154
b52cac6b
FF
1155Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com>
1156
1157 * core-aout.c (fetch_core_registers): Cast core_reg_size to int
1158 before testing against reg_ptr.
1159 * eval.c (evaluate_subexp_standard): Cast type of
1160 TYPE_FN_FIELD_VOFFSET to int.
1161 * findvar.c (extract_signed_integer, extract_unsigned_integer,
1162 extract_long_unsigned_integer): Cast type of sizeof to int.
1163 * values.c (unpack_field_as_long, modify_field): Ditto.
1164 * valops.c (value_assign, call_function_by_hand): Ditto.
1165 * infcmd.c (do_registers_info): Ditto.
fda6fadc 1166 * ser-tcp.c (tcp_open): Ditto.
b52cac6b
FF
1167 * remote.c (putpkt): Ditto.
1168 * dcache.c (dcache_peek): Ditto.
1169 * dcache.c (dcache_poke): Ditto.
1170 * m2-exp.y (yylex): Ditto.
1171 * gnu-regex.c (re_match_2): Ditto.
1172 * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
1173 out unused macro definition and variables.
1174 * inftarg.c (proc_wait): Move from main.c to here, and make static.
1175 * valprint.c (val_print_string): Change bufsize from int to unsigned.
fda6fadc 1176 * main.c (wait.h): Include.
b52cac6b
FF
1177 * top.c (command_line_input): Remove unused variable "c".
1178 * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
1179 value TYPE_CODE_TYPEDEF to switch statement.
1180 (f_type_print_varspec_suffix): Add missing enum value
1181 TYPE_CODE_TYPEDEF to switch statement.
1182 * ch-exp.c (parse_primval): Add remaining enumeration values to
1183 switch statement, with no specific action.
1184 (ch_lex): Add LOC_UNRESOLVED in switch statement.
1185 (pushback_token): Ifdef out, since code using it is ifdef'd out.
1186 * stabsread.c (cleanup_undefined_types): Remove unused label
1187 "badtype".
1188 * objfiles.h (print_symbol_bcache_statistics): Add prototype.
1189 * maint.c (objfiles.h): Include.
1190 (maintenance_print_statistics): Remove unused variable "temp".
1191 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
1192 unused variable "found_file_symbol".
1193 * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
1194 * language.c (lang_bool_type): Use existing function local type
1195 variable rather than create block local variables.
1196 * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
1197 * infptrace.c (wait.h, command.h): Include.
1198 * ser-tcp.c (gdb_string.h): Include
1199 * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
1200 (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
1201 * command.c (complete_on_enum): Make assignment used as truth value
1202 explictly check against NULL.
1203 (wait.h): Include.
1204 * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
1205 that uses it is ifdef'd out.
1206 * parser-defs.h: Add prototype for write_dollar_variable.
1207 * infrun.c: Add prototype for write_pc_pid.
1208 * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
1209 * symmisc.c (bcache.h): Include.
1210 * bcache.h: Add prototype for print_bcache_statistics.
1211 * symfile.c: Include <time.h>.
1212 * printcmd.c (print_scalar_formatted): Change len to unsigned int.
1213 * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
1214 * valarith.c (value_binop): Change result_len, promoted_len1,
1215 and promoted_len2 to unsigned int.
1216 * valarith.c (value_subscripted_rvalue): Change elt_offs and
1217 elt_size to unsigned int.
1218 * valops.c (value_array): Change typelength to unsigned int.
1219 (destructor_name_p): Change len to unsigned int.
1220 * scm-lang.h (scm_parse): Add prototype for scm_unpack.
1221 * symfile.c (decrement_reading_symtab): Change return type to void.
1222 * valarith.c (value_subscript): Remove unused variable "word".
1223 (value_subscript): Remove unused variable "tint".
1224 * valops.c (auto_abandon): Ifdef out, since code using it is also
1225 ifdef'd out.
1226 * eval.c (init_array_element): Remove unused variable "val".
1227 * Makefile.in (values.o): Depends on scm-lang.h.
1228 (command.o): Depends upon wait_h.
1229 (ser-tcp.o): Depends upon gdb_string.h.
1230 (infptrace.o): Depends upon wait_h and command_h.
1231 (maint.o): Depends on objfiles.h and symfile.h.
1232 * values.c (allocate_repeat_value): Remove unused variable
1233 "element_type".
1234 (scm-lang.h): Include.
1235 * breakpoint.c (create_longjmp_breakpoint): Enclose in
1236 GET_LONGJMP_TARGET define, unused otherwise.
1237 * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
1238 i386_remove_watchpoint and i386_stopped_by_watchpoint.
1239
078aeca4
DE
1240Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com>
1241
1242 * configure.in (sparc64-*-solaris2*): Delete.
1243 Stick with sparc-*-solaris2*.
1244 * configure: Regenerated.
1245
75225aa2
FF
1246Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com>
1247
1248 * valops.c (value_assign): Make copy of internal variable value
1249 before returning it as a new value, since it is owned by the
1250 internal variable and will be freed along with it.
1251
fa3764e2
JL
1252Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com)
1253
1254 * From Peter Schauer.
1255 * breakpoint.c (breakpoint_re_set_one): Keep temporary
1256 breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
1257 and bp_step_resume in case breakpoint_re_set_one is called due
1258 to a step over a dlopen call.
1259 * infrun.c (wait_for_inferior): Always remove breakpoints from
1260 inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
1261
7e2ff10d
FF
1262Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com>
1263
1264 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
1265 non-prototyped case over prototyped case for C.
1266 * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
1267
4cfb23a9
FF
1268Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com>
1269
1270 * os9kread.c (os9k_process_one_symbol): Note nonportable
1271 assumption that an int can hold a char *.
1272
1273 * bcache.h (struct hashlink): Wrap data[] inside union with
1274 double to force longest alignment.
1275 (BCACHE_DATA): New macro to access data[].
1276 (BCACHE_ALIGNMENT): New macro to get offset to data[].
1277 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
1278 address of cached data. Use BCACHE_ALIGNMENT to compute
1279 amount of space to allocate for each hashlink struct.
1280
b9aa6215
FF
1281Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com>
1282
1283 * ch-lang.c (evaluate_subexp_chill): Fix typo.
1284
1285Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com>
1286
1287 * Makefile.in (VERSION): Bump version to 4.15.3
1288
18ea4416
ILT
1289Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
1290
1291 * config.in: Rename from config.h.in.
1292 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
1293 Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
1294 * configure: Rebuild.
1295 * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
1296 Set CONFIG_HEADERS to config.h:config.in.
1297
67718369
PS
1298Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1299
1300 * partial-stab.h (case N_ENDM): Finish current partial symbol
1301 table for Solaris 2 cc.
1302
a466b86a
JL
1303Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com)
1304
1305 * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
1306 PC in the registers array. From Peter Schauer.
1307
0ef22be9
FF
1308Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com>
1309
1310 * symfile.c (reread_symbols): Reinitialize bcache struct
1311 members to zero using memset. Also use memset to reinit
1312 global_psymbols and static_psymbols, rather than explicitly
1313 resetting each structure member.
1314
31520669
FF
1315Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com>
1316
1317 * configure.in: Add fragment to create stamp-h.
1318
1319 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1320 * configure.in (AC_CHECK_HEADERS): Check for link.h.
1321 * configure: Regenerate with autoconf.
1322 * config.h.in: Regenerate with autoheader.
1323 * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
1324 is defined.
1325 * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
1326 * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
1327 older a.out based systems.
1328
bfcf3112 1329Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com>
db210d08 1330
bfcf3112 1331 * config.h.in: New file.
db210d08
FF
1332 * acconfig.h: New file, for autoheader.
1333 * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
1334 * configure: Regenerate.
1335 * Makefile.in (defs_h): Add config.h
bfcf3112
FF
1336 (distclean): Remove config.h and stamp-h during distclean.
1337 (config.h, stamp-h): New targets to remake config.h when necessary.
db210d08
FF
1338 * defs.h (config.h): Include before any other includes or defines.
1339 * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
d58ffc6c 1340 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
db210d08 1341
d5fde1c9
FF
1342Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com>
1343
1344 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1345 * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
1346 result in an empty line, to work around a bug in native Ultrix 4.4
1347 and OSF/1-3.2C make.
1348
3dedc867
FF
1349Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com>
1350
1351 * configure.in: Add gdbserver to configdirs under linux.
1352 * configure: Regenerate.
1353
f727efb5
C
1354Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1355
1356 * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
1357 * config/i386/tm-nbsd.h (NUM_REGS): Define.
1358
a404ea25
JL
1359Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com)
1360
1361 * solib.c (solib_break_names): Add _r_debug_state for
1362 vanilla SVR4 implementations. From Peter Schauer.
1363
1364Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com>
1365
1366 * mon960-rom.c: New file; support mon960 rom monitor on i960.
1367 * monitor.c (monitor_debug): Change remotedebug to buffer strings.
1368 * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
1369 epecting prompt and echo during open.
1370 * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
1371 determine if break should be sent as stop command.
1372 * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
1373 * i960-tdep.c (mon960_frame_chain_valid): New function for getting
1374 stack frame on mon960.
1375 * Makefile.in: Add mon960 files.
1376 * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
1377 added i960-nindy-coff* and i960-nindy-elf* for target nindy.
1378 * configure: Regenerated.
1379 * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
1380 support mon960 rom monitor on i960.
1381
1ef980b9
SC
1382Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
1383
1384 With Michael Snyder:
1385 * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
1386 * win32-nat.c (CHECK, DEBUG*, debug_*): New.
1387 (handle_load_dll): Don't reload symbols.
1388 (handle_exception): Use the DEBUG_* names.
1389 (child_wait): Add DEBUG_* code.
1390 (_initialize_inftarg): Add new commands to set debug_ names.
1391
803a31a3
JL
1392Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com)
1393
1394 * From Peter Schauer:
1395 * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
1396 (bpstat_stop_status): Likewise.
1397 (remove_solib_event_breakpoints): Likewise.
1398 (clear_momentary_breakpoints): Likewise.
1399 (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
1400 if we still can't read the memory for that breakpoint.
1401 (mention): Add bp_shlib_event case to keep gcc quiet.
1402
1403Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com)
1404
1405 * breakpoint.h (enum enable): New enum shlib_disabled for
1406 shared library breakpoints that have been temporarily disabled.
1407 * breakpoint.c: Handle temporarily disabled shared library
1408 breakpoints like disabled breakpoints in most places.
1409 (insert_breakpoints): Use shlib_disabled to indicate
1410 that an unsettable breakpoint is only temporarily disabled.
1411 (re_enable_breakpoints_in_shlibs): New function.
1412 * corelow.c (solib_add_stub): After adding shared libraries,
1413 try to reenable any temporarily disabled breakpoints.
1414 * infcmd.c (attach_command): Likewise.
1415 * infrun.c (wait_for_inferior): Likewise.
1416
4972c44e
ILT
1417Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com>
1418
1419 * defs.h (extract_long_unsigned_integer): Declare.
1420 * findvar.c (extract_long_unsigned_integer): New function.
1421 * printcmd.c (print_scalar_formatted): Use it.
1422 * valprint.c (val_print_type_code_int): Likewise.
1423
00dd4fd9
SS
1424Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com>
1425
1426 * infcmd.c (do_registers_info): Ignore anonymous registers.
1427 * sh-tdep.c (set processor): New command to set specific
1428 processor type.
1429 (sh_reg_names, sh3_reg_names): Arrays of register names for
1430 SH and SH3 processors.
1431 (sh_set_processor_type): New function.
1432 * sh3-rom.c (sh3_open): Call it.
1433 (sh3_regname): Add names of all the bank registers.
1434 (sh3_supply_register): Clean up formatting.
1435 * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
1436 bank registers.
1437 (REGISTER_NAMES): Add names of bank registers.
1438 (FP15_REGNUM): Define.
1439 (REGISTER_VIRTUAL_TYPE): Use it.
1440 * monitor.c: Clean up some comments.
1441
43ece84d
C
1442Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1443
1444 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
1445 s* and t* symbols too.
1446
5a367b09
JSC
1447Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
1448
1449 * symfile.c (generic_load): Avoid division by zero.
1450
653fed07
JL
1451Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com)
1452
1453 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
1454 not just those with HANDLE_SVR4_EXEC_EMULATORS.
27b6a1fa 1455
00dd4fd9 1456 From Peter Schauer:
27b6a1fa
JL
1457 * breakpoint.c (internal_breakpoint_number): Move to file scope.
1458 (create_solib_event_breakpoint): Use an internal breakpoint number.
1459
bb901438
WM
1460Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
1461
1462 * valarith.c (value_in): Change builtin_type_chill_bool to
1463 LA_BOOL_TYPE.
1464
c105168f
WM
1465Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
1466
1467 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
1468 (match_string_literal): Handle control sequence.
1469 (match_character_literal): Deto.
1470
1471 * ch-lang.c (chill_printchar): Change formating of nonprintable
1472 characters from C'xx' to ^(num).
1473 (chill_printstr): Deto.
1474 (value_chill_card, value_chill_max_min): New functions to process
1475 Chill's CARD, MAX, MIN.
1476 (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
1477
1478 * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
1479 for Chill's CARD, MAX, MIN.
1480
1481 * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
1482 and change return type from builtin_type_int to
1483 builtin_type_chill_bool.
1484
d009ffd8
SS
1485Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com>
1486
b4692cbc
SS
1487 * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
1488 from config/nm-nbsd.h.
1489 * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
1490 from config/sparc/tm-nbsd.h.
1491
d009ffd8
SS
1492 * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
1493 instead of in config/m68k/xm-hp300hpux.h.
1494
d554e554
C
1495Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1496
1497 * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
1498 implementation for NetBSD systems.
1499
02e6e53d
PB
1500Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com>
1501
8d67b75a
PB
1502 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
1503 (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
1504
02e6e53d
PB
1505 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
1506 if "function" is pointer to non-function.
1507
f935141e
SS
1508Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com>
1509
1510 * top.c (print_gdb_version): Update copyright year.
1511
11be829f
JL
1512Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com)
1513
f935141e 1514 From Peter Schauer:
11be829f
JL
1515 * infrun.c (wait_for_inferior): Remove breakpoints and
1516 switch terminal settings before calling SOLIB_ADD.
1517 * solib.c (enable_break, SVR4 variant): Don't map in symbols
1518 for the dynamic linker, the namespace pollution causes real
1519 problems.
1520
4f005fea
JSC
1521Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
1522
1523 * remote-mips.c (common_breakpoint): Explicitly terminate the
1524 returned buffer.
1525
cf3c0938
SS
1526Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com>
1527
1528 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
1529 * remote.c (remote_detach): Send a command 'D' to the target
1530 when detaching, update the function's comments.
1531
8fe2b2c5
FF
1532Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com>
1533
1534 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
1535 baseline for gdb 4.16 rerelease testing.
1536
a4f39c06
JL
1537Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com)
1538
1539 * somsolib.c (som_solib_create_inferior_hook): Before returning
1540 call clear_symtab_users.
1541
1542Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com)
1543
1544 * remote-e7000.c (e7000_open): Delete all breakpoints when
1545 connecting to e7000. Change connect message to allow use of
1546 monitor.exp in test suite.
1547 * (e7000_load): Print transfer rate of download.
1548 * symfile.c (generic_load): Print transfer rate of download.
1549
8fa6fcf8
SS
1550Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com>
1551
1552 * configure.in (mips*-*-vxworks*): New config.
1553 * configure: Regenerated.
1554
1555 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
1556 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
1557 Remove, never used.
1558
a97a483c
PS
1559Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1560
1561 * partial-stab.h (case N_FUN): Function symbols generated
1562 by SPARCworks cc have a meaningless zero value, do not update
1563 pst->textlow if the function symbol value is zero.
1564
1565 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
1566 for function prototype declaration symbols.
1567
b5eccf74
SG
1568Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com)
1569
1570 * remote-e7000.c (e7000_load): New routine to download via the
1571 network.
1572 * (e7000_wait): Don't backup PC when we hit a breakpoint.
1573 Apparantly new sh2 pods get this right...
1574 * (e7000_ops): Add call to e7000_load.
1575
b7f3b6d5
C
1576Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1577
1578 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
1579 m68knbsd-nat.c: New files, support for NetBSD/m68k.
1580
1581 * configure.in (m68k-*-netbsd*): New config.
1582 * configure: Regenerated.
1583
517cb8d7 1584Wed Feb 21 19:00:21 1996 Fred Fish <fnf@cygnus.com>
6a6a552a
FF
1585
1586 * standalone.c (open, _initialize_standalone): Fix obvious typos
1587 reported by Martin Pool <martin@citr.uq.oz.au>.
1588
13f6c7ea
JL
1589Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
1590
1591 * solib.c (solib_create_inferior_hook): Fix thinko.
1592
464c6c5f
JL
1593Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com)
1594
1595 * solib.c (solib_break_names): Define for Solaris and Linux.
1596 (enable_break): For SVR4 systems, first try to use the debugger
1597 interfaces in the dynamic linker to track shared library events
1598 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
1599 BKPT_AT_SYMBOL code to use shared library event breakpoints.
1600 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
1601 it no longer needs to restart/wait on the inferior.
1602 * symfile.c (find_lowest_section): No longer static.
1603 * symfile.h (find_lowest_section): Corresponding changes.
1604
517cb8d7 1605Tue Feb 20 18:54:08 1996 Fred Fish <fnf@cygnus.com>
45c5fa78
FF
1606
1607 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
1608 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
1609 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
1610 * config/mips/tm-mips.h: Ditto.
1611 * config/pa/tm-hppa.h: Ditto.
1612 * config/rs6000/tm-rs6000.h: Ditto.
1613 * config/sparc/tm-sparc.h: Ditto.
1614
48d27324
C
1615Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1616
eb224848
C
1617 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
1618
48d27324
C
1619 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
1620 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
1621 #ifdef'd out definitions --- Causes serious gdb failures on
1622 the i386. Need to investigate further before enabling.
1623
1624 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
1625 fetch_core_registers): New functions. These functions are defined
1626 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
1627 with ptrace PT_GETREGS/PT_SETREGS.
1628
95f6f926
SG
1629Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com)
1630
1631 * findvar.c (extract_floating store_floating): Replace `long
1632 double' with `DOUBLEST'.
1633
cb91ea56
C
1634Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1635
1636 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
1637 Define.
1638
9263da6f
JL
1639Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com)
1640
1641 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
1642
1643 * breakpoint.h (remove_solib_event_breakpoints): Declare.
1644 * breakpoint.c (remove_solib_event_breakpoints): New function.
1645 * somsolib.c (solib_create_inferior_hook): Remove all solib event
1646 breakpoints before inserting any new ones. Use a solib event
1647 breakpoint for the breakpoint at "_start".
1648 Remove extraneous "\n" from calls to warning.
1649
1650 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
1651 name array.
1652
0708e99f
FF
1653Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com>
1654
1655 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
1656 for CORE_ADDR values.
1657 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
1658 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
1659
08dc1eeb
PS
1660Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1661
1662 * mipsread.c (mipscoff_symfile_read): Unconditionally add
1663 alpha coff dynamic symbols for all symbol files. Makes skipping
1664 over the trampoline code work when stepping from a function in a
1665 shared library into a function in a different shared library.
1666
1d6afd7f
SG
1667Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com)
1668
1669 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
1670 RETURN_VALUE_ON_STACK to return long doubles on the stack.
1671
0708e99f 1672Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com>
176b2bee
FF
1673
1674 * Makefile.in (ch-exp.o): Add dependencies.
1675 (various): Add gdb_string.h to dependencies that need it.
1676
dcb6a7c0
FF
1677Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com>
1678
1679 * symmisc.c (print_symbol_bcache_statistics): Update description for
1680 printing byte cache statistics.
1681
aa220473
SG
1682Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com)
1683
1684 * Add native support for long double data type.
1685 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
1686 to store actual data. Change types of INT and FLOAT tokens to
1687 typed_val_int and typed_val_float respectively. Create new token
1688 DOUBLE_KEYWORD to specify the string `double'. Make production
1689 for FLOAT use type determined by parse_number. Add production for
1690 "long double" data type.
1691 * (parse_number): Use sscanf to parse numbers as float, double or
1692 long double depending upon the type of typed_val_float.dval. Also
1693 allow user to specify `f' or `l' suffix to explicitly specify
1694 float or long double constants. Change typed_val to
1695 typed_val_int.
1696 * (yylex): Change typed_val to typed_val_int. Also, scan for
1697 "double" keyword.
1698 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
1699 type.
1700 * configure, configure.in: Add check for long double support in
1701 the host compiler.
1702 * defs.h: Define DOUBLEST appropriatly depending on whether
1703 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
1704 for functions that handle this type.
1705 * expression.h (union exp_element): doubleconst is now type
1706 DOUBLEST.
1707 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
1708 * findvar.c (extract_floating): Make return value be DOUBLEST.
1709 Also, add support for numbers with size of long double.
1710 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
1711 floating types.
1712 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
1713 DOUBLEST.
1714 * valarith.c (value_binop): Change temp variables v1, v2 and v to
1715 type DOUBLEST. Coerce type of result to long double if either op
1716 was of that type.
1717 * valops.c (value_arg_coerce): If argument type is bigger than
1718 double, coerce to long double.
1719 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
1720 arg type is float and > 8 bytes, then use pointer-to-object
1721 calling conventions.
1722 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
1723 Use appropriate format and precision to print out floating point
1724 values.
1725 * value.h: Fixup prototypes for value_as_double,
1726 value_from_double, and unpack_double to use DOUBLEST.
1727 * values.c (record_latest_value): Remove check for invalid
1728 floats. Allow history to store them so that people may examine
1729 them in hex if they want.
1730 * (value_as_double unpack_double): Change return value to DOUBLEST.
1731 * (value_from_double): Arg `num' is now DOUBLEST.
1732 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
1733 specific) to expect certain types to always be returned on the stack.
1734
2ad5709f
FF
1735Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com>
1736
1737 * bcache.c, bcache.h: New files to implement a byte cache.
1738 * Makefile.in (SFILES): Add bcache.c.
1739 (symtab_h): Add bcache.h.
1740 (HFILES_NO_SRCDIR): add bcache.h
1741 (COMMON_OBJS): Add bcache.o
1742 (bcache.o): New target.
1743 * dbxread.c (start_psymtab): Make global_syms & static_syms
1744 type "partial_symbol **".
1745 * hpread.c (hpread_start_symtab): Ditto.
1746 * os9kread.c (os9k_start_psymtab): Ditto.
1747 * stabsread.h (start_psymtab): Ditto.
1748 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
1749 * maint.c (maintenance_print_statistics): Call
1750 print_symbol_bcache_statistics.
1751 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
1752 and free pointers.
1753 * solib.c (allocate_rt_common_objfile): Ditto.
1754 * symfile.c (reread_symbols): Ditto.
1755 (free_objfile): Free psymbol bcache when objfile is freed.
1756 (objfile_relocate): Use new indirect psymbol pointers.
1757 * objfiles.h (struct objfile): Add psymbol cache.
1758 * symfile.c (compare_psymbols): Now passed pointers to pointers to
1759 psymbols.
1760 (reread_symbols): Free psymbol bcache when freeing other objfile
1761 resources.
1762 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
1763 psymbol using the psymbol bcache.
1764 (init_psymbol_list): Psymbol lists now contain pointers rather than
1765 the actual psymbols.
1766 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
1767 grown arrays of pointers.
1768 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
1769 bcache.
1770 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
1771 to partial symbol.
1772 (print_symbol_bcache_statistics): New function to print per objfile
1773 bcache statistics.
1774 (print_partial_symbol, print_partial_symbols,
1775 maintenance_check_symtabs, extend_psymbol_list):
1776 Account for change to pointer to pointer to partial symbol.
1777 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
1778 make_symbol_completion_list):
1779 Account for change to pointer to pointer to partial symbol.
1780 * symtab.h (bcache.h): Include.
1781 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
1782 type "partial_symbol **".
1783
4a1d2ce2
FF
1784Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com>
1785
1786 * dwarfread.c (free_utypes): New function.
1787 (read_file_scope): Call free_utypes as cleanup, rather than just
1788 freeing the utypes pointer.
1789
81afee37
FF
1790Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1791
1792 * demangle.c (is_cplus_marker): New function, checks if a
1793 character is one of the commonly used C++ marker characters.
1794 * defs.h (is_cplus_marker): Add prototype.
1795 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
1796 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
1797 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
1798 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
1799 values.c (vb_match): Use is_cplus_marker instead of comparison
1800 with CPLUS_MARKER.
1801
14b22711
FF
1802Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com>
1803
1804 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
1805 delete entirely someday.
1806
884fb64c
SS
1807Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com>
1808
1809 * mpw-make.sed: Edit out makefile rebuild rule.
1810 (host_alias, target_alias): Comment out instead of deleting.
1811 (@LIBS@): Edit out references.
1812
f1d39876
FF
1813Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com>
1814
1815 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
1816 Use n_psyms in OBJSTAT, not psyms.
1817
1818Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com>
1819
1820 * configure.in (sparclet-*-aout*): New config.
1821 * configure: Regenerated.
1822
c37c7c6c
FF
1823Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com>
1824
1825 * somsolib.c (som_solib_add): Use xmalloc rather than bare
1826 unchecked call to malloc.
1827 * remote-mips.c (pmon_load_fast): ditto.
1828 * remote-mm.c (mm_open): ditto.
1829 * hpread.c (hpread_lookup_type): ditto.
1830 * remote-adapt.c (adapt_open): ditto.
1831
6405302d
FF
1832Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com>
1833
1834 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
1835 allocate_saved_f77_common_node, allocate_common_entry_node,
1836 add_common_block): Use xmalloc rather than malloc, some of which
1837 were unchecked.
1838 * gnu-regex.c: At same point as other gdb specific changes
1839 #undef malloc and then #define it to xmalloc.
1840 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
1841 bare unchecked calls to malloc/realloc.
1842 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
1843 unchecked call to malloc.
1844
ff7116e2
SG
1845Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com)
1846
1847 * symtab.c (gdb_mangle_name): Change opname var to be const to
1848 match return val of cplus_mangle_name.
1849 * i960-tdep.c: Change arg types of next_insn to match callers.
1850
b0ee0cf2
FF
1851Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com>
1852
1853 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
1854 apparently aren't needed in any reasonably recent version of
1855 linux.
1856
ec49fc98
PB
1857Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com>
1858
1859 * stabsread.c (read_range_type): If !self-subrange and language
1860 is Chill, assume a true range. If a true_range is a sub_subrange,
1861 use builtin_type_int for index_type.
1862
1863Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com>
1864
1865 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
1866 with an ANSI compiler.
1867
f0b0d915
TT
1868start-sanitize-gdbtk
1869Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
1870
1871 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
1872 double-clicking will work again.
1873 (create_asm_win): Put "break" at end of all B1 bindings.
1874 (create_file_win): Lower "sel" tag, don't raise it.
1875 (ensure_line_visible): New proc.
1876 (update_listing, update_assembly): Use it.
1877 (create_copyright_window): Destroy window on Leave event.
1878 (create_command_window): Put "break" at end of all B2 bindings.
1879
1880end-sanitize-gdbtk
263af172
SC
1881Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com>
1882
1883 From Michael_Snyder@NeXT.COM (Michael Snyder):
1884 * valops.c (value_arg_coerce): Coerce float to double, unless the
1885 function prototype specifies float.
1886
fc71ad23 1887Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com>
8bdae156 1888
fc71ad23
TT
1889 * language.c (set_language_command): Use languages table when
1890 printing available languages.
1891
1892Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com>
1893
1894 Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl):
1895 * command.c (add_cmd): Add missing initialization for enums member.
1896 Reorder members to match structure declaration to make it easier to
1897 tell when one is missing.
1898 * exec.c (exec_file_command): Fix problem where filename in malloc'd
1899 memory is referenced after being freed.
8bdae156 1900
255181a9
PS
1901Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1902
1903 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
1904 AT_name tag is missing.
1905
1906 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
1907 FLTWATCH and FLTKWATCH are defined.
1908
1909 * remote.c (remote_read_bytes): Advance memaddr for transfers,
1910 return number of bytes transferred for partial reads.
1911
1912 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
1913
454ffae5
SC
1914Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com>
1915
1916 * win32-nat.c (mappings): Add ppc registers.
9a763320 1917 (child_resume): Turn off step for ppc.
454ffae5 1918
3d78f532
SC
1919Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com>
1920
1921 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
1922 xm-cygwin32.h): New.
1923 * config/i386/(*win32*): Becomes *cygwin32*.
1924 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
1925 (powerpcle-*-cygwin32): New.
1926 * configure: Regenerate.
1927 * win32-nat.c (child_create_inferior): Call CreateProcess
1928 with the right program arg.
1929
4ad70253
JL
1930Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com)
1931
1932 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
1933
0db5a6fe
FF
1934Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com>
1935
1936 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
1937
28bc5ef7
SS
1938Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com>
1939
97abaf19
SS
1940 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
1941
28bc5ef7
SS
1942 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
1943
97abaf19
SS
1944 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
1945 here from config/i386/xm-i386mach.h, fix name.
1946 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
1947 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
1948 here from config/i386/xm-ptx4.h.
1949 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
1950 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
1951 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
1952 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
1953 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
1954
28bc5ef7
SS
1955 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
1956 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
1957 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
28bc5ef7 1958
17280c3f
JL
1959Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com)
1960
1961 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
1962 floating point correctly.
1963 (STORE_RETURN_VALUE): Likewise.
1964 * config/pa/tm-pro.h (SOFT_FLOAT): define.
1965
44e9f3b3
FF
1966Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
1967
1968 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1969 Define to what should be reasonable values. However, apparently
1970 a bug in linux mmap prevents mapped symbol tables from working.
1971
ad1e42be
FF
1972Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
1973
1974 * defs.h (errno.h>: Move #include closer to head of file to solve
1975 obscure problem with systems that declare perror with const arg, in
1976 both errno.h and stdio.h, and const is defined away by intervening
1977 local include.
1978
d3ba76fc
FF
1979Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com>
1980
1981 From Jon Reeves <reeves@zk3.dec.com>:
1982 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
1983 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
1984
f6ade5dd
FF
1985Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com>
1986
1987 * Makefile.in (diststuff): Make all-doc; diststuff target does not
1988 exist in doc/Makefile.in.
1989
cdea3fd3
SS
1990Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com>
1991
1992 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
1993
d221b17e
WM
1994Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
1995
cdea3fd3
SS
1996 * ch-valprint.c (calculate_array_length): New function to
1997 determine the length of an array type.
d221b17e
WM
1998 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
1999 array type is zero, call calculate_array_length.
2000
cdea3fd3
SS
2001 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
2002 values may not be sorted. Scan all entries and set the real lower
2003 and upper bound.
d221b17e 2004
fa9f5840
FF
2005Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com>
2006
2007 * config/xm-linux.h: Move include of solib.h and #define of
2008 SVR4_SHARED_LIBS from here ...
2009 * config/nm-linux.h: ...to here.
2010
4708ac65
FF
2011Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com>
2012
2013 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
2014 Also check for gregset_t and fpregset_t types.
2015 * configure: Regenerate.
2016 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
2017 is defined.
2018 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
2019 and HAVE_FPREGSET_T are defined. These changes allow systems
2020 like linux that are migrating to /proc support to use a single
2021 configuration for both new and old versions.
2022
2023 * config/i386/linux.mt: Note that this is now for both a.out and
2024 ELF systems.
2025 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
2026 i386v4-nat.o
2027 * config/i386/tm-linux.h (tm-sysv4.h): Include.
2028 * config/i386/xm-linux.h (solib.h): Include
2029 (SVR4_SHARED_LIBS): Define.
2030 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
2031 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
cdea3fd3
SS
2032 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
2033 defined.
4708ac65 2034
a77bf669
SS
2035Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com>
2036
2037 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
2038 * config/i386/xm-sun386.h: Ditto.
2039 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
2040
2041Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com>
2042
2043 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
2044
a4b4479a
SC
2045Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
2046
2047 From Greg McGary <gkm@gnu.ai.mit.edu>:
2048 * dcache.c (dcache_peek, dcache_poke): Advance addr for
2049 multi-byte I/O.
2050
4133a76e
JL
2051Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
2052
2053 * infrun.c (normal_stop): Fix test for shared library event.
2054
146ee7db
DE
2055Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com>
2056
2057 * configure.in (sparc64-*-*): Add default host configuration.
2058start-sanitize-gdbtk
2059 (sparc64-*-solaris2* host): Link statically if GCC used.
2060end-sanitize-gdbtk
2061 (sparc64-*-solaris2*): Add target configuration.
b23b4cb5 2062 * configure: Regenerated.
146ee7db
DE
2063 * sparc/sp64sol2.mt: New file.
2064
76336191
DE
2065Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com>
2066
2067 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
2068
1a57cd09
TT
2069Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com>
2070
2071 * Makefile.in (lint): Close backquotes.
2072
2073start-sanitize-gdbtk
2074Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
2075
2076 * gdbtk.tcl, gdbtk.c: Updated copyrights.
2077
2078 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
2079 greater.
2080 * configure: Rebuilt.
2081
2082end-sanitize-gdbtk
e8f1ad9a
FF
2083Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com>
2084
2085 * NEWS: Make note of new record and replay feature for
2086 remote debug sessions.
2087 * serial.c (gdbcmd.h): Include.
2088 (serial_logfile, serial_logfp, serial_reading, serial_writing):
2089 Define here, for remote debug session logging.
2090 (serial_log_command, serial_logchar, serial_write, serial_readchar):
2091 New functions for remote debug session logging.
2092 (serial_open): Open remote debug session log file when needed.
2093 (serial_close): Close remote debug session log file when needed.
2094 (_initialize_serial): Add set/show commands for name of remote
2095 debug session log file.
2096 * serial.h (serial_readchar): Declare
2097 (SERIAL_READCHAR): Call serial_readchar().
2098 (SERIAL_WRITE): Call serial_write().
2099 (serial_close): Declare as extern.
2100 (serial_logfile, serial_logfp): Declare.
2101 * top.c (execute_command): Declare serial_logfp. Log user command
2102 in remote debug session log if log file is open.
2103 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
2104 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
2105 * remote-array.c (SREC_SIZE): Remove, duplicates define in
2106 monitor.h.
2107 * remote-array.c (hexchars, hex2mem): Remove, unused.
2108 * gdbserver/low-linux.c (store_inferior_registers): Remove
2109 unnecessary extern declaration of registers[].
2110 * gdbserver/Makefile.in (all): Add gdbreplay.
2111 * gdbserver/gdbreplay.c: New file.
2112 * gdbserver/README: Give example of recording a remote
2113 debug session with gdb and then replaying it with gdbreplay.
2114
c6038971
PB
2115Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com>
2116
2117 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
2118 (read_one_struct_field): Support boolean bitfields.
2119 * c-valprint.c (c_val_print): Print booleans properly.
2120
5a8d8b8d
SS
2121Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
2122
2123 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
2124 Remove, never used.
2125 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
2126
ec5f347c
PB
2127Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
2128
9293e886
PB
2129 * ch-exp.c (parse_tuple): Error if invalid mode.
2130
533bda77
PB
2131 * value.h (COERCE_ARRAY): Don't coerce enums.
2132 (COERCE_ENUM): Don't COERCE_REF.
2133 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
2134 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
2135 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
2136 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
2137 Add COERCE_REF before COERCE_ENUM.
2138 * values.c (value_as_long): Simplify.
2139
2140 * valops.c (value_array): Create internalvar if !c_style_arrays.
2141
ec5f347c
PB
2142 * language.c (lang_bool_type): Add Fortran support.
2143 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
2144
87273c71
JL
2145Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
2146
2147 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
2148 All references changed.
2149 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
2150 Update state table. Reformat so that it's still readable.
2151 When we hit the shlib_event breakpoint, set the calss of shlib_event.
2152 (breakpoint_1): Add "shlib events" as a breakpoint type.
2153 Print the shlib_event breakpoint like other breakpoints.
2154 (create_solib_event_breakpoint): New function.
2155 (breakpoint_re_set_one): Handle solib_event breakpoints.
2156 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
2157 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
2158 action.
2159 (create_solib_event_breakpoint): Declare.
2160 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
2161 (normal_stop): Inform the user when the inferior stoped due
2162 to a shared library event.
a77bf669 2163 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
87273c71
JL
2164 to control whether or not gdb continues the inferior or stops it when
2165 a shared library event occurs.
2166 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
2167 * somsolib.c (TODO list): Update.
2168 (som_solib_create_inferior_hook): Arrange for gdb to be notified
2169 when significant shared library events occur.
2170 * hppa-tdep.c (find_unwind_entry): No longer static.
2171
fc941258
DE
2172Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
2173
5a8d8b8d
SS
2174 * printcmd.c (print_insn): Pass fprintf_unfiltered to
2175 INIT_DISASSEMBLE_INFO.
2176start-sanitize-gdbtk
2177 * gdbtk.c (gdb_disassemble): Likewise.
2178end-sanitize-gdbtk
fc941258 2179
b3fd4c06
SS
2180Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
2181
2182 * remote.c (remotebreak): New GDB variable.
2183 (remote_break): New global.
2184 (remote_interrupt): Send a break instead of ^C if remote_break.
2185 * NEWS: Describe the new variable.
2186
d2f5fa49
DE
2187Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
2188
2189 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
2190
8c038399
FF
2191Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
2192
2193 * hp300ux-nat.c (getpagesize): Remove unused function
2194 fetch_core_registers.
2195 (hp300ux_core_fns): Remove, is unused.
2196 (_initialize_core_hp300ux): Remove, is unused.
2197 (gdbcore.h): Remove #include, no longer needed.
2198
a0d76829
JL
2199Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
2200
2201 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
2202 ptrace bug in aix4.1.3 on the rs6000.
2203
b6768627
SS
2204Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
2205
2206 * remote-hms.c (hms_ops): Add value for to_thread_alive.
2207 * remote-nindy.c (nindy_ops): Ditto.
2208 * remote-udi.c (udi_ops): Ditto.
2209
090d784a
JSC
2210Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
2211
2212 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
2213 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
2214 pmon_load_fast): New functions. Support for the PMON monitor world.
2215 (common_open): New function to merge support for different monitors.
2216 (mips_open): Use common_open().
2217 (mips_send_command): New function.
2218 (mips_send_packet): Scan out-of-sequence packets.
2219 (mips_enter_debug, mips_exit_debug): New functions.
2220 (pmon_ops): New target definition structure.
2221
4e327047
TT
2222Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
2223
2224 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
2225 specified on the make command line (via make LIBS=xxx).
2226start-sanitize-gm
2227 * configure.in (enable-gm): magic.o -> gmagic.o.
2228end-sanitize-gm
2229
2230start-sanitize-gdbtk
2231Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
2232
2233 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
2234 (add_expr): Changes from create_expr_window.
2235 (create_command_window): Set focus.
2236 (delete_expr): Rewrote.
2237 (expr_update_button): New proc.
2238 (add_expr): Put bindings on FocusIn, FocusOut.
2239 Don't allow .file_popup to be torn off.
2240end-sanitize-gdbtk
2241
1aac3d3c
JL
2242Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
2243
2244 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
2245 is set but there are no psymtabs.
2246
c84e5000
SC
2247Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
2248
2249 * dsrec.c (load_srec): Remove unused variable.
1ef980b9 2250 * monitor.c (monitor_expect): Don't expect a ^C to echo.
c84e5000
SC
2251 * serial.c (serial_open): Add parallel interface.
2252 * sh3-rom.c (parallel, parallel_in_use): New.
2253 (sh3_load): If parallel_in_use, download though the
2254 parallel port.
2255 (sh3_open): Open parallel port if specified.
2256 (sh3_close): New function.
2257 (_inititalize_sh3): Add sh3_close hook and documentation.
2258 * monitor.c (monitor_close): Export.
2259 * monitor.h (monitor_close): Add prototype.
2260
2c441e7f
SS
2261Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
2262
2263 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
2264 * remote.c (remotetimeout): New GDB variable, use to set the
2265 remote timeout for reading.
2266
4e327047
TT
2267start-sanitize-gdbtk
2268Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
2269
2270 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
2271 (update_listing): Use lassign. Use "see" to scroll. Don't need
2272 screen_top, screen_bot, screen_height.
2273 (update_assembly): Use "see" to scroll.
2274 (textscrollproc): Removed.
2275 (create_file_win): Don't use textscrollproc.
2276 (asmscrollproc): Removed.
2277 (create_asm_window): Don't use asmscrollproc.
2278 (create_asm_win): Ditto.
2279 (screen_height, screen_top, screen_bot): Removed.
2280 (run_editor): New proc.
2281 (build_framework): Use it.
2282 (create_file_win, create_source_window): Don't use textscrollproc.
2283 (create_breakpoints_window): Set -xscrollcommand on canvas.
2284 (not_implemented_yet): Default button is 0.
2285 (delete_char): Don't use tk_textBackspace.
2286 (create_command_window): Allow Tk bindings to fire after deleting
2287 character.
2288 (create_command_window): Make Delete delete left, not right.
2289end-sanitize-gdbtk
2290
517cb8d7 2291Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cygnus.com>
3730a0ed
FF
2292
2293 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
2294 to get "struct core_fns" defined.
2295 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
2c441e7f 2296 Are dependent upon gdbcore_h.
3730a0ed 2297
7ef89313
PB
2298Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
2299
2300 * symfile.c (decrement_reading_symtab): New function.
2301 * symfile.c, symtab.h (currently_reading_symtab): New variable.
2302 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
2303 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
2304 currently_reading_symtab (since that could infinitely recurse).
2305
1c486a2b
PB
2306Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
2307
34cfa2da
PB
2308 * stabsread.c (read_struct_type): Trivial simplification.
2309
1c486a2b
PB
2310 * stabsread.c (define-symbol): Use invisible references
2311 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
34cfa2da 2312 * valops.c (call_function_by_hand): Likewise.
1c486a2b
PB
2313 * eval.c (evaluate_subexp_standard): When known, use the formal
2314 parameter type as the expected type when evaluating arg expressions.
2315 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
2316
4e327047
TT
2317start-sanitize-gdbtk
2318Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
2319
2320 * main.c (main): Disable window interface if --help or --version
2321 specified.
2322
2323 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
2324
2325 Changes in sync with expect:
2326 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
2327 CY_AC_PATH_TK.
2328 * aclocal.m4: Replaced with version from expect.
2329 * configure: Regenerated.
2330end-sanitize-gdbtk
a1df8e78 2331
a1956677
BK
2332Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
2333
2334 * configure.in, configure: Recognize rs6000-*-aix4*.
2335 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
2336 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
2337 * config/rs6000/xm-aix4.h: New file.
2338 * config/xm-aix4.h: New file.
2339
3730a0ed 2340Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
0d14c7df
FF
2341
2342 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
2343 * gdbserver/low-linux.c: New file.
2344 * remote.c (remote_read_bytes): Fix aborts on larger packets.
2345
2346 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
2347 Define.
2348 * stabsread.c (define_symbol): If register value is too large,
2349 tell what it is and what max is.
2350
4e327047
TT
2351start-sanitize-gdbtk
2352Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
2353
2354 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
2355 gdbtk_tcl_flush): Use "see", not "yview".
2356 (gdbtk_tcl_query): Use questhead bitmap.
2357 various: Always wrap condition of 'if' in {...}.
2358 (add_breakpoint_frame): Set -value on radiobuttons.
2359 (lassign): New proc.
2360 (add_breakpoint_frame): Use lassign, not series of assignments.
2361 (decr): Made faster.
2362 (interactive_cmd): Use "see", not "yview".
2363 (not_implemented_yet): Use warning bitmap.
2364 (update_expr): Don't allow $expr to be evalled by Tcl.
2365 (create_expr_window): Don't use "focus".
2366 (delete_char, delete_line): Define globally.
2367 (delete_line, delete_char, create_command_window, update_autocmd,
2368 build_framework, create_asm_win, create_file_win): Use "see", not
2369 "yview".
2370 (create_copyright_window, center_window, bind_widget_after_class):
2371 New procs.
2372 (FSBox,create_command_window, create_autocmd_window): Binding
2373 changes for Tk4.
2374 (textscrollproc): Define globally.
2375 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
2376 Home, End, Up, and Down are all defined by Tk.
2377 (apply_filespec): Use error bitmap in dialog.
2378 (files_command): Don't use tk_listboxSingleSelect.
2379 (files_command): Don't use "uniq" to remove duplicates from a
2380 list.
2381 (update_assembly): Use lassign.
2382 (create_asm_win): Removed redundant bindings.
2383 (listing_window_button_1, file_popup_menu): Use tk_popup.
2384 (ButtonRelease-1 binding): Just remove tag from window; rest
2385 handled by Tk.
2386
2387 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
2388 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
2389 (gdbtk_call_command): Ditto.
2390end-sanitize-gdbtk
2391
60d5a517
JL
2392Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
2393
2394 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
2395 enum namespace -> enum_namespace change.
2396
d1f5c804
WM
2397Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2398
2c441e7f
SS
2399 * ch-exp.c (parse_primval): In case ARRAY, add missing
2400 FORWARD_TOKEN ().
d1f5c804 2401
1f233758
SS
2402Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
2403
2404 * remote-mips.c (mips_receive_header): Recognize \012 instead
2405 of \n, but write \n when program sends a \012.
2406 * ser-mac.c (mac_input_buffer): Increase size of buffer.
2407
ed3b618d
JL
2408Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
2409
2410 * infptrace.c (initialize_infptrace): Move function out of
2411 #ifdef conditional; put code within the function inside an
2412 #ifdef conditional.
436d4143
JL
2413
2414 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
2415 arguments. Sorting is now dependent on OBJF_REORDERED. All
2416 callers/references changed.
2417 * dbxread.c (read_ofile_symtab): Correctly determine value for
2418 last_source_start_addr for reordered executables.
2419 (process_one_symbol): Handle N_FUN with no name as an end of
2420 function marker.
2421 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
2422 is the high text address for a psymtab.
2423 (case N_SO): Likewise.
2424 (case N_FUN): Handle N_FUN with no name as an end of function
2425 marker.
2426 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
2427 at the same address rather than a random subset of them.
2428 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
2429 * elfread.c (elf_symfile_init): Similarly.
2430 * somread.c (som_symfile_init): Similarly.
2431 * xcoffread.c (xcoff_symfile_init): Similarly.
2432
5351b2a0
SG
2433Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
2434
2435 * stack.c (print_stack_frame print_frame_info) symmisc.c
2436 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
2437 that catch_errors doesn't get blindsided by QUIT and lose the
2438 cleanup chain. This fixes a problem where ^C while in a
2439 user-defined command sometimes leaves instream NULL and causes a
2440 segfault in command_loop.
2441
127841e4
BK
2442Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
2443
2444 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
2445
6b4fe21d
SC
2446Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
2447
2448 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
2449 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
2450 srec.o renamed to dsrec.o.
2451
0fe1522a
SG
2452Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
2453
2454 * breakpoint.c (remove_breakpoint): Change error to warning so
2455 that hardware watchpoint removal problems won't leave breakpoint
2456 traps in the target.
d039321c 2457start-sanitize-gdbtk
0fe1522a 2458 * configure configure.in: Make --enable-gdbtk be the default.
d039321c 2459end-sanitize-gdbtk
0fe1522a
SG
2460 * remote-e7000.c (e7000_insert_breakpoint,
2461 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
2462 breakpoints.
2463 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
2464 compensate for e7000 maladjustment.
2465 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
2466 which prevented hardware watchpoints from working.
2467
517cb8d7 2468Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cygnus.com>
7531f36e
FF
2469
2470 * infptrace.c (udot_info): New function.
2471 (PT_*): Define each individually if that one is not defined.
7531f36e
FF
2472 * rs6000-nat.c (kernel_u_size): New function
2473 Include <sys/user.h> for "struct user"
7531f36e
FF
2474 * alpha-nat.c (kernel_u_size): New function.
2475 Include <sys/user.h> for "struct user"
7531f36e
FF
2476 * sparc-nat.c (kernel_u_size): New function.
2477 Include <sys/user.h> for "struct user"
7531f36e 2478 * i386b-nat.c (kernel_u_size): New function.
7531f36e 2479 * i386v-nat.c (kernel_u_size): New function.
7531f36e
FF
2480 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
2481 (kernel_u_size): Declare.
7531f36e
FF
2482 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
2483 (kernel_u_size): Declare.
7531f36e
FF
2484 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
2485 (kernel_u_size): Declare.
7531f36e
FF
2486 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
2487 (kernel_u_size): Declare.
7531f36e
FF
2488 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
2489 (kernel_u_size): Declare.
7531f36e 2490
1750a5ef
SC
2491Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
2492
2493 * mdebugread.c (mylookup_symbol): enum namespace becomes
2494 enum_namespace type.
2495 * symfile.c (add_psymbol_to_list)
2496 (add_psymbol_addr_to_list): Ditto.
2497 * symtab.c (lookup_partial_symbol): Ditto.
2498 (lookup_symbol): Ditto.
2499 (lookup_block_symbol): Ditto.
2500 * win32-nat.c (handle_load_dll): Use incoming dll base.
2501 (child_wait): Catch DLL load errors.
2502 (create_child_inferior): Translated between paths correctly.
2503
e33aefba
FF
2504Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
2505
2506 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
2507 from NUM_REGS to get number of general registers that we care about.
e33aefba
FF
2508 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
2509 of number of general regs and number of floating point regs.
e33aefba 2510
e02a2ad9
SC
2511Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
2512
a3b64bf9
SC
2513 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
2514 (SKIP_TRAMPOLINE_CODE): New.
2515 * config/i386/xm-win32.h (CANT_FORK): Deleted.
2516 (SLASH*) Changed to use unix style slash.
e02a2ad9
SC
2517 * symtab.h (namespace enum): becomes typedef to avoid namespace
2518 collision in C++.
2519 * infcmd.c (path_command): Use empty string if PATH name not set.
2520 * i386-tdep.c (skip_trampoline_code): New function.
2521 * srec.c: Renamed dsrec.c to avoid filename collision.
2522 * Makefile.in: Cope with renaming.
e02a2ad9 2523
ef4d6187 2524Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
5eccb7dc 2525
ef4d6187
FF
2526 * symmisc.c (print_objfile_statistics): Print memory use statistics
2527 for objfile psymbol, symbol, and type obstacks.
5eccb7dc 2528
ef4d6187 2529Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
3dcd429f 2530
ef4d6187
FF
2531 * config/mips/nm-irix5.h: Restore.
2532 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
2533 from Lee Iverson <leei@ai.sri.com>.
2534 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
2535 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3dcd429f 2536
ef4d6187 2537For older changes see ChangeLog-95
bd5635a1
RP
2538\f
2539Local Variables:
2540mode: indented-text
2541left-margin: 8
2542fill-column: 74
2543version-control: never
2544End:
This page took 0.808162 seconds and 4 git commands to generate.