check in ChangeLog entry for kung change
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
33f00b44
JK
1Wed Sep 29 10:52:19 1993 Kung Hsu (kung@cygnus.com)
2
3 * c-valprint.c: to fix virtual table print bug (pr2695).
4
49781499
JK
5Wed Sep 29 10:52:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6
7 * target.c (target_detach): Call generic_mourn_inferior.
8 * inflow.c (generic_mourn_inferior): Call flush_cached_frames.
9
0ccbaadc
JK
10Tue Sep 28 23:08:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11
898140fe 12 * dbxread.c, coffread.c, elfread.c: A few changes to comments.
0ccbaadc 13
b5b186a2
SS
14Tue Sep 28 18:39:37 1993 Stan Shebs (shebs@rtl.cygnus.com)
15
16 * configure.in: Rename ...-lynx* to ...-lynxos*.
17 Add m68*-*-lynxos* configuration.
18 * dbxread.c (coffstab_build_psymtabs): New function,
19 interfaces coffread.c to dbxread functions.
20 * coffread.c (coff_symfile_info): Expand to include
21 dbx_symfile_info slots.
22 (coff_symfile_init): Init coff_symfile_info struct.
23 (coff_locate_sections): New functions, finds the stab and stabstr
24 sections.
25 (coff_symfile_read): Call coffstab_build_psymtabs if a stab
26 section is present.
27 (coff_section_offsets): Replace fake version with real offsets.
28
f1ca2bdf
JK
29Tue Sep 28 18:00:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30
31 * infcmd.c (run_stack_dummy): Set the frame in the bp_call_dummy
32 breakpoint.
33
01f5ed6d
ILT
34Tue Sep 28 17:53:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
35
36 * config/nm-sysv4.h: Include solib.h. Define SVR4_SHARED_LIBS.
37 * config/tm-sysv4.h: Don't include solib.h.
38 * config/xm-sysv4.h: Don't define SVR4_SHARED_LIBS.
39 * config/i386/i386v4.mt (TDEPFILES): Move solib.o from here...
40 * config/i386/i386v4.mh (NATDEPFILES): ...to here.
41 * config/i386/nm-i386v4.h: Include nm-sysv4.h.
b5b186a2 42 * config/m68k/amix.mt (TDEPFILES): Move solib.o from here...
01f5ed6d
ILT
43 * config/m68k/amix.mh (NATDEPFILES): ...to here.
44
5573d7d4
JK
45Tue Sep 28 09:45:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
46
47 * symmisc.c (print_symbol): Use %02x not %2x for LOC_CONST_BYTES.
48
49 Clean up problems with targets and hosts that have 64 bit longs
50 and pointers and 32 bit ints.
51 * breakpoint.c, buildsym.c, c-lang.c, c-valprint.c, ch-lang.c,
52 ch-valprint.c, core.c, cp-valprint.c, dbxread.c, exec.c,
53 expprint.c, gdbtypes.c, infcmd.c, language.c, language.h,
54 m2-lang.c, maint.c, mips-tdep.c, mipsread.c, partial-stab.h,
55 printcmd.c, remote-vx.c, solib.c, source.c, stack.c, symfile.c,
56 symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
57 Change all printf formats from %x to %lx if outputting an address.
58 Change la_*_format to use long format.
59 local_hex_string, local_hex_string_custom now take an unsigned long
60 argument, change all callers.
61 * coffread.c (read_coff_symtab): Remove superfluous cast for
62 complaint output.
63 * dbxread.c (end_psymtab): Cast MSYMBOL_INFO to long, not int.
64 * findvar.c, value.h (write_register): Change register value to long.
65 * gdbtypes.h (struct type): Change `bitsize' to long as
66 TYPE_FIELD_STATIC_PHYSNAME uses this field as a pointer.
67 * inferior.h (struct inferior_status): Change type of stop_pc to
68 CORE_ADDR.
69 * language.h (local_octal_string, local_octal_string_custom):
70 Remove prototype, the functions are neither defined nor used.
71 * mipsread.c (parse_symbol): Use temporary variable for bitsize as
72 f->bitsize is a long now.
73 * objfiles.c (add_to_objfile_sections, build_objfile_section_table):
74 Use unsigned long casts instead of int for abusing sections_end
75 pointer as integer.
76 * stack.c (parse_frame_specification): Change type of `args' to
77 CORE_ADDR for SETUP_ARBITRARY_FRAME.
78
79 * printcmd.c (make_vasize): Allow redefinition via MAKEVA_SIZE.
80 * mipsread.c (parse_type): Alpha cc now supports the t->continued
81 bit, update algorithm to match the way the compiler uses it.
82
aca4585c
JK
83Tue Sep 28 12:05:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
84
85 * utils.c (fprintfi_filtered): Fix comments.
86
f0fcf00a
SG
87Mon Sep 27 18:10:08 1993 Stu Grossman (grossman at cygnus.com)
88
89 * coffread.c (read_coff_symtab): Don't call getfilename if there
90 are no auxents.
91
7fc6a6b5
JK
92Mon Sep 27 10:22:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
93
01d3fdba
JK
94 * symtab.c (find_pc_line): Fix comments.
95
7fc6a6b5
JK
96 * remote-udi.c (udi_mourn): Don't pop target.
97
d113e6b2
SG
98Fri Sep 24 17:25:41 1993 Stu Grossman (grossman at cygnus.com)
99
100 * corelow.c: Add multi thread/process support for core files with
101 .reg/XXX pseudo-sections.
102 * i386lynx-nat.c thread.h thread.c: Remove unnecessary core file
103 support.
104
114221b5
JK
105Thu Sep 23 10:49:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
106
d113e6b2
SG
107 * remote-udi.c (download): Skip zero length sections.
108
d4778d0f
JK
109 * valops.c (search_struct_method, value_struct_elt):
110 Use (value)-1, not -1, for error.
111
114221b5
JK
112 * infcmd.c (step_1), infrun.c (wait_for_inferior): Add comments
113 about SHIFT_INST_REGS.
114
115 * exec.c (exec_file_command): Set text_end based on all code readonly
116 sections, not just ".text".
117
118 * defs.h, infcmd.c, config/z8k/tm-z8k.h, config/m88k/tm-m88k.h,
119 config/sh/tm-sh.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
120 z8k-tdep.c: Remove all references to ADDR_BITS_SET.
121 * config/m88k/tm-m88k.h: Define TARGET_WRITE_PC.
122
abef03ce 123 * config/m88k/tm-m88k.h, m88k-tdep.c: Add call function stuff.
114221b5 124
8b52d486
PS
125Thu Sep 23 00:13:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
126
127 * config/mips/tm-mips.h (STORE_STRUCT_RETURN): Define as noop as
128 the pushing of the struct return address is already handled in
129 mips_push_arguments.
130 * mips-tdep.c (reinit_frame_cache_sfunc): Fix typo in prototype
131 declaration.
132 * mipsread.c (parse_symbol, parse_type, upgrade_type): Add more
133 sanity checks for corrupt symbol entries to avoid core dumps
134 reported by benson@odi.com. Obviously Ultrix 4.3A cc now has
135 the same problems as the OSF/1 alpha cc.
136 * mipsread.c (parse_lines): Iterate over the range of the compressed
137 line number entries, the old iteration sometimes failed to stop
138 and wrote past the end of the LINETABLE. Add sanity check to avoid
139 the same problem in case the line number info is corrupt.
140 * mipsread.c (parse_procedure): Adjust pdr for alpha __sigtramp.
141 * mipsread.c (parse_external, parse_partial_symbols): Ignore stNil
142 symbols that are produced for statics in .o files and stLocal symbols
143 that are produced for every section in OSF/1 dynamically linked
144 executables.
145 * mipsread.c (psymtab_to_symtab_1): Put out `undefined symbols'
146 warning only under `verbose on' as there are many undefined symbols
147 in a dynamically linked executable.
148
6deb63ab
JK
149Wed Sep 22 10:28:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
150
a9b35c67
JK
151 * config/i960/nindy960.mt: Don't define REMOTE_O; REMOTE_O was
152 intended only for VxWorks. Remove dcache.o from TDEPFILES now
153 that we pick it up from the default REMOTE_O.
154
bdef72d2
JK
155 * breakpoint.c (bpstat_what): Initialize retval.call_dummy and
156 retval.step_resume.
157
e797b4bc 158 * mips-tdep.c (mips_frame_chain): If frame size zero, return zero.
3f528883 159 * rs6000-tdep.c: Add comment about framelessness.
bdef72d2 160
6deb63ab
JK
161 * remote-nindy.c: Declare ninMemGet and ninMemPut.
162
b1eaba9a
SG
163Wed Sep 22 08:02:57 1993 Stu Grossman (grossman at cygnus.com)
164
165 * Makefile.in: Add i386lynx-tdep to the right places.
166 (TARDIRS): Add gdbserver.
167
168 * exec.c (print_section_info): Print entry point.
169 * i386lynx-nat.c (i386lynx_saved_pc_after_call): Move into
170 i386lynx-tdep.c. Add core file support.
171 * i386lynx-tdep.c: New module for Lynx/386 target dependant code.
172 * maint.c: Add `maint info sections' command to print info about all
173 sections that BFD knows about for exec and core files.
174 * sparc-tdep.c (sparc_push_dummy_frame): Update stack pointer
175 before putting frame on the stack. Consolidate writes to reduce
176 traffic for remote debugging.
177 * config/i386/i386lynx.mh (NATDEPFILES): Remove exec.o.
178 * config/i386/i386lynx.mt (TDEPFILES): Add exec.o, i386lynx-tdep.o.
179 * config/i386/nm-i386lynx.h: Add target_pid_to_str().
180 * config/i386/tm-i386lynx.h: Remove target_pid_to_str().
181 * sparclite/Makefile.in: Add deps to keep Sun make happy.
182
cb6b0202
JK
183Tue Sep 21 17:48:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
184
185 * breakpoint.h, breakpoint.c (bpstat_stop_status): Add new argument
186 not_a_breakpoint.
187 * infrun.c (wait_for_inferior): Pass it. Also consolidate the
188 test of whether we are stepping into a CURRENTLY_STEPPING macro.
189
817ac7f8
RP
190Tue Sep 21 17:22:34 1993 K. Richard Pixley (rich@sendai.cygnus.com)
191
192 * breakpoint.c (bpstat_stop_status),
193 infcmd.c (step_1),
cb6b0202
JK
194 infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef
195 and insert macro.
817ac7f8
RP
196
197 * m88k-tdep.c: include ieee-float.h. new global target_is_m88110.
198 new const struct ext_format_m88110 for float format.
199 (pic_prologue_code): add braces.
200 (next_insn): remove unused variable buf.
201 (frame_find_saved_regs): remove unused variables next_addr,
202 saved_regs, regnum.
203 (frame_locals_address): remove unused variables frame, ap.
204 (frame_args_address): remove unused variables frame, ap.
205 (push_parameters): add some breaks and a default case.
206
207 * remote-bug.c: remove redundant includes of value.h, target.h,
208 serial.h.
209 (bug_open): corrected typo, sr_multi_scan -> gr_multi_scan.
210 (bug_fetch_register): special case sfip register for m88110.
211 remove flag bit masking of pc registers. This should be handled
212 by the ADDR_BITS_* macros.
213 (bug_store_register): special case sfip register for m88110.
214 Corrected sprint format for extended registers.
215
216 * config/m88k/tm-m88k.h: white space and comment changes. include
217 ieee-float.h. expanded to cope with m88110 extended registers.
218 (R0_REGNUM, XFP_REGNUM, X0_REGNUM): new macros.
219 (SHIFT_INST_REGS): becomes a real macro.
220
bb7b3800
JK
221Tue Sep 21 17:48:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
222
223 * breakpoint.c (breakpoint_1): Support bp_call_dummy.
224
610a7e74
ILT
225Tue Sep 21 17:06:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
226
227 * elfread.c (record_minimal_symbol_and_info): Guess the section to
228 use from the type.
229 * objfiles.c: Include gdb-stabs.h for SECT_* macros.
230 (objfile_relocate): Relocate textlow and texthigh in psymtabs.
231 Relocate partial symbols. Check that minimal SYMBOL_SECTION is
232 nonnegative before using it.
233 * symtab.h: Adjust section field comment.
234
235 * remote.c (interrupt_query): New function.
236 (remote_interrupt_twice): Call interrupt_query.
237 (putpkt, getpkt): If quit_flag is set, call interrupt_query.
238 (remote_wait): Don't bother with objfile_relocate if the addresses
239 haven't changed.
240 (remote_fetch_registers): If we see a packet that doesn't start
241 with a hex character, fetch a new one.
242
8b05f64a
JK
243Tue Sep 21 11:44:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
244
e15f2a54
JK
245 * remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.
246
4ef6b451
JK
247 * printcmd.c (print_scalar_formatted): When truncating value we are
248 going to print as unsigned, handle it generally for any length
249 less than sizeof (LONGEST), rather than special-casing sizeof (char),
250 sizeof (short), and sizeof (long). Clarify comment on what this
251 is for.
252
8b05f64a
JK
253 * symfile.c (deduce_language_from_filename): Accept .cxx for C++.
254 * buildsym.c (start_subfile): Use deduce_language_from_filename
255 rather than checking for .C or .cc ourself.
256
424ab390
JK
257Mon Sep 20 14:53:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
258
1bef45ea
JK
259 * defs.h: Declare argument of re_comp as const char *.
260
66a48870
JK
261 * remote.c, remote-mips.c: Use sr_get_debug not remote_debug.
262
424ab390
JK
263 * README: Say using bfd from another release doesn't generally work.
264
84d59861
JK
265Sat Sep 18 10:13:18 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
266
1fdbc4d1
JK
267 * mipsread.c (parse_type): Don't complain() if we guessed struct
268 and it was a union, or vice versa.
269
84d59861
JK
270 * defs.h (make_cleanup): Change PTR to void * when inside PARAMS.
271
272 Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET.
273 * breakpoint.h (enum bptype): Add bp_call_dummy.
274 (struct bpstat_what): Add call_dummy field.
275 * infrun.c (wait_for_inferior): Deal with it.
276 * breakpoint.c (bpstat_what): Deal with call dummy breakpoint.
277 * infcmd.c (run_stack_dummy): Set the call dummy breakpoint.
278 * config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
40b92220
JK
279
280 * remote-sim.h: New file.
281 * remote-sim.c: Add remote debug feature. Rename stuff to distinguish
282 interface to simulator from gdb-specific stuff. Other changes.
283start-sanitize-v9
284 * remote-sp64sim.c: Renamed to remote-sim.c.
285 Use sr_get_debug instead of our own sim_verbose/simif_snoop.
286 Use gnutarget in call to bfd_openr.
287 Rename simif_* to gdbsim_*.
288 * config/sparc/sp64sim.mt: Change remote-sp64sim.c to remote-sim.c.
289end-sanitize-v9
290
30d20d15
PS
291Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
292
293 * findvar.c (extract_signed_integer): Cast *p to LONGEST before doing
294 the xor and subtract. Otherwise it will not sign extend if the type
295 of LONGEST is larger than int.
296 * cp-valprint.c (cp_print_class_method): Inhibit core dump if
297 domain is an undefined cross reference.
298 * valops.c (call_function_by_hand): Set real_pc to correct
299 value if CALL_DUMMY_LOCATION != ON_STACK.
300
f8efbf22
JK
301Thu Sep 16 20:37:06 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
302
303 * config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.
304
c9de302b
SG
305Thu Sep 16 13:16:22 1993 Stu Grossman (grossman at cygnus.com)
306
307 * infrun.c (wait_for_inferior): Allow user to single step within
308 a stack dummy.
309
2670a1dd
JK
310Thu Sep 16 12:34:01 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
311
312 * dbxread.c (copy_pending): Deal with END NULL.
313 (process_one_symbol): Add comments about what common_block NULL means.
314
ca0622e7
JK
315Wed Sep 15 14:50:26 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
316
317 * remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
318 to tm-a29k.h and a29k-tdep.c and make it an enum.
319 * a29k-tdep.c (a29k_get_processor_type): New function. Fix many
320 aspects of how we detected the processor type.
321 * remote-udi.c, remote-adapt.c, remote-mm.c (*_open): Call it
322 rather than figuring out the type ourselves.
323
f2e21136
SG
324Thu Sep 16 12:12:59 1993 Stu Grossman (grossman at cygnus.com)
325
326 * sparc-stub.c (_trap_low): Do restore/save sequence after
327 setting sp to ensure that we load the previous window from the
328 right place on the stack.
329
85999c05
PS
330Thu Sep 16 00:36:32 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
331
332 * mipsread.c: Many changes for alpha ecoff format:
333 Correct sizeof(int) == sizeof(long) assumptions.
334 Replace stParsed hack by putting the parsed types on the pending chain.
335 Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro,
336 provide default for cross debugging.
337 Swapping the symbol back is no longer needed as the symbol is not
338 modified anymore.
339 Add new alpha basic types, handle btTypedef, handle stStaticProc
340 external symbols .
341 Update and clean up cross_ref for alpha cc cross ref variations.
342 Allocate types on the type_obstack to inhibit storage leaks.
343 * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM): Define.
344 * gdbtypes.c (recursive_dump_type): Dump TYPE_TAG_NAME if it is set.
345
5ed0ccaf
JK
346Tue Sep 14 09:12:17 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
347
348 * stabsread.c (read_type): Process "s" (size) type attribute.
349 If type is defined to another type, copy the type.
350
aa8fe907
ILT
351Tue Sep 14 18:37:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
352
353 * config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
354 * config/i386/i386v4.mt (TDEPFILES): ...to here.
355
a94abe5b
RP
356Tue Sep 14 12:21:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
357
b70b042d
RP
358 * Makefile.in (remote_utils_h): add serial.h and target.h.
359 (main.o, remote-es.o, remote-nindy.o, remote.o): remove target.h
360 (already in remote_utils_h).
361 (remote-utils.o): new rule.
362
363 * remote-utils.h: include serial.h.
364
365 * serial.h: ifdef protect from multiple inclusion.
366
a94abe5b
RP
367 * remote.c, remote-nindy.c, remote-mon.c, remote-es.c: include
368 remote-utils.h.
369
370 * remote.c (remote_open), remote-nindy.c (nindy_open,
371 nindy_files_info), remote-mon.c (general_open), remote-es.c
372 (es1800_open): use remote-utils facilities for baud rate.
373
899931b6
JK
374Tue Sep 14 09:12:17 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
375
5ed0ccaf 376 * paread.c, coffread.c, elfread.c, dwarfread.c:
ddf5d7e8 377 Include <time.h> and <sys/types.h> before libbfd.h.
1225fcbd
JK
378
379 * paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
380
899931b6
JK
381 * Makefile.in (a29k-tdep.o): Depend on $(defs_h).
382 * config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
383 if this is a transparent procedure.
384
55fea07b
JK
385Mon Sep 13 16:06:43 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
386
387 * remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary
388 hack so this file compiles again.
389
390 * remote-utils.c (gr_multi_scan): Cast return value from alloca.
391 (gr_multi_scan): #if 0 never-reached return(-1).
392
393 * remote-udi.c (udi_wait): Return inferior_pid not 0.
394
c6f494e8
RP
395Mon Sep 13 14:14:35 1993 K. Richard Pixley (rich@sendai.cygnus.com)
396
397 Collect some remote things into remote-utils.
398 * remote-utils.[ch]: new files of functions collected from several
399 different remote targets.
400 * Makefile.in (REMOTE_O): add remote-utils.o.
401 (dcache_h, remote_utils_h): new macros.
402 (HFILES): add $(remote_utils_h).
403 (ALLDEPFILES): add $(remote_utils_h).
404 (dcache.o): new rule.
405 (main.o, remote-bug.o): also depend on $(remote_utils_h).
406 * target.h (remote_debug): extern moved to remote-utils.h.
407 * target.c (find_default_run_target, find_core_target): initialize
408 runable.
409 (remote_debug): moved to remote-utils.c.
410 (_initialize_targets): move declaration of user variable
411 remotedebug to remote-utils.c.
412 * remote-bug.c: include remote-utils.h rather than dcache.h.
413 (bug_close, bug_write, bug_write_cr, desc, bug_dcache, timeout,
414 dev_name, check_open, is_open, readchar, readchar_nofail,
415 pollchar, expect, expect_prompt, get_hex_digit, get_hex_byte,
416 get_hex_word, bug_kill, bug_detach, bug_create_inferior,
417 multi-scan, bug_prepare_to_store, bug_fetch_word,
418 bug_store_word, bug_files_info, bug_mourn, bug_com, bug_device,
419 bug_speed): removed and replaced with facilities from
420 remote-utils.[ch].
421 (bug_read_inferior_memory): renamed to bug_read_memory.
422 (bug_write_inferior_memory): renamed to bug_write_memory.
423 (bug_xfer_inferior_memory): renamed to bug_xfer_memory.
424 (get_word): comment out this unused function for now.
425 (bug_settings, cpu_check_strings): new statics.
426 (bug_open): rewritten to use gr_open.
427 (_initialize_remote_bug): remove declarations of commands bug,
428 device, speed.
429 * main.c: include remote-utils.h.
430 (baud_rate): removed to remote-utils.c.
431 (main): handle baud rate settings using new facilities from
432 remote-utils.
433 * defs.h (baud_rate): removed extern.
434
435 m88110 support via bug-197 monitor.
436 * remote-bug.c (get_reg_name, bug_fetch_register,
437 bug_store_register): added m88110 extended register support.
438 (wait_strings): added bug-197 prompt.
439 (bug_wait): cope with bug-197 prompt.
440 (start_load): cope with either bug-197 or bug-187 prompt.
441
e3c16900
JK
442Mon Sep 13 12:53:09 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
443
37c99ddb
JK
444 * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
445 pc_changed. If it was ever set to a non-zero value, it was before
446 GDB 2.8. It doesn't seem to have any useful function.
447
e3c16900
JK
448 * defs.h: Don't define NORETURN (see comment).
449
450Sat Sep 11 10:46:09 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
451
452 * m88k-nat.c (fill_gregset): Set r31 and sfip.
453
f46ffb9e
JK
454Thu Sep 9 10:18:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
455
456 * remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
457 getchar() (terminated only on '\n') instead of scanf. Send the
458 '\n' which terminates it to the remote system.
459
460 More gcc lint:
461 * exec.c (ignore): Return 0.
462 * stack.c (return_command): Fetch lazy value directly, not via
463 VALUE_CONTENTS, to avoid "value computed is not used".
464 * inflow.c (new_tty): Move osigttou inside #if.
465
466 * remote.c (remote_fetch_registers): If remote reply is short, just
467 note that fact and keep going (reading extra registers as all bits 0).
468 (remote_store_registers): Send number of registers that were found
469 by remote_fetch_registers.
470 * m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove
471 HAVE_68881. Define CANNOT_STORE_REGISTER if ptrace() can't write
472 floating registers.
473 * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}:
474 Remove, replaced by {tm-m68k-em.h,m68k-em.mt}.
475 * Makefile.in, configure.in: Change accordingly.
476
da398610
PS
477Thu Sep 9 04:59:03 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
478
479 * mipsread.c (cross_ref): Allow SGI extended symbol types as cross
480 reference targets.
f46ffb9e 481 * symmisc.c (print_symbol): Use TYPE_TAG_NAME not TYPE_NAME to avoid
da398610
PS
482 printing of identities.
483
93bb0afa
JK
484Wed Sep 8 19:18:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
485
486 * breakpoint.c (breakpoint_1): Deal with step resume breakpoint.
487
46c28185
RP
488Wed Sep 8 13:01:10 1993 K. Richard Pixley (rich@cygnus.com)
489
490 Gcc lint.
89812a0e
RP
491 * config/m88k/tm-m88k.h (frame_find_saved_regs): prototype.
492 * config/h8300/tm-h8300.h (NUM_REGS): rewrite to avoid nested comment.
fee933f1
RP
493 * blockframe.c (get_prev_frame_info): initialize address.
494 * breakpoint.c (bpstat_copy): initialize retval.
495 (bpstat_stop_status): initialize value_is_zero.
496 (bpstat_what): initialize bs_class.
497 (breakpoint_1, mention): add do-nothing case for bp_step_resume.
498 (break_command_1): initialize cond_end, addr_end, &
499 canonical_strings_chain.
500 (enable_breakpoint): initialize save_selected_frame.
501 * buildsym.c (end_symtab): initialize symtab & linetablesize.
72cd0384
RP
502 * c-exp.y (parse_number): initialize i.
503 * c-typeprint.c (c_type_print_varspec_prefix): include
504 TYPE_CODE_BITSTRING in switch statements and do nothing.
505 * c-valprint.c (c_val_print): removed unused variable c.
506 * ch-valprint.c (chill_val_print): removed unused variable eltlen.
507 * cp-valprint.c (cp_print_class_method): initialize f & j.
508 * eval.c (evaluate_subexp): initialize pc2, arg1, arg2.
509 * expprint.c (print_subexp): initialize myprec, assoc, & tempstr.
6406a867
RP
510 * findvar.c (value_from_register): initialize first_addr.
511 * gdbtypes.c (lookup_struct_elt_type): localize use of temporary
512 variable typename.
513 * infcmd.c (run_stack_dummy): return zero rather than simple
514 return.
e7bf1152
RP
515 * infrun.c (wait_for_inferior): initialize stop_sp, prologue_pc.
516 remove symtab, appears unused.
517 (restore_selected_frame): return 1.
518 * mipsread.c (psymtab_to_symtab_1): initialize first_off.
519 (fixup_sigtramp): initialize b0.
0ac0a9f6
RP
520 * printcmd.c (do_examine): initialize val_type.
521 (print_frame_args): initialize b.
522 * ser-tcp.c (tcp_restore): comment out declaration. Appears
523 unused.
524 * ser-unix.c (hardwire_restore): comment out declaration. Appears
525 unused.
526 (hardwire_send_break): moved variable status into ifdef
527 HAVE_SGTTY.
528 (wait_for): moved variable numfds into ifdef HAVE_SGTTY.
529 * serial.h: comment change only.
530 * stabsread.c (rs6000_builtin_type): initialize rettype.
531 (read_range_type): initialize nbits.
46c28185
RP
532 * stack.c (print_frame_info): remove unused variable numargs.
533 (parse_frame_specification): remove unused variables arg1, arg2,
534 arg3.
535 (return_command): initialize return_value.
536 * symfile.c (cashier_psymtab): initialize pprev.
537 * symtab.c (find_pc_psymbol): initialize best.
538 (lookup_symbol): initialize s.
539 (make_symbol_completion_list): initialize quote_pos.
540 * thread.c: include command.h.
541 (thread_info): static declaration removed; unused.
542 (info_threads_command): fix == vs = typo.
543 * typeprint.c (whatis_exp): initialize old_chain.
544 * valprint.c (val_print_string): remove unused variable
545 first_addr_err. Initialize old_chain.
546 (_initialize_valprint): white space comment change.
547 * values.c (show_values): rewrite if statement to avoid empty
548 body.
549 (vb_match): remove unused variable fieldtype_target_type.
550
bf660885
JK
551Wed Sep 8 10:21:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
552
553 * Makefile.in (mipsread.o): Depend on $(bfd_h).
554
ed1a07ad
JK
555Tue Sep 7 13:06:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
556
8467b446
JK
557 * gdbserver/Makefile.in (TAGS): config files are in
558 $(srcdir)/../config, not $(srcdir)/config.
559
ed1a07ad 560 * config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
bf660885 561 (STORE_RETURN_VALUE): Pass the correct offset of the return
ed1a07ad
JK
562 register to write_register_bytes.
563 * hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
564
4a87a64a
ILT
565Tue Sep 7 14:30:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
566
4f8a48e5
ILT
567 * remote.c (remote_wait): Don't call error. Instead, call warning
568 inside a loop. User can ^C to get out.
569
4a87a64a
ILT
570 * config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
571 routine to match BFD name change.
572 * config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.
573
538b2068
JW
574Mon Sep 6 15:01:57 1993 Jeffrey Wheat (cassidy@cygnus.com)
575
576 * elfread.c: change elf32_symbol_type to elf_symbol_type
577
758aeb93
ILT
578Mon Sep 6 15:43:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
579
580 * remote.c (remote_wait): Added 'W' and 'N' responses.
581
ac7a377f
JK
582Fri Sep 3 08:57:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
583
9e19dee1
JK
584 * main.c, utils.c: Add comments about immediate_quit.
585
5ec3ba25
JK
586 * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
587 to minimal symbols.
588
38c5f504
JK
589 * target.c (pop_target): Don't try to deal with the stack becoming
590 empty. Shouldn't happen and the code that tried was broken.
591
ac7a377f
JK
592 * dcache.c: Cast return value from xmalloc.
593
594 * remote.c: Move setting of immediate_quit from remote_open to
595 remote_start_dummy and set it back to zero when done.
596
22202966
JK
597Thu Sep 2 00:07:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
598
eba94f7d
JK
599 * m88k-tdep.c: Remove a bunch of unused #includes.
600
a3178c64
JK
601 * language.h: Add comment about current_language.
602
fb27a962
JK
603 * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
604 from var_uinteger to var_zinteger.
605
f9440640
JK
606 * configure.in: Fix typo (delta88r4 -> delta88v4).
607
608 * config/m88k/xm-delta88.h: Don't include sys/siginfo.h. It was
609 to make this work on SVR4 before SVR4 had its own configuration,
610 and it breaks SVR3.
611
612 * config/m88k/tm-delta88v4.h: Define FRAME_CHAIN_VALID_ALTERNATE.
613
7f5a51a4
JK
614 * config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
615
22202966 616 * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
d9a23ef7 617 * config/m88k/m88k.mh: Use xm-dgux.h.
22202966
JK
618 * config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
619 MAKEVA_END and MAKEVA_ARG.
620 * config/m88k/xm-*.h: Include m88k/xm-m88k.h.
621 * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
622
996ccb30
JK
623Wed Sep 1 19:31:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
624
a80193ba
JK
625 * remote-udi.c (udi_wait): Call `warning' not `error'.
626
67a64bec
JK
627 * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
628 demangling, don't put the mangled form in the completion list.
629
996ccb30
JK
630 * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
631 symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
632 partial-stab.h, symmisc.c, gdbtypes.c: Lint. Remove (or put
633 inside #if) unused variables and labels. Fix unclosed comment.
634 Deal with enumeration values unhandled in switch statements. Make
635 sure non-void functions return values. Include appropriate
636 headers.
637 * dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
638 value < 0.
639
c398de0c
RP
640Wed Sep 1 14:36:00 1993 K. Richard Pixley (rich@sendai.cygnus.com)
641
642 * i960-tdep.c, ns32k-pinsn.c, remote-adapt.c, xcoffread.c:
643 index -> strchr.
644
98105ba2
JK
645Wed Sep 1 11:35:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
646
647 * remote.c: Add comment explaining why dcache is disabled.
648 (remote_fetch_word, remote_store_word): Make static and #if 0.
649 They are not called from anywhere.
650
651Wed Sep 1 14:41:28 1993 K. Richard Pixley (rich@sendai.cygnus.com)
4ed97c9a
RP
652
653 * arm-tdep.c, convex-tdep.c, convex-xdep.c, dbxread.c,
654 h8300-tdep.c, h8500-tdep.c, i960-pinsn.c, i960-tdep.c,
655 infptrace.c, m88k-tdep.c, mips-tdep.c, regex.c, remote-vx.c,
656 rs6000-tdep.c, xcoffexec.c, xcoffread.c, z8k-tdep.c,
657 config/arm/tm-arm.h, config/convex/tm-convex.h,
658 config/gould/tm-np1.h, config/gould/tm-pn.h,
659 config/m68k/tm-isi.h, config/ns32k/tm-umax.h,
660 config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
661 config/rs6000/tm-rs6000.h, config/tahoe/tm-tahoe.h,
662 config/vax/tm-vax.h: bzero -> memset.
9823e3f4
RP
663
664 * regex.c: bcmp -> memcmp.
665
c438b3af
JK
666Wed Sep 1 11:35:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
667
98105ba2
JK
668 * symtab.c (find_pc_line, find_line_common),
669 symtab.h (struct linetable), xcoffread.c (arrange_linetable):
c438b3af
JK
670 Revise comments re linetable sorting.
671 * buildsym.c (compare_line_numbers): Sort by pc, not by line.
672 * coffread.c: Tell end_symtab to sort the line table.
673
674 * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
675 in buildsym.c. This includes coff_finish_block, coff_context_stack,
676 coff_local_symbols, coff_file_symbols, coff_global_symbols,
677 coff_end_symtab and coff_add_symbol_to_list.
678 (read_enum_type): Deal with it now that we have a "struct pending"
679 not a "struct coff_pending".
680
681 * buildsym.c (end_symtab): Don't realloc subfile->linetable.
682
ade40d31
RP
683Wed Sep 1 13:12:43 1993 K. Richard Pixley (rich@sendai.cygnus.com)
684
685 * a68v-nat.c, altos-xdep.c, convex-tdep.c, convex-xdep.c,
686 findvar.c, hppab-nat.c, hppah-nat.c, i386mach-nat.c,
687 irix4-nat.c, m68k-tdep.c, m88k-tdep.c, mipsread.c, regex.c,
688 remote-bug.c, remote-hms.c, rs6000-nat.c, rs6000-tdep.c,
689 sparc-nat.c, stabsread.c, sun3-nat.c, sun386-nat.c, symfile.c,
690 umax-xdep.c, xcoffread.c, 29k-share/udi/udip2soc.c,
691 29k-share/udi/udr.c, config/a29k/tm-a29k.h, config/arm/tm-arm.h,
692 config/convex/tm-convex.h, config/gould/tm-np1.h,
693 config/gould/tm-pn.h, config/h8300/tm-h8300.h,
694 config/h8500/tm-h8500.h, config/i386/tm-i386aix.h,
695 config/i386/tm-sun386.h, config/i386/tm-symmetry.h,
696 config/i960/tm-i960.h, config/m68k/tm-news.h,
697 config/m88k/tm-m88k.h, config/mips/tm-mips.h,
698 config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
699 config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
700 config/rs6000/tm-rs6000.h, config/sh/tm-sh.h,
701 config/tahoe/tm-tahoe.h, config/vax/tm-vax.h,
4ed97c9a 702 config/z8k/tm-z8k.h, nindy-share/nindy.c: bcopy -> memcpy.
ade40d31 703
e7e02420
PS
704Wed Sep 1 05:05:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
705
706 * mipsread.c (parse_partial_symbols): Use language from FDR if it
707 is unambigous. Patch from ptf@delcam.co.uk (Paul Flinders).
708 * mipsread.c (ecoff_symfile_info): New struct to hold the global
709 pending_list.
710 * mipsread.c (mipscoff_symfile_init, parse_partial_symbols):
711 Allocate the global pending list and link it to the objfile.
712 * mipsread.c (is_pending_symbol, add_pending): Use global pending
713 list from objfile. Allocate pending list entries from the
714 psymbol_obstack.
715 * mipsread.c (free_pending): Remove. The pending list is now
716 freed when the psymbol_obstack is freed.
717 * mipsread.c (psymtab_to_symtab1): Remove pending list allocation,
718 the global pending list is used now.
719 * mipsread.c (parse_partial_symbols): Skip only the first
720 file indirect entry when building the dependency list.
721
755892d6
RP
722Tue Aug 31 15:01:27 1993 K. Richard Pixley (rich@sendai.cygnus.com)
723
d538b510
RP
724 Break dcache code out of remote.c.
725 * dcache.h: white space changes only.
726 * dcache.c: add user settable variable to set whether data caching
727 is in use.
728 * remote.c: include dcache.h. removed data caching code which is
729 now in dcache.c. Compile in data caching again. (data caching
730 is currently off by default.)
731 (remote_read_bytes, remote_write_bytes): change second arg to
732 unsigned char.
733 (remote_dcache): new static variable.
734 * Makefile.in (REMOTE_O): add dcache.o.
735 * config/m88k/m88k.mt (TDEPFILES): removed dcache.o.
736
5a0a463f
RP
737 Break dcache code out of remote-nindy.c.
738 * remote-nindy.c: removed dcache code. Changed callers to use new
739 conventions. include dcache.h.
740 (nindy_dcache): new static variable.
741 * config/i960/nindy960.mt (TDEPFILES): added dcache.o.
742
755892d6
RP
743 Break dcache code out of remote-bug.c into dcache.[hc].
744 * Makefile.in (dcache_h): new macro.
745 (HFILES): added $(dcache_h).
746 (ALLDEPFILES): added dcache.c.
747 (dcache.o): new rule.
748 (remote-bug.o): now depends on $(dcache_h).
749 * remote-bug.c: include dcache.h. remove externs for insque and
750 remque, add extern for bcopy. Prototype bug_close,
751 bug_clear_breakpoints, bug_write_cr. dcache code moved to
752 dcache.[hc]. Changed dcache calling convention to include an
753 initial DCACHE argument.
754 (bug_dcache): new static variable.
755 (bug_read_inferior_memory): change second arg to
756 unsigned char.
757 * dcache.[ch]: new files.
758 * config/m88k/m88k.mt (TDEPFILES): add dcache.o.
759
875fc229
JK
760Tue Aug 31 10:33:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
761
762 * c-typeprint.c (c_print_type_base): Treat show = 0 just like
763 show < 0. The only case where we had been distinguishing is that
764 show = 0 used to print "struct " or "enum " instead of
765 "struct {...}" or "enum {...}" which seems clearly wrong.
766
df429798
RP
767Mon Aug 30 17:51:32 1993 K. Richard Pixley (rich@sendai.cygnus.com)
768
769 * configure.in: recognize m88110 as an m88k.
770
b556573d
JK
771Mon Aug 30 16:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
772
773 * valops.c (call_function_by_hand): If we discard cleanups, call
774 bpstat_clear (&inf_status.stop_bpstat).
775
cbba020f
PS
776Mon Aug 30 12:47:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
777
778 * stabsread.h, dbxread.c (end_psymtab): Return NULL if the psymtab
779 was empty and thrown away.
780 * mipsread.c (parse_partial_symbols): Do not add empty psymtabs to
781 dependency list, skip self dependencies.
782 * mipsread.c (parse_fdr): Removed, obsolete.
783 * mipsread.c (parse_lines): Check for cbLine being zero, not
784 cbLineOffset.
785 * mipsread.c (struct symloc): Add pst_language.
b556573d
JK
786 * mipsread.c (parse_partial_symbols): Set up proper language for
787 header files, save it in pst_language for psymtab_to_symtab_1.
cbba020f
PS
788 * mipsread.c (psymtab_to_symtab_1): Use pst_language.
789
d86a7c57
JK
790Mon Aug 30 10:48:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
791
792 * configure.in: Fix typo m88*-motorola-svr4* -> sysv4*.
793
61a29659
KR
794Fri Aug 27 17:09:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
795
796 * paread.c: Include som.h instead of libhppa.h. (From Utah.)
797
c033ec17
JK
798Fri Aug 27 09:30:40 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
799
13bd9622
JK
800 * symmisc.c (dump_symtab): Use catch_errors around print_symbol.
801 Change calling sequence of print_symbol to fit catch_errors.
802
427fec5d
JK
803 * mips-tdep.c: Call reinit_frame_cache every time the user does
804 "set heuristic-fence-post".
805
20bee06d
JK
806 * gdbserver/low-sun3.c: New file.
807 * gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly.
808
c033ec17
JK
809 * Rename files for 14-character limits:
810 gdbserver/remote-gutils.c -> gdbserver/utils.c
811 gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
812 gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
813 gdbserver/remote-server.c -> gdbserver/server.c
814 remote-monitor.c -> remote-mon.c
f1538274
JK
815 * Makefile.in, gdbserver/Makefile.in, gdbserver/configure.in,
816 config/m68k/monitor.mt, config/i386/i386lynx.mh,
817 config/sparc/sun4os4.mh: Change accordingly.
c033ec17
JK
818 * gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.
819
eb03abe8
JK
820Thu Aug 26 14:32:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
821
860a1754
JK
822 * infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
823 besides the dummy, return 1 rather than calling error().
824 Let caller print the error message. Remove name argument.
825 * valops.c (call_function_by_hand): Deal with changes to calling
826 sequence of run_stack_dummy. Discard restore_inferior_status cleanup
827 if run_stack_dummy returns 1.
828
829 * Version 4.10.2.
830
831 * config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
832 Get struct return address from v0, not a0.
833
eb03abe8
JK
834 * infrun.c (restore_inferior_status): Use catch_errors when
835 restoring selected frame.
836
837Wed Aug 25 21:52:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
838
839 * infrun.c (save_inferior_status, restore_inferior_status):
840 Save and restore the registers too.
841 * inferior.h (struct inferior_status): Add "registers".
842
41a6194d
JK
843Tue Aug 24 00:36:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
844
fb2fc3b6
JK
845 * dbxread.c (end_psymtab): Clean up comment.
846
847 * frame.h, symtab.h, findvar.c (read_var_value): Change basereg
848 support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID.
a1c8d76e 849 * dwarfread.c: Use LOC_BASEREG where appropriate.
fb2fc3b6
JK
850 * Various: Support LOC_BASEREG and LOC_BASEREG_ARG.
851
9c75ce9f
JK
852 * coffread.c (init_lineno, init_stringtab): Don't check whether
853 xmalloc returned NULL.
854
0e646bd5
JK
855 * config/vax/xm-vaxult.h: Define NO_PTRACE_H.
856
41a6194d
JK
857 * target.c, target.h: Add "set remotedebug" command.
858 * remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
859 "set m88ksnoop" options and use generic "set remotedebug" instead.
860 * NEWS: Describe this change.
861
2731625a
JK
862Mon Aug 23 20:26:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
863
864 * buildsym.h: Remove declaration of dbxread.c functions.
865 * stabsread.h: Group together dbxread.c functions.
866 Move elfstab_build_psymtabs here from symfile.h.
867 Declare pastab_build_psymtabs.
868 * elfread.c, paread.c: Include stabsread.h (for stabsread_new_init
869 declaration, etc).
870
e0508fdc
RP
871Mon Aug 23 17:16:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
872
16f6ab6b
RP
873 * remote-bug.c: rename quiet to bug88k_snoop.
874 (double_scan, multi_scan): generalize double_scan into a scan
875 for multiple patterns. Rename to multi_scan.
876 (bug_wait, bug_write_inferior_memory): adapt to use the new
877 multi_scan in order to catch and represent target bus errors.
878 (bug_scan): currently unused, so comment out.
879 (bug_quiet): removed. Replaced with a standard user settable boolean.
880
e0508fdc
RP
881 * m88k-tdep.c: remove include of sys/dir.h. Appears unnecessary
882 and isn't available on solaris.
883
304977ab
JK
884Mon Aug 23 14:56:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
885
886 * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
887 * config/m88k/delta88.mh: Fix comment.
888 * config/m88k/tm-delta88.h: Remove unused BCS define.
889 * config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}:
890 New files.
891 * configure.in: Recognize m88*-motorola-sysv4*.
892 * m88k-nat.c: Always include sys/types.h; don't depend on USG.
893
f5d6b0c5
PS
894Mon Aug 23 12:57:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
895
304977ab
JK
896 * mipsread.c (parse_symbol, parse_type, cross_ref): Pass name of
897 symbol as an argument and use it in complaints.
f5d6b0c5
PS
898 * symmisc.c (dump_psymtab): Dump filenames of dependencies.
899
a6565079
JK
900Mon Aug 23 1993 Sean Fagan (sef@cygnus.com)
901 and Jim Kingdon (kingdon@cygnus.com)
902
903 Add NetBSD support:
904 * configure.in: Recognize netbsd.
905
313dd520
JK
906Fri Aug 20 14:01:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
907
6ecb870e
JK
908 * remote-nindy.c: Remove unused include of sys/ioctl.h.
909
313dd520
JK
910 * frame.h, symtab.h: Revise comments regarding baseregs.
911
018ab14f
PS
912Fri Aug 20 15:07:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
913
914 * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
915 Set language for psymtab and symtab.
916 * mipsread.c (new_symbol): Set language and initialize demangled
917 name for symbol.
918 * symmisc.c (print_symbol): Use SYMBOL_SOURCE_NAME when printing
919 the symbol type.
920 * symtab.c (decode_line_1): Inhibit coredumps with cfront executables.
921
8af0de91
JK
922Fri Aug 20 14:01:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
923
0ca9bd12
JK
924 * Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
925 it conditionalized on 4.3 vs. 4.4.
926 * config/m68k/nm-hp300bsd.h: Move REGISTER_U_ADDR out of 4.3 and
927 4.4 sections; it was identical and now works for 4.4.
928
b33e0e0b
JK
929 * mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.
930
8af0de91
JK
931 * printcmd.c (MAKEVA_END): Update this version to use "aligner".
932
6ac14d25
PS
933Thu Aug 19 22:08:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
934
935 * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
936 * mipsread.c (parse_symbol, parse_type, cross_ref): Handle corrupt
937 file indirect entries with complaints instead of core dumps. Remove
938 complaint for stTypedef within aggregates.
939
522b9962
JK
940Thu Aug 19 17:58:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
941
e09c5e26
JK
942 * coffread.c (process_coff_symbol): Ignore tagnames like .0fake.
943
944 * coffread.c (coff_read_enum_type): #if 0 out code which changes
945 enum {FALSE, TRUE} into boolean.
946
522b9962
JK
947 * config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
948 non-existent files nm-delta.h, etc.
949 * config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER.
950 * delta68-nat.c: Add "[0]" in offsetof argument.
951 * delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up
952 nl with initializer, just assign to it. Check n_scnum field on
953 return.
954
e56ac0ba
JK
955Wed Aug 18 12:03:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
956
b2ccb6a4
JK
957 * printcmd.c (print_address), values.c (value_as_pointer): Don't
958 use ADDR_BITS_REMOVE.
d3fa810c 959 * defs.h: Try to clarify comment about ADDR_BITS_REMOVE.
b2ccb6a4 960
479fdd26
JK
961 * blockframe.c (block_innermost_frame): Uncomment.
962 Return NULL if passed NULL.
963 * frame.h: Declare it.
964 * expression.h (union exp_element): Add field block.
965 * parse.c (write_exp_elt_block): New function.
966 * expression.h (OP_VAR_VALUE): Now takes additional struct block *.
967 * *-exp.y: Write block for OP_VAR_VALUE.
968 * eval.c, expprint.c, parse.c: Deal with block for OP_VAR_VALUE.
969 * valops.c, value.h (value_of_variable), callers:
970 Add second argument, for block.
971
e56ac0ba
JK
972 * main.c (gdb_readline): If we read some characters followed by EOF,
973 return them rather than returning NULL.
974
48be4c35
JK
975Tue Aug 17 11:14:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
976
977 * mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.
978
2f03f9a6
RP
979Tue Aug 17 15:10:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
980
637603f9
RP
981 * config/m88k/tm-m88k.h: Fix typo in comment.
982 (FP_REGNUM): define in terms of SP_REGNUM
983 rather than by absolute number. Also clearly comment that this
984 is a convenient lie in order to decrease future confusion.
985 (ACTUAL_FP_REGNUM): new macro for FP.
986 (FRAME_CHAIN_VALID): removed. Standard default works fine.
987 * m88k-tdep.c (frame_chain_valid): redundant, so removed.
988 (NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all
989 callers.
990 (read_next_frame_reg): declare static.
991 (examine_prologue): removed unused variabel insn2, rename insn1
992 to insn, rewrote comment about finding fp, sp, etc. set frame_fp
993 based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is
994 actually a scammed alias for SP_REGNUM on m88k.
995
2f03f9a6
RP
996 * frame.h: fixed typo in comment.
997
4f1afa16
JK
998Tue Aug 17 11:14:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
999
b80bd1e0
JK
1000 * 29k-share/udi/udiphcfg.h: Always include udiphunix.h not udiphdos.h.
1001
4f1afa16
JK
1002 * complaints.c (complain): fflush (stdout) after output.
1003
d541211d
PS
1004Tue Aug 17 01:43:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1005
1006 * blockframe.c, frame.h (sigtramp_saved_pc): New routine to fetch
1007 the saved pc from sigcontext on the stack for BSD signal handling.
1008 * config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
1009 FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
1010 Define to make backtracing through sigtramp work.
1011 * config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
1012 FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET): Ditto.
1013
1109373a
JK
1014Mon Aug 16 13:52:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1015
4f1afa16
JK
1016 * main.c (cd_command): If current_directory on entry is "/", then
1017 don't append an extra slash.
c307bb11 1018 Don't assume that /../.. means /.
4f1afa16 1019
d541211d
PS
1020 * target.c (target_xfer_memory): Clear errno before calling
1021 to_xfer_memory.
1022
1109373a
JK
1023 * stack.c (frame_info, print_frame_info): Add comment about using
1024 the starting source line number on a line boundary if backtracing
1025 through sigtramp.
1026
4fd0b84e
PS
1027Mon Aug 16 02:56:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1028
1029 * blockframe.c (create_new_frame, get_prev_frame_info):
1030 Use the function name when calling IN_SIGTRAMP.
1031 * config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
1032 Define for correct handling of bachtraces through _sigtramp.
1033 * m68k-tdep.c (m68k_find_saved_regs): Adjust saved sp for fake
1034 sigtramp frames.
1035 * mipsread.c (parse_type): Handle corrupt TIR info with complaint
1036 instead of core dump.
1037 * mipsread.c (parse_partial_symbols): Put static symbols into the
1038 mimimal symbol table, use proper mst_types for all minimal symbols.
1039 * stack.c (frame_info, print_frame_info): Use the starting source
1040 line number on a line boundary if backtracing through sigtramp.
1041
f2f848b8
RP
1042Fri Aug 13 14:37:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1043
4fd0b84e
PS
1044 * remote-bug.c: include gdbcmd.h.
1045 (sleep, remque, insque): forward decls added.
1046 (bug_fetch_registers, bug_store_registers): forward decls
1047 removed.
1048 (bug_read_inferior_memory, bug_write_inferior_memory): forward
1049 decls added.
1050 (srec_frame, srec_max_retries, srec_bytes, srec_echo_pace,
1051 srec_sleep, srec_noise): new static variables for user settable
1052 options. Mostly these are for debugging and tuning. I don't
1053 expect them to stay user settable options for long.
1054 (timeout): change default to 4 seconds.
1055 (check_open): declare funtion static, force return value.
1056 (readchar_nofail): if timeout, then say so if not being quiet.
1057 (pollchar, double_scan, bug_scan, bug_srec_write_cr,
1058 start_load): new functions.
1059 (bug_wait): rewritten to use double scan.
1060 (expect): while (1) -> for (;;)
1061 (get_hex_digit): rewrite if condition to avoid gcc complaints.
1062 (bug_load, bug_create_inferior, bug_open, bug_store_register):
1063 removed unused variables.
1064 (bug_load): replaced DELTA macro with user settable srec_frame
1065 variable. Other minor lint.
1066 (find_end_of_word, is_baudrate_right, set_rate, not_bug_wait,
1067 gethex, timed_read, translate_addr, bug_before_main_loop):
1068 unsused and removed.
1069 (bug_resume): add missing first arg, pid.
1070 (get_reg_name): use ip rather than cr04.
1071 (bug_write, bug_write_cr, but_clear_breakpoints, bug_quiet):
1072 declare type, args, and explicitly return.
1073 (bug_store_register): straighten out the ip vs cr04 confusion.
1074 (bug_write_inferior_memory): rewrite to cope with errors while
1075 downloading s-records.
1076 (bug_read_inferior_memory): declare static.
1077 (bug_clear_breakpoints): expect nobr before prompt.
1078 (_initialize_remote_bug): add initializations for srec-bytes,
1079 srec-max-retries, srec-frame, srec-noise, srec-sleep,
1080 srec-echo-pace.
1081
4f4649a7
RP
1082 * Makefile.in (remote-bug.o): new rule.
1083 (ALLDEPFILES): added remote-bug.c
1084
e93790f0
RP
1085 * remote-hms.c (hms_wait): use -1 for timeout's which means block
1086 forever rather than 99999.
1087
057c2f47
RP
1088 * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
1089 simply save encode this fact as the process group and return
1090 success rather than an error.
1091 (set_tty_state): if process group is -1, do not reset the
1092 process group.
1093 (hardwire_reachar): comment change.
1094
0e5f1b37
RP
1095 * serial.h: comment change.
1096
f2f848b8
RP
1097 * config/m88k/tm-m88k.h: comment change to remove embedded
1098 comment.
1099 (SKIP_PROLOGUE): skip_prologue returns a value which is expected
1100 to reset the pc argument. So reset it.
1101
5069d770
FF
1102Fri Aug 13 10:15:24 1993 Fred Fish (fnf@deneb.cygnus.com)
1103
1104 * Makefile.in (VERSION): Bump to 4.10.1 after release and cvs
1105 tagging.
1106
ff1cdb40
JK
1107Thu Aug 12 20:40:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1108
1109 * gdbserver/Makefile.in: Use GDBSERVER_LIBS and
1110 GDBSERVER_DEPFILES. Also remove much (but not all that could be
1111 removed) crud inherited from gdb Makefile.in.
1112 * config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Define GDBSERVER_*.
1113 * gdbserver/README: Say it works on Sun and change configuration
1114 instructions slightly.
1115
1116Wed Aug 11 18:56:59 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
1117
1118 * config/i386/i386v4.mh: use -lsocket and -lnsl, for remote
1119 targets that use BSD style network connections
1120
ae87844d
JK
1121Wed Aug 11 17:54:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1122
1123 * remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
1124 of statics doesn't work with SunOS4 /bin/cc).
1125 Rename the occurrence in remote-monitor.c to monitor_bug_ops.
1126
523ef121
JK
1127Tue Aug 10 13:07:14 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1128
1129 * blockframe.c (find_pc_partial_function),
1130 mips-tdep.c (find_proc_desc): Deal with "pathological" case.
1131
0f1b1bcc
JK
1132Tue Aug 10 14:50:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1133
523ef121
JK
1134 * utils.c (wrap_here): Allow indent to be NULL.
1135 (fputs_filtered): Don't check for null wrap_indent (wrap_here now
1136 guarantees that it isn't, and anyway we were only checking one out
1137 of the two places we dereferenced it).
1138
0f1b1bcc
JK
1139 * objfiles.h (struct objfile): Clean up comments for
1140 {obj,sym}_private to clarify what they are private to.
1141
48f075eb
SS
1142Mon Aug 9 16:45:00 1993 Stan Shebs (shebs@rtl.cygnus.com)
1143
1144 * stabsread.c, buildsym.c (hashname): Moved function to
1145 buildsym.c, as suggested in the sources.
1146
0685d95f
JK
1147Mon Aug 9 09:53:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1148
525390a2
JK
1149 * remote-udi.c: Make udi_ops extern rather than trying forward
1150 declaration of a static variable.
1151
8a99c712
JK
1152 * hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
1153 there, rather than using an ANSI C specific macro.
1154
a2fbd4c8
JK
1155 * 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
1156 sys/types.h near the top (just on general principles).
1157
b992d16b
JK
1158 * environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
1159 no longer used.
1160
0685d95f
JK
1161 * gdbcore.h: New variable gnutarget.
1162 * core.c: Add commands to set and show it.
1163 * Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
1164 * environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
1165 putenv.
1166
1167 * symtab.c (decode_line_1): Give error on unmatched single quote.
1168
3da5198c
JK
1169Sun Aug 8 13:59:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1170
95a98b5e
JK
1171 * ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.
1172
3da5198c
JK
1173 * remote.c: Add comments about 'd', 'r', and unrecognized requests.
1174
1175 * inflow.c (terminal_init_inferior): Don't muck with tty state if
1176 gdb_has_a_terminal() is false.
1177
f645e835
FF
1178Sun Aug 8 10:07:47 1993 Fred Fish (fnf@cygnus.com)
1179
1180 * dwarfread.c (record_minimal_symbol): Remove prototype and
1181 function.
1182 * dwarfread.c (add_partial_symbol): Remove code to add minimal
1183 symbols and remove comment about limitations. Experiments show
1184 that now that gdb handles the ELF symtab better for creating
1185 minimal symbols, that no additional information is added by
1186 examining the DWARF information, and in fact, given the
1187 limitations, the DWARF code was actually making things worse.
1188
379dd965
FF
1189Sat Aug 7 10:59:03 1993 Fred Fish (fnf@deneb.cygnus.com)
1190
1191 * elfread.c (elf_symtab_read): Properly sort out the bss symbols
1192 from the data symbols and give them the correct minimal_symbol_type.
1193 Add file static symbols to the minimal symbol table, not just
6c8f91a1
FF
1194 global symbols. Add absolute symbols as well (like _edata, _end).
1195 Redo stabs-in-elf special symbol handling now that file static
1196 symbols are entered into the into the minimal symbol table.
379dd965
FF
1197 * dwarfread.c (add_partial_symbol): Add comment about limitations
1198 of DWARF symbols for distinquishing data from bss when adding
1199 minimal symbols. Add file local symbols to minimal symbols.
1200
8d9ec7b6
JK
1201Thu Aug 5 08:58:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1202
80b4aa1c 1203 * ser-go32.c: Define job_control variable.
e917bef3 1204
80b4aa1c
JK
1205Thu Aug 5 15:56:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
1206
1207 * configure.in: z8k-coff is the same as z8k-sim
1208
1209Thu Aug 5 08:58:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
80b4aa1c 1210
038de493
JK
1211 * 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
1212
a824e46e
JK
1213 * config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
1214
d625b398
JK
1215 * inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
1216
8d9ec7b6
JK
1217 * 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
1218
a88797b5
FF
1219Wed Aug 4 18:32:12 1993 Fred Fish (fnf@cygnus.com)
1220
1221 * inflow.c (pass_signal): Signal handlers take one int arg;
1222 supply an unused one to make it type compatible as an arg to
1223 signal().
1224
05e9e188
ILT
1225Tue Aug 3 18:34:14 1993 Ian Lance Taylor (ian@cygnus.com)
1226
1227 * config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
1228
8e92ade7
FF
1229Tue Aug 3 15:34:57 1993 Fred Fish (fnf@cygnus.com)
1230
1231 * Makefile.in (ALLCONFIG): Add config/i386/i386nw.mt,
1232 config/m68k/delta68.mh, config/m68k/delta68.mt,
1233 config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
1234 config/mips/news-mips.mh.
1235 * Makefile.in (ALLPARAM): Add config/i386/nm-symmetry.h,
1236 config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
1237 config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
1238 config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
1239 config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
1240 * Makefile.in (ALLDEPFILES): Add dpx2-nat.c.
1241
e906e7fa
ILT
1242Tue Aug 3 12:02:09 1993 Ian Lance Taylor (ian@cygnus.com)
1243
1244 * mipsread.c: Updated for BFD ECOFF changes. Now gets the
1245 swapping routines and external structure sizes via the
1246 ecoff_backend information. No longer includes coff/mips.h.
1247
511e0322
FF
1248Tue Aug 3 10:58:04 1993 Fred Fish (fnf@cygnus.com)
1249
1250 * Makefile.in (SFILES): Add thread.c
1251
6eb0b283
DE
1252start-sanitize-v9
1253Tue Aug 3 10:21:58 1993 Doug Evans (dje@canuck.cygnus.com)
1254
1255 * remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
1256 sim_set_args return code.
1257end-sanitize-v9
1258
90fcdfbf
RP
1259Mon Aug 2 16:35:31 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1260
1261 * Makefile.in (VERSION): bumped to 4.9.4.
1262
1263 * remote-monitor.c: updated copyright.
1264 (bug_ops, monitor_desc): now static.
1265 (monitor_desc): in several places, check and/or set to NULL.
1266
1267 * remote-hms.c (hms_files_info): Add the appropriate items where
1268 missing in the printf call.
1269
1270 * remote-bug.c: new file for m88k bug support.
1271
1272 * config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
1273
a3059251
SC
1274Mon Aug 2 14:22:09 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1275
1276 * h8300-tdep.c: Use new variable h8300hmode.
1277
ac88287f
JK
1278Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1279
802d6308
JK
1280 * valops.c (typecmp): If we are passing a non-reference to a function
1281 which takes a reference, pass the address.
1282 (value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
1283 references here.
1284
3082244d
JK
1285 * thread.c (thread_switch): Define as static.
1286 (add_thread): Cast return value from xmalloc.
1287
ac88287f
JK
1288 * gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
1289 * gdbtypes.{c,h}: Improve comments on vptr_fieldno.
1290
c178776d
FF
1291Mon Aug 2 11:58:52 1993 Fred Fish (fnf@deneb.cygnus.com)
1292
1293 * README: Elaborate on gdb C++ support and cfront support.
1294
da0baf42
SG
1295Mon Aug 2 11:30:57 1993 Stu Grossman (grossman at cygnus.com)
1296
1297 * i386lynx-nat.c, thread.c, thread.h: Update copyrights.
1298
afa2499d
JK
1299Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1300
1301 * Makefile.in (ALLDEPFILES): Add i386lynx-nat.c.
1302
db691e4b
SG
1303Mon Aug 2 08:42:50 1993 Stu Grossman (grossman at cygnus.com)
1304
1305 * gdbserver/remote-inflow.c (create_inferior): Fix comments, and
1306 error msg. Setup seperate process group for child.
1307 * (write_inferior_memory): Sleep for 1 second and retry on ptrace
1308 failure.
1309
25286543
SG
1310Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
1311
884914bf
SG
1312 * config/i386/i386lynx.mh (NATDEPFILES): Drop coredep (for now).
1313 * config/i386/nm-i386bsd.h: Protect from multiple inclusion.
1314 * config/i386/nm-i386lynx.h: Lotsa new host porting stuff.
1315 * config/i386/tm-i386lynx.h: Define SAVED_PC_AFTER_CALL and
1316 target_pid_to_str.
1317
25286543
SG
1318 * Makefile.in (CLIBS): Reorder to make Lynx ld happy.
1319 * (HFILES): New file thread.h.
1320 * (OBS): New file thread.c.
1321 * configure.in: Host config for Lynx/386.
1322 * fork-child.c (fork_inferior): Call init_thread_list().
1323 * infrun.c (resume): Add pid to invocation of target_resume().
1324 * (wait_for_inferior): Pay attention to pid from target_wait().
1325 Multi-threading code now uses this to determine what to do.
1326 * inftarg.c (child_wait): Conditionalize based on CHILD_WAIT macro.
1327 Use target_pid_to_str() macro throughout when printing pid.
1328 * inferior.h (child_resume): Add pid to prototype.
1329 * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
1330 argument, instead of using inferior_pid.
1331 * procfs.c (procfs_resume): Pass in pid as argument. Ignored for
1332 now. Use target_pid_to_str() macro throughout for printing process id.
1333 * remote-adapt.c (adapt_resume): Pass in pid as argument.
1334 * remote-eb.c (eb_resume): Pass in pid as argument.
1335 * remote-es.c (es1800_resume): Pass in pid as argument.
1336 * remote-hms.c (hms_resume): Pass in pid as argument.
1337 * remote-mips.c (mips_resume): Pass in pid as argument.
1338 * remote-mm.c (mm_resume): Pass in pid as argument.
1339 * remote-monitor.c (monitor_resume): Pass in pid as argument.
1340 * remote-nindy.c (nindy_resume): Pass in pid as argument.
1341 * remote-sa.sparc.c (remote_resume): Pass in pid as argument.
1342 * remote-sim.c (rem_resume): Pass in pid as argument.
38867a45 1343 start-sanitize-v9
25286543 1344 * remote-sp64sim.c (simif_resume): Pass in pid as argument.
38867a45 1345 end-sanitize-v9
25286543
SG
1346 * remote-st.c (st2000_resume): Pass in pid as argument.
1347 * remote-udi.c (udi_resume): Pass in pid as argument.
1348 * remote-vx.c (vx_resume): Pass in pid as argument.
1349 * remote-z8k.c (rem_resume): Pass in pid as argument.
1350 * remote.c (remote_resume): Pass in pid as argument.
1351 * solib.c (solid_create_inferior_hook): Pass inferior_pid to
1352 target_resume().
1353 * target.c (normal_pid_to_str): New routine to print out process
1354 ID normally.
1355 * target.h (struct target_ops): Add pid to prototype at
1356 to_resume(). (target_resume): Add pid argument.
1357 * (target_pid_to_str): Default definition for normal type pids.
38867a45 1358 * thread.h, thread.c: New modules for multi thread/process control.
25286543 1359
804d23f3
JG
1360Sun Aug 1 13:02:42 1993 John Gilmore (gnu@cygnus.com)
1361
1362 * README: Say that bug-gdb is also the place to send requests
1363 for help with GDB.
1364
d1445327
FF
1365Sun Aug 1 09:42:13 1993 Fred Fish (fnf@cygnus.com)
1366
84b5df32 1367 * Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile.
d1445327
FF
1368 * h8500-tdep.c: Add parens around a few macro args.
1369
eec03ebb
JK
1370Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1371
77eb2e8f
JK
1372 * TODO: Remove items about unix-to-unix/rapp debugging (now we
1373 have gdbserver), moving xm files to subdirectory, ptype yylval,
1374 and file-local symbols.
1375
eec03ebb
JK
1376 * gdbtypes.h: Improve comments about C++ methods.
1377
bcca9a08
FF
1378Fri Jul 30 14:16:32 1993 Fred Fish (fnf@deneb.cygnus.com)
1379
1380 * c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast
1381 NULL in all other calls to correct pointer types.
1382
6cfec929
JK
1383Fri Jul 30 15:43:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1384
1385 From Jeffrey Law:
1386 * tm-hppa.h (TARGET_WRITE_PC): Define.
1387 * hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
1388 then return the address of the dummy itself rather than
1389 the address of $$dyncall.
1390 (target_write_pc): New function to store a new PC.
1391
f5a197a2
PS
1392Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1393 and Jim Kingdon (kingdon@cygnus.com)
1394
1395 * breakpoint.c (breakpoint_re_set_one): Always reparse breakpoint
1396 conditions, they might contain symbol table references.
1397
1398Fri Jul 30 12:51:27 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1399
1400 * mipsread.c (parse_symbol): Handle opaque struct definitions and
1401 type naming for stTypedef symbols.
1402
96c68efa
JK
1403Fri Jul 30 14:44:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1404
1405 * c-exp.y (yylex): Detect C++ nested types.
1406
38cbb25c
DE
1407start-sanitize-v9
1408Fri Jul 30 11:07:37 1993 Doug Evans (dje@canuck.cygnus.com)
1409
1410 * sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
1411 (dump_ccreg, sparc_print_register_hook): New fns.
1412 * remote-sim.h: New file.
1413 * remote-sp64sim.h (sim_*): External fns. (simif_*): Internal fns.
1414
1415 * config/sparc/sp64.mt: New file.
1416 * config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
1417 (PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
1418end-sanitize-v9
1419
6879f0db
FF
1420Fri Jul 30 10:15:01 1993 Fred Fish (fnf@deneb.cygnus.com)
1421
1422 * Makefile.in (ALLCONFIG): Add config/i386/ptx.mh
1423
ca33fca1
JK
1424Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1425
d3862cae
JK
1426 From J. Law:
1427 * infcmd.c (read_pc): Remove PA specific code.
1428 * tm-hppa.h (TARGET_READ_PC): Define.
1429 * hppa-tdep.c (target_read_pc): New function.
1430
ca33fca1
JK
1431 * symtab.c (gdb_mangle_name): Deal with it if type lacks a name.
1432
598db9ee
FF
1433Fri Jul 30 07:36:53 1993 Fred Fish (fnf@deneb.cygnus.com)
1434
ebb962cd 1435 * NEWS: Add note that DEC alpha support is host only, not native.
598db9ee
FF
1436 * README: Emphasize that C++ support works best with GNU C++ and
1437 stabs debugging format.
1438 * delta68-nat.c: Add missing FSF copyright.
1439
f1a67de8
JK
1440Fri Jul 30 08:58:01 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1441
1442 * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
247145e6
JK
1443 * hppa-tdep.c (frame_chain_valid): Check that our function has the
1444 same address as _start, not that it must be the same symbol.
f1a67de8 1445
68f49dae
FF
1446Fri Jul 30 00:18:40 1993 Fred Fish (fnf@deneb.cygnus.com)
1447
1448 * Makefile.in (ALLDEPFILES): Add delta68-nat.c
1449 * Makefile.in (delta68-nat.o): Add dependency.
1450
54a11a1d
JK
1451Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1452
5d38a0a8
JK
1453 * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
1454 was adequate in gdb 3.5 but not now.
1455
1456 * valops.c (typecmp): An array in t2 matches a pointer in t1.
1457
1458 * valops.c (typecmp): When comparing type1& to type2, compare
1459 type1 and type2 as leniently as if we were comparing type1 to
1460 type2.
1461
1410f5f1
JK
1462 * cp-valprint.c (cplus_print_value): Don't dump core if the
1463 baseclass doesn't have a name.
1464 * values.c (vb_match): New function, which finds the virtual
1465 base class pointer even if the types are nameless.
1466 (baseclass_{addr,offset}): Use it.
1467
63757ecd
JK
1468 * hppa-tdep.c: Make "maintenance print unwind" command from old
1469 "unwind" command.
1470
54a11a1d
JK
1471 * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
1472 obsolete junk which apparently had been copied from the
1473 pre-serial.h remote.c, but which is no longer used.
1474
9b311b22
FF
1475Thu Jul 29 12:36:20 1993 Fred Fish (fnf@deneb.cygnus.com)
1476
1477 * Makefile.in (NONSRC): Need 29k-share/README, not
1478 29k-share/udi/README.
1479
6e35b037
JK
1480Thu Jul 29 12:09:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1481
93af329a
JK
1482 * paread.c (pa_symfile_init): If error reading string table, don't
1483 use errno in cases where it hasn't been set.
1484
d4c22c52
JK
1485 * ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
1486
60a60032
JK
1487 * remote-monitor.c (_initialize_monitor): Comment out use of
1488 connect_command, since connect_command itself is commented out.
1489
1490 * remote-monitor.c (generic_open): Parse arguments the same way
1491 as remote.c.
1492
6e35b037
JK
1493 * hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
1494
c4ed7353
JK
1495Wed Jul 28 13:19:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1496
6e35b037
JK
1497 * config/mips/xm-mips.h: Define HAVE_TERMIOS.
1498
c4ed7353
JK
1499 * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
1500 __gnu_compiled* symbols into the minimal symbols.
1501
0907dc09
ILT
1502Wed Jul 28 08:26:58 1993 Ian Lance Taylor (ian@cygnus.com)
1503
1504 * remote-mips.c (_initialize_remote_mips): Added "timeout" and
1505 "retransmit-timeout" variables to set mips_receive_wait and
1506 mips_retransmit_wait, respectively.
1507
ffff16b3
PS
1508Wed Jul 28 03:58:58 1993 (pes@regent.e-technik.tu-muenchen.de)
1509
1510 * symmisc.c (dump_msymbols): Handle new mst_file_* types.
1511
7706616f
JK
1512Tue Jul 27 12:07:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1513
157ea89d
JK
1514 * remote-udi.c: Remove old comment about download not implemented.
1515
704deef2
JK
1516 * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
1517 * nindy-share/*, remote-nindy.c: Extensive hacking to make it
1518 conform to GDB conventions like using memcpy not bcopy, serial.h,
1519 etc. This is to make it host on Solaris, AIX, etc.
1520 * Makefile.in: Reflect removed nindy-share files.
8805c1ee 1521 * config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.
157ea89d 1522
efdd6b64
JK
1523 * stack.c (print_frame_info): Revise comment about `pathological'
1524 case (there was a wrong FIXME about text labels; also asm() can
1525 trigger this as well as versions of ar which truncate .o names).
1526
56ad756a
JK
1527 * buildsym.c (start_subfile): If a .c file includes a .C file, set
1528 the language of both of them to C++.
1529
7706616f
JK
1530 * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
1531 <memory.h>.
1532 Include <malloc.h> rather than declaring malloc functions ourself.
1533
1534 * ser-unix.c (set_tty_state): Don't ignore errors setting process
1535 group.
1536 * inflow.c (terminal_inferior): If attach_flag set, ignore errors
1537 from set_tty_state.
1538
1539 * fork-child.c (fork_inferior): Only quote exec file if needed.
1540
1541 * mipsread.c (parse_symbol): Remove 21 Jul 93 change with
1542 stTypedef inside an stBlock.
1543
0eb22669
PS
1544Tue Jul 27 12:36:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1545
1546 * breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
1547 we have breakpoints or watchpoints as we might have to ignore internal
1548 breakpoints.
1549
1550 Fix gdb core dumps after `file newfile' commands.
1551 * symtab.h, symfile.c (clear_symtab_users): New routine which
1552 unconditionally clears symtab users. clear_symtab_users_once
1553 commented out as it was a noop anyway.
1554 * objfiles.c (free_objfile): Don't call clear_symtab_users_once.
1555 * objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
1556 xcoffexec.c (exec_close): Call clear_symtab_users if necessary.
1557 * symfile.c (syms_from_objfile): Install cleanups for errors during
1558 symbol reading.
1559 * coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
1560 Lint cleanup code, call do_cleanups explicitly.
1561 * symfile.c (symbol_file_add): Call new_symfile_objfile and
1562 reinit_frame_cache _after_ the new symbols are read in.
1563
b31ca3de
PS
1564Tue Jul 27 01:57:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1565
1566 * mipsread.c (parse_type): Do not set tag name for compiler
1567 generated fake tag names.
1568
333355f3
RP
1569Mon Jul 26 17:31:49 1993 K. Richard Pixley (rich@rtl.cygnus.com)
1570
1571 * config/m88k/m88k.mt (TDEPFILES): add exec.o.
1572
91ab5674
JK
1573Mon Jul 26 13:17:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1574
b8ec9a79
JK
1575 * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
1576 command. Now we use unwind info by default if we can find it.
1577
1578 * config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
1579 to tm-sparc.h so they are shared between Solaris and SunOS4.
1580 * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
1581 N_GSYM functions.
1582
41c86b69
JK
1583 * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
1584 for floating point registers.
1585
1c8961dd
JK
1586 * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
1587 symbols as mst_file_text.
1588
08ecd8f3
JK
1589 * hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
1590
230a3ab0
JK
1591 * stabsread.c (rs6000_builtin_type): Make logical types be
1592 TYPE_CODE_BOOL.
91ab5674 1593
d889f6b7
JK
1594Sun Jul 25 23:41:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1595
1596 * breakpoint.{c,h} (struct breakpoint): Replace symtab field with
1597 source_file field.
1598
9aa3aa8c
JK
1599Fri Jul 23 09:57:25 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1600
d889f6b7
JK
1601 * remote.c: Don't error() on errors xferring memory.
1602 * target.h: Clean up comments about *xfer_memory.
1603
f47e56c9
JK
1604 * exec.c, corelow.c (target_ops struct): Don't allow
1605 {insert,remove}_breakpoints to be defaulted to
1606 memory_{insert_remove}_breakpoint.
1607
9aa3aa8c
JK
1608 * demangle.c: Make it so `help set dem' tells you how to get the
1609 list of demangling styles.
1610
f261333b
JK
1611Thu Jul 22 15:41:09 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1612
1613 * Makefile.in: Use REMOTE_O macro not remote.o.
1614 * config/i960/{nindy960,vxworks960}: Don't use remote.o.
1615
073c6b2b
ILT
1616Thu Jul 22 12:43:25 1993 Ian Lance Taylor (ian@cygnus.com)
1617
1618 * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
1619 (can't include it in nm-*.h file because it causes conflicts with
1620 a.out symbol definitions).
1621 * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
1622 * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
1623 corelow.o.
1624 * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
1625 (REGISTER_U_ADDR): Defined.
1626 * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
1627 HAVE_TERMIO.
1628 * config/pa/xm-hppah.h: Likewise.
1629
22b4b223
JK
1630Wed Jul 21 11:37:30 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1631
70c7ec2e
JK
1632 * mipsread.c (parse_symbol): when stTypedef and friends occur within
1633 an stBlock, skip over the fields of the inner one.
1634
1635 * mips-tdep.c (init_extra_frame_info): If in lenient prologue, call
1636 heuristic_proc_desc rather than just assuming registers not saved.
1637
51b4195f
JK
1638 * Makefile.in (regex.o): Add dependency.
1639
72943ad0
JK
1640 * hppa{b,h}-nat.c: Warning, not error, if can't access registers.
1641
22b4b223
JK
1642 * config/pa/hppa{b,h}.h: Define ATTACH_DETACH.
1643
66fe7416
PS
1644Wed Jul 21 03:07:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1645
1646 * config/mips/xm-makeva.h: New file implements va_list alignment
1647 restrictions for mips hosts.
1648 * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}:
1649 Use it.
1650
579f0258
PS
1651Wed Jul 21 00:11:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1652
66fe7416
PS
1653 * mips-tdep.c (init_extra_frame_info): Do not check for
1654 mips_in_lenient_prologue if it is a dummy frame.
579f0258
PS
1655 * mipsread.c (fixup_sigtramp): Initialize pdr.adr, it is used by
1656 mips_in_lenient_prologue.
1657
f29b5686
JK
1658Tue Jul 20 12:53:47 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1659
23d35572
JK
1660 * mips-tdep.c (heuristic_proc_start): First time we print the
1661 warning, elaborate.
1662 (_initialize_mips_tdep): Improve docstring for `set heur'.
1663
726d33a4
JK
1664 * config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.
1665
f29b5686
JK
1666 * symtab.c (find_line_symtab): New function, to deal with multiple
1667 symtabs with the same name.
1668 (find_line_pc{,_range}): Use it.
1669 (find_pc_symtab): Add comment about overlapping symtabs.
1670
db85f523
FF
1671Mon Jul 19 21:29:14 1993 Fred Fish (fnf@deneb.cygnus.com)
1672
1673 * Makefile.in (SFILES): Add nlmread.c.
1674 * Makefile.in (OBS): Add nlmread.o.
1675 * Makefile.in (nlmread.o): Add new target.
1676 * configure.in (i[34]86-*-netware): New configuration.
1677 * nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}: New files
1678 for NLM/NetWare support.
1679
dc34b11d
JK
1680Mon Jul 19 11:48:57 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1681
164207ca
JK
1682 * symtab.h (enum minimal_symbol_type): Add mst_file_*.
1683 * partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols.
1684 * dbxread.c (record_minimal_symbol): Deal with statics.
1685 * minsyms.c (lookup_minimal_symbol): Prefer externals to statics.
1686
3d7d2980
JK
1687 * config/i386/xm-i386sco.h: Define HAVE_TERMIOS.
1688
1cd080b5
JK
1689 * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
1690 arg_bytes field of makeva_list is always aligned.
1691 * config/pa/xm-pa.h: Make arglist_address a char *.
1692
dc34b11d
JK
1693 * ser-unix.c: Don't try to use job control with termio.
1694
6f87ec4a
PS
1695Sun Jul 18 23:11:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1696 and Jim Kingdon (kingdon@cygnus.com)
1697
1698 Make breakpoint_re_set_one work with overloaded member functions,
1699 `b 123' and `b foo' if foo is a static function.
1700 * symtab.c (decode_line_1, decode_line_2): New argument `canonical'
1701 to return canonical line specs if requested by the caller.
1702 * breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and
1703 callers accordingly.
1704 * symtab.c (build_canonical_line_spec): New helper function which
1705 constructs the canonical line spec.
1706 * breakpoint.c (break_command_1): Use canonical line spec instead
1707 of command string as addr_string if necessary.
1708 * source.c (line_info): Fix storage leak.
1709
fc39be58
JK
1710Sun Jul 18 15:22:45 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1711
56eec3c7
JK
1712 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
1713 but not the others.
1714 * symm-tdep.c: Remove exec_file_command.
1715 [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
1716 A few miscellaneous cleanups.
1717 * symm-nat.c: Renamed from symm-xdep.c.
29b8ed0a 1718 * All symmetry dependent files: Many changes.
56eec3c7 1719
ee5fb959
JK
1720 * mips-tdep.c (mips_skip_prologue): New argument lenient.
1721 Use read_memory_nobpt.
1722 (is_delayed, mips_in_lenient_prologue): New functions.
1723 (init_extra_frame_info): If in the prologue, don't use saved registers.
1724 * config/mips/tm-mips.h: Declare mips_skip_prologue.
1725
fc39be58
JK
1726 * partial-stab.h (N_SO): Add the text offset to valu before, not after,
1727 passing it to END_PSYMTAB.
1728
ac82e9a5
JK
1729Fri Jul 16 18:48:52 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1730
1731 * symtab.c (find_pc_symtab): Call warning, not printf directly.
1732
1733 * solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
1734
2e9e6869
ILT
1735Fri Jul 16 09:56:42 1993 Ian Lance Taylor (ian@cygnus.com)
1736
1737 * mipsread.c: No longer need to undefine ZMAGIC.
1738
f75906eb
ILT
1739Thu Jul 15 18:03:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1740
1741 * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
1742 (print_insn): Now just calls print_insn_m88k.
1743
ccdc578f
DE
1744Thu Jul 15 14:54:05 1993 Doug Evans (dje@canuck.cygnus.com)
1745
1746 * h8300-tdep.c (examine_prologue): Make prototype match definition.
1747
f09aae84
JK
1748Thu Jul 15 08:34:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1749
5b336d29
JK
1750 * NEWS: Mention that remote.c now has a `load' operation.
1751
5ac7f56e
JK
1752 * hppa-tdep.c (pc_in_linker_stub): New function.
1753 (find_proc_framesize): Return 0 for linker stubs.
1754 (rp_saved): Tell the caller where rp is saved.
1755 (frame_chain_valid): Return 1 for linker stubs.
1756 (frame_saved_pc): Use return value from rp_saved.
1757
f09aae84
JK
1758 * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
1759 pass the sp relative to the frame in question, not the sp in the
1760 innermost frame.
1761
1ab786f4
JK
1762Wed Jul 14 17:37:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1763
b5d4d6d7
JK
1764 * mipsread.c (parse_procedure): Take as argument the symtab to look
1765 the name up in. Look it up with mylookup_symbol, not lookup_symbol.
1766 (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
9adb88b7
JK
1767
1768 * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
1769 already checked the first characters.
1770
1ab786f4
JK
1771 Changes from Jeffrey Law:
1772 * printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
1773 machine dependent fields in the makeva_list structure.
1774 (makeva_size): Allocate extra space to handle gaps made by
1775 alignment restrictions.
19318471 1776 * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
1ab786f4
JK
1777 (MAKEVA_START): Initialize arglist_address field.
1778 (MAKEVA_ARG): Always store arguments on natural alignment
1779 boundaries. Set arglist_address to the address right after
1780 the args.
1781 (MAKEVA_END): Simply return the value stored in arglist_address.
1782
968dca8d
JK
1783Wed Jul 14 13:51:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1784
bf5b632d
JK
1785 * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
1786 address, not addr.
1787
1788 * hppah-nat.c (store_inferior_registers): Don't print i in cases
1789 where we aren't using it.
1790
968dca8d
JK
1791 * a29k-tdep.c (get_saved_register): Fix typo.
1792
bd96254f
DE
1793Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
1794
1795 * configure.in: Recognize h8300h (variant of h8300).
1796
1797start-sanitize-v9
1798Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
1799
1800 * configure.in: Recognize sparc64-*-*.
1801end-sanitize-v9
1802
5af4f5f6
JK
1803Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1804
1805 * stabsread.c (define_symbol): Make the caddr_t hack apply to `function
1806 returning foo' as well as `pointer to foo'.
1807
1808 * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
1809 * config/m68k/tm-m68k.h: Define it.
1810 * mem-break.c, breakpoint.c: Improve comments.
1811
1812Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
1813
1814 * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
1815 * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
1816
524895ab
DE
1817Tue Jul 13 11:50:38 1993 Doug Evans (dje@canuck.cygnus.com)
1818
1819 * gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
1820 Make prototype match definition.
1821
98d82489
FF
1822Tue Jul 13 11:15:15 1993 Fred Fish (fnf@cygnus.com)
1823
8bdc1fd0
FF
1824 * elfread.c: Remove notice about file still being under
1825 construction.
98d82489
FF
1826 * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.
1827
85494909
JK
1828Mon Jul 12 17:46:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1829
1830 * a29k-tdep.c (read_register_stack): Make val static.
1831
e1f63216
DE
1832Mon Jul 12 14:10:48 1993 Doug Evans (dje@canuck.cygnus.com)
1833
1834 * config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
1835 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
1836 usual spot.
1837
eabbe766
JK
1838Mon Jul 12 11:29:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1839
1326dace
JK
1840 * c-valprint.c (c_val_print): Fix thinko with unspecified length
1841 arrays.
1842
eabbe766
JK
1843 * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
1844 use it.
1845
f6365bd6
JK
1846Sun Jul 11 19:35:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1847
f1ed4330
JK
1848 * symtab.c (decode_line_1): Use end of block to figure out whether
1849 val.end is in the same function, not minimal symbols.
1850
1851 * source.c (line_info): Add a few more wrap_here's.
1852
1853 * i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
1854 don't make assumptions about sizes of host data types.
1855
1856 * blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
1857 * infrun.c, breakpoint.c, printcmd.c: Change callers.
1858 * printcmd.c (containing_function_bounds): Remove.
1859 * printcmd.c (disassemble_command): Use find_pc_partial_function,
1860 not containing_function_bounds.
1861 * infcmd.c (step_1): Use find_pc_partial_function rather than
1862 trying to roll our own. Move check for a pc between SIGTRAMP_START and
1863 SIGTRAMP_END in find_pc_partial_function, not step_1.
1864
f6365bd6
JK
1865 * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
1866 Keep unswapped value in array of char, not REGISTER_TYPE.
1867 Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
1868 (sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
1869 sizeof (CORE_ADDR).
1870
0a8f1742
JK
1871Thu Jul 1 15:50:05 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
1872
1873 * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
1874 * config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
1875 * config/m68k/dpx2.m{h,t}: New files.
1876
53adb297
DE
1877Sun Jul 11 12:32:08 1993 Doug Evans (dje@canuck.cygnus.com)
1878
1879 * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
1880 more parens around macro arg.
1881
fee44494
JK
1882Sat Jul 10 09:54:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1883
fe675038
JK
1884 * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
1885 step_resume_break_address with step_resume_breakpoint (now local
1886 to wait_for_inferior).
1887 ({insert,remove}_step_breakpoint): Remove.
1888 (wait_for_inferior): Set step resume break with
1889 set_momentary_breakpoint. Test hitting it with bpstat_stop_status
1890 and bpstat_what (stop_step_resume_break removed).
1891 * breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
1892 which includes previous return value as main_action, and a step_resume
1893 bit.
1894 * breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
1895 there is another breakpoint there, insert it.
1896 * infrun.c (wait_for_inferior): Rearrange the spaghetti a bit. Use
1897 a few more gotos.
1898 Various: Clean up and add comments.
1899
fee44494
JK
1900 * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
1901 for Wed Nov 13 16:45:13 1991).
1902
4d50f90a
JK
1903Fri Jul 9 12:36:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1904
58e49e21
JK
1905 * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
1906
1907 * h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
1908 not short *.
1909
34df79fc
JK
1910 * findvar.c, defs.h
1911 ({extract,store}_{signed_integer,unsigned_integer,address}):
1912 New routines to replace SWAP_TARGET_AND_HOST.
1913 All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
1914
271d7387
JK
1915 * config/sparc/tm-sparc.h: Add comment suggesting that removing
1916 ins and locals from the registers array might clean things up.
1917
19bdd57f
JK
1918 * utils.c: Clean up comments about wrap buffer and wrap_here.
1919 * printcmd.c (printf_command): Call wrap_here before vprintf.
1920
28d14fd8
JK
1921 * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
1922 Patch from ptf@delcam.co.uk (Paul Flinders).
1923
4d50f90a
JK
1924 * a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
1925
2fcdae93
PS
1926Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1927
1928 * defs.h, remote-eb.c (TM_FILE_OVERRIDE): Remove it.
1929 * mips-tdep.c (init_extra_frame_info): Set proper fci->frame if pc
1930 is at the start of the dummy code.
1931
47976ba7
JK
1932Thu Jul 8 14:48:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1933
dd99f8e4
JK
1934 * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
1935 stuff, just write the sp and fp.
1936 (sparc_pop_frame): Skip the do_restore_insn; we already restore
1937 the sp with the other out registers.
1938
558f4183
JK
1939 * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
1940 arguments.
1941
47976ba7
JK
1942 * hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
1943
9fc8002c
DE
1944start-sanitize-v9
1945Thu Jul 8 14:47:00 1993 Doug Evans (dje@canuck.cygnus.com)
1946
1947 * sparc-tdep.c (sparc_frame_chain): Handle sizeof (CORE_ADDR)
1948 != sizeof (REGISTER_TYPE).
1949 (frame_saved_pc): Ditto.
1950end-sanitize-v9
1951
be474657
DE
1952Thu Jul 8 08:22:05 1993 Doug Evans (dje@canuck.cygnus.com)
1953
6de931d2 1954 * config/h8300/tm-h8300.h: (REGISTER_TYPES): Adjust for h8/300h.
bc4937f3
DE
1955 (REGISTER_RAW_SIZE): Ditto.
1956 (REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs
1957 on the h8/300h (ints may still be 16 bits).
1958 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
1959 EXTRACT_STRUCT_VALUE_ADDRESS): Add FIXME's for h8/300h. Some
1960 thought needed here.
1961
d0414a11
DE
1962 * h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
1963 (examine_prologue): reg_save_depth is 4 if h8/300h.
1964
be474657
DE
1965 * findvar.c (read_register): Provide some support for 64 bit regs.
1966 (write_register): Ditto.
1967
23a8e291
JK
1968Wed Jul 7 14:30:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1969
3206db62
JK
1970 * config/mips/nm-riscos.h: machine/machparam.h is always the right
1971 place to look for BSD43_NBPG, not machine/vmparam.h
1972
54023465
JK
1973 * infcmd.c (run_stack_dummy): New argument name.
1974 Change error message in (another) attempt to make it comprehensible.
1975 * valops.c (call_function_by_hand): Pass name to run_stack_dummy.
1976 * symtab.h: Declare demangle and asm_demangle since macros use them.
1977
e860d210
JK
1978 * eval.c (evaluate_subexp): Add comment about calling a member
1979 function of a variable in a register.
1980
d3dd6800
JK
1981 * expression.h: Clean up comment about string in STRUCT_STRUCT etc.
1982
23a8e291
JK
1983 * config/{rs6000/tm-rs6000.h,sparc/tm-sparc.h,pyr/tm-pyr.h},
1984 inferior.h (PC_IN_CALL_DUMMY) [ON_STACK]: Add comments about stack
1985 frame tops and bottoms.
1986
1987 * frame.h, blockframe.c, stack.c, a29k-tdep.c,
1988 config/gould/tmp-{pn,np1}.h,
1989 config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
1990 next_frame from struct frame_info. It has no purpose beyond
1991 ->next->frame and is an artifact from GDB 2.8.
1992
de6a2704
JK
1993Tue Jul 6 11:51:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1994
c2153bf2
JK
1995 * Makefile.in: Remove gdb before creating a new one.
1996 Update init.c atomically.
1997
de6a2704
JK
1998 * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
1999 (ALLCONFIG): Add config/alpha/alpha-osf1.mh.
2000
2001 * infcmd.c (_initialize_infcmd): In docstring for "continue",
2002 describe argument as setting ignore count.
2003
b1d0b161
DE
2004Sun Jul 4 15:04:47 1993 Doug Evans (dje@cygnus.com)
2005
2006 * h8300-tdep.c (examine_prologue): Fix call to
2007 read_memory_unsigned_integer.
2008
fdf138bb
JK
2009Fri Jul 2 18:22:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2010
0c5af733
JK
2011 * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
2012 rather than including xm-bigmips.h.
2013
1500864f
JK
2014 * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
2015 default cases.
2016
fdf138bb
JK
2017 * Makefile.in (distclean): Remove y.tab.h.
2018
fdf138bb
JK
2019Fri Jul 2 14:55:48 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2020
2021 * exec.c (exec_file_command): Remove Mar 28 hack as BFD handles
2022 file updates properly now.
2023 * mipsread.c (mips_coff_new_init): Force reevaluation of sigtramp
2024 addresses if switching to a new symbol file.
2025 * dbxread.c (process_one_symbol): Avoid dereferencing NULL
2026 symbols that might be returned from define_symbol.
2027
85e07872
SC
2028Fri Jul 2 13:33:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2029
2030 New target macros for getting at the pc, sp and fp.
2031 * infcmd.c (read_pc, write_pc): Modify to use new macros.
2032 (read_sp, write_sp, read_fp, write_fp): New functions.
1500864f
JK
2033 * blockframe.c (reinit_frame_cache, get_prev_frame_info):
2034 Use new functions.
85e07872
SC
2035 * breakpoint.c (bpstat_alloc): ditto.
2036 * infrun.c (wait_for_inferior): ditto.
2037 * stack.c (print_frame_info): ditto.
2038 * valops (call_function_by_hand): ditto.
2039 * corelow.c (core_open): ditto.
2040 * h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
2041 target_write_pc, target_read_fp, target_write_fp): New functions.
2042 * inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
2043
2044 * config/alpha/xm-alpha.h: Add MAKEVA_END.
2045 * config/h8500/tm-h8500.h: Define new macros.
2046
d8a80e6d
ILT
2047Fri Jul 2 13:51:04 1993 Ian Lance Taylor (ian@cygnus.com)
2048
2049 * configure.in (mipos-*-riscos*): New host and target; use riscos.
2050 * config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
2051 vmparam.h, include machparam.h.
2052 (KERNEL_U_ADDR): Define to be BSD43_UADDR.
2053
75fa3e0f
JK
2054Fri Jul 2 13:39:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2055
c0bca41c
JK
2056 * c-exp.y (yylex): Give error if unmatched single quote.
2057
2058 * configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
2059
75fa3e0f
JK
2060 * Remove unused STACK_END_ADDR in the following files (in other
2061 files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
2062 tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
2063 tm-hp300hpux.h, tm-isi.h.
2064
a77a5278
JK
2065Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
2066
75fa3e0f
JK
2067 * config/mips/nm-riscos.h: Define NBPG and UPAGES.
2068 config/mips/xm-riscos.h: Include <sys/types.h>.
2069
2070 * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
2071 not an initializer, to copy the structure.
2072
2073 * gdbtypes.h (struct type): Add field tag_name.
2074 * gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
2075 Use it.
2076 * {coff,dwarf,mips,stabs}read.c: Set it.
2077
1f72a94a
JK
2078 * xm-sysv4.h: Undefine HAVE_TERMIO.
2079
0abbc771
JK
2080 * config/mips/nm-riscos.h: Remove unmatched #endif.
2081 Define FETCH_INFERIOR_REGISTERS.
2082 * config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough.
2083 Fix misspelling of NAT_FILE.
3762d624
JK
2084 * mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
2085 we can still process "modern" core files.
0abbc771 2086
a77a5278
JK
2087 * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
2088 print c_line.
2089 (_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
2090 is defined; don't care what it is defined to.
2091
95f2d253
JK
2092Wed Jun 30 20:06:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2093
2094 * config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
2095
c2e247c4
JK
2096Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2097
2098 * inftarg.c: Remove unused include of terminal.h.
2099 * signals.h: Don't undefine signals anymore.
2100 * main.c: Use job_control from serial.h.
2101 * fork-child.c (fork_inferior): Use gdb_setpgid.
2102 * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
2103 * utils.c (quit): Use current_target->to_terminal_ours to figure
2104 out whether we care about lack of job control, rather than __GO32__.
2105 * utils.c: Include serial.h not terminal.h
2106 (quit): Use job_control not TIOCGPGRP.
2107 * terminal.h: Don't undefine TIOCGPGRP.
2108 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
2109 * utils.c (quit): Use it.
2110 * serial.h: Add SERIAL_UN_FDOPEN.
2111 * utils.c (quit): Use it.
2112 * ser-unix.c: Add process group to ttystate.
2113 [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
2114 * inflow.c: Include serial.h not terminal.h.
2115 Use serial.h stuff to replace most of the maze of #ifdef's.
2116 * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
2117 * serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
2118 * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
2119 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
2120 Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
2121 SERIAL_SET_PROCESS_GROUP.
2122 * inflow.c: Use them.
2123 * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
2124 Define HAVE_TERMIOS.
2125 * Various: Remove all use of TIOC*_BROKEN.
2126
eed6de01
PS
2127Wed Jun 30 12:20:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2128
2129 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
2130
2131Tue Jun 29 13:44:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2132
2133 * target.h (target_detach): Turn macro into function.
2134 * target.c (target_detach): Define it, do deferred register stores
2135 before calling the real target function.
2136
76a1bd4c
PS
2137Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2138 and Jim Kingdon (kingdon@cygnus.com)
2139
2140 * symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
2141 a function to avoid printing of function arguments in wrong order
2142 due to sorting.
2143 * symfile.c (compare_symbols): Remove code for sorting arguments
2144 as blocks containing arguments are no longer sorted.
2145 * symtab.c (lookup_block_symbol): Update comment accordingly.
2146
a8c25621
JK
2147Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2148
64b09778
JK
2149 * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
2150 (REG_STRUCT_HAS_ADDR): Add comment.
2151
a8c25621
JK
2152 * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
2153 to check whether there is line number information.
2154
77641260
DZ
2155Tue Jun 29 08:29:17 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2156
fe76016a
DZ
2157 * remote-udi.c: Fix docstring so that it compiles.
2158
a8c25621
JK
2159 * remote-mips.c, remote-nindy.c: move bfd.h before symfile.h
2160 (for file_ptr).
77641260 2161
d63aae7f
JK
2162Tue Jun 29 09:11:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2163
fd09c963
JK
2164 * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
2165 don't expect it, change it to LOC_STATIC so at least we don't coredump.
2166
2167 * c-typeprint.c (c_type_print_base): Don't error() on invalid type.
2168
a8c25621 2169 * symtab.h: Add comments about line numbers.
d63aae7f
JK
2170 * source.c (identify_source_line): Fix off by one bug with line.
2171
6b9561a4
JK
2172Mon Jun 28 10:09:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2173
c702007b
JK
2174 * printcmd.c (makeva*): New interface, for making a va_list.
2175 (printf_command): Use it.
2176 * config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
2177 * config/pa/xm-pa.h: New file.
2178 * config/pa/xm-hppa{b,h}.h: Include it.
2179
6b9561a4
JK
2180 * xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
2181
be2860fb
PS
2182Sun Jun 27 08:54:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2183
2184 * valprint.c (val_print_type_code_int): Fix off by one error with
2185 eliminating leading zeroes for large little endian integers.
2186
ee0d1b65
JK
2187Sun Jun 27 08:58:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2188
42280556
JK
2189 * config/mips/riscos.mh (CC): Use -systype sysv.
2190
68d2db62
JK
2191 * ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
2192
ee0d1b65
JK
2193 * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
2194
751b4006
JK
2195Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2196
2197 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
2198 CALL_DUMMY between different 68k machines.
2199
ea7f0a9f
SG
2200Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
2201
2202 * gdbserver/Makefile.in: Add dependancies on server.h.
2203 * gdbserver/remote-gutils.c: Remove lots of unused functions and
2204 variables.
2205 * gdbserver/remote-inflow.c: Remove lots of unused variables and
2206 #includes. Also, use PTRACE_* symbols instead of constants.
2207 (mywait): Surround calls to wait() with enable/disable_async_io()
2208 so that we can be interrupted from GDB while waiting for the
2209 child. Also, handle child exit more gracefully.
2210 * gdbserver/remote-server.c: Remove lots of unused variables.
2211 Move all extern defs into server.h. Redo main loop so that
2212 failure from getpkt() causes communications to be re-established.
2213 Fix 'k' command so that it restarts the child.
2214 * gdbserver/remote-utils.c: Remove lots of unloved vars and
2215 subrs. Move many extern decls into server.h. (remote_open): For
2216 tcp, seperate usage of proto fd from connected fd. Close proto
2217 fd after getting connection. (putpkt/getpkt): Pay attention to
2218 errors when reading/writing. Report these to the caller. New
2219 routines input_interrupt/enable_async_io/disable_async_io to make
2220 it possible to get an I/O interrupt when data arrives from the
2221 comm link.
2222 * serial.h: New file to contain common defs for all remote files.
2223
a037b21e
SG
2224Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
2225
2226 * remote.c: Add arg names to prototypes, in a modest effort at
2227 clarification. Also add prototypes for some new functions.
2228 * (remote_wait): Better error reporting for 'T' responses.
2229 * ser-go32.c (strncasecmp): Make str1 & str2 be const.
2230 * (dos_async_init): Make usage message reflect requested port #.
2231 * ser-tcp.c (tcp_open): Terminate hostname properly to prevent
2232 random hostname lookup failures. Add nicer message for unknown
2233 host error. (wait_for): Wake up in case of exceptions. Also,
2234 restart select() if we got EINTR.
2235 * ser-unix.c (wait_for): Restart select() if we got EINTR.
2236 * serial.c: (serial_close): Clean up code.
2237
ea7f0a9f
SG
2238Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2239
2240 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
2241 CALL_DUMMY between different 68k machines.
2242
a38b1233
JK
2243Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2244
f3fe62b1
JK
2245 * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
2246 Make comment explaining this comprehensible.
2247 (TAGFILES): Include ALLDEPFILES.
2248 (ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
2249 29k-share/udi/udi.
2250 (update-alldeps): Remove; obsolete.
2251
e50ebec8
JK
2252 * remote.c: Move comments regarding packets to top of file with the
2253 rest of the protocol comments.
2254 Fix incorrect description of 'T' response.
2255
3576a412
JK
2256 * README (Reporting Bugs): Refer people to the GDB manual.
2257
7e71985c
JK
2258 * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
2259 * stabsread.c: Type -16 is 4 bytes.
2260
a38b1233
JK
2261 * remote-udi.c: Improve docstring.
2262
872dd3fe
FF
2263Fri Jun 25 11:16:31 1993 Fred Fish (fnf@cygnus.com)
2264
a38b1233
JK
2265 * elfread.c (elf_symfile_read): Call bfd_elf_find_section, not
2266 bfd_elf32_find_section, to track bfd changes.
872dd3fe 2267
f75ad5da
JK
2268Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2269
2270 * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
ef3986bb 2271 * config/mips/xm-riscos.h: Define USG.
f75ad5da 2272
a32ebcfd
JK
2273Thu Jun 24 14:52:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2274
2275 * main.c (filename_completer): Don't complete to files ending in ~.
2276
2277 * NEWS: Mention filename completion and "info line" enhancements.
2278
2279 * main.c (symbol_completion_function): On "info t foo", return NULL,
2280 don't error().
2281
2282 * main.c (symbol_completion_function): Don't use readline word
2283 breaking. Use new calling convention for c->completer and
2284 complete_on_cmdlist.
2285 * command.h (struct command): Change arguments; now the text passed
2286 to completer does not have any word breaking done. New arg word.
2287 * symtab.{c,h} (make_symbol_completion_list): Do word breaking. Take
2288 word argument.
2289 * {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
2290 * command.{c,h} (complete_on_cmdlist): Take word argument.
2291
2292 * command.c (lookup_cmd_1): Doc fix.
2293
b8774958
RP
2294Thu Jun 24 13:26:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
2295
2296 * Makefile.in (OP_INCLUDE): define.
2297 (OPCODE_CFLAGS): use OP_INCLUDE.
2298
2299 * config/i386/ncr3000.mh, config/i386/i386v4.mh,
2300 config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
2301 config/m68k/amix.mh, config/mips/irix[34].mh,
2302 config/m88k/delta88.mh, config/sparc/sun4sol2.mh (ALLOCA,
2303 ALLOCA1): macros removed.
2304
2305 * config/mips/decstation.mh, config/rs6000/rs6000.mh
2306 (MMALLOC_LIB): renamed to MMALLOC.
2307
4ae030b9
JK
2308Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2309
2310 * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
2311 * dbxread.c: Change comment regarding acc.
2312
c2df19bd
RP
2313Wed Jun 23 15:04:54 1993 K. Richard Pixley (rich@sendai.cygnus.com)
2314
7ae7b919
RP
2315 Makefile overhaul dropping autodepend features.
2316 * Makefile.in: many comment changes. forced consistent use of $()
2317 for makefile variables references. dropped leading ./ in file
2318 references. Drop $(srcdir)/ prefix on all dependencies.
2319 Inserted contents of alldeps.mak and depend.
b8774958 2320 (INCLUDE_CFLAGS): defined as new macro for getting libiberty's
7ae7b919
RP
2321 include directory into the compilation line.
2322 (GDB_CFLAGS): new macro to take up the semantic previously held
2323 by INCLUDE_CFLAGS.
2324 (LIBIBERTY): dropped ancient subdir macro. I last removed this
2325 macro in feb of '92. How does it keep coming back?
2326 (MMALLOC_LIB): renamed to MMALLOC.
2327 (BFD_SRC_DIR): renamed to BFD_SRC.
2328 (BFD_OBJ_DIR): renamed to BFD_DIR.
2329 (BFD_LIB): renamed to BFD.
2330 (BFD_INCLUDES): renamed to BFD_CFLAGS.
2331 (READLINE_DIR): now represents object directory.
2332 (RL_LIB): renamed to READLINE.
2333 (READLINE_SRC, READLINE_CFLAGS, OPCODES, OPCODES_CFLAGS): new
2334 macros.
2335 (INTERNAL_CFLAGS): added GDB_CFLAGS, OPCODES_CFLAGS,
2336 READLINE_CFLAGS, BFD_CFLAGS. Dropped USER_CFLAGS.
2337 (LDFLAGS): removed default assignment.
2338 (TEXIDIR, INCLUDE_DEP, MMALLOC_DIR, MMALLOC_DEP, BFD_DEP,
2339 READLINE_DEP, LIBIBERTY_DIR, TESTS, depend, STAGESTUFF): unused, so removed.
2340 (ALLOCA1, ALLOCA): removed all references. alloca is now in
2341 libiberty.
2342 (VERSION): unilaterally and arbitrarily bumped to 4.9.3.
2343 (SFILES, NONSRC, HFILES, ALLDEPFILES, ALLPARAM, ALLCONFIG):
2344 removed all $(srcdir) prefixes.
2345 (getopt_h, ieee-float_h, bfd_h, wait_h, dis-asm_h): new macros
2346 for potential dependencies. commented out by default.
2347 (readline_headers, udiheaders): convenient abbreviations.
2348 (gdbcore_h, frame_h, symtab_h, gdbtypes_h, expression_h,
2349 value_h, breakpoint_h, command_h, gdbcmd_h, defs_h, inferior_h):
2350 new macros used for header file dependencies.
2351 (install-info, clean-info): collapse into the info rule.
2352 (install): now depends on all.
2353 (install-only): new target for installing without depending on
2354 all.
2355 (uninstall): new target.
2356 (config-check, config-check-hosts, config-check-targets): added
2357 fixme comments.
2358 (ch-exp.tab.c, m2-exp.tab.c): added artificial dependencies in
2359 order to force parallel makes into keeping these rules separate.
2360 * configure.in: omit cat'ing depend file onto generated Makefile.
2361 * alldeps.mak, depend: removed.
2362
baa38372
RP
2363 * inferior.h: remove redundant include of symtab.h which is
2364 included in value.h via breakpoint.h.
2365
fbca7519
RP
2366 * alloca.c: removed. alloca is now in libiberty.
2367
88607839
RP
2368 * config/m88k/delta88.mh, config/ns32k/merlin.mh (M_UNINSTALL):
2369 new macro to undo what M_INSTALL does.
c2df19bd 2370
29f3879c
JK
2371Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2372
4ae030b9
JK
2373 * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
2374 of gdb-sh.
6ffbfcc2 2375
ec06a3cb
JK
2376 * dbxread.c (copy_pending): Change name and function of begi argument
2377 to endi, since that is what the caller needs.
2378
853a233b
JK
2379 * Makefile.in (TAGFILES): Don't include YYFILES.
2380
2381 * Makefile.in (HFILES): Include monitor.h.
2382
2383 * Makefile.in: Include text that used to be in alldeps.mak.
2384 Remove config/mips/{bigmips.mh,xm-bigmips} from it.
2385 * Makefile.in, configure.in: Remove all traces of alldeps.mak.
2386
29f3879c
JK
2387 * main.c (main): Print help message on stdout not stderr
2388 per standards.texi.
2389 New option --version per standards.texi.
2390 In help message, show long options with "--" not "-".
2391 Don't try to print help message or version until after we have
2392 called initialize_all_files.
2393
9ddfb9eb
JK
2394Tue Jun 22 03:15:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2395
15d4eb21
JK
2396 * solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
2397 (solib_add): Call special_symbol_handling once, not once per library.
2398
59ba57da
JK
2399 * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
2400 is SIG_DFL.
2401
2402 * procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
2403 systems, not just Solaris.
2404
9ddfb9eb
JK
2405 * stabsread.c: Include <ctype.h>.
2406
3768398d
JK
2407Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
2408
2409 * fork-child.c (fork_inferior): Quote exec_file so it can contain
2410 funky characters.
2411
68eabdd3
FF
2412Mon Jun 21 16:56:47 1993 Fred Fish (fnf@cygnus.com)
2413
2414 * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
2415 bfd.h is included by target.h, which most of gdb includes.
2416 * depend: Hand remove BFD_INCLUDES from ${CC} lines, now that
2417 it's in INCLUDE_CFLAGS.
2418
c96d68c2
JK
2419Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
2420
2c7ab4ca
JK
2421 * config/i386/*aix*, i386aix-nat.c: New files.
2422 * configure.in: Use them.
c96d68c2 2423 * alldeps.mak: List them.
2c7ab4ca
JK
2424 * coffread.c (decode_base_type): Deal with anonymous enum type.
2425 * i387-tdep.c (print_387_status_word): Add comment re "top".
2426 * i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
2427 * dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and
2428 only if not defined by a header file.
2429 * mipsread.c: Don't define L_SET or L_INCR.
c96d68c2 2430
200a3470
FF
2431Mon Jun 21 15:10:07 1993 Fred Fish (fnf@cygnus.com)
2432
2433 * Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
2434 * depend: Hand updated to match.
2435
089dc220
JK
2436Sun Jun 20 13:11:11 1993 Jim Kingdon (kingdon@cygnus.com)
2437
2438 * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
2439 (read_cpp_abbrev): Don't complain specially for $_. Also return 0 if
2440 we don't recognize the abbrev.
2441
2a4e8cc3
JK
2442Sun Jun 20 00:24:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2443
2444 * solib.c (solib_add_common_symbols): Add comment about performance.
2445
e64ec645
JK
2446Fri Jun 18 12:37:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2447
ee06f230
JK
2448 * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
2449 * configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
2450
b487ba2e
JK
2451 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
2452 * config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
2453 * configure.in (mips-sony-*): Use news-mips for host.
2454
e64ec645
JK
2455 * buildsym.h: Doc fix for processing_acc_compilation.
2456
8715a9f3
JK
2457Thu Jun 17 19:57:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2458
2459 * printcmd.c (print_formatted): Don't use tab in wrap_here arg.
2460
fc61e9ee
JK
2461Thu Jun 17 17:29:30 1993 Jim Kingdon (kingdon@lisa.cygnus.com)
2462
2463 * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
2464 ${srcdir}/../include.
2465
2466 * config/m88k/xm-delta88.h: Comment out unused defines which conflict
2467 with system headers.
2468 * printcmd.c (printf_command): Cast second arg to vprintf to PTR.
2469 Use VPRINTF macro if defined.
2470 * config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
2471 Define TIOC{GETC,GLTC}_BROKEN.
2472 * m88k-nat.c: Uncomment include of <sys/ptrace.h>.
2473 * main.c: Rename initialize_{main,cmd_lists,history} to init_* to
2474 make things easier on munch (apparently this matters on
2475 the delta88 with svr3).
2476
c8fee4a5
DZ
2477Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
2478
2479 * Makefile.in: canonicalize install.sh; for use within
2480 this directory (and subdirs)
2481
2482Tue Jun 15 17:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2483
2484 * Makefile.in: remove parentdir support; use INSTALL_XFORM
2485
7ccb1e44
SC
2486Thu Jun 17 15:08:35 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2487
2488 * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
2489 host.
2490 * sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
2491 wired (and wrong) constant.
2492 * values.c (unpack_long): Add case to unpack when target object is
2493 sizeof(int).
2494 * config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
2495 simulator defines.
2496
1c5d6049
RP
2497Wed Jun 16 16:08:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
2498
21cc14d8
RP
2499 * NEWS: tracking user visible changes starting with
2500 vxworks-timeout.
2501
1c5d6049
RP
2502 * remote-vx.c (_initialize_vx): rename user settable option from
2503 rpcTimeout to vxworks-timeout.
2504
3ef6f604
FF
2505Wed Jun 16 12:21:49 1993 Fred Fish (fnf@cygnus.com)
2506
53f0969b
FF
2507 * Makefile.in (depend): More makefile diddling.
2508 * alldeps.mak, depend: Update to latest automatically built
2509 versions.
2510
3ef6f604
FF
2511 * Makefile.in (depend): Bfd.h keeps moving, keep up with it.
2512 * alldeps.mak, depend: Update to latest automatically built
2513 versions.
2514
56894788
RP
2515Tue Jun 15 12:26:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
2516
2517 * remote-vx.c: include gdbcmd.h for setlist.
2518 (_initialize_vx): make rpcTimeout user settable.
2519
3a6249b1
JK
2520Mon Jun 14 09:23:51 1993 Jim Kingdon (kingdon@cygnus.com)
2521
bd50d1b0 2522 * main.c, gdbcmd.h: Add function filename_completer.
df0f0dcc
JK
2523 * main.c, symfile.c, source.c, exec.c, core.c: Use it for
2524 "directory", "source", "cd", "symbol-file" "add-symbol-file",
2525 "load", "file", "exec-file", "core-file" commands.
2526 (But '/' is a word break, limiting usefulness; see comments).
bd50d1b0
JK
2527
2528 * source.c (mod_path): Warning not error if can't find directory.
2529
3a6249b1
JK
2530 * isi-xdep.c: New file.
2531 * config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
2532
9748446f
JK
2533Sun Jun 13 09:17:48 1993 Jim Kingdon (kingdon@cygnus.com)
2534
f92d5249
JK
2535 * config/m68k/xm-news.h: Include <sys/param.h>.
2536
dbbf9508
JK
2537 * m88k-tdep.c (IEEE_isNAN): Remove.
2538 config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same
2539 broken isNAN as on the mips.
2540
198133b9
JK
2541 * valprint.c (_initialize_valprint): Use c->function.sfunc not just
2542 c->function.
2543
a5e6391b
JK
2544 * dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
2545 defined, don't worry about Sun's silly LBRAC bug.
2546 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
2547
2548 * dbxread.c (process_one_symbol): If there's a symbol before an
2549 N_SO, don't error().
2550 (case N_BCOMM): complain () not error ().
2551
9748446f
JK
2552 * defs.h, main.c (catch_errors): Add return_mask arg.
2553 stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
2554 other callers: Pass RETURN_MASK_ALL.
2555 (return_to_top_level), callers: Add return_reason arg.
2556 * utils.c (quit):
2557 Use return_to_top_level (RETURN_QUIT) instead of error ().
2558 * main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
2559 Use SET_TOP_LEVEL not setjmp (to_top_level).
2560 * remote-nindy.c: Use catch_errors not setjmp (to_top_level).
2561
6e6656cc
JK
2562Sat Jun 12 14:40:54 1993 Jim Kingdon (kingdon@cygnus.com)
2563
ff56144e
JK
2564 * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
2565 Don't try to get the debug base yet.
2566
8357834f
JK
2567 * dbxread.c (process_one_symbol): Set n_opt_found based on whether
2568 a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro
2569 which returns 0 or 1 to say whether to do it.
2570 * config/sparc/sun4{sol2,os4}.h
2571 (SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
2572 the right thing happens for both acc and SunOS4 /bin/cc.
2573
2574 * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
2575 * printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
2576
6e6656cc
JK
2577 * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
2578 probably contained byte-order sins too.
2579 config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
2580 The IEEE_FLOAT code in print_floating takes care of it.
2581
ce13daa7
FF
2582Sat Jun 12 14:47:04 1993 Fred Fish (fnf@cygnus.com)
2583
2584 * Makefile.in (VERSION): Bump to 4.9.2.
2585 * c-valprint.c (c_val_print): For array of chars printed with
2586 string syntax, don't print the address of the array. From
2587 bothner@cygnus.com.
2588 * c-exp.y (yylex): Recognize '.' as indicating a floating point
2589 number regardless of the radix. From wilson@cygnus.com.
2590 * valprint.c (set_input_radix_1, set_output_radix_1): New
2591 prototypes and functions that do the actual radix setting work.
2592 * valprint.c (set_radix, set_output_radix, set_input_radix):
2593 Rewrite to use set_input_radix_1 and set_output_radix_1.
2594 * valprint.c (initialize_valprint): Enable commands to
2595 independently set and show input and output radices.
2596 * valprint.c (show_radix): New prototype and function that
2597 handles separate input and output radices.
2598
112087ed
KR
2599Fri Jun 11 18:39:38 1993 Ken Raeburn (raeburn@cygnus.com)
2600
2601 Patches from Jeff Law, law@cs.utah.edu:
2602 * hppa-pinsn.c: Now uses disassembler from opcode library,
2603 this contains only the stub function print_insn.
2604
57cb418a
RP
2605Fri Jun 11 15:19:59 1993 K. Richard Pixley (rich@cygnus.com)
2606
2607 * main.c (main): back to two periods for elipse.
2608 (print_gdb_version): revised format for configuration info.
2609
ce13daa7
FF
2610Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
2611
2612 * defs.h (INT_MAX): Cast unsigned shift result to int.
2613
574dac8e
JK
2614Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
2615
2616 * dbxread.c (process_one_symbol): Rather than having
2617 BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
2618 is true if we are doing stabs-in-elf, false otherwise.
2619 config/sparc/tm-sun4sol2.h: Don't define it.
2620
f63f30e2
ILT
2621Fri Jun 11 13:33:40 1993 Ian Lance Taylor (ian@cygnus.com)
2622
2623 * remote-mips.c (mips_send_packet): Don't print garbage character
2624 in debugging info.
2625 (mips_request): Don't check that remote pid is 0, because
2626 sometimes it isn't.
83909c43
ILT
2627 (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
2628 not an integer.
f63f30e2 2629
91c87211
JK
2630Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
2631
c94e7e75
JK
2632 * stack.c (print_frame_info): Use catch_errors around print_frame_args.
2633
702c0ff7
JK
2634 * Makefile.in (install): Don't depend on gdb.
2635
91c87211
JK
2636 * Rename remote-es1800.c to remote-es.c
2637 and remote-st2000.c to remote-st.c for 14-char filenames.
2638 config/m68k/{es1800,st2000}: Use the new names.
2639
2640 * mips-tdep.c (isa_NAN): Don't return true on -0.
2641
dd577ca5
FF
2642Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
2643
2644 * defs.h (INT_MAX): Cast unsigned shift result to int.
2645
a608f919
FF
2646Thu Jun 10 13:26:41 1993 Fred Fish (fnf@cygnus.com)
2647
2648 * elfread.c (elf_symtab_read): Add bfd section address to bfd
2649 symbols, now that they are section relative.
2650 * solib.c (bfd_lookup_symbol): Ditto.
2651
2652Thu Jun 10 10:56:56 1993 Jim Kingdon (kingdon@cygnus.com)
2653
2654 * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
2655 depend: Updated accordingly.
2656
39d4639b
JK
2657Wed Jun 9 16:08:44 1993 Jim Kingdon (kingdon@cygnus.com)
2658
2659 * Makefile.in (*.tab.c): Use mv for atomic update.
2660
2661 * Makefile.in ({dist,real}clean): Also remove nm.h.
2662 (realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
2663 (distclean): Don't rebuild *.tab.c or TAGS.
2664
fa48972a
RP
2665Wed Jun 9 12:56:58 1993 K. Richard Pixley (rich@cygnus.com)
2666
90494078
RP
2667 * Makefile.in (version.c): add host and target names to version.c.
2668 * main.c (main): print three periods for the elipse.
2669 (print_gdb_version): also print configuration.
2670
a29be236
RP
2671 * udi/udiids.h, udi/udip2soc.c, udi/udiphcfg.h, udi/udiphunix.h,
2672 udi/udiproc.h, udi/udipt29k.h, udi/udiptcfg.h, udi/udisoc.h,
2673 udi/udr.c: Change AMD copyrights to FSF copyleft '93.
2674
2675 * remote-eb.c (get_hex_regs, eb_fetch_registers), remote-adapt.c
2676 (get_hex_regs, adapt_fetch_registers): cast args to
2677 supply_register to avoid gcc warning.
2678
0b3556fe
RP
2679 * config/a29k/a29k.mt (TDEPFILES): drop minimon support. It
2680 doesn't compile on solaris and is now obsolete.
2681
fa48972a
RP
2682 * config/sparc/sun4os4.mh (XM_CLIBS): remove -lresolv. This
2683 breaks stock sunos installations.
2684
b01c21d0
JK
2685Wed Jun 9 06:14:33 1993 Jim Kingdon (kingdon@cygnus.com)
2686
4640902b
JK
2687 * m68k-stub.c: Add comment about frame cache.
2688
b01c21d0
JK
2689 * target.h (target_store_registers): Doc fix re error handling.
2690
2691 * findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
2692 of register_valid[regno].
2693
9745ba07
JK
2694Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
2695
2696 * symtab.h, dwarfread.c: Doc fix re dependencies.
2697
f7630ec9
RS
2698Tue Jun 8 17:54:09 1993 Rob Savoye (rob@rtl.cygnus.com)
2699
2700 * serial.c (serial_close): If scb is NULL, don't try to close
2701 it.
1f72a94a 2702 * configure.in: Add support for rom68k and bug boot monitors.
f7630ec9 2703
df14b38b
SC
2704Tue Jun 8 17:39:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2705
2706 * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
2707 * gdbcore.h, core.c (read_memory_unsigned_integer): New function.
2708 * findvar.c (read_register, write_register): Fix thinko where
2709 sizeof(host long) != sizeof(target int).
2710 * h8300-tdep.c: Use new read_memory_unsigned_integer call.
2711 * sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
2712
e7ac0161
JK
2713Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
2714
2715 * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
2716 m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between
2717 68881 and non-68881 cases. Check for a pair of movel instructions.
d9e5694c 2718
75c319ff
RP
2719Tue Jun 8 14:52:55 1993 K. Richard Pixley (rich@sendai.cygnus.com)
2720
54d44c8c
RP
2721 First cut at sparc-vxworks targetting.
2722 * config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt: new files.
2723 * configure.in: sparc-vxworks gdb_target now vxsparc.
2724
45d8db87 2725 * remote-eb.c, remote.c: symfile.h requires bfd.h so include it.
75c319ff 2726
683bf9b5
JK
2727Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
2728
2729 * config/m68k/xm-news.h: add "extern int errno".
2730
35799202
RP
2731Tue Jun 8 13:45:07 1993 K. Richard Pixley (rich@sendai.cygnus.com)
2732
2733 * remove-vx.c (vx_read_register, vx_write_register): collapse
2734 ifdef I80960 else (assumes) m68k into parameterizable macros
2735 VX_NUM_REGS and VX_SIZE_FPREGS.
2736 * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
2737 VX_SIZE_FPREGS): new definitions.
2738
6b27ebe8
JK
2739Tue Jun 8 11:08:29 1993 Jim Kingdon (kingdon@cygnus.com)
2740
2741 * symfile.{c,h} (generic_load): New function.
2742 remote{,-nindy,-eb,-mips}.c: Use it.
2743
a5d61570
SG
2744Mon Jun 7 20:07:30 1993 Stu Grossman (grossman@cygnus.com)
2745
2746 * Makefile.in (depend): More sed gubbish to deal with
2747 ../bfd/bfd.h being generated during the build.
2748 * depend: Re-done with corrected makefile.
2749
6f4a4fbb
FF
2750Mon Jun 7 16:32:05 1993 Fred Fish (fnf@cygnus.com)
2751
2752 * Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
2753 * Makefile.in (BFD_OBJ_DIR): New definition for the bfd build
2754 directory to find automatically generated header files and library.
2755 * Makefile.in (BFD_LIB): Use BFD_OBJ_DIR.
2756 * Makefile.in (LINTFLAGS): Include BFD_OBJ_DIR.
2757 * Makefile.in (saber_gdb): Include BFD_OBJ_DIR.
2758 * Makefile.in (depend): Include BFD_OBJ_DIR in gcc args.
2759 * Makefile.in (paread.o, xcoffexec.o): Remove, now in depend.
2760 * depend, alldeps.mak: Rebuild after Makefile.in changes.
2761
2762Fri Jun 4 10:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2763
2764 * configure.in: change lynx support to CPU-*-lynxos*
2765
2766 * Makefile.in (subdir_do): change test from existence of directory
2767 to existence of Makefile (the directory may exist but not be configured)
2768
2769Thu Jun 3 01:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2770
2771 * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED
2772
761d5a4b
ILT
2773Fri Jun 4 10:43:33 1993 Ian Lance Taylor (ian@cygnus.com)
2774
2775 * configure.in (mips-idt-ecoffl*): New target; use idtl.
2776 (mips-idt-ecoff*): Added trailing '*'.
2777 * config/mips/idtl.mt: New file; like idt.mt, but little endian.
2778
452b4b00
SG
2779Thu Jun 3 17:36:56 1993 Stu Grossman (grossman@cygnus.com)
2780
2781 * ser-go32.c: Clean up lots of compilation nits.
2782
e835b5e7
SG
2783Thu Jun 3 14:44:57 1993 Stu Grossman (grossman@cygnus.com)
2784
2785 * Patches from Jeffrey Law <law@cs.utah.edu>.
2786 * hppab-nat.c: Eliminate unnecessary ifdefs for
2787 FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
2788 CANNOT_STORE_REGISTER.
2789 (fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
2790 * hppa-pinsn.c: Support 'I', 'J', and 'K' in output
2791 templates for 1.1 FP computational instructions.
2792
3af7fb94
SG
2793Thu Jun 3 03:34:49 1993 Stu Grossman (grossman@cygnus.com)
2794
bd91ddd1
SG
2795 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
2796 * alldeps.mak, depend: Rebuild to account for ser-tcp.
2797 * config/sparc/sun4os4.mh: Add ser-tcp to XDEPFILES.
2798 * gdbserver/Makefile.in (gdbserver): Use -lbsd.
2799 * gdbserver/remote-inflow{-sparc}.c (create_inferior): Don't use a
2800 shell when running the child, as args have been expanded by the
2801 time we get here. Simplify calling convention.
2802 * gdbserver/remote-server.c (main): Use new calling convention
2803 for create_inferior, remove defunct code for coalescing argv.
2804 Remove extra calls to mywait(), as we no longer have to wade
2805 through a shell.
2806
3af7fb94
SG
2807 * target.c (target_read_memory_partial): Don't deref errnoptr
2808 when checking for null pointer.
2809
2b577349
JG
2810Wed Jun 2 19:58:46 1993 John Gilmore (gnu@cygnus.com)
2811
2812 * remote-es1800.c: Fix typo.
2813
68feeeed
FF
2814Tue Jun 1 21:22:39 1993 Fred Fish (fnf@cygnus.com)
2815
2816 * target.c (target_read_memory_partial): Like target_read_memory,
2817 but does partial reads, such as reads that bump into the end of
2818 the address space.
2819 * target.h (target_read_memory_partial): Add prototype.
2820 * valprint.c (PRINT_MAX_DEFAULT): New define, initial value 200.
2821 * valprint.c (val_print_string): Complete rewrite to fix bug with
2822 bumping into end of memory, avoiding unnecessarily long reads, and
2823 fixing bug when print_max is set to 0 (unlimited print length).
2824 * valprint.c (_initialize_valprint): Use PRINT_MAX_DEFAULT to
2825 initialize print_max.
2826
c1128340
RS
2827Tue Jun 1 18:11:35 1993 Rob Savoye (rob at darkstar.cygnus.com)
2828
2829 * configure.in: Add support for rom68k and bug boot monitors.
2830
574a2a49
JK
2831Mon May 31 10:37:04 1993 Jim Kingdon (kingdon@cygnus.com)
2832
6119aeeb
JK
2833 * printcmd.c (print_scalar_formatted): Print integers bigger than
2834 LONGEST in hex no matter how big, and no matter what the format
2835 and size.
2836
2837 * stabsread.c (read_type): Skip type attributes if present.
36bcda79 2838
574a2a49
JK
2839 * stabsread.c (read_huge_number): Don't accept '0' + radix as part
2840 of number, just through '0' + radix - 1.
2841
2707b48a
FF
2842Sun May 30 15:35:21 1993 Fred Fish (fnf@cygnus.com)
2843
8f1cc6c6
FF
2844 * Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o.
2845
c701c14c
FF
2846 * {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
2847 single parameter, the pointer to the partial symtab, rather than
2848 a bunch of args that are derived from the partial symtab. Change
2849 prototypes and callers to match.
2850
2707b48a
FF
2851 * dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
2852 set demangling style automatically.
2853 * defs.h (CPLUS_MARKER): Clarify comment that this is only for
2854 GNU C++, not C++ in general.
2855 * symtab.h (general_symbol_info): Simplify by eliminating one
2856 structure level for the language dependent info.
2857
86e3a5e4
FF
2858Sat May 29 15:59:29 1993 Fred Fish (fnf@cygnus.com)
2859
2860 * c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
2861 names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
2862 TYPE_CODE_ENUM was already testing for this.
2863
38dc5e12
SG
2864Fri May 28 17:18:05 1993 Stu Grossman (grossman@cygnus.com)
2865
2866 * Makefile.in: Add new file ser-tcp.c.
2867 * defs.h (memcmp): Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
2868 * findvar.c (write_register): See if we are writing back the same
2869 value that's already in the register. If so, don't bother.
2870 * remote.c (putpkt, getpkt): Improve handling of communication
2871 problems.
2872 * ser-go32.c: Prototype it to death. Update serial_ops and add
2873 dummy routines where appropriate.
2874 * ser-tcp.c: New module to implement serial I/O via TCP
2875 connections.
2876 * ser-unix.c: Clean up getting/setting of tty state. Get rid of
2877 SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
2878 * serial.c: Add start of support for connect command.
2879 (serial_open): Distinguish between tcp and local devices.
2880 * serial.h (struct serial_ops): Get rid of restore, add
2881 get_tty_state and set_tty_state. Define protoypes and macros for
2882 this mess.
2883 * gdbserver/remote-utils.c: Add tcp support. (readchar): Do
2884 some real buffering. Handle error conditions gracefully.
2885 * gdbserver/remote-inflow-sparc.c: Update to remote-inflow.c
2886 (Lynx), remove lots of cruft.
2887
633c8b0a
DZ
2888Fri May 28 17:24:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2889
2890 * printcmd.c (print_address_symbolic): turn this into an assigment
2891 instead of an initialization (many compilers don't accept
2892 structure initialization).
2893
860b4da3
JK
2894Thu May 27 16:56:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2895
2896 * xcoffread.c (read_xcoff_symtab): If several program csects in one
2897 source file, give them all the name of the source file, rather than
2898 the 2nd and subsequent ones having NULL names.
2899
b7ccd8e0
PS
2900Thu May 27 06:16:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2901
2902 * printcmd.c (print_address_symbolic): Append source filename and
2903 linenumber of the symbol if print symbol-filename is on.
2904 (initialize_printcmd): `set print symbol-filename'.
2905
185a1705
SG
2906Wed May 26 13:46:16 1993 Stu Grossman (grossman@cygnus.com)
2907
5fa46c42
SG
2908 * configure.in: Add config for Lynx target. Configure gdbserver
2909 only for Lynx. Re-do selective configuration of sparclite.
2910
185a1705
SG
2911 * gdbserver/{remote-gutils.c remote-server.c Makefile.in
2912 configure.in remote-inflow.c remote-utils.c}: New files to
2913 support GDB remote server. Currently only works for Lynx.
2914
3a594d72
JK
2915Wed May 26 10:28:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2916
59d69506
JK
2917 * stabsread.c (define_symbol, case 't'): Only set the name if it
2918 is not a pointer type.
2919
2920 * stabsread.c (define_symbol): Clean up logic; move the read_type
2921 calls to inside the switch statement (this improves the error
2922 handling).
2923
3a594d72
JK
2924 * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
2925 common blocks.
2926
b9298844
JK
2927Tue May 25 20:44:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2928
43795ece
JK
2929 * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
2930
2931 * source.c (line_info): Change "pc" to "address" in messages and
2932 use print_address for addresses.
2933
2f2a70e5
JK
2934 * source.c (line_info): If we don't find a symtab, print more useful
2935 output, including the symbolic address.
2936
b9298844
JK
2937 * source.c (line_info): If --fullname, display the source.
2938 (identify_source_line), callers: Take pc as argument, rather than
2939 assuming innermost frame (emacs doesn't use this, so no one ever
2940 noticed).
2941 * symtab.h: Declare frame_file_full_name.
2942 * main.c: Don't.
2943
aea2312b
BK
2944Tue May 25 15:30:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
2945
2946 * breakpoint.c (catch_command_1): Fix typo in error msg.
2947
6b346f51
KR
2948Tue May 25 16:05:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2949
2950 * elfread.c (elf_symfile_read): Update ELF structure and routine
2951 names to specify 32-bit versions.
2952 (elf_symtab_read): Retrieve size field directly from symbol,
2953 instead of using old kludge.
2954
2955 * mips-pinsn.c (print_insn): Cast address to bfd_vma before
2956 calling opcodes library.
2957 * z8k-tdep.c (print_insn): Likewise.
2958
ea753d03
JK
2959Tue May 25 13:06:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2960
2961 * stabsread.c: Remove all uses of error(). Make error_type and
2962 read_type_number static.
2963 (define_symbol): Don't try to deal with a missing symbol
2964 descriptor which isn't followed by digit, '(', or '-'.
2965 * stabsread.h: Don't declare read_type_number here.
2966 * gdbtypes.h: Don't declare error_type here.
2967 * xcoffread.c: Remove NO_TYPEDEFS code.
2968
619ccb24
ILT
2969Tue May 25 09:33:16 1993 Ian Lance Taylor (ian@cygnus.com)
2970
2971 * mips-tdep.c: Removed #include of many header files, and #define
2972 of MIPSMAGIC; no longer used.
2973
30ffb593
JK
2974Tue May 25 09:36:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2975
6fe90fc8
JK
2976 * Many places: replace "the inferior" in messages with "the program"
2977 or "the program being debugged".
ea753d03 2978 * inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
6fe90fc8
JK
2979 and I'm getting sick of maintaining it.
2980
30ffb593
JK
2981 * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
2982 support it.
2983
2984 * config/i386/go32.mh: Define SER_HARDWIRE.
2985 * Makefile.in: Define SER_HARDWIRE.
2986 (DEPFILES): Use it.
2987 (alldeps.mak): Add SER_HARDWIRE.
2988 Remove all references to ser-hardwire.{c,o}.
2989 * configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
2990
1b71de8e
PS
2991Mon May 24 23:50:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2992
2993 * sparc-nat.c (store_inferior_registers): Fill in all members of
2994 inferior_fp_registers by reading them from the inferior before
2995 modifying and writing them back.
2996 Fixes unexplainable inferior FP exceptions after calls to the inferior
2997 or setting of floating point registers.
2998 * mips-tdep.c (mips_skip_prologue): Skip move of argument register
2999 to register which is generated by gcc-2.4.
3000
3b17ee1b
KR
3001Tue May 25 00:42:39 1993 Ken Raeburn (raeburn@cygnus.com)
3002
3003 * hppa-pinsn.c: Define OLD_TABLE before including opcode/hppa.h.
3004
3005Mon May 24 13:55:14 1993 Stu Grossman (grossman@cygnus.com)
3006
3007 * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
3008 xm-i386lynx.h}: New configuration for Lynx.
3009
8789d972
JK
3010Mon May 24 10:01:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3011
87c942a8
JK
3012 * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
3013 * symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
3014
8789d972
JK
3015 * c-typeprint.c (c_type_print_base): Don't print typedef'd names
3016 as struct, union, or enum tags.
3017
8537c754
PS
3018Mon May 24 01:10:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3019
3020 * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
3021 executable.
3022
f52bde21
JK
3023Sat May 22 10:03:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3024
2632d6df
JK
3025 * infrun.c (wait_for_inferior),
3026 infcmd.c (program_info, signal_command): Use symbolic signal names.
3027
6b82a761
JK
3028 * inftarg.c (child_wait): Deal with EINTR and include message from
3029 strerror if printing an error message.
3030
3031 * main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
3032
f52bde21
JK
3033 * stabsread.c: Remove most uses of lookup_fundamental_type.
3034 (define_symbol): Use read_type for type of enum constant,
3035 not just read_type_number. Also don't call error().
3036 (define_symbol): For unrecognized constant type, one complaint (the
3037 one from error_type) is enough. Don't make our own in addition.
3038 (define_symbol): Don't treat an N_FUN 'R' as a prototype.
3039 * gdbtypes.h: Doc fixes.
3040
7cf92dd2
PS
3041Sat May 22 03:33:07 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3042
3043 Fix stack unwinding through _sigtramp on Irix. These patches are from
3044 Paul Flinders <ptf@delcam.co.uk>.
3045 * mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
3046 executable uses sigvec.
3047 * mips-tdep.c (read_next_frame_reg): Allow tm-file to override
3048 sigcontext offsets.
3049 * config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
3050
101b7f9c
PS
3051Sat May 22 00:39:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3052
3053 * infrun.c (wait_for_inferior): Clear stop_signal if it should not
3054 be passed to the inferior to make "handle <signal> nopass nostop" work.
3055
ac8cf67d
PS
3056Sat May 22 00:21:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3057
3058 * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
3059 the necessary bits.
3060 * findvar.c (value_from_register): Fix uninitialized first_addr
3061 which caused problems with assignment of doubles to register variables
3062 on some targets.
3063 * mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
3064 missing mips definitions if necessary.
3065
3066 Fix handling of double register variables for mips targets and big
3067 endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
3068 * config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
3069 8 bytes for doubles.
3070 * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
3071 conversion of type held in multiple registers to host format.
3072 * config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
3073 companion to REGISTER_CONVERT_TO_TYPE.
3074 * config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
3075 Convert to function calls.
3076 * config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
3077 mips targets.
3078 * mips-tdep.c (mips_print_register): Raw buffer now needs just
3079 MAX_REGISTER_RAW_SIZE bytes.
3080 * mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
3081 (if defined) for doubles.
3082 * mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
3083 New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
3084 * valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
3085 defined.
3086 * findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
3087 defined.
3088
73262420
JK
3089Fri May 21 09:04:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3090
e23a6896
JK
3091 * configure.in: Add i[34]86-*-isc*.
3092
5e27c054 3093 * stabsread.c: Make sure all complain() pass the address of the struct.
b646b438
JK
3094
3095 * xcoffread.c: Make sure all struct complaints are static not auto.
3096
3097 * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
3098
73262420
JK
3099 * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
3100
2c6af8c0
JK
3101Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3102
3103 * config/i386/linux.mh: Re-enable coredumps now that they should work.
3104
ee3d350d
RP
3105Wed May 19 15:44:20 1993 K. Richard Pixley (rich@cygnus.com)
3106
3107 * config/m68k/tm-m68k.h (FRAME_CHAIN): add missing close paren.
3108
f3fe87c7
SG
3109Wed May 19 15:33:57 1993 Stu Grossman (grossman@cygnus.com)
3110
3111 * config/pa/nm-hppab.h: Comment PTRACE_ARG3_TYPE.
3112
5b40415c
JK
3113Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3114
3115 * Makefile.in (INSTALLED_LIBS): New variable.
3116
31d16514
JK
3117Tue May 18 14:08:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3118
94d50340
JK
3119 * main.c (quit_command): In the "quit anyway?" message, tell the user
3120 whether we are planning to detach or kill the program.
3121
cdaa7905
JK
3122 * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
3123 * config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
3124
15f78602
JK
3125 * infcmd.c (read_pc): Doc fix.
3126
511933e7
JK
3127 * printcmd.c (print_address_symbolic): Use %u not %d for offset.
3128
993583e5
JK
3129 * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
3130 signal_handler_caller.
3131 * tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
3132 * tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
3133 * inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
3134 Use SIGTRAMP_START if defined.
3135 * infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
3136 * infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
3137
7f8253c7
JK
3138 * infptrace.c: Remove unused KERNEL_U_ADDR_HPUX code.
3139
b1b4a89e
JK
3140 * infcmd.c (step_1): Fix poorly worded error message.
3141
865e574b
JK
3142 * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
3143 Comment out corelow.c because core dumps are broken on these machines.
3144
31d16514
JK
3145 * Makefile.in (depend): Put "${srcdir}" in generated dependencies
3146 if srcdir is not ".".
3147 Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
3148 (INCLUDE_CFLAGS): Remove BFD_DIR and READLINE_DIR.
3149 * depend: Update to latest automatically built version.
3150
6e50aeb4
FF
3151Tue May 18 08:10:45 1993 Fred Fish (fnf@cygnus.com)
3152
3153 * ChangeLog, ChangeLog-92: Split ChangeLog at 1993.
3154 * Makefile.in (NONSRC): Add ChangeLog-92
3155
3156Tue May 18 08:03:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
f49cf589
JK
3157
3158 * findvar.c ({read,write}_register): Use REGISTER_RAW_SIZE
3159 not typo RAW_REGISTER_SIZE.
3160
3161 * frame.h, inferior.h: Doc fixes.
3162
35247ccd
SG
3163Mon May 17 15:43:03 1993 Stu Grossman (grossman@cygnus.com)
3164
3165 * findvar.c (write_register): Add sanity check for register size.
3166 (read_register): Fixup sanity check for register size to be
3167 consistent with write_register().
3168
3169Mon May 17 07:36:20 1993 Ian Lance Taylor (ian@cygnus.com)
3170
3171 * sparclite/Makefile.in: Add dummy info, install and install-info
3172 targets.
3173
d968d5b4
RP
3174Thu May 13 07:30:22 1993 Ian Lance Taylor (ian@cygnus.com)
3175
3176 * remote-nindy.c: Removed declaration of coffstrip.
3177 * nindy-share/nindy.c: #if 0 coffstrip routine; no longer used.
3178
377f53d2
FF
3179Wed May 12 00:35:19 1993 Fred Fish (fnf@cygnus.com)
3180
3181 * Makefile.in (VERSION): Bump to 4.9.1 after release and cvs
3182 tagging.
3183
3184 * Makefile.in (VERSION): GDB 4.9 release.
3185
965a33af
FF
3186Tue May 11 08:04:41 1993 Fred Fish (fnf@cygnus.com)
3187
3188 * README: Update known bugs to include the Solaris bug that
3189 leaves core dumps in the current directory when restarting the
3190 inferior with "run". Expand on the testsuite information.
3191
3192 * Makefile.in (VERSION): Bump to 4.8.96 for what should hopefully
3193 be the last 4.9 prerelease test archive.
3194
d2712f02
JK
3195Mon May 10 22:13:23 1993 Jim Kingdon (kingdon@cygnus.com)
3196
3197 * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
3198 redefined warnings.
3199
0a4a0f09
FF
3200Mon May 10 20:00:43 1993 Fred Fish (fnf@cygnus.com)
3201
3202 * README, NEWS: Update for gdb 4.9 release.
3203
57ffffe3
JG
3204Mon May 10 19:38:34 1993 John Gilmore (gnu@cygnus.com)
3205
3206 * ch-exp.y (MAX, MIN): Rename to MAX_TOKEN, MIN_TOKEN.
3207 * target.c (MIN): #undef before defining.
3208
4a2383c1
JK
3209Mon May 10 16:03:03 1993 Jim Kingdon (kingdon@cygnus.com)
3210
3211 Patch from Jeffrey Law:
3212 * gdb/config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
3213
1edc5cd2
ILT
3214Mon May 10 15:28:27 1993 Ian Lance Taylor (ian@cygnus.com)
3215
3216 * hppa-tdep.c (hppa_push_arguments): Allocate correct amount of
3217 memory.
3218
f39a2631
FF
3219Mon May 10 13:14:46 1993 Fred Fish (fnf@cygnus.com)
3220
3221 * ch-exp.y (start): Apply work-around to avoid bison warning.
3222
67d2bd1a
FF
3223Sun May 9 07:25:02 1993 Fred Fish (fnf@cygnus.com)
3224
0b81fc43
FF
3225 * Makefile.in (BISON): Remove double quotes around BISON
3226 definition when bison is used.
3227
8f59e92b
FF
3228 * configure.in (hppa*-hp-bsd): Change to hppa*-hp-bsd*
3229 * configure.in (hppa*-hp-hpux): Change to hppa*-hp-hpux*
3230 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
3231 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
3232 * configure.in (hppa*-*-bsd): Change to hppa*-*-bsd*
3233 * configure.in (hppa*-*-hpux): Change to hppa*-*-hpux*
3234 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
3235 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
3236
67d2bd1a
FF
3237 * Makefile.in (VERSION): Bump to 4.8.6.
3238
64c5ac4f
FF
3239Sat May 8 12:36:03 1993 Fred Fish (fnf@cygnus.com)
3240
3241 * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
3242 include declarations for malloc/realloc/free. Both malloc and
3243 realloc return 'void *' for non-ANSI compilations.
3244
1adf2ba9
PS
3245Sat May 8 01:39:30 1993 (pes@regent.e-technik.tu-muenchen.de)
3246
3247 * coffread.c (read_coff_symtab): Don't fclose stream as it is no
3248 longer opened twice.
3249
7a758f71
JK
3250Thu May 6 21:08:55 1993 Jim Kingdon (kingdon@cygnus.com)
3251
3252 * solib.c (clear_solib): Don't close bfd if it is NULL.
3253
34b70237
FF
3254Thu May 6 20:55:35 1993 Fred Fish (fnf@cygnus.com)
3255
3256 * core.c (dis_asm_read_memory): Cast second arg of
3257 target_read_memory to "char *".
3258 * breakpoint.c (watchpoint_check): Change arg type from PTR to
3259 "char *", to match other functions called by catch_errors().
3260
2c298c09
SG
3261Thu May 6 15:47:45 1993 Stu Grossman (grossman@cygnus.com)
3262
3263 * More patches from Jeffrey Law (law@cs.utah.edu).
35247ccd 3264 * gdb/config/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
2c298c09
SG
3265 * gdb/config/pa/tm-hppah.h (millicode_start, millicode_end):
3266 Delete unnecessary declarations.
3267
9e15da4a
SG
3268Thu May 6 15:15:46 1993 Stu Grossman (grossman@cygnus.com)
3269
3270 * ser-unix.c (wait_for): Use VTIME to do timeouts instead of
3271 poll() for termio{s}.
3272
dfa592fb
JK
3273Thu May 6 10:03:41 1993 Jim Kingdon (kingdon@cygnus.com)
3274
3275 * i386-tdep.c (i386_frame_num_args): Always return -1.
3276
d83a6710
SG
3277Wed May 5 15:16:33 1993 Stu Grossman (grossman@cygnus.com)
3278
a34d4bc1 3279 * Patches from Jeffrey Law <law@cs.utah.edu>.
8fa74880
SG
3280 * gdb/hppa-tdep.c: Declare frame_saved_pc.
3281 (frameless_function_invocation): New function.
3282 (frame_saved_pc, init_extra_frame_info): Use
3283 frameless_function_invocation.
f45e781f 3284 * gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
8fa74880
SG
3285 call instead of just grabbing the value currently in %r2.
3286 (FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
f45e781f 3287 * gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
8fa74880 3288 definition and use the common one in tm-hppa.h.
4b01383b
SG
3289 * gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
3290 use unwind descriptors to determine if the frame chain is valid.
b227992a
SG
3291 * gdb/hppa-tdep.c (find_dummy_frame_regs): Rework so that
3292 it does not assume %r4 is the frame pointer.
68c8d698
SG
3293 * gdb/hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
3294 and ssm instructions.
3295 * gdb/hppa-tdep.c (extract_5r_store, extract_5R_store): New
3296 helper functions for print_insn.
a34d4bc1 3297 * gdb/hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
d83a6710 3298 * gdb/config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
a34d4bc1 3299 which nullifies the following instruction.
d83a6710 3300
a7edcb25
JK
3301Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
3302
d83a6710
SG
3303 * infptrace.c [FIVE_ARG_PTRACE]: Define ptrace to call_ptrace and
3304 pass the 5th arg there, rather than using an ANSI C-specific macro.
3305
a7edcb25
JK
3306 * Makefile.in (depend): Don't include ${CC} command for *.tab.c.
3307
d39fbfe3
FF
3308Tue May 4 19:33:12 1993 Fred Fish (fnf@cygnus.com)
3309
3310 * Makefile.in (VERSION): Bump to 4.8.5
3311 * Makefile.in (INCLUDE_CFLAGS): Add BFD_DIR and READLINE_DIR
3312 directories to include search path.
3313 * Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS): Clean up
3314 whitespace.
3315 * Makefile.in (depend): For gcc -MM line, use INTERNAL_CFLAGS
3316 * Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
3317 elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
3318 xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
3319 udr.o, udip2soc.o): Remove explicit rules, use the ones that
3320 are automatically generated in "depend".
3321 * Makefile.in (paread.o): Document why a dependency doesn't get
3322 automatically generated in "depend" and leave this explicit rule
3323 in for now (FIXME).
3324 * depend: Update to latest automatically generated version.
3325
5b8462fa
JK
3326Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
3327
67240bb8
JK
3328 * xcoffread.c: Doc fix.
3329
5b8462fa
JK
3330 * Makefile.in (depend): Include $(CC) command in generated output.
3331
5287eacd
FF
3332Mon May 3 22:51:05 1993 Fred Fish (fnf@cygnus.com)
3333
3334 * Makefile.in (NONSRC): Remove ${srcdir}/putenv.c.
3335 * Makefile.in (SFILES): Add ${srcdir}/putenv.c.
3336 * depend: Update to latest automatically built version.
3337
9775789d
SG
3338Mon May 3 19:20:20 1993 Stu Grossman (grossman@cygnus.com)
3339
f202f778
SG
3340 * sparclite/Makefile.in: Create default target that does nothing
3341 in order to force user to build by hand.
3342
1e8005d0
SG
3343 * sparclite/Makefile: Remove. It's not necessary anymore.
3344
9775789d
SG
3345 * ser-unix.c (wait_for): New routine to handle read timeouts,
3346 etc. Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise.
3347
588cca90
ILT
3348Mon May 3 13:52:08 1993 Ian Lance Taylor (ian@cygnus.com)
3349
3350 * mips-pinsn.c (print_insn): Return value.
3351
ebd99d54
FF
3352Sun May 2 11:43:57 1993 Fred Fish (fnf@cygnus.com)
3353
588cca90
ILT
3354 * Makefile.in (SFILES): Remove ser-hardwire.c; it is a link made
3355 at configuration time and doesn't belong in the distribution archive.
3356
d8aaff82
FF
3357 * Makefile.in (NONSRC): Add 29k-share/README.
3358 * Makefile.in (HFILES): Add 29k-share/udi/udiids.h.
3359
ebd99d54
FF
3360 * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex
3361 constants with slightly more portable definitions (still depends
3362 on 2's complement arithmetic though).
3363 * config/i386/nm-linux.h: Define NO_SYS_REG_H for no <sys/reg.h>.
3364 * i386v-nat.c (sys/reg.h): Conditionalize include on
3365 NO_SYS_REG_H. Linux doesn't have <sys/reg.h>.
3366 * ser-unix.c (termio.h): Include <termio.h> like other files that
3367 include termio.h, not <sys/termio.h> which may not exist (on
3368 linux for example).
3369
9b25bb09
FF
3370Sat May 1 16:05:24 1993 Fred Fish (fnf@cygnus.com)
3371
3372 * valprint.c (print_longest): Change format parameter from a
3373 'char' to an 'int'. We can't have 'char' parameters with the
3374 current coding style, where we mix prototypes with pre-ANSI
3375 style declarations.
3376 * value.h (print_longest): Change format parameter in prototype
3377 from a 'char' to an 'int'.
3378
dea149ce
PS
3379Sat May 1 02:47:20 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3380
23654371 3381 * config/mips/tm-mips.h (STAB_REG_TO_REGNUM): Match it with the gcc
dea149ce 3382 definition.
23654371 3383 * config/mips/tm-irix3.h (STAB_REG_TO_REGNUM): Add.
dea149ce
PS
3384 * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
3385
2f1c04d1
SG
3386Fri Apr 30 17:45:32 1993 Stu Grossman (grossman@cygnus.com)
3387
3388 * The following patches are from Jeffrey Law <law@cs.utah.edu>.
3389 * config/pa/hppabsd.mh: Add more files to NATDEPFILES.
3390 * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
3391 * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
3392 ptrace needs 5 arguments, #define ptrace to always
3393 pass zero as the 5th argument.
3394
c7cb9064
SC
3395Fri Apr 30 15:54:13 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3396
3397 * configure.in: Match z8k-*-sim for z8000.
3398 * config/h8500/tm-h8500.h, h8500-tdep.c: Lint.
3399 * remote-hms.c: Update to use new serial protocol.
3400
5385e525
RP
3401Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3402
5084717f
RP
3403 * mips-tdep.c: remove include of sys/dir.h. Doesn't seem
3404 necessary and Solaris doesn't have it.
3405
0139c441
RP
3406 * Makefile.in (clean-info, install, install-info, info, dvi,
3407 check, all): do not echo recursion lines.
3408
5084717f 3409 * 29k-share/udip2soc.c (UDIConnect): replace union wait with int.
8317b39f 3410
13b464b2
RP
3411 * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
3412 required target ports which use sockets (like a29k-udi).
3413
2f1c04d1 3414 * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST.
5385e525 3415
8d57a263
JK
3416Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com)
3417
eca29634
JK
3418 * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
3419 systems lacking select().
3420
db7c818b 3421 * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES.
8d57a263 3422
496ca67c
FF
3423Fri Apr 30 10:06:46 1993 Fred Fish (fnf@cygnus.com)
3424
3425 * alldeps.mak, depend: Update with latest automatically built
3426 versions.
3427
3717e95b
FF
3428Thu Apr 29 12:03:23 1993 Fred Fish (fnf@cygnus.com)
3429
d5f608a4
FF
3430 * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c.
3431
97e72c06
FF
3432 * Makefile.in (make-proto-testsuite.dir): New target to make
3433 prototype testsuite tree.
97e72c06 3434
3717e95b
FF
3435 * Makefile.in (VERSION): Bump to 4.8.4.
3436
ff580c7b
JK
3437Thu Apr 29 08:46:22 1993 Jim Kingdon (kingdon@cygnus.com)
3438
3439 * stabsread.c (define_symbol): If unrecognized constant type,
3440 complain() not error().
3441
7efb57c3
FF
3442Thu Apr 29 00:03:59 1993 Fred Fish (fnf@cygnus.com)
3443
f43aec2e
FF
3444 * infptrace.c: Add missing close paren to test for
3445 FIVE_ARG_PTRACE defined.
3446
7efb57c3
FF
3447 * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG
3448 when compiling with gcc, but disable it for now. See comment.
3449 * defs.h (LONGEST): Define as either "long" or "long long"
3450 based on CC_HAS_LONG_LONG.
3451 * defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control
3452 how longest_to_int is defined.
3453 * c-valprint.c (c_val_print): Call print_longest.
3454 * expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG
3455 instead of LONG_LONG.
3456 * {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with
3457 CC_HAS_LONG_LONG.
3458 * printcmd.c (print_scalar_formatted): Call print_longest
3459 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
3460 * typeprint.c (print_type_scalar): Call print_longest and let
3461 it figure out what to do for PRINTF_HAS_LONG_LONG.
3462 * valprint.c (val_print_type_code_int): Call print_longest
3463 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
3464 * stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
3465 * value.h (struct value): Replace usage of LONG_LONG with
3466 CC_HAS_LONG_LONG.
3467 * value.h (print_longest): Add prototype.
3468 * values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
3469 * values.c (unpack_double): Collapse code that was unnecessarily
3470 dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types.
3471 * values.c (value_from_longest): Remove dependency on
3472 CC_HAS_LONG_LONG and just use LONGEST.
3473 * solib.c (solib_map_sections): Use bfd_get_filename
3474 to access filename field.
3475 * solib.c (clear_solib): Save filename and free it later, after
3476 bfd_close, since bfd_close may reference it. Use bfd_get_filename
3477 to access the field.
3478 * config/convex/xm-convex.h (LONG_LONG): Replace with
3479 CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG.
3480 * doc/gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG.
3481 Add PRINTF_HAS_LONG_LONG references.
3482
0626f40d
JK
3483Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
3484
31b56726
JK
3485 * inflow.c (kill_command), infcmd.c (attach_command),
3486 remote.c (remote_interrupt_twice): In messages for the user, call it
3487 "the program" or "the program being debugged" not "the inferior".
3488
0626f40d
JK
3489 * hp300ux-nat.c: Cast second arg to supply_register calls.
3490 (_initialize_kernel_u_addr, getpagesize): New functions.
3491 (store_inferior_register_1): Change arg name from value to val.
3492 (fetch_core_registers): Make arg core_reg_size unsigned.
3493 Pass 5 args to ptrace.
3494 * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
3495 Remove KERNEL_U_ADDR stuff.
3496 * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
3497 * config/m68k/hp300hpux.m{t,h}:
3498 Move exec.o from NATDEPFILES to TDEPFILES
3499 * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove
3500 hp-include stuff. Add m68k-tdep.o to TDEPFILES.
3501
d8f23320
PS
3502Wed Apr 28 13:27:54 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3503
3504 * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.
3505
08bb2617
JK
3506Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
3507
3508 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.
3509
caa53d6d
RP
3510Wed Apr 28 11:39:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
3511
3512 * doc/gdb.texinfo: make node "Shell Commands" unconditional;
3513 describe `set demangle-style arm' (not cfront);
3514 mention can type `q' to discard output, when gdb pages
3515
212e10cf
PS
3516Wed Apr 28 11:32:39 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3517
3518 * valops.c (search_struct_field): Fix gdb core dump with incomplete
3519 stabs info.
3520
ebdb9ade
JK
3521Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
3522
3523 * remote.c: Change timeout to 2.
3524 (remote_open): Use unpush_target not remote_close.
3525 (remote_resume): If siggnal != 0, give warning not error().
3526 (remote_wait, remote_interrupt, remote_interrupt_twice):
3527 If we get two interrupts, let the user get out if they want.
3528 (remote_{kill,mourn}): New functions.
3529 i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
3530
c0f2f39c
ILT
3531Wed Apr 28 09:20:55 1993 Ian Lance Taylor (ian@rtl.cygnus.com)
3532
3533 * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
3534
609e1c57
JK
3535Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
3536
71607f9d
JK
3537 * Remote targets (mourn): Call unpush_target.
3538
e82980e4
JK
3539 * config/sparc/xm-sun4os4.h: Declare free() to return int.
3540 Remove twisted use of PARAMS.
3541
609e1c57
JK
3542 * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
3543 that ansidecl.h assumes ANSI on AIX.
3544
ab425a9b
JK
3545Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
3546
3547 * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
3548 (Known bugs): Remove AIX bugs, revise SPARC struct bug description.
3549
f661c4ca
PS
3550Tue Apr 27 13:44:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3551
3552 * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.
3553
ebe8362f
JK
3554Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
3555
3556 * remote-vx.c (net_connect): Allow numeric IP address for host.
3557
9faacb92
SC
3558Mon Apr 26 17:59:38 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3559
3560 * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files.
3561
9aa31e91
JK
3562Mon Apr 26 07:13:32 1993 Jim Kingdon (kingdon@cygnus.com)
3563
3564 * rs6000-tdep.c (branch_dest): Deal with stepping through system call.
3565
3566 * symtab.h, xcoffread.c: Revise linetable sorting comments.
3567
24d45a63
PS
3568Sun Apr 25 02:32:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3569
3570 * valops.c (value_cast): A cast might also change the object
3571 representation in C++.
3572 * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
3573 to get the proper read_symtab function when called from mipsread.c.
3574 * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
3575 Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
3576 for dummy psymtabs, inhibit processing of dummy psymtabs.
3577
8cba9703
JK
3578Sat Apr 24 19:59:54 1993 Jim Kingdon (kingdon@cygnus.com)
3579
87237c52
JK
3580 * Changes from (or inspired by) AMD:
3581 * remote-udi.c (udi_attach): Assignments to Space and Offset were
3582 switched, fix it.
3583 (udi_wait): Make error message (UDIGetStdout) match error.
3584 (udi_wait): Handle UDIStdinNeeded.
3585 * command.c [CANT_FORK]: Use system().
3586 * utils.c (prompt_for_continue): Allow quit with 'q'.
3587
8cba9703
JK
3588 * solib.c (solib_add): Don't call special_symbol_handling if there
3589 were errors in symbol_add_stub. Also set so->from_tty before
3590 calling symbol_add_stub.
3591
66a1aa07
SG
3592Fri Apr 23 16:17:00 1993 Stu Grossman (grossman@cygnus.com)
3593
3594 * Merge in HPPA/BSD patches from Utah:
3595 * defs.h: Add const to 2nd arg of psignal prototype.
3596 * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with
3597 BSD now.
3598 * hppab-core.c: Deleted. No longer useful.
3599 * hppab-nat.c: #include more files. Use PT_WUREGS, not
3600 PT_WRITE_U.
3601 * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c.
3602 * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o.
3603 * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
3604 * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
3605 * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE.
3606
b5728692
SG
3607Fri Apr 23 10:34:02 1993 Stu Grossman (grossman@cygnus.com)
3608
3609 * Fix two bugs found by deja-gnu. One is the incorrect reporting
3610 of the PC being in a stack dummy when looking at a core file
3611 without symbols. The other is the incorrect passing of char
3612 arguments during expression evaluation (ie: p foo('a','b') would
3613 mess up the passing of it's args because it wasn't coercing the
3614 char's to ints).
3615 * hppah-tdep.c: Rename global functions to have consistent hppa_
3616 prefix. Make more functions static. Drop hp_ prefix from static
3617 functions. (hppa_push_arguments): Call value_arg_coerce to cast
3618 char to int args if necessary. (hppa_fix_call_dummy): Create
3619 this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
3620 * inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being
3621 valid (ie: != 0) before doing comparison against PC.
3622 * valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY
3623 to reflect new arguments.
3624 * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_
3625 prefix for func name. (FIX_CALL_DUMMY): Move code into
3626 hppah-tdep.c.
3627
3628 * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c: Add calls
3629 to malloc() so that we can test GDB eval of dynamically created
3630 arrays (like char strings in `print "foo"').
3631
7586127f
PS
3632Fri Apr 23 01:28:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3633
3634 * printcmd.c (print_address_symbolic): Search symtabs as well as the
3635 minimal symbols for a nearby symbol.
3636
158a0711
JG
3637Thu Apr 22 19:44:21 1993 John Gilmore (gnu@cacophony.cygnus.com)
3638
3639 * coffread.c: Comment changes around minimal symbol recording.
3640
3127785a
RP
3641Thu Apr 22 16:24:36 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3642
158a0711 3643 * command.c: comment changes only.
f936e20d 3644
3127785a
RP
3645 * mips-tdep.c (heuristic_fence_post): new static variable.
3646 (heuristic_proc_start): use heuristic_fence_post, print better
3647 warnings, but only if not stop_soon_quietly.
3648 (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
3649
5afa2040
JK
3650Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
3651
3652 * symtab.h: Fix LOC_REF_ARG comment.
3653
3654Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3655 and Jim Kingdon (kingdon@cygnus.com)
3656
3657 * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
3658 LOC_REGPARM symbol.
3659 * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
3660 symfile.c (compare_symbols): Don't check first character; STRCMP
3661 does that.
3662
3663 * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
3664 structures that are passed by address in a register.
3665 * symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
3666 * findvar.c (read_var_value),
3667 printcmd.c (address_info, print_frame_args),
3668 stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
3669 * symtab.c (lookup_block_symbol): Deal with it.
3670
fce30fa1
JK
3671Thu Apr 22 09:07:24 1993 Jim Kingdon (kingdon@cygnus.com)
3672
4365c36c
JK
3673 * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
3674 Add objfile field.
3675 * objfiles.c (find_pc_section): Return a struct obj_section *.
3676 * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
3677 * symfile.c (syms_from_objfile) [IBM6000_TARGET]:
3678 Don't use obj_section hack.
3679 * xcoffexec (vmap_symtab): Relocate obj_sections.
3680 * printcmd.c (containing_function_bounds): Use find_pc_section.
3681
fce30fa1
JK
3682 * symtab.h: Clean up SYMBOL_VALUE comments.
3683
f2c365f5
JK
3684Wed Apr 21 14:29:57 1993 Jim Kingdon (kingdon@cygnus.com)
3685
31258e4f
JK
3686 * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
3687 Expand comments about LOC_ARG/LOC_LOCAL pairs.
3688
f2c365f5
JK
3689 * coffread.c (read_coff_symtab): Use rewind before fseek.
3690
32d8a6d3
PB
3691Wed Apr 21 14:24:19 1993 Per Bothner (bothner@cygnus.com)
3692
3693 * ch-exp.y: Removed unused structure_primitive_value and FIXME_23.
3694 * Makefile.in: Add $(YFLAGS) when using $(YACC).
3695 * Makefile.in: Remove message to expect conflicts and unused
3696 rules in ch-exp.y, since there no longer are any such.
3697
1b5c6c05
DZ
3698Wed Apr 21 13:27:50 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3699
3700 * stabs.texinfo: fixed bad xrefs (un-initialized statics)
3701
cee86be3
JK
3702Tue Apr 20 08:55:11 1993 Jim Kingdon (kingdon@cygnus.com)
3703
4cdcf3b9
JK
3704 * xcoffexec.c (xcoff_relocate_core): If no exec file, error()
3705 rather than dumping core.
3706
24c2857c 3707 * Makefile.in: Add ${srcdir}/ to all source files.
4cdcf3b9 3708 (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak.
24c2857c
JK
3709 (TAGS): Deal with srcdir and new config directory scheme.
3710 createtags: Remove.
3711 Makefile.in (NONSRC): Remove createtags.
3712 alldeps.mak: Updated.
3713
cee86be3
JK
3714 * rs6000-tdep.c: Delete unused function print_frame.
3715
3716 * frame.h (struct frame_info): Doc fix for next_frame.
3717 New field signal_handler_caller.
3718 blockframe.c (create_new_frame, get_prev_frame_info),
3719 config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
3720 INIT_FRAME_PC_FIRST).
3721 stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
3722 Check it.
3723
9583b295
SG
3724Mon Apr 19 22:52:33 1993 Stu Grossman (grossman@cygnus.com)
3725
3726 * irix4-nat.c (fetch_core_registers): Special version of this for
3727 Irix 4.x, which stores regs a bit differently from other /proc
3728 based systems.
3729 * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c
3730 to new file core-svr4.c.
3731 * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
3732 config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o
3733 to NATDEPFILES.
3734 * config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
3735
3f06498a
JK
3736Mon Apr 19 11:13:34 1993 Jim Kingdon (kingdon@cygnus.com)
3737
3738 * i387-tdep.c: Remove unused #includes.
3739
3740 * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32.
3741
3742 * config/i386/nm-i386v.h: Define NO_PTRACE_H.
3743
058eb766
JK
3744Sun Apr 18 10:39:35 1993 Jim Kingdon (kingdon@cygnus.com)
3745
3746 * xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back.
3747
3748 * stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
3749 xcoffread.c (process_xcoff_symbol, case C_RPSYM):
3750 Don't muck with SYMBOL_CLASS.
3751
04c6a64f
SG
3752Fri Apr 16 17:38:33 1993 Stu Grossman (grossman@cygnus.com)
3753
3754 * munch: Don't use head command. It doesn't exist everywhere.
3755
9c225659
FF
3756Fri Apr 16 15:07:57 1993 Fred Fish (fnf@cygnus.com)
3757
3758 * inflow.c (new_tty): Remove spurious 'o' character at end
3759 of #endif line.
3760
e157305c
PS
3761Fri Apr 16 12:27:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3762
3763 * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
3764 instructions and nothing more.
3765 * mipsread.c (add_line): Add comment why we have to combine line number
3766 entries for the same line number.
3767
0b28c260
JK
3768Fri Apr 16 09:42:03 1993 Jim Kingdon (kingdon@cygnus.com)
3769
3770 * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
3771 in gdb 2.8!).
3772
dd052d9a
FF
3773Thu Apr 15 21:16:58 1993 Fred Fish (fnf@cygnus.com)
3774
3775 * depend, alldeps.mak: Update, now that gcc -MM bug is fixed.
3776
9fa59efd
JK
3777Thu Apr 15 12:38:39 1993 Jim Kingdon (kingdon@cygnus.com)
3778
3779 * source.c (select_source_symtab): Clean up comment. Also, if
3780 we have a current_source_symtab, and s is NULL, return without
3781 doing anything.
3782 xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
3783 breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
3784
65ce5df4
JG
3785Thu Apr 15 02:37:48 1993 John Gilmore (gnu@cacophony.cygnus.com)
3786
3787 * dbxread.c (unknown_symchar_complaint): Add new complaint.
6f49b01e 3788 * stabsread.h: Declare it.
65ce5df4
JG
3789 * partial-stab.h: Use it.
3790
3791 * utils.c (malloc_botch): Don't forward-declare if NO_MMALLOC.
3792
486b440e
JK
3793Wed Apr 14 17:12:51 1993 Jim Kingdon (kingdon@cygnus.com)
3794
df2a1bd7
JK
3795 * stack.c (print_frame_info): Print specially if dummy frame.
3796
fa99ebe1
JK
3797 * breakpoint.c: Add comments regarding within_scope future direction.
3798
ee7e82fe
JK
3799 * Version 4.8.3.
3800
486b440e
JK
3801 * xcoffread.c (record_include_{begin,end}): Change fatal to complain.
3802
3803Wed Apr 14 14:03:18 1993 Per Bothner (bothner@cygnus.com)
3804
3805 * ch-exp.y: Fix thinko that broke parsing of FALSE.
3806
39cb3d04
PS
3807Wed Apr 14 12:49:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3808
3809 * stabsread.c (read_member_functions): Initialize domain for stubbed
3810 member functions to avoid gdb core dumps when printing pointers
3811 to member functions.
3812 * cp-valprint.c (cp_print_class_method): Check for stubbed member
3813 functions.
3814
ccd87bf2
JK
3815Tue Apr 13 08:28:26 1993 Jim Kingdon (kingdon@cygnus.com)
3816
e2ff731b
JK
3817 * expprint.c (print_subexp): If opcode not found in op_print_tab,
3818 stop with an error().
3819 eval.c (evaluate_subexp): Change error message.
3820
ccd87bf2
JK
3821 * objfiles.c (build_objfile_section_table): Cast return value
3822 from obstack_finish.
3823
0a62ff36
JK
3824Mon Apr 12 10:53:50 1993 Jim Kingdon (kingdon@cygnus.com)
3825
f3649227
JK
3826 * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
3827 to rs6000_frame_chain and deal with it if we're in a signal handler.
3828 (FRAME_SAVED_PC): Use rs6000_frame_chain.
3829
0a819c04
JK
3830 * breakpoint.c (within_scope): New function.
3831 (enable_breakpoint, watchpoint_check): Use it.
3832
affc9686
JK
3833 * source.c (openp): Handle "exec-file ./ls" correctly.
3834
0a62ff36
JK
3835 * breakpoint.c (breakpoint_1): Use wrap_here before "at".
3836
5a7c9cce
PB
3837Sat Apr 10 01:32:43 1993 Per Bothner (bothner@rtl.cygnus.com)
3838
3839 * ch-exp.y: Clean up lexing of identifiers and
3840 reserved words. (E.g. don't recognize FALSEXXX as the
3841 keyword FALSE followed by the identifier XXX.)
3842 Also, convert identifiers to lower case.
3843
1724c671
SG
3844Fri Apr 9 15:53:19 1993 Stu Grossman (grossman@cygnus.com)
3845
3846 * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
3847 new serial interface.
3848
4febd102
SG
3849Fri Apr 9 15:01:12 1993 Stu Grossman (grossman@cygnus.com)
3850
3851 * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
3852 (putpkt, getpkt): Use new return codes for SERIAL_READCHAR.
3853 * ser-go32.c: Return -1 on most failures, 0 on most successes,
3854 and use new return codes for go32_readchar().
3855 * ser-unix.c: Ditto. Also, move error handling up to caller for
3856 SERIAL_SETBAUDRATE().
3857 * serial.c (serial_open): Internal call, not SERIAL_OPEN to get
3858 to specific routine.
3859 (serial_close): New routine to wrap around device close routine.
3860 serial.h: Clean & document return values more clearly.
3861
a80c7bf6
JK
3862Fri Apr 9 10:20:55 1993 Jim Kingdon (kingdon@cygnus.com)
3863
944c1c2f
JK
3864 * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
3865
3866 * rs6000-pinsn.c (print_operand, case LI): Print condition register
3867 operand in decimal rather than wrong textual versions.
3868
21486670
JK
3869 * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
3870 (mention 't', remove false thing about 'g' only good with 'f').
3871
ddc6e6f7
JK
3872 * breakpoint.h: move "struct breakpoint" and friends to top of
3873 file so that bpstat_find_breakpoint prototype works.
3874
a80c7bf6
JK
3875 * solib.c (struct so_list): Add bfd field.
3876 (solib_map_sections): Leave bfd open and scratch_pathname allocated.
3877 Put the bfd in bfd field of the so_list.
3878 (clear_solib): Free bfd name and close_bfd on the bfd.
3879
47f366bc
PB
3880Fri Apr 9 00:45:41 1993 Per Bothner (bothner@rtl.cygnus.com)
3881
3882 * valarith.c (value_subscript): Add COERCE_REF.
3883 * ch-exp.y (operand_5): We can generalize the 2nd operand
3884 of a string repetition ot 'literal' without ambiguity.
3885
cabd4da6
JK
3886Thu Apr 8 10:15:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3887
3888 * breakpoint.h (struct bpstat): Remove momentary field.
3889 Remove bpstat_momentary_breakpoint. This was always kludgy
3890 and is no longer used.
3891
3892 * breakpoint.h: Add enum bpstat_what.
3893 breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
3894 stop and print fields of bpstat now per-breakpoint, not just
3895 one for the whole chain.
3896 breakpoint.{c,h} (bpstat_what): New function.
3897 breakpoint.h: Remove bpstat_stop and bpstat_should_print.
3898 infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
3899 with call to bpstat_what.
3900 README: Remove watchpoint/breakpoint bug from known bugs.
3901
3902 * breakpoint.h: Prototype bpstat_find_breakpoint.
3903
dfbfbd96
FF
3904Thu Apr 8 16:01:21 1993 Fred Fish (fnf@cygnus.com)
3905
3906 * symtab.c (find_methods, gdb_mangle_name): Note that functions
3907 are g++ specific.
3908 * symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
3909 DESTRUCTOR_PREFIX_P): Note that macros are g++ specific.
3910
3911Thu Apr 8 12:45:32 1993 Ian Lance Taylor (ian@cygnus.com)
3912
3913 * i960-pinsn.c (tabent): Copied struct definition from
3914 opcodes/i960-dis.c.
3915
ca6a826d
PS
3916Thu Apr 8 10:34:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3917
3918 * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
3919 is a C++ destructor.
3920 * symtab.c (gdb_mangle_name): Use it.
3921 * symtab.c (find_methods): Do not add destructors to choice list
3922 for constructors.
3923 * symtab.c (decode_line_1): Make breakpoints on destructors work
3924 for gcc-2.x again.
3925
40b56283
SG
3926Wed Apr 7 18:43:09 1993 Stu Grossman (grossman@cygnus.com)
3927
b83bf6b3
SG
3928 * ser-go32.c: Make it use serial port name.
3929 * go32-xdep.c: Put in def for strlwr, needed by dir.o in go32 libc.
3930
40b56283
SG
3931 * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
3932 in a system call!
3933
41faa775
SG
3934Wed Apr 7 15:52:11 1993 Stu Grossman (grossman@cygnus.com)
3935
3936 * configure.in: Only configure sparclite subdir when target_cpu
3937 is sparclite.
3938
f635bd47
JK
3939Wed Apr 7 10:11:22 1993 Jim Kingdon (kingdon@cygnus.com)
3940
ef5b809c
JK
3941 * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
3942 Remove FIXME comment regarding this.
3943
47045b36
JK
3944 * symfile.h: Change NULL->'\0' in comment (that wasn't a typo).
3945
f635bd47
JK
3946 * xcoffread.c (read_xcoff_symtab): Use E_SYMNMLEN.
3947
73d0fc78
RP
3948Tue Apr 6 22:30:58 1993 K. Richard Pixley (rich@cygnus.com)
3949
3950 Add section table to objfile struct. Use it for find_pc_section.
3951 * objfiles.c (add_to_objfile_sections,
3952 build_objfile_section_table, find_pc_section): new functions.
3953 (allocate_objfile): build section table.
3954 * objfiles.h (struct obj_section): new structure.
3955 (struct objfile): add section table.
3956 (find_pc_section): new prototype.
3957 * solib.[ch] (find_pc_section_from_so_list): removed.
3958 * sparc-tdep.c: include objfiles.h for find_pc_section. include
3959 symfile.h for objfiles.h.
3960 (in_solib_trampoline): adjusted for new find_pc_section
3961 prototype. Removed BAD_RICH_HACK ifdefs.
3962 * symfile.c (syms_from_objfile): offset objfile sections.
3963 (find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs.
3964 * symfile.h (find_pc_section): prototype removed. Also fixed
3965 comment typo NUL -> NULL.
3966 * target.[ch] (find_pc_section_from_targets): removed.
3967 * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
3968
07861607
SG
3969Tue Apr 6 21:41:13 1993 Stu Grossman (grossman@cygnus.com)
3970
3971 * ser-go32.c: Format. (go32_open): Use proper return value.
3972
3973 * configure.in: Undo conditional configdirs hack for sparclite.
3974
118ec55a
JW
3975Tue Apr 6 17:07:37 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
3976
3977 * symtab.c (list_symbols): When call break_command, pass both
3978 filename and function name not just function name.
3979
3980Tue Apr 6 15:00:09 1993 Fred Fish (fnf@cygnus.com)
3981
3982 (Changes and new files to make "none" a full fledged configuration)
3983 * config/none/{nm-none.h, tm-none.h, xm-none.h}: New files.
3984 Currently only tm-none.h has any meaningful contents.
3985 * config/none/none.mh (NAT_FILE): Use nm-none.h
3986 * config/none/none.mh (XM_FILE): Use xm-none.h
3987 * config/none/none.mt (TM_FILE): Use tm-none.h
3988 * Makefile.in (depend): Remove comment about parse errors in
3989 valops.c, it now parses correctly and generates a correct depend
3990 line. Remove line that touches xm.h, tm.h, and nm.h; they are
3991 now linked to config/none/{xm-none.h, tm-none.h, nm-none.h}.
3992
786757a9
JK
3993Tue Apr 6 09:54:29 1993 Jim Kingdon (kingdon@cygnus.com)
3994
9925b928
JK
3995 * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
3996
786757a9
JK
3997 * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
3998 exactly 8 characters.
3999
0c101d49
SG
4000Tue Apr 6 10:31:26 1993 Stu Grossman (grossman@cygnus.com)
4001
4002 * configure.in: Sparclite uses sparc config dir. Also has it's
4003 own tm- & .mt files now. Also add sparclite to configdirs.
4004 * go32-xdep.c: Dummy routines for sigsetmask & strlwr.
4005 * config/i386/go32.mh: Nullify def of TERMCAP.
4006 * config/i386/xm-go32.h: Get rid of redef of EIO.
4007 * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite
4008 specific configs. Very similar to sun4os4, but without solib.
4009 * sparclite/{Makefile.in configure.in}: First cut at making this
4010 dir configgable.
4011
5d2b030a
SG
4012Tue Apr 6 03:10:44 1993 Stu Grossman (grossman@cygnus.com)
4013
4014 * ser-go32.c: First cut at adapting to new serial interface.
4015
4e772f44
SG
4016Mon Apr 5 22:29:43 1993 Stu Grossman (grossman@cygnus.com)
4017
4018 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
4019 These implement a new serial line interface for talking to remote
4020 targets.
4021 * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts,
4022 EXCEPT go32, which gets ser-go32.c.
4023 * remote.c: Use new serial interface. More remote-xxx's to be
4024 converted later.
4025 * ser-bsd.c, ser-termios.c: Removed.
4026 * serial.c: New. Implements common operations for all serial
4027 types.
4028 * ser-unix.c: New. Unix specific serial operations for various
4029 flavors of Unix (Posix, SysV, BSD).
4030 * serial.h: Generic serial interface defs.
4031 * config/i386/go32.mh, config/i386/i386bsd.h,
4032 config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove
4033 ser-bsd.o from XDEPFILES. All the magic is now handled in
4034 configure.in.
4035
9acdb2dc
SG
4036Mon Apr 5 20:48:54 1993 Stu Grossman (grossman@cygnus.com)
4037
4038 * config/h8500/tm-h8500.h: Clean up brain damage found by GCC.
4039
0848ad1c
JK
4040Fri Apr 2 08:23:14 1993 Jim Kingdon (kingdon@cygnus.com)
4041
1d7e34e1
JK
4042 * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.
4043
b0e932ad 4044 * rs6000-tdep.c (frameless_function_invocation): Don't even think
1d7e34e1 4045 about framelessness except on the innermost frame.
b0e932ad 4046
0848ad1c
JK
4047 * xcoffexec.c: Call fatal() not abort().
4048
4049 * stabsread.c (patch_block_stabs): If stab & no symbol, make
4050 a LOC_OPTIMIZED_OUT symbol.
4051 symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
4052 findvar.c (read_var_value), printcmd.c (address_info),
4053 symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
4054 m2-exp.y (yylex): Deal with it.
0848ad1c 4055 ch-exp.y (yylex): Deal with it.
0848ad1c
JK
4056
4057Thu Apr 1 18:43:02 1993 Stu Grossman (grossman@cygnus.com)
4058
4059 * findvar.c (value_from_register): H8500 specific, check to see
4060 if we are looking at short pointer. If so, skip crock.
4061 * h8500-tdep.c (h8500_frame_chain): Mask down value from
4062 read_memory_integer() to avoid getting messed up by sign extension.
4063
0e184833
RP
4064Thu Apr 1 16:44:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4065
4066 * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
4067 ifdef protect using BAD_RICH_HACK. This should be removed soon.
4068 * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
4069
a6cead71
JK
4070Thu Apr 1 09:01:38 1993 Jim Kingdon (kingdon@cygnus.com)
4071
720b3aed
JK
4072 * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a.
4073
4074 * core.c (dis_asm_print_address): New function.
4075
a6cead71
JK
4076 * core.c (dis_asm_read_memory): Reinstate 4th arg. The prototype
4077 has been fixed.
4078
494503c7
PS
4079Thu Apr 1 09:34:43 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4080
4081 * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
4082 entire breakpoint chain and print only the first entry that needs to
4083 be printed and needs to be stopped for. Fixes problems with printing
4084 of multiple breakpoints with different conditions.
4085 * breakpoint.c (print_it_done): Renamed from print_it_noop as it
4086 effectively stops printing of the breakpoint chain.
4087 * breakpoint.c (print_it_noop): New routine to print nothing
4088 for this breakpoint entry and dont stop printing.
4089 * breakpoint.c (breakpoint_re_set_one): mention the reevaluated
4090 watchpoint only if it is enabled.
4091 * mipsread.c (parse_procedure): Correct incorrect setjmp procedure
4092 descriptor from the library to make backtraces through setjmp work.
4093 * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
4094 sigtramp.
4095 * mips-tdep.c (read_next_frame_reg): Provide correct values for
4096 all registers saved within sigtramp, cleanup.
4097
f7ed13c7
JK
4098Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4099
4100 * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a.
4101
bf097a0b
RP
4102Wed Mar 31 21:23:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4103
4104 * core.c (dis_asm_read_memory): drop fourth arg which conflicts
4105 with prototype in ../include/dis-asm.h.
4106
5d0734a7
JK
4107Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4108
4109 * core.c (dis_asm_{read_memory,memory_error}): New functions.
4110 m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c:
4111 Use read_memory_func interface to disassembler.
4112
2093fe68
RP
4113Tue Mar 30 15:46:14 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4114
4115 Teach sparc solaris to next over shared library functions.
4116 * solib.[hc] (find_pc_section_from_so_list): new function and
4117 prototype.
4118 * sparc-tdep.c (in_solib_trampoline): new function.
4119 * symfile.[hc] (find_pc_section): new function and prototypes.
4120 * target.[hc] (find_pc_section_from_targets): new function and
4121 prototypes.
4122 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
4123 in_solib_trampoline.
4124
b27be792
JK
4125Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)
4126
deae7611
JK
4127 * infrun.c (wait_for_inferior): Revise comment.
4128
359a097f
JK
4129 * command.c (do_setshow_command): Use %u with var_{u,z}integer.
4130
4131 * command.{c,h}: New var_type var_integer.
4132 main.c: Use it for history_size.
4133
4134 * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
4135 Lint and byte-order fixups.
4136
3f031adf
JK
4137 * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint.
4138
8af68e4e
JK
4139 * breakpoint.h (bpstat): New field print_it.
4140 breakpoint.c (bpstat_print): Use it.
4141 (print_it_normal): New function (from old bpstat_print code).
4142 (bpstat_{alloc,stop_status}): Set print_it field.
4143
4144 * breakpoint.c (bpstat_stop_status): Use catch_errors when
4145 evaluating watchpoint condition, via new function watchpoint_check.
4146 Also stop if watchpoint disabled due to leaving its block.
4147
b27be792
JK
4148 * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment.
4149
aa66fddd
PS
4150Tue Mar 30 00:14:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4151
4152 * mips-pinsn.c: Add missing include of dis-asm.h.
4153
d7d35f00
FF
4154Mon Mar 29 15:03:25 1993 Fred Fish (fnf@cygnus.com)
4155
239121e2
FF
4156 * Makefile.in (clean, distclean, realclean): Recursively apply
4157 to subdirs first, rather than last. This avoids, for example,
4158 Makefile being removed in a parent directory before the recursive
4159 make is run.
4160
141ccc03
FF
4161 * alldeps.mak, depend: Update for below changes.
4162
2225eb85
FF
4163 * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
4164 * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
4165 tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
4166 tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h
4167 instead of tm-68k.h.
4168 * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h.
4169 * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
4170 m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
4171 nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'.
4172 * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of
4173 tm-68k.h to tm-m68k.h.
4174 * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h.
4175 * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to
4176 tm-m68k-nofp.h.
4177
d7d35f00
FF
4178 * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
4179 * a29k-pinsn.c: Renamed from am29k-pinsn.c.
4180 * a29k-tdep.c: Renamed from am29k-tdep.c.
4181 * remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h.
4182 * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
4183 tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
4184 testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
4185 Map '29k' to 'a29k'.
4186 * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
4187 (TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o.
4188 * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed
4189 tm-a29k.h.
4190 * config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K
4191 define that does not appear anywhere else in the gdb source tree.
4192 * doc/gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h.
4193
ad376893
JK
4194Mon Mar 29 13:55:29 1993 Jim Kingdon (kingdon@cygnus.com)
4195
2225eb85
FF
4196 * breakpoint.c: Add comments regarding breakpoint_re_set.
4197
e5c00760
JK
4198 * xcoffread.c (sort_syms, compare_symbols): Remove.
4199 (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
4200 not our own sort_syms (it is identical).
4201
ad376893
JK
4202 * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
4203
0b0d6c3f
PS
4204Sun Mar 28 11:24:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4205
4206 * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
4207 * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
4208 went out of scope.
4209 * exec.c (exec_close): Fix storage leak.
4210 * exec.c (exec_file_command): Make sure that bfd doesn't realign the
4211 output sections when patching an executable.
4212 * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
4213 when writing all registers.
4214 * mips-tdep.c (mips_push_dummy_frame): Save floating point registers
4215 at the right offset in the dummy frame.
4216 * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
4217 stStaticProc and stEnd symbols as they are generated by gcc-2.x.
4218 * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
4219
0f0834c5
JG
4220Fri Mar 26 15:25:05 1993 John Gilmore (gnu@cygnus.com)
4221
4222 * Makefile.in (TARFILES): Avoid trailing backslash.
4223
2d313932
JK
4224Fri Mar 26 11:29:30 1993 Jim Kingdon (kingdon@cygnus.com)
4225
d7d35f00
FF
4226 * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
4227 it in breakpoint_re_set.
2d313932
JK
4228 * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values.
4229
4230 * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
4231 don't use sizeof(int) for target stuff, etc).
4232
53f6119f 4233Thu Mar 25 15:03:53 1993 Fred Fish (fnf@cygnus.com)
3c02636b 4234
53f6119f
FF
4235 * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
4236 i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860
4237 support that can't be integrated anyway due to lack of clear
4238 authorship.
3c02636b 4239
ccf1e898
SG
4240Thu Mar 25 12:26:50 1993 Stu Grossman (grossman@cygnus.com)
4241
4242 * findvar.c (read_register, write_register): Make these capable
4243 of reading/writing registers that are shorter than REGISTER_TYPE.
4244 * (value_from_register): Install H8500 specific code to return
4245 proper value when register is being used as a pointer.
4246 * h8500-tdep.c: Remove extra defines of NUM_REGS.
4247 (h8500_skip_prologue): Use correct lengths for LINK instructions.
4248 (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to
4249 chain frames properly by combining frame pointer with T reg.
4250 (init_extra_frame_info): Delete. It's now a macro.
4251 (frame_args_address): Don't add PTR_SIZE. Stack args are already
4252 offset by the correct amount off of the frame pointer.
4253 (register_byte): Delete. It's now a macro.
4254 (register_raw_size, register_virtual_size): Delete. Replaced by
4255 common routine h8500_register_size, cuz there's no difference
4256 between the raw & virtual sizes on this machine.
4257 (register_convert_to_raw, register_convert_to_virtual): Delete,
4258 cuz there's no difference between the raw & virtual forms.
4259 Replaced by memcpy in tm file.
4260 (register_virtual_type): Rename to h8500_register_virtual_type.
4261 Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
4262 (_initialize_h8500_tdep): Get rid of crock to ensure that GDB &
4263 emulator have same reg offsets. This is all handled in the
4264 simulator code now.
4265 (h8500_trapped_internalvar): New routine to detect references to
4266 convenience vars acting as pointer pseudo-regs.
4267 (h8500_value_trapped_internalvar): Conjure up value of pointer
4268 pseudo-regs.
4269 (h8500_set_trapped_internalvar): Convert set value in real
4270 register references.
4271 infcmd.c (read_pc, write_pc): Add h8500 specific code to handle
4272 code segment register.
4273 infrun.c (proceed): Simplify. Call write_pc instead of doing it
4274 by hand.
4275 (wait_for_inferior): Add h8500 specific code to add stack segment
4276 when reading SP register.
4277 remote-sim.c (fetch_register): Spacing.
4278 tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to
4279 detect cruft. Redo all register manipulation stuff. Get rid of
4280 pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment
4281 to frame pointer. (IS_TRAPPED_INTERNALVAL,
4282 VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these
4283 to create internal vars for pointer pseudo-regs.
4284
2531303c
FF
4285Thu Mar 25 10:10:28 1993 Fred Fish (fnf@cygnus.com)
4286
4287 * Makefile.in: Numerous small changes to macro definitions
4288 and rules for building gdb distribution tree. Many macros
4289 eliminated or merged, and rules simplified.
4290 * alldeps.mak: Update.
4291 * depend: Update.
4292
b396a969
DZ
4293Wed Mar 24 13:52:29 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4294
4295 * Makefile.in: recurse through SUBDIRS for dvi target too
4296
53f6119f
FF
4297Wed Mar 24 08:48:30 1993 Jim Kingdon (kingdon@cygnus.com)
4298
4299 * Clean up xcoff relocation.
4300 objfiles.h (struct objfiles): Add section_offsets, num_sections.
4301 symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
4302 Set them.
4303 symtab.h (struct general_symbol_info): Add section field.
4304 minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
4305 xcoffread.c: Set section for symbols and msymbols.
4306 (struct symtab): Add block_line_section field.
4307 buildsym.c (end_symtab): Set it.
4308 (end_symtab and callers): Add section parameter.
4309 objfiles.c (objfile_relocate): New funciton.
4310 xcoffexec.c (vmap_symtab): Use it.
4311 xcoffsolib.h (struct vmap): Remove unused fields.
4312 config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
4313 CORE_NEEDS_RELOCATION, symtab_relocated.
4314 config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
4315 rs6000-tdep.c: Make loadinfotext static.
4316 breakpoint.c (fixup_breakpoints): Doc fix.
4317 symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
4318 (end_symtab): primary field replaces nonreloc.
4319
ece2e98a
JG
4320Tue Mar 23 00:10:53 1993 John Gilmore (gnu@cygnus.com)
4321
4322 * symtab.h (struct linetable_entry): Remove confusing comment.
4323
80c8fd72
DZ
4324Tue Mar 23 00:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4325
4326 * Makefile.in: add installcheck target
4327
1a0edbc7
FF
4328Mon Mar 22 16:17:58 1993 Fred Fish (fnf@cygnus.com)
4329
4330 * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
4331 m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
4332 z8k}: New directories to hold cpu specific configuration files.
4333 Naming follows gcc convention.
4334 * config/{*.mt, *.mh}: All target and host makefile fragment
4335 config files moved to an appropriate config/<cpu> subdirectory.
4336 * nm-*, xm-*, tm-*: All native, host, and target files, which
4337 get linked to nm.h, xm.h, and tm.h respectively by configure,
4338 moved to appropriate config/<cpu> subdirectory.
4339 * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
4340 Native, host, and target files that are common across more than
4341 one cpu architecture and included by one of the configured
4342 native, host, or target files, get moved to config directory.
4343 * Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
4344 pick up native, host, or target include files moved to one of
4345 the config subdirectories, and that are included by other files.
4346 * Makefile.in (alldeps.mak): Modify to account for new config
4347 directory structure.
4348 * alldeps.mak, depend: Update for new config directory structure.
4349 * config/*/[ntx]m-*.h: Modify all files that include other
4350 [ntx]m-*.h files to use path relative to gdb/config. I.E.
4351 "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
4352 "tm-29k.h".
4353 * remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
4354 * mipsread.c (tm-mips.h): Include mips/tm-mips.h.
4355 * i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
4356 * configure.in: Default gdb_host_cpu to host_cpu, and remap
4357 the ones where the default is not unique or different than the
4358 config subdirectory name. Similarly, handle gdb_target_cpu.
4359 Modify configure.in as appropriate to make use of gdb_host_cpu
4360 and gdb_target_cpu to find makefile fragments and make links.
4361
5f5341a7
ILT
4362Mon Mar 22 12:36:24 1993 Ian Lance Taylor (ian@cygnus.com)
4363
4364 * mipsread.c (compare_blocks): Sort blocks with the same start
4365 address by decreasing ending address.
4366
1a3579df
PS
4367Mon Mar 22 20:36:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4368
4369 * mipsread.c (parse_procedure): Save cur_fdr accross call to
4370 lookup_symbol as it might get clobbered by the call.
4371
4372 * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
4373 The previous code did not initialize the language field for the psymtab
4374 entry.
4375
f24c159f
JG
4376Sat Mar 20 00:33:39 1993 John Gilmore (gnu@cygnus.com)
4377
4378 * c-exp.y (parse_number): Avoid shift warning.
4379 * serial.h (struct ttystate): Declare empty one on DOS.
4380
bc0d4cb9
SG
4381Fri Mar 19 12:59:50 1993 Stu Grossman (grossman@cygnus.com)
4382
733a9015
SG
4383 * xm-sun4os4.h: Return type of free() should be void, not int.
4384
bc0d4cb9
SG
4385 * vx-share/vxWorks.h: Remove #def of NULL.
4386
deb3f296
JK
4387Fri Mar 19 11:28:18 1993 Jim Kingdon (kingdon@cygnus.com)
4388
4389 * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM.
4390
52f8e6a0
SC
4391Fri Mar 19 07:40:09 1993 Steve Chamberlain (sac@cygnus.com)
4392
4393 * z8k-tdep.c (print_insn): Include the new dis-asm header file.
4394
00cea52f
PB
4395Thu Mar 18 14:26:57 1993 Per Bothner (bothner@rtl.cygnus.com)
4396
4397 * ieee-float.c: Moved to ../libiberty.
4398 * ieee-float.h: Moved to ../include.
4399 * Makefile.in: Update accordingly.
4400 * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
4401 Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
4402 * m68k-tdep.c: Removed definition of ext_format ext_format_68881;
4403 it is now in ../opcodes/m68881-ext.c.
4404 * mips-tdep.c (mips_skip_prologue): Try to skip more of the
4405 prologue (some callers _do_ care).
4406 * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to
4407 new interface of ../opcodes/*-dis.c.
4408 * ch-exp.y: Add #include <ctype.h>.
4409
b60b2e3e
JK
4410Thu Mar 18 11:57:49 1993 Jim Kingdon (kingdon@cygnus.com)
4411
c161de74
JK
4412 * xcoffexec.c (exec_close): Don't close exec_bfd twice.
4413
b60b2e3e
JK
4414 * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
4415
ecfd2b60
JK
4416Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
4417
4418 * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
4419
2d8d693a
SC
4420Wed Mar 17 11:28:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
4421
4422 * z8k-tdep.c (extract_return_value, write_return_value,
4423 store_struct_return): New functions from macros in tm-z8k.h.
4424
898e13c8
FF
4425Wed Mar 17 11:23:06 1993 Fred Fish (fnf@cygnus.com)
4426
4427 * valops.c (value_arg_coerce): Apply temporary patch to
4428 fix problem with coercion of array and function types when
4429 passed as arguments to C functions, pending a more complete
4430 review of when and how coercion should be done, depending
4431 upon context and language.
4432
9d61147e
JK
4433Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
4434
3e57da38
JK
4435 * xcoffread.c (MIN_TBTABSIZ): Change to 12.
4436
9d61147e
JK
4437 * xcoffread.c (xcoff_symfile_read): Only read stringtab and
4438 debugsec if there are a non-zero number of symbols.
4439
3021c40d
JG
4440Tue Mar 16 18:08:45 1993 John Gilmore (gnu@cygnus.com)
4441
4442 * command.c (show_user): Avoid fprintf_filtered botch (AGAIN!).
4443
8112a711
JK
4444Tue Mar 16 15:18:17 1993 Jim Kingdon (kingdon@cygnus.com)
4445
4446 * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
4447
4448 * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
4449 not just 50 symbols.
4450 (symtbl_num_syms): New variable.
4451 (read_xcoff_symtab): Set it.
4452 (read_symbol_nvalue): Check for bad symno.
4453 (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
4454 always symtbl.
4455
e829d983
SG
4456Tue Mar 16 10:09:05 1993 Stu Grossman (grossman@cygnus.com)
4457
4458 * config/rs6000.mh: Get rid of -Dfd_set=int crock.
4459 This is defined in defs.h if necessary.
4460 * vx-share/vxWorks.h: Remove #defs of min and max.
4461 * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
4462 vx-share/xdr_rdb.c: include defs.h.
4463
c8ade719
JK
4464Fri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)
4465
4466 * xcoffread.c (retrieve_tracebackinfo): Move assignment out
4467 of while condition.
4468
4469 * xcoffread.c (enter_line_range): complain() on bad endoffset.
4470 xcoffread.c: Doc fixes.
4471
4472Tue Mar 9 09:56:12 1993 Jim Kingdon (kingdon@cygnus.com)
4473
4474 * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
4475 xcoffexec.c (xcoff_relocate_core): New function.
4476 (text_adjustment): Removed.
4477 (add_vmap): Return the vmap.
4478 rs6000-tdep.c (add_text_to_loadinfo): No longer static.
4479
4480Fri Mar 5 05:22:46 1993 Jim Kingdon (kingdon@cygnus.com)
4481
4482 * xcoffsolib.h: Add objfile member to struct vmap.
4483 xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
4484 xcoffexec.c (add_vmap): Allocate objfiles here.
4485
48a522d9
JG
4486Sun Mar 14 02:54:15 1993 John Gilmore (gnu@cygnus.com)
4487
01deac12
JG
4488 Support 68000 series without floating point.
4489
4490 * configure.in (m68000-*-{aout,elf,coff}): New configs.
48a522d9
JG
4491 * tm-68k-nofp.h: New file, lacks 68881 support.
4492 * config/m68k-nofp.mt: New file.
4493
84a05e52
JG
4494Sun Mar 14 02:30:08 1993 John Gilmore (gnu@cygnus.com)
4495
4496 Remove a few remaining underscore/no-underscore remnants from
4497 config files.
4498
4499 * config/{m68k-un.mt, sparc-un.mt}: Remove.
4500 * config/m68k-noun.mt: Rename to m68k-fp.mt.
4501 * config/sparc-noun.mt: Rename to sparc-em.mt.
4502 * tm-68k-noun.h, tm-spc-noun.h: Remove.
4503 * tm-68k-un.h: Rename to tm-68k-fp.h.
4504 * tm-spc-un.h: Rename to tm-spc-em.h.
4505 * tm-sun4sol2.h: Cleanup.
4506 * configure.in (m68k-*, sparc-* targets): Corresponding changes.
4507
961ee88e
JG
4508Sat Mar 13 14:58:22 1993 John Gilmore (gnu@cygnus.com)
4509
4510 * symmisc.c (std_in, std_out, std_err): Move initializations
4511 to runtime code, in case they aren't constant.
4512
a8172eea
RP
4513Fri Mar 12 16:23:54 1993 K. Richard Pixley (rich@cygnus.com)
4514
aa8f3210
RP
4515 * symtab.c (find_pc_symtab): some object file formats, notably
4516 mips, have holes in the address ranges of symtabs. Change
0a4a0f09 4517 this algorithm from first hit to tightest fit.
aa8f3210 4518
a8172eea
RP
4519 * mips-tdep.c (heuristic_proc_start): if we walk the pc into the
4520 fence post without finding the enclosing function, then print a
4521 warning.
4522
bd5d07d9
FF
4523Thu Mar 11 09:33:01 1993 Fred Fish (fnf@cygnus.com)
4524
5e81259d
FF
4525 * utils.c (fputs_demangled, fprint_symbol): Remove.
4526 * utils.c (fprintf_symbol_filtered): New function which combines
4527 the functionality of fputs_demangled and fprint_symbol. Uses a
4528 caller provided language parameter to select the appropriate
4529 demangler, and caller provided args to pass to the demangler.
bd5d07d9
FF
4530 * defs.h (enum language): Move further up in file so enum can
4531 be used in prototypes.
5e81259d
FF
4532 * defs.h (fputs_demangled, fprint_symbol): Remove prototypes.
4533 * defs.h (fprintf_symbol_filtered): Add prototype.
4534 * c-typeprint.c (cp_type_print_method_args): Replace calls to
4535 fputs_demangled with call to fprintf_symbol_filtered.
4536 * cp-valprint.c (demangle.h): Include
4537 * cp-valprint.c (cp_print_value_fields): Replace calls to
4538 fprint_symbol with calls to fprintf_symbol_filtered.
4539 * printcmd.c (print_frame_args): Replace call to fprint_symbol
4540 with call to fprintf_symbol_filtered.
bd5d07d9
FF
4541 * stack.c (print_frame_info): Remove obsolete code so we don't
4542 have to update fputs_demangled usage in it.
4543 * stack.c (print_frame_info, frame_info): Add language variable
5e81259d
FF
4544 to pass to fprintf_symbol_demangled and initialize it from the
4545 symbol's language. Replace calls to fputs_demangled with calls
4546 to fprintf_symbol_filtered.
4547 * symtab.c (find_methods): Replace call to fputs_demangled with
4548 call to fprintf_symbol_filtered.
5e81259d
FF
4549 * ch-valprint.c (demangle.h): Include.
4550 * ch-valprint.c (chill_print_value_fields): Replace call to
4551 fprint_symbol with call to new fprintf_symbol_filtered.
bd5d07d9 4552
f77ad505
FF
4553Wed Mar 10 17:37:11 1993 Fred Fish (fnf@cygnus.com)
4554
0b96ed06
FF
4555 * Makefile.in (VERSION): Bump version to 4.8.2.
4556
f77ad505
FF
4557 * main.c (source_command): Require an explicit pathname of file
4558 to source, since previous behavior of defaulting to gdb init file
4559 was troublesome and undocumented.
4560 * printcmd.c (disassemble_command): Add missing '{}' pair to
4561 else with two statements. Bug reported by Stephane Tsacas
4562 <slt@isoft.fr>.
4563 * symtab.c (find_pc_line): Don't complain about zero length or
4564 negative length line numbers for the moment, since we may not own
4565 the terminal when called, such as when single stepping. (FIXME)
4566 * language.h (CAST_IS_CONVERSION): True if current language is
4567 C++ as well as C. Fix from Peter Schauer.
4568 * environ.c (get_in_environ, set_in_environ, unset_in_environ):
4569 Use STREQN macro rather than bare '!strncmp()'.
4570 * environ.c (unset_in_environ): Avoid use of memcpy on
4571 overlapping memory regions, as suggested by Paul Eggert
4572 <eggert@twinsun.com>.
4573 * c-exp.y (%union struct): Remove unused ulval as suggested
4574 by Paul Eggert <eggert@twinsun.com>.
4575
4576Mon Mar 8 19:03:06 1993 Fred Fish (fnf@cygnus.com)
4577
4578 * main.c (gdbinit): Make static.
4579 * main.c (inhibit_gdbinit): Move to file scope.
4580 * main.c (main): Remove local inhibit_gdbinit.
4581 * main.c (source_command): Don't source '.gdbinit' file by
4582 default if gdb has been told to ignore it.
4583
aecc5459
ILT
4584Sun Mar 7 21:58:53 1993 Ian Lance Taylor (ian@cygnus.com)
4585
4586 * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
4587 3.63.
4588
19327ea5
JG
4589Fri Mar 5 17:39:45 1993 John Gilmore (gnu@cacophony.cygnus.com)
4590
aecc5459
ILT
4591 * printcmd.c (print_address_symbolic): Only print if offset
4592 is shorter than max_symbolic_offset.
4593 (initialize_printcmd): `set print max-symbolic-offset'.
4594
946f014b
JG
4595 * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
4596 (examine_tag): Use it.
4597 (read_register_stack): Only look in the local registers for a
4598 memory address if it's between rfb and rsp; go to memory otherwise.
4599 (initialize_29k): Fix call_scratch_address doc. Remove reginv_com.
19327ea5
JG
4600 (reginv_com): Remove ancient kludge command.
4601
81029114
RP
4602Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4603
24365af9
RP
4604 * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
4605 irix4 will again compile.
4606
5870d848
RP
4607 * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
4608
81029114
RP
4609 * configure.in: accept mips-sgi-irix4* for irix4.
4610
4611Fri Mar 5 07:49:48 1993 Steve Chamberlain (sac@lisa.cygnus.com)
4612
4613 * z8k-tdep.c (print_register_hook): Lint.
4614
4966c17c
JG
4615Thu Mar 4 17:42:03 1993 John Gilmore (gnu@cygnus.com)
4616
4617 Lint fixes from Paul Eggert (eggert@twinsun.com):
4618
4619 * command.c (do_setshow_command): var_uintegers are unsigned.
4620 * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
4621 unsigned, since they use hex values with the high bit set.
4622
83386662
FF
4623Thu Mar 4 08:22:55 1993 Fred Fish (fnf@cygnus.com)
4624
2456bacb
FF
4625 Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
4626 * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to
4627 access symbol name.
e5bb7e61 4628 * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
2456bacb 4629 macro definitions in parenthesis.
e5bb7e61 4630
83386662
FF
4631 * dbxread.c (dbx_symfile_init): Catch the case where there is
4632 no string table, but the only way we find out is by reading zero
4633 bytes from EOF.
4634
69a272c4
FF
4635Wed Mar 3 15:51:28 1993 Fred Fish (fnf@cygnus.com)
4636
4637 * dbxread.c (dbx_symfile_init): Make size of the string table
4638 size field a define (DBX_STRINGTAB_SIZE_SIZE). Ensure that the
4639 offset to the string table is nonzero and handle the nonexistant
4640 string table case, should it occur. Ensure that the string table
4641 size read from the file is reasonable, with a minimum lower bound
4642 of DBX_STRINGTAB_SIZE_SIZE instead of zero.
4643
b010e283
ILT
4644Wed Mar 3 07:23:03 1993 Ian Lance Taylor (ian@cygnus.com)
4645
4646 * Makefile.in: Changes to build testsuite correctly.
4647 (FLAGS_TO_PASS): Added CXX and CXXFLAGS.
4648 (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
4649 (TARGET_FLAGS_TO_PASS): New variable.
4650 (SUBDIRS): Added testsuite.
4651 (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
4652 testsuite is compiled with CC_FOR_TARGET rather than CC.
4653
45364c8a
FF
4654Tue Mar 2 17:57:56 1993 Fred Fish (fnf@cygnus.com)
4655
6985bc54
FF
4656 * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
4657 reported by mycroft@gnu.ai.mit.edu.
4658
4659 (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
4660 * configure.in (vax-*-ultrix2*): New triplet.
4661 * config/vaxult2.mh: New file.
4662 * xm-vaxult2.h: New file.
4663
45364c8a
FF
4664 * c-exp.y (parse_number): Change high_bit to unsigned.
4665 * demangle.c: Change all references to cfront to ARM, since the
4666 actual algorithm is the one specified in the Annotated Reference
4667 Manual. This was confusing users into thinking that full cfront
4668 support was implemented.
4669 * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used.
4670 * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type
4671 directly to lookup_struct_elt_type, which will do the
4672 dereferencing itself.
4673 * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix
4674 NULL dereferencing bug for unnamed structs, comment out
4675 questionable code.
4676
fefe2ed9
JG
4677Mon Mar 1 17:54:41 1993 John Gilmore (gnu@cygnus.com)
4678
1d9449ab
JG
4679 * coffread.c (process_coff_symbol): Change PCC argument correction
4680 so that it only happens on big-endian targets; so that it only
4681 happens if the short or char argument is aligned on an int
4682 boundary; and so that it changes the location, rather than the
4683 type, of the argument. These changes tend to parallel similar
4684 (old) changes in stabsread.c.
4685
4686 * coffread.c (coff_read_enum_type): Use the specified size for
4687 enums, don't assume that they are int-sized.
4688
4689 * c-valprint.c (c_val_print): Don't assume enums are the same as
4690 ints.
4691
fefe2ed9
JG
4692 * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
4693 Rendell, <michael@mercury.cs.mun.ca>.
4694
58a66e24
FF
4695Mon Mar 1 09:25:57 1993 Fred Fish (fnf@cygnus.com)
4696
4697 * language.h (local_decimal_format_custom): Add prototype.
4698 * language.c (local_decimal_format_custom): Add function, bug
4699 reported by Robert R. Henry (rrh@tera.com).
4700
9116f7c7
JG
4701Fri Feb 26 18:33:18 1993 John Gilmore (gnu@cacophony.cygnus.com)
4702
4703 * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported
4704 by Josef Leherbauer, joe@takeFive.co.at.
4705
4706Wed Feb 24 19:17:11 1993 John Gilmore (gnu@cacophony.cygnus.com)
4707
4708 * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h,
4709 tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h,
4710 tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h,
4711 tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h,
4712 tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h,
4713 tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h,
4714 tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h,
4715 tm-vx68.h, tm-z8k.h: Remove remnants of NAMES_HAVE_UNDERSCORE.
4716
8fbdca53
FF
4717Wed Feb 24 07:41:15 1993 Fred Fish (fnf@cygnus.com)
4718
f31e2e7a
FF
4719 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents
4720 of demangled name fields to NULL if no demangling exists for
4721 a symbol. SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
4722 symbols if their language is known at the time they are created,
4723 but sometimes the language is not known until later.
4724
8fbdca53
FF
4725 * ch-typeprint.c (chill_print_type_base): Name changed to
4726 chill_type_print_base to match pattern for C and C++ names.
4727 * ch-typeprint.c (chill_print_type): Change "char" to "CHAR"
4728 to be consistent with other usages.
4729 * ch-typeprint.c (chill_type_print_base): Add support for
4730 printing Chill STRUCT types.
4731 * ch-valprint.c: Include values.h.
4732 * ch-valprint.c (chill_print_value_fields): New function and
4733 prototype for printing Chill STRUCT values.
4734 * ch-valprint.c (chill_val_print): Fix call to val_print_string
4735 that was being called with two args instead of three.
4736 * ch-valprint.c (chill_val_print): Call chill_print_value_fields
4737 to print Chill STRUCT values.
8fbdca53 4738
b12529c1
MW
4739Tue Feb 23 18:58:11 1993 Mike Werner (mtw@poseidon.cygnus.com)
4740
4741 * configure.in: added testsuite to configdirs.
4742
c2dc518b
MS
4743Tue Feb 23 11:46:11 1993 Mike Stump (mrs@cygnus.com)
4744
4745 * doc/stabs.texi: The `this' pointer is now known by the name
4746 `this' instead of `$t'.
4747
b6236d6e
FF
4748Tue Feb 23 11:21:33 1993 Fred Fish (fnf@cygnus.com)
4749
bb6e8fe6
FF
4750 * dwarfread.c (read_tag_string_type): Rewrite to allow forward
4751 references of TAG_string_type DIEs in user defined types.
b6236d6e
FF
4752 * ch-lang.c (chill_create_fundamental_type): Track compiler
4753 change that now emits debugging info with the type long for Chill
4754 longs.
b6236d6e 4755
c2a0f1cb
ILT
4756Mon Feb 22 15:21:54 1993 Ian Lance Taylor (ian@cygnus.com)
4757
4758 * remote-mips.c: New file; implements MIPS remote debugging
4759 protocol.
4760 * config/idt.mt: New file; uses remote-mips.c
4761 * configure.in (mips-idt-ecoff): New target; uses idt.mt.
4762
4763 * mips-tdep.c (mips_fpu): New variable; controls use of MIPS
4764 floating point coprocessor.
4765 (mips_push_dummy_frame): If not mips_fpu, don't save floating
4766 point registers.
4767 (mips_pop_frame): If not mips_fpu, don't restore floating point
4768 registers.
4769 (_initialize_mips_tdep): New function; let the user reset mips_fpu
4770 variable.
4771 * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
4772 mips_fpu, don't use fp0 as floating point return register.
4773 (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
4774 registers.
4775
bf3d2b75
MW
4776Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4777
4778 * gdb/testsuite: made modifications to testcases, etc., to allow
4779 them to work properly given the reorganization of deja-gnu and the
4780 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4781
19fa4a0a
MW
4782Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4783
4784 * gdb/testsuite: Initial creation of gdb/testsuite.
4785 Migrated dejagnu testcases and support files for testing nm to
4786 gdb/testsuite from deja-gnu. These files were moved "as is"
4787 with no modifications. This migration is part of a major overhaul
4788 of dejagnu. The modifications to these testcases, etc., which
4789 will allow them to work with the new version of dejagnu will be
4790 made in a future update.
4791
cb46c402
JG
4792Fri Feb 19 18:36:55 1993 John Gilmore (gnu@cygnus.com)
4793
4794 * NEWS: Add reminders for next release.
4795
254dec35
ILT
4796Fri Feb 19 10:01:39 1993 Ian Lance Taylor (ian@cygnus.com)
4797
4798 * mipsread.c (parse_lines): Correct check for files compiled with
4799 -g1.
4800
dba02c60
JG
4801Fri Feb 19 05:56:15 1993 John Gilmore (gnu@cygnus.com)
4802
4803 * Makefile.in (VERSION): 4.8.1 to distinguish local versions.
4804
c7cb1025 4805Fri Feb 19 01:32:58 1993 John Gilmore (gnu@cygnus.com)
ead97959
JG
4806
4807 * Makefile.in (VERSION): GDB-4.8 release!
dba02c60 4808 * README, NEWS: Update for release.
ead97959 4809
b9163d1a
SG
4810Thu Feb 18 22:44:40 1993 Stu Grossman (grossman@cygnus.com)
4811
4812 * am29k-pinsn.c (print_insn): Minor nits with const.
4813 * am29k-tdep.c: More minor nits with arg types for
4814 supply_register, NULL vs. 0, read_register_gen, & reginv_com.
4815
5e3d0ab0
JG
4816Thu Feb 18 22:38:03 1993 John Gilmore (gnu@cygnus.com)
4817
4818 * gcc.patch: Update for a different GCC (G++) bug.
4819 * main.c (print_gdb_version): Update copyright year to 1993.
4820 * nm-hp300bsd.h: Decide whether this is BSD 4.3 or 4.4,
4821 conditionalize this file on it. FIXME, right way is to split
4822 these into two config files.
4823 (ATTACH_DETACH): Define for BSD 4.4
4824 (PTRACE_ARG_TYPE): caddr_t for BSD 4.4, unset for 4.3.
4825 (U_REGS_OFFSET): Revise for 4.4.
4826 (REGISTER_U_ADDR): Separate for 4.4, but it doesn't work yet.
4827 * xm-hp300bsd.h: Move definitions of UINT_MAX, INT_MAX, INT_MIN,
4828 LONG_MAX into this file to avoid cpp "redefinition" warnings.
4829
add04f8b
RP
4830Thu Feb 18 16:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4831
4832 * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not
4833 caddr_t.
4834
c5c00171
JG
4835Thu Feb 18 04:10:06 1993 John Gilmore (gnu@cygnus.com)
4836
961ccde6
JG
4837 * c-lang.c (c_printstr): Bugfix for length==0 case.
4838
c5c00171
JG
4839 * c-lang.c (c_printstr): If a C string ends in a null, don't
4840 print the null.
4841
eece984d
SG
4842Thu Feb 18 02:39:21 1993 Stu Grossman (grossman at cygnus.com)
4843
4844 * defs.h (STRCMP): Make it work for unsigned chars.
4845
ec4bf6a0
JG
4846Thu Feb 18 01:56:06 1993 John Gilmore (gnu@cygnus.com)
4847
4848 * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
4849 * config/hp300bsd.mh (REGEX, REGEX1): Define.
4850 * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART): #if __GNUC__,
4851 define to kludge the large opcode table into two smaller tables,
4852 since GCC take exponential space to build the table. Lint.
4853 (NOPCODES): Remove, use "numopcodes" from opcode/m68k.h instead.
4854
0ae975ea
JG
4855Wed Feb 17 19:24:40 1993 John Gilmore (gnu@cygnus.com)
4856
be220da1
JG
4857 * Makefile.in (VERSION): Roll to 4.7.9.
4858 * xm-hp300bsd.h: Define PSIGNAL_IN_SIGNAL_H and put a compatible
4859 definition here, to handle both BSD 4.3 and 4.4 systems.
5824e607
JG
4860 * mipsread.c (ZMAGIC): #undef to avoid duplicate define.
4861 * remote.c (alarm): Move declaration to global level, before
4862 first reference to it.
4863 * tm-i386bsd.h (NUM_REGS): There are only eleven, not twelve.
0ae975ea
JG
4864 * dbxread.c (process_one_symbol): Cast to unsigned char, not int.
4865
8631194d
RP
4866Wed Feb 17 13:40:29 1993 K. Richard Pixley (rich@cygnus.com)
4867
fce7f2d9
RP
4868 * remote.c (readchar): forward declare alarm which otherwise looks
4869 like an undeclared variable to gcc.
4870
040b9597
RP
4871 * dbxread.c (process_one_symbol): cast enum value N_SO into int
4872 when comparing against an int. Avoids superfluous warning from
4873 vax ultrix 4.2 cc.
4874
9549404e
RP
4875 * inflow.c (set_sigint_trap): add cast to assignment from signal.
4876 Avoids superfluous warnings from some systems and/or compilers
4877 (like vax ultrix 4.2.)
4878
8631194d
RP
4879 * language.c (struct op_print unk_op_print_tab): use the enum
4880 values rather naked zeros as initializers. Avoids warnings from
4881 ultrix type compilers.
4882
f4ed8840
JG
4883Tue Feb 16 00:53:20 1993 John Gilmore (gnu@cygnus.com)
4884
4885 * Makefile.in (VERSION): Roll to 4.7.6.
4886 (SFILES_SUBDIR): Add 29k-share/udi_soc.
4887 (SFILES_SUBSUBDIR): Move 29k-share/udi files to this macro.
62e859f0
JG
4888 (alldeps.mak): Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
4889 (ALLDEPFILES_SUBSUBDIR): Depend on this for deeper dep files.
f4ed8840
JG
4890 (HFILES): Remove all nm-* except nm-trash.h. Add ns32k-opcode.h.
4891 (depend): Fix bug where nm-files in config files weren't noticed.
4892 (make-proto-gdb-1): Avoid changing directories while building new
4893 prototype. Build SFILES_SUBSUBDIR with longer symlinks.
4894
7c622b41
JG
4895Mon Feb 15 20:48:09 1993 John Gilmore (gnu@cygnus.com)
4896
4897 * remote.c: Improve error recovery. Allow user to break out
4898 of initial connection attempt with INTERRUPT. Treat a timeout
4899 while waiting for remote packet like a retry, unless the remote
4900 side is actively running user code. Fix a few long printf_filtered's.
4901
4902 * xcoffread.c (read_xcoff_symtab): Don't use null symbol name for
4903 trampoline symbols.
4904
4905 * buildsym.c (start_subfile): Allow null file name.
4906
e9916390
RP
4907Fri Feb 12 15:46:49 1993 K. Richard Pixley (rich@cygnus.com)
4908
4909 * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
4910 expects a pointer to complaint rather than a complaint
4911 structure.
6d4ea3a5
RP
4912 (process_linenos): free the previously allocated subfile name,
4913 then allocate the new one from the heap.
e9916390 4914
256b4f37
SC
4915Fri Feb 12 08:06:05 1993 Steve Chamberlain (sac@thepub.cygnus.com)
4916
4917 * h8300-tdep.c, tm-h8300.h: turn off some experimental features
4918
e5eeaaf8
JG
4919Thu Feb 11 00:59:07 1993 John Gilmore (gnu@cygnus.com)
4920
256b4f37
SC
4921 * stabsread.c (dbx_lookup_type): Handle negative type numbers.
4922 Previously, would bogusly index off the bottom of type_vector.
4923 (rs6000_builtin_type): Accept type number as argument.
4924 (read_type, case '-'): Handle negatives like any other type number.
4925
4926 * symfile.c (deduce_language_from_filename): Handle null name.
4927
015605c5
JG
4928 * mips-tdep.c (isa_NAN): Fix byte order dependency.
4929 Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
4930 fixed by sato@sm.sony.co.jp.
4931
e5eeaaf8
JG
4932 * xcoffread.c (parmsym): Don't use an initializer to set up
4933 this struct symbol. Set it up in initialize_xcoffread.
4934 (read_xcoff_symtab, xcoff_symfile_read): Surround code that only
4935 works on real rs/6000 target with #ifndef FAKING_RS6000.
4936
dd469789
JG
4937Wed Feb 10 23:42:37 1993 John Gilmore (gnu@cygnus.com)
4938
4939 * stabsread.c (rs6000_builtin_type): Move function from
4940 xcoffread.c:builtin_type.
4941 * xcoffread.c (builtin_type): Move to stabsread. Remove
4942 IBM6000_HOST dependency. Move misplaced comments.
4943 (various): Change printf's to complaints.
4944 (patch_block_stabs, process_xcoff_symbol case C_DECL): Add
4945 objfile argument to read_type calls under #if 0.
4946 (process_xcoff_symbol case C_RSYM): Fix typo in #ifdef.
4947 * xcoffexec.c (map_vmap): Don't allocate an objfile for the exec_file.
4948 * Makefile.in: xcoffread.o is not built by default.
364c1151 4949 * xm-rs6000.h (IBM6000_HOST): Remove.
dd469789
JG
4950 * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
4951 * doc/gdbint.texinfo: Eliminate IBM6000_HOST, document
4952 IBM6000_TARGET.
4953
733a94e8
SG
4954Wed Feb 10 18:31:20 1993 Stu Grossman (grossman at cygnus.com)
4955
4956 * findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
4957 VALUE_LVAL to be lval_memory so that we don't try to modify wild
4958 register numbers when user tries to modify elements in structs
4959 passed as arguments.
4960 * inflow.c (child_terminal_info): Move banner outside of system
4961 specific #ifdefs.
4962 * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which
4963 passes struct/union arguments by address.
4964
4965Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
4966
14b1f0d9 4967 * Based on patch from Kean Johnston <maw@netcom.com>:
733a94e8
SG
4968 * nm-i386sco4.h: New file. Like nm-i386sco.h, but define
4969 ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
4970 * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
4971
79533adf
JG
4972Tue Feb 9 20:07:18 1993 John Gilmore (gnu@cygnus.com)
4973
4974 * remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and
4975 fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
4976
2368ffb6
ILT
4977Tue Feb 9 08:18:07 1993 Ian Lance Taylor (ian@cygnus.com)
4978
4979 * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
4980 cc debugging output.
4981
2a021f21
JG
4982Tue Feb 9 00:19:28 1993 John Gilmore (gnu@cygnus.com)
4983
4984 * stabsread.c (define_symbol): Complain about unrecognized names
4985 that begin with CPLUS_MARKER (often '$'), but don't die. Fix
4986 suggested by gb@cs.purdue.edu (Gerald Baumgartner).
4987 (read_cpp_abbrev): Don't use the class name as part of the
4988 vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
4989 abbrevs. Inspired by Mike Tiemann.
4990 (read_tilde_fields): Comment. Remove ancient dead code.
4991 Remove erroneous but non-dead code. Simplify. Add complaints.
4992 (in general): Remove extraneous (parentheses) in return
4993 statements.
4994
c653bc6d
JG
4995Fri Feb 5 14:01:22 1993 John Gilmore (gnu@cygnus.com)
4996
931bf12a
JG
4997 * coffread.c (coff_lookup_type): Fix fencepost error reported
4998 by Art Berggreen, <arg@opal.acc.com>.
4999
c653bc6d 5000 Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
931bf12a 5001 <Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>:
c653bc6d
JG
5002
5003 * coffread.c (getfilename): Eliminate COFF_NO_LONG_FILE_NAMES
5004 test, which is apparently left over from when we used native
5005 include files and couldn't depend on the member names being there.
5006 * tm-3b1.h, tm-altos.h, tm-i386v.h: Don't set it.
5007
5008Thu Feb 4 12:23:15 1993 Ian Lance Taylor (ian@cygnus.com)
5009
5010 * mipsread.c: Major overhaul to use new BFD symbol table reading
5011 routines. Now swaps information as it is needed, rather than
5012 swapping everything when the file is read.
5013
b076f024
JG
5014Thu Feb 4 01:52:36 1993 John Gilmore (gnu@cygnus.com)
5015
5016 * Makefile.in (TARDIRS): Add sparclite demo dir.
5017 (*.tab.c): Change dependency on Makefile to depend on
5018 Makefile.in, otherwise it always rebuilds after configuring.
5019 Force output *.tab.c file into current directory even in "make"
5020 versions that rewrite dependent file names used in command lines.
5021
5022 * TODO: Remove some things we did.
5023 * am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode.
5024 * os68k-xdep.c: Remove; useless file (os68k is a target only).
5025 * convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST.
5026 * symtab.h: Eliminate unnamed unions and structs.
5027
ad89bdfd
JG
5028Wed Feb 3 14:48:08 1993 John Gilmore (gnu@cygnus.com)
5029
5030 * Makefile.in (VERSION): Roll to 4.7.5.
ad89bdfd 5031
ca5a72cd
JG
5032Tue Feb 2 20:47:42 1993 John Gilmore (gnu@cygnus.com)
5033
5034 * breakpoint.c (breakpoint_re_set_one): Handle watchpoints when
5035 re-evaluating symbol pointers.
5036
9da75ad3
FF
5037Tue Feb 2 16:10:31 1993 Fred Fish (fnf@cygnus.com)
5038
5039 * c-exp.y (lcurly, rcurly): New nonterminals.
5040 * c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL
5041 constructs.
5042 * parse.c (free_funcalls): Moved prototype from parser-defs.h,
5043 made function static.
5044 * parse.c (struct funcall): Moved struct def from parser-defs.h.
5045 * parse.c (funcall_chain): Moved from parser-defs.h, made static.
5046 * parse.c (start_arglist):
5047 * parser-defs.h (free_funcalls): Moved prototype to parse.c.
5048 * parser-defs.h (struct funcall): Moved struct def to parse.c.
5049 * parser-defs.h (funcall_chain): Moved to parse.c.
5050 * printcmd.c (print_frame_nameless_args): Fix prototype.
5051 * tm-mips.h (setup_arbitrary_frame): Fix prototype.
5052 * tm-sparc.h (setup_arbitrary_frame): Fix prototype.
5053 * valops.c (typecmp): Moved prototype from values.h.
5054 * value.h (typecmp): Moved prototype to valops.c, made static.
9da75ad3 5055 * ch-exp.y (yylex): Change way control sequences are disabled.
9da75ad3 5056
58bcc08c
JG
5057Tue Feb 2 16:11:43 1993 John Gilmore (gnu@cygnus.com)
5058
5059 * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME.
5060
fee754c9
ILT
5061Tue Feb 2 15:30:33 1993 Ian Lance Taylor (ian@cygnus.com)
5062
5063 * mipsread.c (upgrade_type): Build array types correctly, using
5064 create_range_type and create_array_type.
5065
7dc15bb7
JG
5066Tue Feb 2 00:19:08 1993 John Gilmore (gnu@cygnus.com)
5067
58bcc08c
JG
5068 * remote-nindy.c: Cleanup.
5069
1b6a2087
JG
5070 * infrun.c (wait_for_inferior): When rolling back the PC after
5071 a breakpoint, call write_pc so that NPC gets rolled back as well
5072 (for the 29K).
5073
d122f257
JG
5074 * blockframe.c (inside_entry_file, inside_main_func,
5075 inside_entry_func): PC of zero is always "bottom of stack".
5076
7dc15bb7
JG
5077 * printcmd.c (print_frame_args, print_frame_nameless_args):
5078 Let print_frame_nameless_args decide whether there are any,
5079 laying groundwork for possibly later printing 29K args for
5080 functions where we have tag words but no symbols.
5081
2b21d8aa
RP
5082Mon Feb 1 18:09:58 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
5083
5084 * Makefile.in: fix GDB doc targets for new doc subdir structure
5085
07c2fa3e
JG
5086Mon Feb 1 17:56:47 1993 John Gilmore (gnu@cygnus.com)
5087
5088 * stack.c (parse_frame_specification): Parse as many arguments
5089 as there are (up to MAXARGS). Pass all of them in argc, argv
5090 format to SETUP_ARBITRARY_FRAME. Put the burden of checking how
5091 many there were, onto SETUP_ARBITRARY_FRAME.
5092 * tm-mips.h, tm-sparc.h: Corresponding changes.
5093 * mips-tdep.c, sparc-tdep.c: Ditto.
5094
6edd74ae
JG
5095Mon Feb 1 17:19:37 1993 John Gilmore (gnu@cygnus.com)
5096
5097 * hp300ux-nat.c: Update copyrights.
5098 * mipsread.c (parse_partial_symbols): Complain about block
5099 indexes that go backwards. Fix from Peter Schauer.
5100 * symfile.c (syms_from_objfile, symbol_file_add): Allow a
5101 symbol-file that has no linkage symbols to be read.
5102 * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move
5103 from tm- file to xm-file, since they're host dependent.
5104 * valarith.c (value_binop): Typo.
797bc12b 5105
6edd74ae 5106Mon Feb 1 16:16:59 1993 Stu Grossman (grossman at cygnus.com)
797bc12b
SG
5107
5108 * sparclite/aload.c: Add copyleft.
5109 * sparclite/crt0.s: Add comment at beginning.
5110
2431d063
SC
5111Mon Feb 1 14:36:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5112
5113 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
5114 * parse.c (std_regs): Only declare if NO_STD_REGS is defined.
5115
d112a0c6
MT
5116Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com)
5117
7cb0f870
MT
5118 * values.c (value_headof): Fix typo in which VTBL and ARG were
5119 being confused for one another.
5120
a163ddec
MT
5121 * valops.c (typecmp): Now static.
5122
edf67bd1
MT
5123 * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
5124 baseclass--we don't always inherit its virtual function table
5125 pointer.
5126
271e5030
MT
5127 * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
5128 pointer correctly in case value_struct_elt moves it around.
5129
5130 * valops.c (typecmp): Now static. Also, now groks references
5131 better.
5132
d112a0c6 5133 * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
271e5030 5134 zero on recursive call. If NAME is the name of TYPE, return TYPE.
d112a0c6 5135
3d9b9577
JG
5136Sat Jan 30 19:55:52 1993 John Gilmore (gnu@cygnus.com)
5137
ec68a93f
JG
5138 * hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff,
5139 to avoid "too much defining" error from native C compiler (!).
5140
3d9b9577
JG
5141 * Makefile.in (HFILES): Add typeprint.h.
5142 * typeprint.[ch]: Update copyrights.
5143
926d7800
JG
5144Thu Jan 28 19:09:02 1993 John Gilmore (gnu@cygnus.com)
5145
bdec39b3
JG
5146 * Makefile.in: Update to match doc/ subdir changes.
5147
92063c3e 5148 * config/hp300hpux.mh: No cross-host file needed, just native.
71e60679
JG
5149 * config/go32.mh: Remove nonexistent "native" support.
5150
2a770cac
JG
5151 M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
5152 * tm-m88k.h (REGISTER_CONVERT_TO_RAW): Fix typo.
5153 * m88k-tdep.c (next_insn): Lint, cleanup.
5154 (store_parm_word): Lint.
5155
926d7800
JG
5156 * README: Fix typo (reported by karl@hq.ileaf.com).
5157
2fcc38b8
FF
5158Wed Jan 27 21:34:21 1993 Fred Fish (fnf@cygnus.com)
5159
5160 * expression.h (BINOP_CONCAT): Document use for self concatenation
5161 an integral number of times.
5162 * language.c (binop_type_check): Extend BINOP_CONCAT for self
5163 concatenation case.
5164 * valarith.c (value_concat): Rewrite to support self
5165 concatenation an integral number of times.
2fcc38b8
FF
5166 * Makefile.in (ch-exp.tab.c): Change "expect" message.
5167 * ch-exp.y (FIXME's): Make all FIXME tokens distinct, to
5168 eliminate hundreds of spurious shift/reduce and reduce/reduce
5169 conflicts that mask the 5 real ones.
5170 * ch-exp.y (STRING, CONSTANT, SC): Remove unused tokens.
5171 * ch-exp.y (integer_literal_expression): Remove production,
5172 no longer used.
2fcc38b8
FF
5173
5174Thu Jan 21 09:58:36 1993 Fred Fish (fnf@cygnus.com)
5175
5176 * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code that
5177 implied that "no side effects" was nonfunctional.
5178 * eval.c (evaluate_subexp): Add BINOP_CONCAT case to deal with
5179 character string and bitstring concatenation.
5180 * expprint.c (dump_expression): Add case for BINOP_CONCAT.
5181 * expression.h (exp_opcode): Add BINOP_CONCAT.
5182 * gdbtypes.h (type_code): Add TYPE_CODE_BITSTRING.
5183 * language.c (string_type): Add function to determine if a type
5184 is a string type.
5185 * language.c (binop_type_check): Add case for BINOP_CONCAT.
5186 * valarith.c (value_concat): New function to concatenate two
5187 values, such as character strings or bitstrings.
5188 * valops.c (value_string): Remove error stub and implement
5189 function body.
5190 * value.h (value_concat): Add prototype.
2fcc38b8
FF
5191 * ch-exp.y (operand_3): Add actions for SLASH_SLASH (//).
5192 * ch-exp.y (yylex): Recognize SLASH_SLASH.
5193 * ch-lang.c (chill_op_print_tab): Add SLASH_SLASH (//) as
5194 BINOP_CONCAT.
2fcc38b8
FF
5195
5196Tue Jan 19 14:26:15 1993 Fred Fish (fnf@cygnus.com)
5197
5198 * c-exp.y (exp): Add production to support direct creation
5199 of array constants using the obvious syntax.
5200 * c-valprint.c (c_val_print): Set printed string length.
5201 * dwarfread.c (read_tag_string_type): New prototype and
5202 function that handles TAG_string_type DIEs.
5203 * dwarfread.c (process_dies): Add case for TAG_string_type
5204 that calls new read_tag_string_type function.
5205 * expprint.c (print_subexp): Add support for OP_ARRAY.
5206 * gdbtypes.c (create_range_type, create_array_type): Inherit
5207 objfile from the index type.
2fcc38b8
FF
5208 * ch-typeprint.c (chill_print_type): Add case for
5209 TYPE_CODE_STRING.
5210 * ch-valprint.c (chill_val_print): Fix case for
5211 TYPE_CODE_STRING.
2fcc38b8 5212
201c1243
ILT
5213Mon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)
5214
5215 * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
5216 MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
5217 include/coff/mips.h.
5218
c4413e2c
FF
5219Fri Jan 15 20:26:50 1993 Fred Fish (fnf@cygnus.com)
5220
5221 * c-exp.y (exp:STRING): Convert C strings into array-of-char
5222 constants with an explicit null byte terminator. OP_STRING is
5223 now used for real string types.
5224 * c-lang.c (builtin_type_*): Move declarations to lang.c since
5225 they are used by all languages.
5226 * c-lang.c (_initialize_c_language): Move initializations of
5227 builtin_type_* to lang.c.
5228 * c-typeprint.c (c_type_print_varspec_prefix,
5229 c_type_print_varspec_suffix): TYPE_CODE_PASCAL_ARRAY renamed
5230 to TYPE_CODE_STRING.
5231 * c-valprint.c (c_val_print): Change the way character arrays
5232 are printed as strings to be consistent with the way strings
5233 are printed when pointer-to-char types are dereferenced.
5234 Remove test of print_max before calling val_print_string, which
5235 now does it's own test.
5236 * eval.c (evaluate_subexp): Add case for OP_ARRAY.
5237 * expprint.c (print_subexp, dump_expression): Add case for OP_ARRAY.
5238 * expression.h (enum exp_opcode): Add OP_ARRAY and document.
5239 * gdbtypes.c (builtin_type_*): Add declarations moved from
5240 c-lang.c.
5241 * gdbtypes.c (create_string_type): New function to create real
5242 string types.
5243 * gdbtypes.c (recursive_dump_type): TYPE_CODE_PASCAL_ARRAY
5244 renamed to TYPE_CODE_STRING.
5245 * gdbtypes.c (_initialize_gdbtypes): Add initializations of
5246 builtin_type_* types moved from c-lang.c.
5247 * gdbtypes.h (enum type_code): TYPE_CODE_PASCAL_ARRAY renamed
5248 to TYPE_CODE_STRING.
5249 * gdbtypes.h (builtin_type_string): Add extern declaration.
5250 * gdbtypes.h (create_string_type): Add prototype.
5251 * m2-lang.c (m2_create_fundamental_type): TYPE_CODE_PASCAL_ARRAY
5252 renamed to TYPE_CODE_STRING.
5253 * m88k-tdep.c (pushed_size): TYPE_CODE_PASCAL_ARRAY renamed to
5254 TYPE_CODE_STRING.
5255 * mipsread.c (_initialize_mipsread): TYPE_CODE_PASCAL_ARRAY
5256 renamed to TYPE_CODE_STRING.
5257 * parse.c (length_of_subexp, prefixify_subexp): Add case for
5258 OP_ARRAY.
5259 * printcmd.c (print_formatted): Recognize TYPE_CODE_STRING.
5260 * typeprint.c (print_type_scalar): TYPE_CODE_PASCAL_ARRAY renamed
5261 to TYPE_CODE_STRING.
5262 * valops.c (allocate_space_in_inferior): New function and
5263 prototype, using code ripped out of value_string.
5264 * valops.c (value_string): Rewritten to use new function
5265 allocate_space_in_inferior, but temporarily disabled until some
5266 other support is in place.
5267 * valops.c (value_array): New function to create array constants.
5268 * valprint.c (val_print_string): Add comment to document use,
5269 complete rewrite to fix several small buglets.
5270 * value.h (value_array): Add prototype.
5271 * value.h (val_print_string): Change prototype to match rewrite.
c4413e2c
FF
5272 * ch-valprint.c (chill_val_print): Add case for TYPE_CODE_STRING.
5273 * ch-exp.y (match_character_literal): Disable recognition of
5274 control sequence form of character literals and document why.
c4413e2c 5275
6d1e8f54
SG
5276Thu Jan 14 15:48:12 1993 Stu Grossman (grossman at cygnus.com)
5277
5278 * nindy-share/nindy.c: Add comments to #endif's to clarify
5279 grouping.
5280
5281 * hppa-pinsn.c (print_insn): Use read_memory_integer, instead of
5282 read_memory to get byte order right.
5283 * hppah-tdep.c (find_unwind_info): Don't read in unwind info
5284 anymore. This is done in paread.c now. We expect unwind info
5285 to hang off of objfiles, and search all of the objfiles when until
5286 we find a match.
5287 * (skip_trampoline_code): Cast arg to target_read_memory.
5288 * objfiles.h (struct objfile): Add new field obj_private to hold
5289 per object file private data (unwind info in this case).
5290 * paread.c (read_unwind_info): New routine to read unwind info
5291 for the objfile. This data is hung off of obj_private.
5292 * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to
5293 the unwind info for this objfile. Also define OBJ_UNWIND_INFO to
5294 make this easier to access.
5295
c7da3ed3
FF
5296Wed Jan 13 20:49:59 1993 Fred Fish (fnf@cygnus.com)
5297
5298 * c-valprint.c (cp_print_class_member): Add extern decl.
5299 * c-valprint.c (c_val_print): Extract code for printing methods
5300 and move it to cp_print_class_method in cp-valprint.c.
5301 * c-valprint.c (c_val_print): Extract code to print strings and
5302 move it to val_print_string in valprint.c.
5303 * cp-valprint.c (cp_print_class_method): New function using
5304 code extracted from c_val_print.
5305 * valprint.c (val_print_string): New function using code
5306 extracted from c_val_print.
5307 * value.h (val_print_string): Add prototype.
c7da3ed3
FF
5308 * ch-exp.y (CHARACTER_STRING_LITERAL): Set correct token type.
5309 * ch-exp.y (literal): Add action for CHARACTER_STRING_LITERAL.
5310 * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE,
5311 CHECKBUF, growbuf_by_size): New variables, macros, and support
5312 functions for implementing a dynamically expandable temp buffer.
5313 * ch-exp.y (match_string_literal): New lexer function.
5314 * ch-exp.y (match_bitstring_literal): Dynamic buffer code
5315 removed and replaced with new CHECKBUF macro.
5316 * ch-exp.y (yylex): Call match_string_literal when appropriate.
5317 * ch-valprint.c (ch_val_print): Add code for TYPE_CODE_PTR.
c7da3ed3 5318
0213d96f
SG
5319Sat Jan 9 19:59:33 1993 Stu Grossman (grossman at cygnus.com)
5320
78205fb6
SG
5321 * Makefile.in: Add info for paread.o.
5322 * config/hppahpux.mh: Add paread.o to NATDEPFILES.
5323
0213d96f
SG
5324 * blockframe.c (frameless_look_for_prologue): Correct the
5325 comment.
5326 * gdbtypes.h, gdbtypes.c: Use const in decl of
5327 cplus_struct_default, now that pa-gas assembler has been fixed.
5328 * hppah-nat.c: Formatting.
5329 * hppah-tdep.c: Remove lots of useless externs for variables we
5330 don't use.
5331 * (find_unwind_entry): Speed up by using binary search, and a one
5332 entry cache.
5333 * (rp_saved): New routine to see what unwind info says about RP
5334 being saved on the stack frame.
5335 * (frame_saved_pc): Look for prologue to see if we need to
5336 examine the stack for the saved RP or not.
5337 * (init_extra_frame_info): Check for prologue, instead of
5338 framesize to determine if we are frameless or not.
5339 * (frame_chain_valid): Stop backtraces when we run into _start.
5340 * (push_dummy_frame): Reformat to make more readable.
5341 * (find_dummy_frame_regs): ditto.
5342 * (hp_pop_frame): ditto.
5343 * (hp_restore_pc_queue): small cleanup.
5344 * (hp_push_arguments): ditto.
5345 * (pa_do_registers_info): ditto.
5346 * (skip_prologue): New routine created from SKIP_PROLOGUE macro.
5347 * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c.
5348 * Define FRAME_CHAIN_VALID.
5349 * Turn on BELIEVE_PCC_PROMOTION so that we can access char args
5350 passed to functions.
5351
5352 * paread.c (pa_symtab_read): Use new bfd conventions for
5353 accessing linker symbol table.
5354 * (pa_symfile_init): Access embedded STAB info via BFD section
5355 mechanism and related macros.
5356
5357
bfc55a5d
SG
5358Sat Jan 9 19:31:43 1993 Stu Grossman (grossman at cygnus.com)
5359
5360 * sparc-stub.c: Use a seperate stack for our traps.
5361 * Handle recursive traps.
5362 * Remove all trap init code. This needs to be done by the
5363 environment.
5364 * (set_mem_fault_trap): Call exceptionHandler() to setup this
5365 trap.
5366 * (handle_exception): See if we are at breakinst, if so, then
5367 advance PC sp that users can just step out of breakpoint().
5368 * (case 'G'): Don't let GDB hack CWP. Also, copy saved regs to
5369 new place if SP has changed.
5370 * (case 's'): Get rid of this, we can't do it yet.
5371 * (case 't'): New command to test any old random feature.
5372 * (case 'r'): New command to reset the system.
5373 * (breakpoint): Add label to breakpoint trap instruction so that
5374 handle_exception() can detect where we are and get past the
5375 breakpoint trivially.
5376
f92743ae
ILT
5377Thu Jan 7 13:33:06 1993 Ian Lance Taylor (ian@cygnus.com)
5378
5379 * mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
5380
bfc55a5d
SG
5381Thu Jan 7 09:21:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5382
5383 * configure.in: recognise all sparclite variants
5384
f92743ae
ILT
5385Wed Jan 6 10:14:51 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5386
5387 * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
5388 binary files oring in the right bit.
5389
5390 * main.c, source.c, state.c, symmisc.c: use macros defined in
5391 fopen-{bin|both} when fopening files.
5392
81028ab0
FF
5393Wed Jan 6 08:19:11 1993 Fred Fish (fnf@cygnus.com)
5394
5395 * defs.h (HOST_CHAR_BIT): New macro, defaults to either CHAR_BIT
5396 from a configuration file (typically including <limits.h>), or to
5397 TARGET_CHAR_BIT if CHAR_BIT is not defined.
5398 * eval.c (evaluate_subexp): Use new BYTES_TO_EXP_ELEM macro.
5399 * eval.c (evaluate_subexp): Add case for OP_BITSTRING.
5400 * expprint.c (print_subexp): Use new BYTES_TO_EXP_ELEM macro.
5401 * exppritn.c (print_subexp, dump_expression): Add case for
5402 OP_BITSTRING.
5403 * expression.h (OP_BITSTRING): New expression element type for
5404 packed bitstrings.
5405 * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): New
5406 macros to convert between number of expression elements and bytes
5407 to store that many elements.
5408 * i960-tdep.c (leafproc_return): Use new macros to access
5409 minimal symbol name and address fields.
5410 * m88k-pinsn.c (sprint_address): Use new macros to access
5411 minimal symbol name and address fields.
5412 * nindy-tdep.c (nindy_frame_chain_valid): Use new macro to access
5413 minimal symbol address field.
5414 * parse.c (write_exp_elt, write_exp_string, prefixify_expression,
5415 parse_exp_1): Use new EXP_ELEM_TO_BYTES macro.
5416 * parse.c (write_exp_string, length_of_subexp, prefixify_expression):
5417 Use new BYTES_TO_EXP_ELEM macro.
5418 * parse.c (write_exp_bitstring): New function to write packed
5419 bitstrings into the expression element vector.
5420 * parse.c (length_of_subexp, prefixify_subexp): Add case for
5421 OP_BITSTRING.
5422 * parser-defs.h (struct stoken): Document that it is used for
5423 OP_BITSTRING as well as OP_STRING.
5424 * parser-defs.h (write_exp_bitstring): Add prototype.
81028ab0
FF
5425 * ch-exp.y (BIT_STRING_LITERAL): Change token type to sval.
5426 * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER,
5427 LOWER, LENGTH): New tokens for keywords.
5428 * ch-exp.y (chill_value_built_in_routine_call, mode_argument,
5429 upper_lower_argument, length_argument, array_mode_name,
5430 string_mode_name, variant_structure_mode_name): New non-terminals
5431 and productions.
5432 * ch-exp.y (literal): Useful production for BIT_STRING_LITERAL.
5433 * ch-exp.y (match_bitstring_literal): New lexer support function
5434 to recognize bitstring literals.
5435 * ch-exp.y (tokentab6): New token table for 6 character keywords.
5436 * ch-exp.y (tokentab5): Add LOWER, UPPER.
5437 * ch-exp.y (tokentab4): Add PRED, SUCC, CARD, SIZE.
5438 * ch-exp.y (tokentab3): Add NUM, ABS, MIN, MAX.
5439 * ch-exp.y (yylex): Check tokentab6.
5440 * ch-exp.y (yylex): Call match_bitstring_literal.
81028ab0 5441
76a0ffb4
FF
5442Mon Jan 4 16:54:18 1993 Fred Fish (fnf@cygnus.com)
5443
2eda1cdf
FF
5444 * xcoffexec.c (vmap_symtab): Use new macros to access minimal
5445 symbol name and value fields.
5446
533d1dc7
FF
5447 * c-exp.y (yylex): Make static, to match prototype and other
5448 <lang>-exp.y files.
5449
76a0ffb4
FF
5450 * expression.h (exp_opcode): Add BINOP_MOD.
5451 * eval.c (evaluate_subexp): Handle new BINOP_MOD.
5452 * expprint.c (dump_expression): Handle new BINOP_MOD.
5453 * language.c (binop_type_check): Handle new BINOP_MOD.
5454 * main.c (float_handler): Re-enable float handler when hit.
5455 * valarith.c (language.h): Include, need current_language.
5456 * valarith.c (TRUNCATION_TOWARDS_ZERO): Define default macro
5457 for integer divide truncates towards zero for negative results.
5458 * valarith.c (value_x_binop): Handle BINOP_MOD if seen.
5459 * valarith.c (value_binop): Allow arithmetic operations on
5460 TYPE_CODE_CHAR variables. Add case to handle new BINOP_MOD.
76a0ffb4
FF
5461 * ch-exp.y (operand_4): Add useful actions for MOD and REM.
5462 * ch-exp.y (tokentab3): Add MOD and REM.
5463 * ch-exp.y (yylex): Set innermost_block for symbols found
5464 in local scopes. Return LOCATION_NAME for local symbols.
5465 * ch-lang.c (chill_op_print_tab): Fix MOD entry to use
5466 BINOP_MOD instead of BINOP_REM. Add REM entry, using BINOP_REM.
76a0ffb4 5467
f92743ae
ILT
5468Mon Jan 4 07:35:31 1993 Steve Chamberlain (sac@wahini.cygnus.com)
5469
5470 * command.c (shell_escape, make_command, _initialize_command):
5471 don't create or use fork if CANT_FORK is defined.
5472 * serial.h, ser-go32.c: now compiles, but "the obvious problems of
5473 code written for the IBM PC" remain.
5474 * xm-go32.h: define CANT_FORK
5475
ec25d19b
SC
5476Sun Jan 3 14:24:56 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5477
5478 * remote-sim.c: first attempt at general simulator interface
5479 * remote-hms.c: whitespace
5480 * h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
5481 understand new stack layout. (print_register_hook): print ccr
5482 register in a fancy way.
5483
fb6e675f
FF
5484Sun Jan 3 14:16:10 1993 Fred Fish (fnf@cygnus.com)
5485
5486 * eval.c (language.h): Include.
5487 * eval.c (evaluate_subexp_with_coercion): Only coerce arrays
5488 to pointer types when the current language is C. It loses for
5489 other languages when the lower index bound is nonzero.
5490 * valarith.c (value_subscript): Take array lower bounds into
5491 account when performing subscripting operations.
5492 * valops.c (value_coerce_array): Add comment describing why
5493 arrays with nonzero lower bounds are dealt with in value_subscript,
5494 rather than in value_coerce_array.
5495
54bbbfb4
FF
5496Sat Jan 2 12:16:41 1993 Fred Fish (fnf@cygnus.com)
5497
1188fbbf
FF
5498 * ch-exp.y (FLOAT_LITERAL): Add token.
5499 * ch-exp.y (literal): Add FLOAT_LITERAL.
5500 * ch-exp.y (match_float_literal): New lexer routine.
5501 * ch-exp.y (convert_float): Remove.
5502 * ch-exp.y (yylex): Call match_float_literal.
5503 * ch-exp.y (yylex): Match single '.' after trying
5504 to match floating point literals.
1188fbbf 5505
54bbbfb4
FF
5506 * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.
5507 * expprint.c (print_subexp): Rename BINOP_MULTI_SUBSCRIPT to
5508 MULTI_SUBSCRIPT.
5509 * expprint.c (dump_expression): New function for dumping
5510 expression vectors during gdb debugging.
5511 * expression.h (BINOP_MULTI_SUBSCRIPT): Name changed to
5512 MULTI_SUBSCRIPT and moved out of BINOP range.
5513 * expression.h (DUMP_EXPRESSION): New macro that calls
5514 dump_expression if DEBUG_EXPRESSIONS is defined.
5515 * m2-exp.y (BINOP_MULTI_SUBSCRIPT): Changed to MULTI_SUBSCRIPT.
5516 * parse.c (length_of_subexp, prefixify_subexp): Change
5517 BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
5518 * parse.c (parse_exp_1): Call DUMP_EXPRESSION before and after
5519 prefixify'ing the expression.
5520 * printcmd.c (print_command_1): Add comment.
54bbbfb4
FF
5521 * ch-exp.y (expression_list): Add useful actions.
5522 * ch-exp.y (value_array_element): Add useful actions.
5523 * ch-exp.y (array_primitive_value): Add production.
5524 * ch-exp.y (yylex): Recognize ',' as a token.
54bbbfb4 5525
ea81b10d
DZ
5526Fri Jan 1 18:22:02 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5527
5528 * Makefile.in: pass prefix and exec_prefix via FLAGS_TO_PASS,
5529 POSIXize the recursive makes (make [variable assignments] target{s})
5530
7532cf10
FF
5531Fri Jan 1 11:56:23 1993 Fred Fish (fnf@cygnus.com)
5532
5533 * tm-sun4sol2.h (CPLUS_MARKER): Remove, now set in tm-sysv4.h.
5534 * tm-sysv4.h (CPLUS_MARKER): By default, g++ uses '.' as the
5535 CPLUS_MARKER for all SVR4 systems, so follow suit.
5536 * defs.h (strdup_demangled): Remove prototype.
5537 * dwarfread.c (enum_type, synthesize_typedef): Use new macro
5538 SYMBOL_INIT_LANGUAGE_SPECIFIC.
5539 * dwarfread.c (new_symbol): Use SYMBOL_INIT_DEMANGLED_NAME.
5540 * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol,
5541 prim_record_minimal_symbol_and_info): Use new macro
5542 SYMBOL_INIT_LANGUAGE_SPECIFIC.
5543 * minsyms.c (install_minimal_symbols): Use new macro
5544 SYMBOL_INIT_DEMANGLED_NAME.
5545 * stabsread.c (define_symbol): Use new macro
5546 SYMBOL_INIT_DEMANGLED_NAME.
5547 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
5548 Use new macro SYMBOL_INIT_DEMANGLED_NAME.
5549 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Use new macro
5550 SYMBOL_INIT_DEMANGLED_NAME.
5551 * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol):
5552 SYMBOL_DEMANGLED_NAME now tests language itself.
5553 * symtab.c (COMPLETION_LIST_ADD_SYMBOL): SYMBOL_DEMANGLED_NAME
5554 now tests language itself.
5555 * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): New macro that does
5556 what SYMBOL_DEMANGLED_NAME used to do, directly access the C++
5557 mangled name member in the language dependent portion of a symbol.
5558 * symtab.h (SYMBOL_DEMANGLED_NAME): New macro that returns the
5559 mangled name member appropriate for a symbol's language.
5560 * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME,
5561 SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP):
5562 SYMBOL_DEMANGLED_NAME now tests language itself.
5563 * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): New macro that
5564 initializes language dependent portion of symbol.
5565 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): New macro that
5566 demangles and caches the demangled form of symbol names.
5567 * utils.c (fputs_demangled, fprint_symbol): Use current language
5568 to select an appropriate demangling algorithm.
5569 * utils.c (strdup_demangled): Remove, no longer used.
7532cf10
FF
5570 * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME): New macro that directly
5571 access the Chill mangled name member in the language dependent
5572 portion of a symbol.
5573 * ch-lang.c (chill_demangle): New function, simple demangler.
5574 * defs.h (chill_demangle): Add prototype.
5575 * symtab.h (language_dependent_info): Add struct for Chill.
7532cf10 5576
6e50aeb4 5577For older changes see ChangeLog-92
bd5635a1
RP
5578\f
5579Local Variables:
5580mode: indented-text
5581left-margin: 8
5582fill-column: 74
5583version-control: never
5584End:
This page took 0.442406 seconds and 4 git commands to generate.