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