Tests for validate symbol file using build-id.
[gdb/archer.git] / gdb / ChangeLog-1993
blob4aba2d330f4aef7e749dae6b7e371143d34651f8
1 Fri Dec 31 14:33:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3         * nindy-share/nindy.c: Fix order of arguments to store_unsigned_integer
4         (second and third arguments were reversed).
5         (say): Use varargs.
7 Fri Dec 31 12:13:47 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
9         * remote-mips.c: Add timeout parameter to mips_request and
10         mips_receive_packet.
11         (callers): pass in mips_receive_wait except mips_initialize (where
12         we use it to clean up the kludge where we had been changing
13         mips_receive_wait temporarily) and mips_wait (where we pass in
14         -1 for no timeout).
16 Fri Dec 31 14:33:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
18         * stack.c (print_block_frame_locals): Also print LOC_BASEREG variables.
20 Fri Dec 31 06:55:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22         * symtab.c (find_methods): Call fprintf_symbol_filtered with DMGL_ANSI.
24 Thu Dec 30 10:16:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
26         * values.c (unpack_long): Fix garbled error message.
28         * remote-mips.c (mips_error): New function.
29         * remote-mips.c: Use it instead of error() most places.
30         * remote-mips.c (mips_receive_packet): New arg throw_error.
31         (mips_initialize): Use it not catch_errors.
32         * defs.h: Declare error_pre_print and warning_pre_print here...
33         * main.c: ...not here.
35         * breakpoint.c (breakpoint_chain): Make static.
36         * breakpoint.c, breakpoint.h (frame_in_dummy): New function.
37         * stack.c (print_frame_info): Use it.
39 Thu Dec 30 07:41:36 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
41         * exec.c (add_to_section_table):  Check for SEC_ALLOC instead of
42         SEC_LOAD to handle .bss segments properly.
44 Thu Dec 30 10:16:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
46         * infrun.c (wait_for_inferior): Enable code which assumes that if
47         we jump into the prologue from another function, then it was a
48         subroutine call.  #if 0 AT_FUNCTION_START; the above code should
49         take care of this case.
51 Wed Dec 29 12:32:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
53         * valprint.c (val_print_string): Change chunksize from 200
54         to 8.
56         * symfile.c (generic_load): If no arguments, get file name
57         from get_exec_file.
59         * c-exp.y: Revert Kung's change.  "..." is not a type, and the
60         change caused "p (...)0" to dump core.
61         * gdbtypes.c (check_stub_method): Don't pass "..." to
62         parse_and_eval_type.  This should fix the bug which Kung was
63         trying to fix.
65         * stabsread.c (define_symbol): If we choose not to combine
66         two symbols, don't just ignore the second (LOC_REGISTER) one.
67         * printcmd.c (print_frame_args): If we have a LOC_ARG and a
68         LOC_REGISTER, use the LOC_ARG not the LOC_REGISTER.
70 Tue Dec 28 15:08:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
72         * solib.c (DEBUG_BASE):  Remove macro and all references.
73         * solib.c (debug_base_symbols):  Add array of symbols to lookup.
74         * solib.c (IGNORE_FIRST_LINK_MAP_ENTRY):  Add macro.
75         * solib.c (look_for_base, locate_base):  Use debug_base_symbols.
76         * solib.c (find_solib):  Use IGNORE_FIRST_LINK_MAP_ENTRY.
78 Tue Dec 28 12:06:57 1993  Kung Hsu  (kung@cirdan.cygnus.com)
80         * c-exp.y : fix grammar to parse ellipsis (...)
82 Mon Dec 27 18:42:14 1993  Kung Hsu  (kung@cirdan.cygnus.com)
84         * stabsread.c (read_type): fix problem when reading static member
85         of a class. caused by change to allow :: inside template
86         instantiated name.
88 Mon Dec 27 11:07:05 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
90         * gdbtypes.h: Expand on comments for TYPE_CODE_BITSTRING and
91         TYPE_CODE_STRING a bit.
93         * m68k-tdep.c (m68k_skip_prologue, m68k_find_saved_regs):
94         Allow pea %fp; move.l %sp, %fp instead of link instruction to
95         set up the new frame.
97         * main.c (init_main): Change "set remotedebug" back to var_zinteger
98         from var_boolean.
100         * c-exp.y (yylex): Don't try to deal with nested types.
102         * cp-valprint.c (cplus_print_value): Call check_stub_type on
103         TYPE_BASECLASS (type, i) before we look at its name.
105         * dbxread.c: Move default definition of GCC_COMPILED_FLAG_SYMBOL
106         from here . . .
107         * symtab.h: . . . to here.
108         * dbxread.c (record_minimal_symbol): Move check for gcc{,2}_compiled.
109         and __gnu_compiled* from here . . .
110         * minsyms.c (prim_record_minimal_symbol_and_info): . . . to here.
111         * minsyms.c (prim_record_minimal_symbol): Call
112         prim_record_minimal_symbol_and_info rather than duplicating code.
113         * minsyms.c, symtab.h (prim_record_minimal_symbol{,_and_info}),
114         coffread.c (record_minimal_symbol),
115         xcoffread.c (RECORD_MINIMAL_SYMBOL), callers: Add objfile parameter.
117 Sun Dec 26 20:44:02 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
119         * dbxread.c (process_one_symbol): Handle stabs-in-som just like
120         stabs-in-elf.
121         (pastab_build_psymtabs): Likewise.
123         * hppa-tdep.c: Change all comments to reference %r3 or frame
124         pointer rather than %r4.
125         (frame_chain, skip_prologue, dig_rp_from_stack): Handle %r3 as the
126         frame pointer.
128         * config/pa/tm-hppa.h (FP_REGNUM): Define as %r3.
129         (FIND_FRAME_SAVED_REGS): Handle %r3 as frame pointer.
130         (CALL_DUMMY): Likewise.
132 Sun Dec 26 16:59:39 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
134         * exec.c (exec_file_command): If error occurs after we have opened
135         exec_bfd but before we call push_target, make sure to close exec_bfd.
137         * infrun.c (wait_for_inferior): Remove confusing and inaccurate
138         stuff about subroutine calls, return, etc., from comment which
139         says "We've wandered out of the step range.".
141 Sun Dec 26 09:18:10 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
143         * infrun.c (wait_for_inferior): When checking whether the line has
144         changed, check the symtab as well.
146 Sun Dec 26 09:18:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
148         * gdbtypes.c (force_to_range_type): Use switch statement.
149         complain() not warning() if the TYPE_CODE isn't one we know how to
150         deal with gracefully.  Use builtin_type_int not
151         lookup_fundamental_type (the objfile we passed to
152         lookup_fundamental_type was sometimes NULL).
154         * valops.c (call_function_by_hand, push_word), defs.h (push_word),
155         convex-xdep.c, m88k-nat.c, i386m3-nat.c, mips-tdep.c, mipsm3-nat.c,
156         ns32km3-nat.c, remote-bug.c, m88k-tdep.c, remote-hms.c, remote-mips.c,
157         config/gould/tm-np1.h, hppa-tdep.c (hppa_fix_call_dummy), remote-vx.c:
158         Use REGISTER_SIZE, unsigned LONGEST, and
159         {store,extract}_unsigned_integer, instead of sizeof
160         (REGISTER_TYPE) and REGISTER_TYPE.
161         * All tm.h files: Change REGISTER_TYPE to REGISTER_SIZE.
162         * hppa-tdep.c (pa_print_fp_reg): Remove unused variable val.
164         * Makefile.in (ALLDEPFILES): Remove i386ly-nat.c and m68kly-nat.c.
165         Add lynx-nat.c.
167 Sat Dec 25 20:05:41 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
169     * hppa-tdep.c (init_extra_frame_info): Correctly adjust the base
170         of the current frame when "fromleaf" is true.  Do not adjust the
171         frame base of the innermost frame if it is a leaf function.
173 Sat Dec 25 13:39:21 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
175         * stabsread.c (define_symbol): Only combine a p/r pair into a
176         LOC_REGPARM if REG_STRUCT_HAS_ADDR.
178 Sat Dec 25 09:50:29 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
180         * valops.c (value_struct_elt): Check for (value)-1 return from
181         search_struct_method.
183 Sat Dec 25 09:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
185         * defs.h: Move definitions of TARGET_*_BIT after include of tm.h.
186         The old way (using #undef in tm.h) was ugly and asking for
187         trouble, because it makes it possible for some file to use the
188         wrong definition.  Move definition of HOST_CHAR_BIT after definition
189         of TARGET_CHAR_BIT.
190         * config/alpha/tm-alpha.h, config/h8300/tm-h8300.h,
191         config/h8500/tm-h8500.h, config/z8k/tm-z8k.h: Don't undef TARGET_*_BIT
192         before defining them.
194         * mdebugread.c: Change the builtin_type_* in this file to
195         mdebug_type_* and make them static.  Use TYPE_CODE_ERROR for
196         complex and float decimal.
198         * printcmd.c (disassemble_command): Call wrap_here between printing
199         address and printing instruction.
201 Fri Dec 24 14:23:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
203         * stabsread.c (read_type): Don't fall through 'S' case (the case it
204         was falling though happened to do the right thing ("break;") but that
205         is hardly a good thing to assume).
207 Tue Dec 21 13:32:02 1993  Per Bothner  (bothner@kalessin.cygnus.com)
209         * ch-exp.y (match_dollar_tokens):  Fix off-by-one bug.
210         * ch-lang.c (chill_is_varying_struct), ch-lang.h:  New function.
211         * ch-lang.c (chill_printstr):  Use double quotes, not single quotes.
212         * ch-typeprint.c (chill_type_print_base):  Handle TYPE_CODE_BITSTRING.
213         Improve printing of TYPE_CODE_STRING, TYPE_CODE_SET, and
214         TYPE_CODE_STRUCT (including checking chill_is_varying_struct).
215         Print TYPE_DUMMY_RANGE by printing its TYPE_TARGET_TYPE.
216         Handle TYPE_CODE_ENUM.
217         * ch-valprint.c (chill_val_print):  Handle TYPE_CODE_BITSTRING.
218         For TYPE_CODE_STRING, never print address.  Handle VARYING strings. 
219         * gdbtypes.c (force_to_range_type):  New.
220         * gdbtypes.c (create_set_type):  Make work, following Chill layout.
221         * gdbtypes.h (TYPE_LOW_BOUND, TYPE_HIGH_BOUND, TYPE_DUMMY_RANGE): New.
222         * stabsread.c (read_type):  Distinguish string and bitstring from
223         char-array and set.
224         * valarith.c (value_subscript), valops.c (value_coerce_array):
225         Handle STRINGs as well as ARRAYs.
226         * valarith.c (value_bit_index):  Fix think.  Use new macros.
229 Fri Dec 17 10:45:32 1993  Kung Hsu  (kung@cirdan.cygnus.com)
231         * symtab (decode_line_1): fix a bug when position char is not
232         set correctly.
233         * c-valprint (c_val_print): handle vtbl printing when vtbl is not
234         set up yet.
236 Thu Dec 16 16:46:01 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
238         * mips-tdep.c (read_next_frame_reg): If SIGFRAME_REG_SIZE is not
239         defined, define it as 4.
241 Thu Dec 16 13:08:01 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
243         * config/m68k/nm-hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.
245         * config/m68k/tm-hp300bsd.h (REMOTE_BPT_VECTOR): Define.
247         * config/m68k/tm-m68k.h (REMOTE_BPT_VECTOR): Allow targets to
248         override.
249         (REMOTE_BREAKPOINT): Likewise.
251 Thu Dec 16 09:14:58 1993  Jeff Law  (law@snake.cs.utah.edu)
253         * hpread.c (read_hp_function_type): Correctly handle
254         pass-by-value structures > 64bits in size.
255         (process_one_debug_symbol): Likewise.
257 Mon Dec 13 20:17:39 1993  Per Bothner  (bothner@kalessin.cygnus.com)
259         Implement support for Chill POWERSETs.
260         * ch-exp.y (operand_2):  Implement 'Element IN PowerSet'.
261         * ch-typeprint.c (chill_type_print_base):  Handle POWERSETs.
262         * ch-valprint.c (chill_val_print):  Handle TYPE_CODE_SET.
263         * eval.c (evaluate_subexp):  Implement BINOP_IN.
264         * expression.h (enum exp_opcode):  Added BINOP_IN.
265         * gdbtypes.c (create_set_type), gdbtypes.h:  New function.
266         * stabsread.c (read_type):  If 'S', create a set type.
267         * valarith.c (value_bit_index, value_in), value.h:  New functions,
268         for indexing in SETs.
270 Mon Dec 13 06:42:37 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
272         * paread.c (pa_symfile_init): Check for the existance of stabs
273         after DBX_TEXT_SECT has been initialized.
275 Tue Nov 23 17:29:28 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
277         * config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
278         (DECP_PC_AFTER_BREAK): Now is 0.
279         * config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE,
280         REGISTER_NAMES): update to new view.  (INIT_EXTRA_FRAME_INFO): No
281         extra frame info now.
282         * config/sh/sh.h (NOP): Define NOP insn.
283         * config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode.  
284         * config/z8k/z8ksim.mt (TDEPFILES): Add remote-sim.o to list.
285         * ser-go32.c: Lint. (strncasecmp): Removed, now in libiberty.
286         (go32_readchar): Special handling for faster polling. (async
287         structure): Volatile.
288         * h8300-tdep.c (print_register_hook): Allocate and use the right
289         number bytes for the raw register.
290         * h8500-tdep.c (regoff, frame_find_saved_reg, examine_prologue):
291         deleted. (h8500_register_size, h8500_register_virtual_type, ):
292         Use new way of counting registers.
293         * remote-e7000.c (echo_index): deleted. (expect): Better handling
294         of user interrupts. (expect_prompt): Remove never used log file
295         support. (want, want_nopc): Add support for H8/300H.
296         (fetch_regs_from_dump): Treat \r and \n as whitespace.
297         (e7000_drain): Send an "end" command before waiting for output to
298         stop.  (e7000_wait): Cope with H8/300H, better handling of user
299         interrupts.  (why_stop, expect_n, sub2_from_pc): New function.
300         * remote-utils.c (gr_load_image): call fflush and QUIT more regularly.
301         * utils.c (notice_quit): New function for polling for user interrupts.
303 Fri Dec 10 15:53:56 1993  Per Bothner  (bothner@kalessin.cygnus.com)
305         * stabsread.c (read_array_type):  Allow negative array bounds,
306         without interpreting that to mean "adjustable."
307         * ch-valprint.c (chill_val_print):  Handle RANGE types.
308         * ch-typeprint.c (chill_type_print_base):  Handle BOOL.
309         Handle variant records.  Handle RANGE types.
311 Tue Dec  7 15:41:32 1993  Ian Lance Taylor  (ian@cygnus.com)
313         * config/mips/idt.mt: Use tm-idt.h instead of tm-bigmips.h.
314         * config/mips/idtl.mt: Use tm-idtl.h instead of tm-mips.h.
315         * config/mips/tm-idt.h, config/mips/tm-idtl.h: New files; use
316         different BREAKPOINT value for IDT.
318         * mipsread.c: Include bfd.h and coff/sym.h.
320 Mon Dec  6 16:34:10 1993  K. Richard Pixley  (rich@cygnus.com)
322         * ser-unix.c (set_tty_state): set the rest of the terminal state
323           pieces.
325 Mon Dec  6 12:01:37 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
327         * configure.in: Recognize mips* for all mips targets.
328         (mips*el-*-elf*, mips*-*-elf*): New targets; use idt and idtl.
330         Added Irix 5 support.
331         * configure.in (mips-sgi-irix5*): New host and target.  Use irix5
332         for both.
333         * config/mips/irix5.mh, config/mips/irix5.mt,
334         config/mips/xm-irix5.h, config/mips/nm-irix5.h,
335         config/mips/tm-irix5.h, irix5-nat.c: New files for Irix 5 support.
336         * mdebugread.c: New file, split out of mipsread.c.  Added
337         elfmdebug_build_psymtabs routine.  Added some checks on external
338         symbols.  Changed code to keep ecoff_debug_info and
339         ecoff_debug_swap structs in the psymtab and in global pointers
340         rather than retrieving them from the bfd.  Also changed to keep
341         the pending list with the psymtab rather than the objfile (each
342         psymtab for a single objfile points to the same pending list).
343         * mipsread.c: Bulk of file moved into mdebugread.c, leaving just
344         the sym_fns.
345         * Makefile.in (SFILES): Added mdebugread.c.
346         (OBS): Added mdebugread.o.
347         (mdebugread.o): New target.
348         * symfile.h: Declare mdebug_build_psymtabs and
349         elfmdebug_build_psymtabs.
350         * elfread.c (struct elfinfo): Added mdebugsect field.
351         (elf_locate_sections): Remember location of .mdebug section.
352         (elf_symfile_read): Call elfmdebug_build_psymtabs on .mdebug
353         section.
354         * infrun.c (AT_FUNCTION_START): Set to 0 if not already defined.
355         (wait_for_inferior): Use AT_FUNCTION_START if it is defined to see
356         if PC is at the start of a function.
357         * mips-tdep.c (read_next_frame_reg): Use SIGFRAME_REG_SIZE, and
358         give it a default definition.
359         (mips_skip_prologue): Skip instructions which initialize $gp
360         register.
361         (in_sigtramp): New procedure, moved in from mipsread.c.
362         * config/mips/tm-mips.h: Declare in_sigtramp.
364         * serial.h (serial_fdopen): Make parameter const to match
365         function definition.
367 Fri Dec  3 14:20:43 1993  Stu Grossman  (grossman at cygnus.com)
369         * config/mips/irix4.mh:  Enable ser-tcp.o.
371 Tue Nov 30 15:24:24 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
373         * Makefile.in (check): Do not use subdir_do, so that
374         TARGET_FLAGS_TO_PASS is used correctly.
376 Mon Nov 29 16:10:38 1993  Stu Grossman  (grossman at cygnus.com)
378         * i386-nlmstub.c:  Undo I/O redirection changes by Tom Lord.
379         These definitely won't work under Netware.
381 Mon Nov 29 15:34:58 1993  Kung Hsu  (kung@cirdan.cygnus.com)
383         * stabsread.c(read_struct_field): Fix the check when getting to
384         member functions.
386 Mon Nov 29 16:48:16 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
388         gcc -Wall -O lint:
389         * mips-tdep.c (heuristic_proc_desc): Initialize reg30 to avoid
390         warning.  Unnest comment.
391         (init_extra_frame_info): Remove unused variable mask.
392         (MASK): Fully parenthesize.
393         (mips_push_dummy_frame): Remove unused variable val.
394         (mips_skip_prologue): Remove unused variables f and b.
396 Mon Nov 29 12:23:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
398         * mipsread.c (parse_symbol, parse_partial_symbols): Do not create
399         (partial) symbols for opaque struct definitions.
401 Mon Nov 29 11:36:57 1993  Stu Grossman  (grossman at cygnus.com)
403         * i386ly-tdep.c (i386lynx_saved_pc_after_call):  Change call_inst
404         to unsigned char to avoid domain warning for some values.
406 Mon Nov 22 23:42:59 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
408         * remote-e7000.c (e7000_wait): Cope with H8/300 register dump.
409         * config/h8300/h8300hms.mt: Add remote-e7000.
411 Mon Nov 22 11:03:45 1993  Fred Fish  (fnf@cygnus.com)
413         Merged changes from kev@spuds.geg.mot.com (Kevin A. Buettner):
414         * gdb/config/m88k/delta88.mh (NATDEPFILES): Added corelow.o and
415         coredep.o to this list.
416         * gdb/m88k-nat.c (m88k_register_u_addr):  Avoid error when passed
417         the number for an M88110 extended register by just returning the
418         address of r0.
420 Sat Nov 20 09:20:51 1993  Fred Fish  (fnf@rtl.cygnus.com)
422         * go32-xdep.c (re_comp, re_exec):  Remove stubs now that gdb
423         always uses it's own version of regex.
425 Fri Nov 19 18:23:19 1993  Kung Hsu  (kung@cirdan.cygnus.com)
427         * valops.c(value_struct_elt_for_reference): enhance  search operator in
428         c++.
429         * symtab.c(decode_line_1): same as above.
431 Fri Nov 19 15:08:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
433         * symtab.c (decode_line_1): Add comment about use of
434         return_to_top_level directly instead of error.  Add comment saying
435         that the '' should not be needed--that the completer should be fixed.
437 Fri Nov 19 11:00:33 1993  Kung Hsu  (kung@cirdan.cygnus.com)
439         * symtab.c(decode_line_1): fix the inconsistency of setting
440         breakpoint with '' or without them. The '' is needed when you
441         want name completion.
443 Thu Nov 18 08:25:50 1993  Fred Fish  (fnf@cygnus.com)
445         * valprint.c (val_print_string):  When looking for a null
446         terminator compare current bufsize to fetchlimit to determine
447         when to stop, instead of computing buffer+fetchlimit which
448         may overflow for very large limits (like "unlimited").
450 Wed Nov 17 18:23:09 1993  Kung Hsu  (kung@cirdan.cygnus.com)
452         * eval.c(evaluate_subexp): to use unified search so type conversion 
453         operator works in calling method.
454         * valarith.c(value_x_binop, value_x_unop): same as above.
455         * valops.c(search_struct_method): same as above.
457 Wed Nov 17 18:47:34 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
459         * mipsread.c: Change use of ECOFF information to correspond to
460         changes in bfd/libecoff.h.
461         (mipscoff_symfile_offsets): Made static.
463 Wed Nov 17 09:43:31 1993  Kung Hsu  (kung@cirdan.cygnus.com)
465         * valops.c (typecmp): improve prototype matching when calling
466         a method. Make 'p (*(ostream *) &cout) << "lll" ' to work.
467         * eval.c(evalute_subexp): fix operator search problem when call
468         like  p x.'operator+'(i).
470 Tue Nov 16 17:15:03 1993  Stu Grossman  (grossman at cygnus.com)
472         * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c:  Remove.  Move
473         common code into lynx-nat.c.
474         * lynx-nat.c:  New module.  Contains portable code for Lynx native
475         stuff (mostly ptrace related).
476         * config/i386/i386lynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
477         * config/m68k/m68klynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
479         * config/nm-lynx.h, config/tm-lynx.h:  New files to contain
480         non-architecture specific native and target defs.
481         * config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
482         config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h:  Move all
483         (arch) portable stuff into ../{tm nm}-lynx.h.
485 Tue Nov 16 13:33:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
487         * symtab.c (gdb_mangle_name): Only assume that the physname is
488         the entire mangled name if it looks like the mangled name of a
489         constructor.  Needed for testsuite to work with GCC 2.4.5.
491         * a68v-nat.c: Replace with new version from Troy Rollo.  The
492         version I am replacing appears to be an old copy of sun3-nat.c.
493         * dstread.c (dst_symfile_read): Replace sort_all_symtab_syms call
494         with loop.
496         * Makefile.in (TAGS): Depend on TAGFILES_{NO,WITH}_SRCDIR.
498         * Makefile.in: (HFILES,TAGFILES): Split into _WITH_SRCDIR and
499         _NO_SRCDIR versions.
500         (TAGS): Only add srcdir to TAGFILES_NO_SRCDIR.
501         (This is part of a long saga involving me putting srcdir on
502         everything (perhaps for now-obsolete reasons, I forget), Rich
503         removing the srcdir from everything, Stu putting it back some
504         places for Sun make, and me just now getting around to fixing
505         `make TAGS' again).
507 Mon Nov 15 12:29:10 1993  Kung Hsu  (kung@cirdan.cygnus.com)
509         * stack.c(print_frame_info): print demangled function name
510         ansi style.
512 Mon Nov 15 14:32:29 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
514         * remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
515         * remote-utils.c, remote-utils.h (gr_load_image): New function to
516         download to target.
517         * h8300-tdep.c, h8500-tdep.c, remote-z8k.c, sh-tdep.c z8k-tdep.c
518         (sim_load): delete.
519         * remote-sim.c (gdbsim_load): Use gr_load_image, rather than
520         sim_load.
521         * config/sh/sh.mt: Add remote-e7000
523 Mon Nov 15 11:38:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
525         * config/i386/linux.mh: Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, and
526         REGEX.
527         * config/i386/xm-linux.h: Don't include xm-i386v.h.  Define
528         HOST_BYTE_ORDER ourselves.  Define HAVE_TERMIOS not HAVE_TERMIO.
529         Define NEED_POSIX_SETPGID.  Include unistd.h.
531 Mon Nov 15 12:29:10 1993  Kung Hsu  (kung@cirdan.cygnus.com)
533         * symtab.c(gdb_mangle_name): fix the problem with constructor
534         name mangling.
536 Mon Nov 15 11:38:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
538         * gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.
539         * gdbtypes.c (check_stub_type): On TYPE_FLAG_TARGET_STUB, do
540         what cleanup_undefined_types does for arrays, except we clear
541         TYPE_FLAG_TARGET_STUB if we fix up the type.
542         * stabsread.c (cleanup_undefined_types): Add comments about how
543         doing arrays here is no longer the clean way to do it.
544         (read_array_type): Set TYPE_FLAG_TARGET_STUB as well as calling
545         add_undefined_type.
546         * c-typeprint.c, ch-typeprint.c: Move call to check_stub_type
547         outside switch so it happens for all type codes.
548         * cp-valprint.c (cp_print_value_fields): Recurse to val_print,
549         instead of c_val_print, so that check_stub_type gets called.
551         * gdbtypes.h, gdbtypes.c, m2-lang.c, ch-lang.c, c-lang.c: Remove
552         TYPE_FLAG_SIGNED.  It was inconsistently set, never checked
553         (except in recursive_dump_type), and is pointless.
555 Mon Nov 15 00:40:38 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
557         * paread.c (pa_symfile_init): Look for the $TEXT$ section rather
558         than the .text section.
560 Sun Nov 14 00:28:13 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
562         * stabsread.c: Remove #if 0'd dbx_class_complaint.  We now handle
563         this (more or less) gracefully, and complain() was never a good
564         way of dealing with this.
566         * stabsread.c (read_type): Skip the colon when reading a
567         cross-reference.  Only complain, not error_type, on unrecognized
568         cross-reference types.  error_type, not dump core, if the colon is
569         missing.
571 Fri Nov 12 16:23:08 1993  Stu Grossman  (grossman at cygnus.com)
573         * config/m68k/tm-sun3.h:  Disable use of alternate breakpoint insn
574         when doing remote stuff.
576 Fri Nov 12 16:22:39 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
578         * c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.
580         * partial-stab.h: Ignore ':' symbol descriptors.  Same case as
581         Kung's stabsread.c change.
583 Fri Nov 12 11:18:02 1993  Kung Hsu  (kung@cirdan.cygnus.com)
585         * stabsread.c (patch_block_stabs, define_symbol, read_type): in
586         g++ template instantiation, nested class can be part of the
587         params, and '::' can gets into symbol or type names. This is
588         to fix the problem.
590         * gdbtypes.c (lookup_struct_elt_type): Handle type ref or pointer
591         to struct/union case.
593 Fri Nov 12 10:39:31 1993  Stu Grossman  (grossman at cygnus.com)
595         * coff-solib.c (coff_solib_add):  Cast result of alloca().
596         * m68k-tdep.c (m68k_saved_pc_after_call):  Get rid of
597         GDB_TARGET_IS_SUN3.  Use more general SYSCALL_TRAP macro.
598         * config/m68k/m68klynx.mh (NATDEPFILES):  Remove exec.o (it's
599         already in TDEPFILES).
600         * config/m68k/tm-m68k.h (SAVED_PC_AFTER_CALL):  Use
601         m68k_saved_pc_after_call.
602         * Remove all Sun3 specific stuff.
603         * (FIX_CALL_DUMMY):  Cast arg to bfd_putb32 to unsigned char *.
604         * config/m68k/tm-m68klynx.h:  Define SYSCALL_TRAP as trap #10.
605         Disable REMOTE_BREAKPOINT mechanism.
606         * config/m68k/tm-sun3.h:  Get rid of GDB_TARGET_IS_SUN3.
607         * Protect from multiple includion.
608         * Move Sun3 specific stuff from tm-m68k.h to here.
609         * Define SYSCALL_TRAP as trap #0.
610         * Remove def of SAVED_PC_AFTER_CALL (now in tm-m68k.h).
611         * gdbserver/low-lynx.c:  Redo all register store/fetch stuff to
612         make it portable for 386 and 68k.
614 Fri Nov 12 09:53:26 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
616         * mips-tdep.c (init_extra_frame_info): Check to see whether the
617         registers mentioned in the proc_desc have been saved.  This
618         generalizes mips_in_lenient_prologue in the sense that we keep
619         searching until we've found saves for all the registers, not just
620         look for a "lenient prologue" pattern.
621         * mips-tdep.c: #if 0 lenient prologue code.
623         * mips-tdep.c (heuristic_proc_desc): Don't assume a host short
624         is 16 bits.
626 Thu Nov 11 19:58:05 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
628         * config/i386/i386sol2.mh: Comment out corelow.o.
630         * printcmd.c (address_info): Use filtered, not unfiltered functions.
631         We should be able to deal with a QUIT here.
633 Thu Nov 11 15:22:20 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
635         * printcmd.c (address_info): Use fprintf_symbol_filtered
636         to print the symbol name.
638         * stabsread.c (define_symbol): Handle cfront lossage for 
639         struct/union/enums and typedefs.
641         * partial-stab.h (case N_BINCL): Update psymtab_language
642         as appropriate when changing subfiles.
643         (case N_SOL): Update psymtab_language as appropriate when
644         changing subfiles.  Add typedef for structs, unions, and enums
645         when processing C++ files.
647 Thu Nov 11 13:18:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
649         * README: Remove information on languages and just cite the (newly
650         updated) information in doc/gdb.texinfo instead.
652         * delta68-nat.c: Fix typos (add missing ");" and stuct -> struct).
654 Wed Nov 10 09:31:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
656         * dbxread.c (process_one_symbol, N_RBRAC): Don't clear
657         within_function just because local_symbols is NULL.  It appears
658         that this bug has existed since the 10 Apr 89 change which started
659         clearing within_function here.
661         * config/m68k/tm-m68k.h: Clean up CALL_DUMMY comment.
662         * config/m68k/{tm-hp300bsd.h,tm-hp300hpux.h,tm-m68k-em.h,
663         tm-monitor.h,tm-sun3.h,tm-vx68.h}, config/sparc/tm-sparc.h:
664         Define BELIEVE_PCC_PROMOTION.
665         * dbxread.c: Remove BELIEVE_PCC_PROMOTION define.  The code which
666         used this was moved to stabsread.c a long time ago.
668         * dstread.c (dst_sym_fns): Update for flavours.
669         * symfile.c (find_sym_fns): Add kludge for apollo like for rs/6000.
670         * dstread.c (dst_symfile_offsets): Set objfile->num_sections.
672         gcc -Wall lint:
673         * thread.c: Include "gdbcmd.h" and <ctype.h>.
674         * Makefile.in: Update dependency.
675         * thread.c (thread_command): Remove unused variable p.
676         * values.c (unpack_double): Use len instead of TYPE_LENGTH (type).
677         * valprint.c (print_floating): Correctly check sign bit now that
678         we are using unsigned arithmetic.
679         * symtab.c (find_pc_line_range): Remove unused variables exact_match,
680         ind, and l.
682 Tue Nov  9 17:42:25 1993  Kung Hsu  (kung@cirdan.cygnus.com)
684         * valarith.c (value_x_binop): fix search operator in class bug
685         * valarith.c (value_x_unop): fix search operator in class bug
687 Tue Nov  9 19:20:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
689         * Makefile.in (init.c): Add udi2go32.o to list of files that we
690         should not try to search for _initialize_* functions.
692         * remote-udi.c (udi_wait): Change UDIGdb_StdoutReady back to
693         UDIStdoutReady.  It accidentally got changed on 24 Oct 93 when
694         stdout was changed to gdb_stdout.  Likewise for UDIGetStdout,
695         UDIStderrReady, and UDIGetStderr.
697 Tue Nov  9 12:48:06 1993  Tom Lord  (lord@cygnus.com)
699         * remote-hms.c (hms_wait): fixed too many arguments to putc_unfiltered.
701 Tue Nov  9 12:20:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
703         * utils.c (quit): Also call gdb_flush on standard output and error.
705         * .gdbinit: Remove "source /.gdbinit".  It causes a spurious error
706         if /.gdbinit doesn't exist (and I know of no convention of putting
707         something in /.gdbinit).
709 Mon Nov  8 18:17:11 1993  Kung Hsu  (kung@cirdan.cygnus.com)
711         * cp-valprint.c (cp_print_value_fields): change output from <no
712         value> to <optimized out or zero length>
714 Mon Nov 08 17:05:30 1993  Jeffrey Wheat  (cassidy@cygnus.com)
716         * Makefile.in: Change RUNTEST_FLAGS back to RUNTESTFLAGS
717                        Change RUNTEST = runtest to test for existance of
718                         a runtest in the source tree first.
720 Mon Nov  8 10:42:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
722         * Makefile.in: Remove unused variable GCC.  Remove "#CC=cc" line
723         which doesn't really relate to anything.
725         * Makefile.in (CC_FOR_TARGET): Test for existence of gcc/xgcc, not
726         for existence of gcc/Makefile.
728         * inflow.c (terminal_init_inferior), infptrace.c (child_resume):
729         Add comments about use of Lynx PIDGET and how we will want to
730         clean it up.
732         * stabsread.c: Remove long_kludge_name code (it was already #if 0).
733         * stabsread.c (read_one_struct_field): Clean up comments to reflect
734         Kung's change of 5 Nov 93.
735         * stabsread.c (read_one_struct_field): Don't give up on unknown
736         visibility character, just shove it in fip->list->visibility.
737         (read_baseclasses): Don't give up on unknown virtual or visibility
738         characters, just assume a reasonable default, complain, and keep
739         going.
740         (attach_fields_to_type): Complain on unrecognized visibility.
741         One result of all this is that '9' (VISIBILITY_IGNORE) can be used
742         in a stab as well as being something which GDB uses internally.
744 Mon Nov  8 07:57:30 1993  Doug Evans  (dje@canuck.cygnus.com)
746         * configure.in: Remove h8300h, we have multilib now.
748 Mon Nov  8 06:11:24 1993  D. V. Henkel-Wallace  (gumby@cirdan.cygnus.com)
750         * configure.in: Add unixware as a configuration alias for x86
751         sysv4
753         * config/i386/i386nw.mt: add i387-tdep.o, exec.o to TDEPFILES
755 Sun Nov  7 23:49:21 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
757         * symtab.c (decode_line_1, decode_line_2):  Do not adjust pc by
758         FUNCTION_START_OFFSET if funfirstline is not set.
760 Fri Nov  5 17:19:30 1993  Kung Hsu  (kung@cirdan.cygnus.com)
762         * gdbtypes.h : add a field 'ignore_field_bits in cplus_specific,
763         and macros to handle the bits.
764         * stabsread.c (read_one_struct_field): add VISIBILITY_IGNORE, and
765         for field of length 0, set this bit on.
766         * cp-valprint.c (cp_print_value_fields): for VISIBILITY_IGNORE
767         field, print <no value>.
769 Fri Nov  5 14:43:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
771         * Version 4.11.2.
773 Fri Nov  5 09:49:22 1993  Stu Grossman  (grossman at cygnus.com)
775         * inflow.c (terminal_init_inferior): Temporarily use Lynx PIDGET
776         macro to set process groups.
777         * infptrace.c (child_resume): Temporarily use Lynx PIDGET to
778         specify resumption of all threads.
779         * infrun.c (wait_for_inferior):  Fix handling of thread-specific
780         breakpoints for systems where DECR_PC_AFTER_BREAK > 0 (ie: backup
781         PC by the right amount when continuing the thread).
782         * thread.c (thread_apply_command):  Add the  `thread apply'
783         command to apply a given GDB command to a list of threads.
785 Fri Nov  5 05:58:03 1993  Jim Kingdon  (kingdon@cygnus.com)
787         * Makefile.in (init.c): Don't call sed if filename is empty.
789 Thu Nov  4 08:27:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
791         * dbxread.c (unknown_symchar_complaint): Make message refer to
792         "symbol descriptor" not "symbol type character" for consistency
793         with stabs.texinfo terminology.
795         * stabsread.c (read_struct_fields): Accept either '$' or '.' as
796         the character which introduces a cpp_abbrev or anonymous type.
798         * c-lang.c (c_printstr): Print "" to stream (like all the other
799         output from this function), not gdb_stdout.
801         * dbxread.c (process_one_symbol): Do relocate 'S' symbols by
802         the text offset (revert 12 Oct 93 change).
804         * configure.in: Make hppa*-*-hiux* use hppahpux,
805         not non-existent hppahiux.
807 Wed Nov  3 16:24:09 1993  Kung Hsu  (kung@cirdan.cygnus.com)
809         * values.c (value_fn_field): when physical name not found, do not
810         error, but return null.
811         * valops.c (value_struct_elt): when name and args match does not
812         mean it is the one, some times a typedef class can have the same
813         member method and args. This probably will not happen with new
814         version of g++, but it does happen in old g++ and cause gdb error.
816 Wed Nov  3 09:20:18 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
818         Merge changes for dos x udi:
819         * Makefile.in (udi2go32.o): add rule to build this file
820         * 29k-share/udi/udi2go32.c: new file
821         * config/a29k/a29k-udi.mt: add udi2go32.o
822         * 29k-share/udi/{udr.c, udip2soc.c}: #ifdef out the entire file 
823           if __GO32__ is defined.  What a hack.
825 Wed Nov  3 09:20:18 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
827         * remote.c (putpkt, getpkt): Don't call interrupt_query.
829         * findvar.c (value_of_register): Rename val to reg_val to avoid
830         name conflict with some (e.g. tm-m68k.h) REGISTER_CONVERT_TO_VIRTUAL.
832         * main.c: Add variables source_line_number, source_file_name,
833         source_error, source_error_allocated, and source_pre_error.
834         (command_line_input): If source_file_name set, increment
835         source_line_number and set error_pre_print with them.
836         (source_command): Set source_* and make a cleanup so they get
837         set back.
839 Tue Nov  2 16:28:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
841         * stack.c (down_silently_command): Add comment about PR 1913.
843         * breakpoint.c (insert_breakpoints, delete_breakpoint): Call
844         target_terminal_ours_for_output before attempting output.
846         * fork-child.c (fork_inferior): Fix comment so that it suggests
847         "set shell" rather than having "set env SHELL" affect GDB's
848         operation.
850 Tue Nov  2 15:03:08 1993  Tom Lord  (lord@rtl.cygnus.com)
852         * utils.c (vfprintf_unfiltered): don't use maybe_filtered
853         since it involves a fixed size buffer.
855 Tue Nov  2 13:42:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
857         * findvar.c (value_of_register, value_from_register),
858         hppa-tdep.c (pa_print_fp_reg), infcmd.c (do_registers_info),
859         valops.c (value_assign):   Use REGISTER_CONVERT_TO_* only if
860         REGISTER_CONVERTIBLE is defined, otherwise just copy the content.
861         Pass desired type to REGISTER_CONVERT_TO_*.
863         * config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*):
864         Pass length of desired type to store/extract_floating.
865         * config/i386/tm-arm.h, config/i386/tm-i386aix.h, 
866         config/i386/tm-sun386.h, config/i386/tm-symmetry.h, 
867         config/m88k/tm-m88k.h config/rs6000/tm-rs6000.h (REGISTER_CONVERT_*):
868         Use extract_floating and store_floating with length of desired type.
869         * config/m68k/tm-news.h (STORE,EXTRACT_RETURN_VALUE):  Add type
870         parameter to REGISTER_CONVERT_*.
872         * config/a29k/tm-a29k.h, config/convex/tm-convex.h,
873         config/gould/tm-np1.h, config/gould/tm-pn.h, config/h8300/tm-h8300.h,
874         config/h8500/tm-h8500.h, config/i386/tm-i386v.h,
875         config/mips/tm-mips.h, config/ns32k/tm-merlin.h,
876         config/ns32k/tm-umax.h, config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
877         config/sh/tm-sh.h, config/sparc/tm-sparc.h, config/tahoe/tm-tahoe.h,
878         config/vax/tm-vax.h, config/z8k/tm-z8k.h (REGISTER_CONVERTIBLE,
879         REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL):  Remove
880         versions for which REGISTER_CONVERTIBLE is always false.
881         * z8k-tdep.c (register_convert_to_virtual, register_convert_to_raw):
882         Remove, no longer used.
884         * alpha-tdep.c (alpha_register_convert_to_raw,
885         alpha_register_convert_to_virtual):  New routines to handle
886         the different raw formats in alpha floating point registers.
887         * config/alpha/tm-alpha.h (REGISTER_CONVERTIBLE,
888         REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW):  Use them.
890 Tue Nov  2 12:45:23 1993  Stan Shebs  (shebs@rtl.cygnus.com)
892         * gdbserver/configure.in: Recognize *-*-lynxos* instead of
893         *-*-lynx*, recognize sparc-*-lynxos*.
894         * gdbserver/Makefile.in (install, install_only): Add.
895         * gdbserver/gdbserver.1: New file, man page for gdbserver.
897 Tue Nov  2 03:01:01 1993  Jeff Law  (law@snake.cs.utah.edu)
899          * hpread.c: Include <time.h> and <sys/types.h>.  Change include
900          of "libhppa.h" to "som.h".
901          (BYTES_IN_WORD): Define.
902          (hppa_sym_fns): "hppa" is 4 characters, not 5.
903         
904 Mon Nov  1 09:40:21 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
906         * symtab.c, symtab.h, source.c: Change find_line_pc_range to take
907         a struct symtab_and_line argument, rather than a symtab and a line.
908         Re-write it to be based on the address rather than bogusly adding
909         one to the line number and hoping that has something to do with the
910         end of the line.
912         * config/m88k/m88k.mh (NATDEPFILES): Remove exec.o.
914         * paread.c (pa_symtab_read): Change comments to say ignoring
915         labels really should be handled by the assembler/compiler.
917         * Makefile.in: Add -O to CXXFLAGS.
919         * TODO: Expand comments on fast watchpoints.
921 Sun Oct 31 19:45:06 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
923         * paread.c (pa_symtab_read): Also filter out local symbols
924         starting with "L$".
926 Sun Oct 31 09:28:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
928         * symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,
929         coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c:
930         Change from using bfd target name to using the flavour.
932         * objfiles.h, infcmd.c, symfile.c: Add comments about how various
933         objfiles get created and when we should blow them away.
935 Sat Oct 30 08:32:53 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
937         * symfile.c (reread_symbols): When re-reading symbols, do all the
938         right operations ourself, rather than calling symbol_file_command.
939         If we re-read something, call clear_symtab_users not just
940         breakpoint_re_set.
941         * objfiles.h, objfiles.c (build_objfile_section_table): No longer
942         static.
943         * symfile.c (clear_symtab_users): Call clear_pc_function_cache.
944         * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c
945         (*_symfile_offsets): Set objfile->num_sections.
946         * remote.c (remote_wait), symfile.c (syms_from_objfile):
947         Don't muck with objfile->num_sections now that all the symbol
948         readers set it.
949         * elfread.c: Clean up obsolete comment about handling only DWARF.
950         * paread.c: Remove comment about how we should use an "ordinary"
951         file format with an hppa suffix.  There is nothing ordinary about SOM.
953         * config/i386/{i386m3.mh,i386mk.mh}, config/mips/mipsm3.mh,
954         config/ns32k/ns32km3.mh: Change MMALLOC_LIB to MMALLOC.
955         * TODO: Update Mach stuff.
957 Fri Oct 29 16:30:36 1993  Stan Shebs  (shebs@rtl.cygnus.com)
959         LynxOS support:
960         * configure.in: Change *-*-lynx* to *-*-lynxos*, add
961         sparc-*-lynxos*.
962         * Makefile.in (ALLDEPFILES): Add m68kly-nat.c, sparcly-nat.c.
963         Rename i386lynx-nat.[co] to i386ly-nat.[co].
964         (ALLCONFIG): Add config/{m68k,sparc}/{m68k,sparc}lynx.m[ht].
965         (m68kly-nat.o, sparcly-nat.o): Add rules.
966         * i386ly-tdep.c: Cosmetics.
967         * i386lynx-nat.c: Removed.
968         * i386ly-nat.c: New file, was i386lynx-nat.c.
969         * m68kly-nat.c: New file.
970         * sparcly-nat.c: New file.
971         * config/xm-lynx.h: New file, cpu-independent host info.
972         * config/i386/i386lynx.mh: Changes for consistency.
973         * config/i386/i386lynx.mt: Ditto.
974         * config/i386/tm-i386lynx.h: Ditto.
975         * config/i386/nm-i386lynx.h: Ditto.
976         * config/i386/xm-i386lynx.h: Include config/xm-lynx.h.
977         * config/m68k/m68klynx.mh, config/m68k/m68klynx.mt,
978         config/m68k/tm-m68klynx.h, config/m68k/nm-m68klynx.h,
979         config/m68k/xm-m68klynx.h: New files, M68K LynxOS support.
980         * config/sparc/sparclynx.mh, config/sparc/sparclynx.mt,
981         config/sparc/tm-sparclynx.h, config/sparc/nm-sparclynx.h,
982         config/sparc/xm-sparclynx.h: New files, Sparc LynxOS support.
984 Fri Oct 29 08:11:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
986         * defs.h, findvar.c (extract_floating, store_floating): New functions.
987         * Move SWAP_TARGET_AND_HOST from defs.h to findvar.c because it is
988         now used only by extract_floating and store_floating.
989         * valprint.c (print_floating): Use unsigned arithmetic.  Use
990         extract_unsigned_integer instead of SWAP_TARGET_AND_HOST.
991         Change sizeof (float) to 4 and sizeof (double) to 8 (those are always
992         the relevant sizes for this code, which is in #ifdef IEEE_FLOAT).
993         * values.c (unpack_long, unpack_double, value_from_double),
994         valarith.c (value_binop), stabsread.c (define_symbol):
995         Use extract_floating and store_floating instead of
996         SWAP_TARGET_AND_HOST.
997         * config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*):
998         Use extract_floating and store_floating.
999         * config/m88k/tm-m88k.h: Add comments (it should be doing the same).
1000         * i386-tdep.c (i386_extract_return_value),
1001         * remote-nindy.c (nindy_store_registers): Use store_floating.
1003 Fri Oct 29 09:31:38 1993  Steve Chamberlain  (sac@rtl.cygnus.com)
1005         * remote-sim.c (gdbsim_store_register):  Change var name so
1006         it compiles with non-ANSI compilers.
1008 Fri Oct 29 08:11:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1010         * TODO: Add idea for "disassemble" with source.
1012 Fri Oct 29 00:41:01 1993  Fred Fish  (fnf@cygnus.com)
1014         * Makefile.in (VERSION):  Bump to 4.11.1 after release and cvs
1015         tagging.
1017 Thu Oct 28 09:14:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1019         * TODO: Add section on Mach.  Stop calling it a "bug list".
1020         Remove John's name and email address.  Remove item on "always"
1021         ("hook-stop" takes care of this).  Remove item on executables with
1022         no symbols (this works on some machines, at least).  Remove item
1023         about calling error() during symbol reading (I think all the important
1024         ones have been cleaned up).  Revise items about signals and remote
1025         systems.  Remove section on ^Z requiring several continues to make
1026         it go (this now works.  Perhaps the item is based on confusion over
1027         programs (like GDB itself) which catch SIGTSTP and then re-send
1028         themselves the signal.  PR 2575 might contain relevant info).
1030 Thu Oct 28 16:55:34 1993  Fred Fish  (fnf@cygnus.com)
1032         * NEWS:  Note improvements in C++ support, preliminary thread
1033         implementation, and LynxOS native and target support for 386.
1035 Thu Oct 28 16:55:34 1993  Fred Fish  (fnf@cygnus.com)
1037         * README:  Add note from Peter Schauer about OSF/1 shared
1038         libraries.  Add note from Pace Willisson about configuring on BSDI
1039         BSD/386 release 1.0.  Update gdb references to gdb 4.11.
1041 Thu Oct 28 09:14:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1043         * NEWS: Add notes about Alpha and "set remotedebug" for UDI.
1045         * valops.c (value_assign): Change bitfield code to use a buffer of
1046         the correct size, rather than an int.
1048 Wed Oct 27 13:43:07 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1050         * config/i386/{i386m3.mt,i386m3.mh},
1051         config/mips/{mipsm3.mt,mipsm3.mh},
1052         config/ns32k/{ns32km3.mt,ns32km3.mh}: Use correct names for TM_FILE
1053         and XM_FILE.  Replace host files *mach3-xdep.o with native
1054         files *m3-nat.o.  Replace host file os-mach3.o with native
1055         file m3-nat.o.
1057         * remote-udi.c: Remove LOG_FILE stuff; superceded by "set remotedebug".
1058         * remote-mon.c: Remove commented out "set remotedebug" command.
1059         * remote-nindy.c: Clean up comment about wanting alternative to
1060         options specified on the GDB command line.
1062         * fork-child.c (fork_inferior): Set inferior_pid before calling
1063         init_trace_fun.  Move the code which gets us through the shell
1064         to new function startup_inferior.
1065         * inferior.h: Declare startup_inferior.
1066         * procfs.c (procfs_init_inferior), inftarg.c (ptrace_him):
1067         Call startup_inferior.
1068         * m3-nat.c (m3_trace_him): Call intercept_exec_calls.
1069         * config/nm-m3.h: Don't define STARTUP_INFERIOR.
1070         * config/i386/tm-i386m3.h, config/ns32k/tm-ns32k.h,
1071         config/mips/tm-mipsm3.h: Don't define START_INFERIOR_TRAPS_EXPECTED.
1073         * m68k-stub.c: Change vector 13 from SIGFPE to SIGBUS.
1075 Tue Oct 26 22:05:03 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
1077         * mips-tdep.c (mips_pop_frame): If proc_desc is NULL, don't dump core.
1079 Tue Oct 26 15:07:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1081         gcc -Wall lint:
1082         * nlmread.c: Include stabsread.h.
1083         * Makefile.in: Update dependencies.
1085         * remote.c: Change PBUFSIZ back to 400.  John's 28 Feb 1992 change
1086         to increase it broke the ability to write large chunks of memory
1087         with m68k-stub and i386-stub.  Now we only use more than 400 on
1088         machines where we need that much to write the registers.
1089         * remote.c (remote_write_bytes): Eliminate possible abort().  The
1090         check for when to abort was off by a few bytes and besides which,
1091         it is handled by MAXBUFBYTES, which the caller uses.
1092         * m68k-stub.c: Add comments about trap #1 and trap #8 instructions.
1094 Tue Oct 26 08:36:07 1993  Doug Evans  (dje@canuck.cygnus.com)
1096         * remote-sim.h (SIM_ADDR): New type (same as CORE_ADDR).
1097         (sim_set_pc): Update prototype.
1098         (sim_read, sim_write): Ditto, and use unsigned char *buf.
1099         (sim_fetch_register, sim_store_register): Use unsigned char *buf.
1100         (sim_info): Pass printf function as argument, add verbose argument.
1101         (sim_stop_reason): Renamed from sim_stop_signal, fix prototype.
1102         * remote-sim.c (gdbsim_wait): Update call to sim_stop_reason.
1103         (gdbsim_files_info): Update call to sim_info.
1105 Tue Oct 26 10:41:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1107         * valops.c (value_assign): Call reinit_frame_cache when assigning
1108         to a register.
1110 Mon Oct 25 11:08:59 1993  Stu Grossman  (grossman at cygnus.com)
1112         * infrun.c (wait_for_inferior):  Fix PC out of objfile bounds
1113         check to just use stop_func_name == 0.
1114         * remote-udi.c (store_register):  Invalidate NPC/PC_REGNUM after
1115         changing PC.
1117 Mon Oct 25 14:57:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1119         * gdbserver/{low-lynx.c,low-sparc.c,low-sun3.c}, standalone.c,
1120         m3-nat.c, i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c: bcopy -> memcpy.
1122         gcc -Wall lint:
1123         * breakpoint.c: Include thread.h.
1124         * coffread.c: Include stabsread.h.
1125         * Makefile.in: Update dependencies.
1126         * breakpoint.c (mention): Add bp_call_dummy to switch.
1127         * symmisc.c (dump_symtab): Use %d not %ld for line number.
1129 Sun Oct 24 18:29:32 1993  Tom Lord  (lord@rtl.cygnus.com)
1131         * every non-obsolete file except utils.c:
1132           Change the stream argument to _filtered to GDB_FILE *.
1133           Change all references to stdout/stderr to gdb_stdout/gdb_stderr.
1134           Replace all calls to stdio output functions with
1135             calls to corresponding _unfiltered functions.
1136           Replaced calls to fopen for output to gdb_fopen.
1137           Added sufficient goo to utils.c and defs.h to make the above
1138           work.
1139           
1140           The net effect is that stdio output functions are only directly
1141           used in utils.c.  Elsewhere, the _unfiltered and _filtered 
1142           functions and GDB_FILE type are used.
1144           In the near future, GDB_FILE will stop being equivalant to 
1145           FILE.
1147           The semantics of some commands has changed in a very subtle way:
1148           called in the right context, they may cause new occurences of 
1149           prompt_for_continue() behavior.
1151           Please respect this change by not reintroducing stdio output 
1152           dependencies in the main body of gdb code.  All output from
1153           commands should go to a GDB_FILE.
1155 Sun Oct 24 20:16:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1157         * parse.c, parser-defs.h (write_exp_msymbol):  New function to write
1158         the appropriate expression for a minimal symbol.  Taken from c-exp.y
1159         and m2-exp.y but handles mst_file_*.
1160         * c-exp.y, m2-exp.y:  Use it.
1162 Sun Oct 24 09:31:05 1993  Fred Fish  (fnf@lisa.cygnus.com)
1164         * elfread.c (elf_symtab_read):  Use bfd convention that both
1165         initialized and uninitialized data sections have the SEC_ALLOC
1166         flag bit set, but only initialized sections have SEC_LOAD set.
1167         SEC_DATA is ignored since it only gets set for initialized 
1168         data.
1170 Sat Oct 23 14:48:18 1993  Doug Evans  (dje@canuck.cygnus.com)
1172         * remote-sim.h (sim_stop): New enum.
1173         (sim_stop_signal): Change prototype, result is enum sim_stop.
1174         * remote-sim.c (gdbsim_wait): Update call to sim_stop_signal.
1176 Fri Oct 22 07:49:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1178         * stabsread.c (define_symbol): Skip the whole thing about "pcc
1179         promotion" on little-endian machines.
1181         * remote-vx.c (vx_wait): Rename pid parameter to pid_to_wait_for.
1182         Some compilers (legitimately) don't like variables in the
1183         function's outermost block whose name is the the same as the name of
1184         a parameter.
1186         Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au):
1187         * dst.h, dstread.c, config/m68k/{apollo68b.mt,tm-apollo68b.h}:
1188         New files.
1189         * config/m68k/nm-apollo68b.h: Add more defines.
1190         * configure.in: Recognize apollo target, not just host.
1192         * configure.in: Add * to end of all OS names.
1194 Fri Oct 22 06:14:01 1993  Fred Fish  (fnf@cygnus.com)
1196         * Makefile.in (ALLPARAM):  Add config/m88k/xm-delta88v4.h
1198 Thu Oct 21 12:23:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1200         * Makefile.in (init.c): Generate using the source, not munch.  This
1201         cleans up all kinds of hassles (which nm to use in munch, etc).  The
1202         new formatting conventions (mostly already followed) are that
1203         the name of the _initialize_* routines must start in column zero,
1204         and must not be inside #if.
1205         * munch: Removed.
1206         * Makefile.in: Remove references to munch.
1207         * serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c,
1208         alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c,
1209         procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c,
1210         i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c,
1211         z8k-tdep.c: Make sure the above conventions are followed.  Make
1212         sure they are all declared as returning void.  Clean up
1213         miscellaneous comments and such.
1215         * sh-tdep.c (sim_load): Add function.
1217 Thu Oct 21 15:58:48 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
1219         * remote-mips.c (mips_wait): add pid argument.
1221 Thu Oct 21 12:23:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1223         * Makefile.in (c-exp.tab.o): Remove notice about shift/reduce conflicts
1224         which no longer occur.
1226         gcc -Wall lint:
1227         * findvar.c (symbol_read_needs_frame), corelow.c (ignore),
1228         inflow.c (gdb_has_a_terminal): Make sure to return a value.
1229         * regex.h: Declare re_set_syntax.
1230         * printcmd.c: Include valprint.h.
1231         * infcmd.c, exec.c, maint.c, core.c: Include language.h.
1232         * maint.c: Include expression.h.
1233         * infrun.c, fork-child.c, corelow.c, inflow.c: Include thread.h.
1234         * inftarg.c: Include command.h.
1235         * coredep.c: Include value.h.
1236         * c-exp.y, m2-exp.y, ch-exp.y: Include bfd.h, symfile.h and objfiles.h.
1237         * ch-typeprint.c: Include typeprint.h.
1238         * ch-valprint.c: Include c-lang.h.
1239         * nlmread.c: Include buildsym.h.
1240         * environ.c: Include gdbcore.h.  Only include defs.h once.
1241         (set_in_environ): Cast const char * to char * when passing to
1242         set_gnutarget.
1243         * Makefile.in: Update dependencies to reflect all these new includes.
1244         Remove unused variables:
1245         * printcmd.c (printf_command): args_to_vprintf.
1246         * coffread.c (coff_symfile_init): strsection.
1247         Move variables to within the #ifdefs where they are used:
1248         * symtab.c (gdb_mangle_name): opname.
1249         * inftarg.c (child_attach): pid and exec_file.
1250         * inftarg.c (child_detach): siggnal.
1251         * objfiles.c (allocate_objfile): mapto, md, and fd.
1252         * objfiles.c (free_objfile): mmfd.
1253         * infrun.c (wait_for_inferior): Include BPSTAT_WHAT_LAST in switch.
1254         * infrun.c (wait_for_inferior): Remove unused same_pid label.
1255         * inferior.h: Declare set_sigint_trap and clear_sigint_trap.
1256         * parser-defs.h: Declare write_exp_elt_block.
1257         * stabsread.h: Declare elfstab_offset_sections and
1258         coffstab_build_psymtabs.
1260 Thu Oct 21 12:05:08 1993  Ken Raeburn  (raeburn@cygnus.com)
1262         Patch from Jeff Law:
1263         * paread.c: Fix references to "hppa" that should now be "som".
1265 Thu Oct 21 12:23:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1267         * symtab.c (decode_line_1): Don't use SYMBOL_LINE for functions.
1269 Thu Oct 21 02:59:07 1993  Stu Grossman  (grossman at cygnus.com)
1271         * remote-udi.c (udi_store_registers, store_register):  Use
1272         UDI29KPC address space when modifying PC.  It seems that you can't
1273         modify the PC directly (at least in the isstip simulator).
1275 Wed Oct 20 11:35:43 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1277         * target.h: Put remote_debug declaration back here.  Add baud_rate.
1278         * remote.c, remote-udi.c, remote-utils.h: Let target.h take care of
1279         declaring these.  Those random externs all over are error prone.
1280         * Move "set remotebaud" from remote-utils.c to main.c to it applies
1281         to remote.c as well.
1283         * xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
1284         Sort symtabs for this objfile only, not for all objfiles.
1285         * symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used.
1287         * mipsread.c (parse_symbol): In third-eye, a function has a block
1288         within it which represents the whole function.  Create only one
1289         GDB block for both.
1291 Wed Oct 20 17:47:42 1993  Stu Grossman  (grossman at cygnus.com)
1293         * main.c:  Make baud_rate and remote_debug be global variables,
1294         remove #include "remote-utils.h".  This makes it possible to build
1295         GDB without remote-utils.c.  Also, move setting of remote_debug
1296         into main, so that all remote*.c files can use it (not just the
1297         serial line ones).  And, make baud_rate be an int.
1298         * remote-udi.c:  Change kiodebug to remote_debug.
1299         * remote-utils.c:  Move setting of baud rate and debug into main.c.
1300         * remote-utils.h:  Redefine sr_{get set}_debug and sr_{get set}_baud
1301         to use baud_rate and remote_debug globals for compatibility.
1302         * remote.c:  Use remote_debug and baud_rate globals directly,
1303         instead of sr_ functions, so that we don't need to load
1304         remote-utils.c.
1305         * config/a29k/a29k-udi.mt:  Define REMOTE_O as null so that we don't
1306         get the default remote* modules.
1308 Wed Oct 20 11:35:43 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1310         * stabsread.c (define_symbol): When combining a LOC_ARG and a
1311         LOC_REGISTER, use the type from the LOC_REGISTER, not from the
1312         LOC_ARG.
1314 Wed Oct 20 14:34:38 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
1316         * config/i386/xm-go32.h: define some signals if they aren't
1317           already defined.
1319 Wed Oct 20 11:35:43 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1321         * Makefile.in (INTERNAL_LDFLAGS): New macro.  The new part is
1322         that we use CFLAGS and PROFILE_CFLAGS to link.
1323         (gdb, rapp, kdb): Use INTERNAL_LDFLAGS instead of
1324         LDFLAGS and/or GLOBAL_CFLAGS.
1326 Wed Oct 20 09:29:55 1993  Stu Grossman  (grossman at cygnus.com)
1328         * Makefile.in:  Add $(srcdir) to all refs to 29k-share
1329         directories.
1331 Tue Oct 19 17:23:34 1993  Fred Fish  (fnf@deneb.cygnus.com)
1333         * Makefile.in (ALLCONFIG):  Add config/i386/{i386m3.mh, i386m3.mt,
1334         i386/i386mk.mh i386/i386mk.mt}, config/mips/{mipsm3.mh,
1335         mipsm3.mt}, config/ns32k/{ns32km3.mh, ns32m3.mt}
1336         * Makefile.in (remote_utils_h):  Add remote-sim.h
1337         * Makefile.in (NONSRC):  Add i386-nlmstub.c
1338         * Makefile.in (HFILES):  Add coff-solib.h
1340 Tue Oct 19 14:15:40 1993  Kung Hsu  (kung@cirdan.cygnus.com)
1342         * values.c (value_virtual_fn_field): Fix the offset calculation
1343         when calling virtual functions. (gdb.t22/virtfunc.exp).
1344         * eval.c (evaluate_subexp): same as above.
1346 Tue Oct 19 10:43:16 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1348         * config/rs6000/rs6000.mh (TERMCAP): Define to -lcurses.
1350         * Makefile.in: Define CXXFLAGS.
1352 Tue Oct 19 09:28:52 1993  Stu Grossman  (grossman@cygnus.com)
1354         * sparclite/Makefile.in:  Fixup so that this works with Sun make
1355         and VPATH.
1357 Tue Oct 19 10:43:16 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1359         * breakpoint.h (struct bpstat_what): Don't use bitfields.
1361         * typeprint.c: Add "class CLASS-NAME" to docstring for ptype.
1363 Tue Oct 19 06:17:10 1993  Fred Fish  (fnf@cirdan.cygnus.com)
1365         * Makefile.in (ALLPARAM):  Add config/m88k/{nm-delta88v4.h,
1366         tm-delta88v4.h, xm-dgux.h}.
1367         * Makefile.in (ALLCONFIG):  Add config/m88k/{delta88v4.mh,
1368         delta88v4.mt}.
1370         * README:  Remove comment about SunOS 5.x programs leaving
1371         coredumps.  Info from Sun is that this was not in customer
1372         releases.
1374 Mon Oct 18 10:28:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1376         * hppa-tdep.c (restore_pc_queue): Call target_terminal_ours after
1377         done stepping the inferior.
1379         * c-exp.y: Remove never-used (because of shift/reduce conflicts)
1380         rules for pointers to members.
1381         * Makefile.in: Remove notice about expected shift/reduce conflicts.
1383         * buildsym.c (finish_block): If we pop the context stack and it is
1384         not empty, complain () instead of abort ().
1386 Sun Oct 17 19:42:31 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1388         * parse.c, parser-defs.h (follow_types): New function.
1389         * c-exp.y (ptype : typebase abs_decl): Use it.
1390         * c-exp.y (ptype): Add support for type qualifiers after the
1391         typebase.  The typebase rule already has support for them before
1392         the typebase.
1393         * Makefile.in: Change the expected number of shift/reduce
1394         conflicts to 6.  This is OK--the 2 new conflicts are basically the
1395         same as one of the old ones.
1397 Sun Oct 17 13:04:49 1993  Fred Fish  (fnf@cygnus.com)
1399         * Makefile.in (VERSION):  Bump to 4.10.3.
1401 Sun Oct 17 09:18:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1403         * infrun.c (wait_for_inferior): Clean up comments which were at
1404         the top of the file, making them more concise and moving them with
1405         the code (Sorry, Randy, but these stream-of-consciousness comments
1406         really have to go).  Switch the order of the "&&", which makes
1407         things clearer and turns out to be an improvement with respect to
1408         side effects and speed.
1410 Sun Oct 17 02:06:01 1993  Stu Grossman  (grossman at cygnus.com)
1412         * procfs.c:  Handle process exits more elegantly by trapping on
1413         entry to _exit.  Also, cleanup procinfo list when process dies of
1414         it's own accord (as opposed to being killed).
1416 Sat Oct 16 20:47:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1418         * config/m88k/xm-dgux.h: Define NO_PTRACE_H.
1420         * corelow.c (add_to_thread_list): Need a cast to go from PTR to
1421         asection *.
1423         * infrun.c: Add comment about signals.
1425         * fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again.
1426         Stu reinstated it (accidently I assume).
1428 Sat Oct 16 15:27:10 1993  Stu Grossman  (grossman at cygnus.com)
1430         * procfs.c (procfs_wait):  Losing Unixware can't do poll on /proc
1431         files.  Use PIOCWSTOP instead.
1432         * corelow.c (add_to_thread_list):  Fix arg to match prototype.
1434         * procfs.c (procfs_set_sproc_trap):  Don't use this if sproc
1435         isn't available.
1436         * (procfs_notice_signals):  Fix prototype.
1438 Fri Oct 15 22:46:07 1993  Stu Grossman  (grossman at cygnus.com)
1440         * breakpoint.c (breakpoint_thread_match break_command_1):
1441         Thread-specific breakpoint support.
1442         * breakpoint.h (struct breakpoint):  Add thread id field.
1443         * fork-child.c (fork_inferior):  Move call to init_thread_list()
1444         back a bit so that init_trace_fun can do thread functions.
1445         * hppa-tdep.c (restore_pc_queue):  Add pid to call to target_wait.
1446         * hppab-nat.c (child_resume):  Handle default pid.
1447         * hppah-nat.c (child_resume):  Handle default pid.
1448         * i386lynx-nat.c (child_wait):  New arg pid.
1449         * inflow.c (kill_command):  Reset thread list.
1450         * infptrace.c (child_resume):  Handle default pid.
1451         * infrun.c:  Thread-specific breakpoint support.
1452         * inftarg.c (child_wait):  Add pid arg.
1453         * osfsolib.c (solib_create_inferior_hook):  Add pid to call to
1454         target_resume.
1455         * procfs.c:  Multi-thread support.
1456         * remote-bug.c (bug_wait):  Add pid arg.
1457         * remote-hms.c (hms_wait):  Add pid arg.
1458         * remote-mips.c (mips_wait):  Add pid arg.
1459         * remote-mon.c (monitor_wait):  Add pid arg.
1460         * remote-nindy.c (nindy_wait):  Add pid arg.
1461         * remote-sim.c (gdbsim_wait):  Add pid arg.
1462         * remote-udi.c (udi_wait):  Add pid arg.
1463         * remote-vx.c (vx_wait):  Add pid arg.
1464         * remote-z8k.c (sim_wait):  Add pid arg.
1465         * remote.c (remote_wait):  Add pid arg.
1466         * solib.c (solib_create_inferior_hook):  Add pid to call to
1467         target_resume.
1468         * target.h (struct target_ops):  Add pid arg to to_wait and
1469         to_notice_signals.
1470         * thread.c (valid_thread_id):  New func to validate thread #s.
1471         * (pid_to_thread_id):  New func to do the obvious.
1472         * thread.h:  Prototypes for above.
1474         * coff-solib.c (coff_solib_add):  Use nameoffset field to locate
1475         filename.
1477 Fri Oct 15 21:29:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1479         * h8300-tdep.c, h8500-tdep.c: Define sim_load only, but not
1480         sim_kill, sim_open, or sim_set_args.
1482         * stack.c (print_stack_frame): Put catch_errors around
1483         print_frame_info so (for example) error printing source doesn't
1484         cause auto-displays to get skipped in normal_stop.
1486         * findvar.c (value_from_register): When preparing to cast a value
1487         from REGISTER_VIRTUAL_TYPE to type, copy the REGISTER_VIRTUAL_SIZE;
1488         the old code didn't copy the whole thing.
1489         * valops.c (value_assign): Add comment.
1491 Fri Oct 15 12:57:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1493         * mipsread.c (upgrade_type):  Replace bitsize sanity checks and
1494         complaint by a comment explaining why they were useless. 
1496 Fri Oct 15 14:30:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1498         * Move comments on bypassing call dummy breakpoint from stack.c
1499         to breakpoint.h.
1501 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1503         * symtab.c (lookup_partial_symtab):  If filename is not found and
1504         contains no slashes, try again and compare without leading path
1505         components.
1506         * symtab.c (lookup_symtab_1):  Replace open coded version of
1507         lookup_partial_symtab with a function call.
1509 Thu Oct 14 20:34:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1511         * fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),
1512         remote-mon.c (monitor_create_inferior), remote-nindy.c
1513         (nindy_create_inferior), remote-st.c (st2000_create_inferior),
1514         remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it
1515         is replaced by init_trace_fun.
1516         * config/convex/xm-convex.h, convex-xdep.c: Add comments explaining
1517         how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex
1518         port.
1520         * Makefile.in: Add Mach files to ALLDEPFILES, etc.
1521         * m3-nat.c: Clean up more hair--message(), cprocs.
1522         * configure.in: Recognize Mach targets and hosts.
1523         * config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can
1524         include this file.
1525         * Mach headers in config/*/tm-*.h: Fix includes to match correct
1526         locations of files.
1528 Thu Oct 14 21:35:55 1993  Rob Savoye  (rob@darkstar.cygnus.com)
1530         * remote-mon.c (general_open): Set dev_name. Minor tweaking to get
1531         it working again.
1532         * config/m68k/tm-monitor.h: Remove floating point register names
1533         as there aren't any on any of the monitors that use this code.
1535 Wed Oct 13 11:47:23 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1537         * inflow.c: Pass pointer to process group, not process group itself,
1538         to TIOCSPGRP ioctl.
1540         * inflow.c (terminal_ours_1): Don't print warning on failure to
1541         set process group.
1543         * printcmd.c (printf_command): Instead of using makeva* and
1544         calling vprintf, just make the appropriate calls to printf.
1545         * printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h,
1546         config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all
1547         traces of makeva*.  My apologies to everyone (including me!)
1548         who spent so much time getting it to work on various machines,
1549         but look at the bright side, at least you won't have to do it
1550         again in the future.
1552         * printcmd.c (printf_command): Make a cleanup for val_args (fixes
1553         a memory leak).
1555 Tue Oct 12 22:54:41 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1557         * config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep.
1559 Tue Oct 12 12:01:29 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
1561         * configure.in: only configure gdbserver for native environments
1563 Tue Oct 12 08:59:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1565         * stabsread.c (read_type): Treat a negative type number at the start
1566         of a type as a type reference, not as a definition of a type with
1567         "50=" omitted.  This makes things work on the RS/6000 again (the
1568         14 Sep 1993 change broke it).
1570         * inflow.c: Use 0 (standard input) not scb->fd.
1571         (terminal_ours_1): If printing warning, don't claim it happened in
1572         terminal_inferior.
1574         * blockframe.c (get_prev_frame_info): Don't error() if there are no
1575         frames; just return NULL.
1577         * xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
1578         change which involved structure elements.  It was unnecessary and
1579         was not consistently done.
1581         * stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
1582         Move common block handling from dbxread.c to stabsread.c.
1583         Use the name from the BCOMM instead of the ECOMM.
1584         Allocate things on the symbol_obstack.
1585         * xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
1586         and C_ECOML.  On unrecognized storage classes, go ahead and call
1587         define_symbol (after the complaint).
1589         * dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
1590         the text offset.
1592 Tue Oct 12 12:33:09 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1594         * osfsolib.c (solib_create_inferior_hook):  Reset stop_soon_quietly
1595         after shared library symbol reading to get rid of warning from
1596         heuristic_proc_start.
1598 Tue Oct 12 12:01:29 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
1600         * remote-sim.c: fix unterminated character string
1602 Tue Oct 12 08:59:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1604         * stabsread.c: Fix comment about gcc 2.3.3 stab for long long int.
1606 Mon Oct 11 14:27:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1608         * m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
1609         various things to try to get this to work.
1611         * symtab.h: Fix comments re headers, sharing blockvectors, etc.
1613 Mon Oct 11 11:46:06 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
1615         * config/i960/vxworks960.mt (REMOTE_O): add dcache.o and remote-utils.o
1617 Mon Oct 11 02:48:57 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1619         * mipsread.c (parse_partial_symbols):  Do not add undefined
1620         symbols to the partial symbol table.
1621         * alpha-tdep.c (init_extra_frame_info):  Remove kludge for gcc,
1622         gcc has to be compatible with the native tools.
1623         * alpha-tdep.c (alpha_push_arguments):  Rename NUM_ARG_REGS to
1624         ALPHA_NUM_ARG_REGS and move its definition to tm-alpha.h.
1625         * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS):  Change it to the
1626         way the native tools define it, update comment.
1628 Fri Oct  8 15:54:06 1993  Fred Fish  (fnf@deneb.cygnus.com)
1630         * osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c, 
1631         xcoffsolib.h:  Use 'abfd' for bfd variables instead of 'bfd'.
1632         Sun cc doesn't like variable names that match their typedef'd type.
1634 Fri Oct  8 14:56:21 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1636         * inflow.c: Remove unused includes of sys/param.h and sys/types.h.
1638         * inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
1639         terminal.h, fork-child.c, main.c, utils.c: Move all the process
1640         group stuff back to inflow.c and terminal.h; that's a better place
1641         for it and fixes problems with trying to get/set the process group
1642         of a tty we're doing remote debugging on.
1643         * terminal.h: Skip the redefines and includes if HAVE_TERMIOS.
1645         * findvar.c, value.h (symbol_read_needs_frame): New function.
1646         * c-exp.y, m2-exp.y: Call it instead of having our own switch on
1647         the symbol's class.
1648         * valops.c (value_of_variable): Use symbol_read_needs_frame to
1649         decide whether we care about finding a frame.
1651 Fri Oct  8 02:34:21 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1653         * blockframe.c (get_frame_block):  Do not adjust pc if the frame
1654         function was interrupted by a signal.
1656 Thu Oct  7 19:20:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1658         * config/h8300/tm-h8300.h: Don't define sr_get_debug.
1659         * remote-sim.c: Include remote-utils.h.
1660         * target.h: Add comment about target_has_execution.
1662 Thu Oct  7 16:14:19 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
1664         * h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
1665         New functions.
1666         * infrun.c (normal_stop): Don't try and set the pc in the current
1667         frame coredump if there isn't one.
1668         * remote-sim.c (gdbsim_store_register): Don't
1669         SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order.
1670         (gdbsim_wait): Set status with WSETSTOP.
1671         * config/h8300/tm-h8300.h (sr_get_debug): Define
1673 Thu Oct  7 12:56:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1675         New Mach stuff:
1676         * config/i386/i386mach.c: Explain this is for the old (probably
1677         non-functional and/or obsolete) Mach stuff.
1678         * m3-nat.c, config/nm-m3.h,
1679         i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
1680         config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
1681         config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
1682         config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
1683         config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
1684         New files.
1686         * blockframe.c (find_pc_partial_function): If we call
1687         PSYMTAB_TO_SYMTAB, call target_terminal_ours_for_output first.
1688         This is needed now that wait_for_inferior passes in endaddr.
1689         * infrun.c: Move call to target_terminal_inferior from proceed
1690         to resume.
1692 Thu Oct  7 09:22:04 1993  Stu Grossman  (grossman at cygnus.com)
1694         * blockframe.c (find_pc_partial_function):  Fix handling for PCs
1695         beyond the end of the last function in an objfile.
1696         * coff-solib.c (coff_solib_add):  Use BFD to get fields from .lib
1697         section.
1698         * infrun.c (wait_for_inferior):  Modify test for subroutine entry
1699         to include pc out of bounds of the previous function.
1700         * remote.c (remote_wait):  Use strtoul for parsing 'N' message.
1701         Add code to relocate symfile_objfile->sections.
1703 Thu Oct  7 06:22:43 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1705         * config/sparc/sun4os4.mh: Add comment saying why we don't use
1706         -lresolv.
1708 Thu Oct  7 09:29:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1710         * breakpoint.c, breakpoint.h (breakpoint_init_inferior):  New function
1711         that clears the `inserted' flag for all breakpoints and deletes
1712         any breakpoints which should go away between runs of programs.
1713         * inflow.c (generic_mourn_inferior), infrun.c (init_wait_for_inferior),
1714         remote-es.c (es1800_load), comments in exec.c and corelow.c:
1715         Use it instead of mark_breakpoints_out.
1716         * breakpoint.c (mark_breakpoints_out):  Update comment, tm-rs6000.h
1717         uses it in a completely different context.
1718         * breakpoint.c (breakpoint_re_set_one):  Add bp_call_dummy case.
1720 Thu Oct  7 09:29:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1722         * Makefile.in (REGEX, REGEX1):  Always use our own version of
1723         regex.c to be consistent across hosts.
1724         * source.c (_initialize_source):  Initialize regex to use grep
1725         style syntax as an approximation to POSIX basic regex syntax.
1727 Wed Oct  6 12:43:47 1993  Jeffrey A Law  (law@snake.cs.utah.edu)
1728                           Jim Kingdon  (kingdon@lioth.cygnus.com)
1730         * hppa-tdep.c (frame_chain): Rework so that it correctly
1731         handles boundaries where code with a frame pointer calls code
1732         without a frame pointer.
1733         (dig_fp_from_stack): New function.
1735 Wed Oct  6 12:43:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1737         * breakpoint.c (delete_breakpoint): Don't insert a disabled breakpoint.
1739         * README: Add Alpha notes from Schauer.
1741 Tue Oct  5 15:26:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1743         * Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
1744         understand what it is trying to do, but I suspect it's not doing
1745         it.
1747         * config/ns32k/merlin.mh: Add comment about M_INSTALL.
1748         * config/m88k/{delta88.mh,delta88v4.mh}: Remove M_INSTALL and
1749         M_UNINSTALL; it tries to install a non-existent file gdb.z.
1750         * Makefile.in: Remove M_INSTALL stuff; the above were the only uses.
1752         * stabsread.c (read_range_type): Remove comment which recommends
1753         distinguishing float from complex by the name.
1755 Tue Oct  5 12:17:40 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1756                           Jim Kingdon  (kingdon@cygnus.com)
1757                           Stu Grossman  (grossman@cygnus.com)
1759         Changes to support alpha OSF/1 in native mode.
1760         * alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
1761           config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
1762         New files.
1763         * Makefile.in:  Add new files and dependencies.
1764         * configure.in:  Add alpha target.
1765         * config/alpha/alpha-osf1.mh (NATDEPFILES):  Add osfsolib.o
1766         * config/alpha/alpha-osf1.mh (MH_CFLAGS):  Remove, we can handle
1767         shared libraries now.
1768         * config/alpha/xm-alpha.h:  Cleanup, get MAKEVA_* defines right.
1770         * defs.h (CORE_ADDR):  Make its type overridable via CORE_ADDR_TYPE,
1771         provide `unsigned int' default.
1772         * breakpoint.c (breakpoint_auto_delete):  Delete only if we really
1773         stopped for the breakpoint.
1774         * stabsread.c, stabsread.h (define_symbol):  Change valu parameter
1775         to a CORE_ADDR.
1776         * stabsread.c (read_range_type):  Handle the case where the lower
1777         bound overflows and the upper doesn't and the range is legal.
1778         * infrun.c (resume):  Do not step a breakpoint instruction if
1779         CANNOT_STEP_BREAKPOINT is defined.
1781         * inferior.h (CALL_DUMMY_LOCATION):  New variant AT_ENTRY_POINT.
1782         Now that we have the bp_call_dummy breakpoint the call dummy code
1783         is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
1784         FIX_CALL_DUMMY can be used to set up everything for the dummy.
1785         The breakpoint for the dummy is set at the entry point and thats it.
1786         * blockframe.c (inside_entry_file, inside_entry_func):  Do not stop
1787         backtraces if pc is in the call dummy at the entry point.
1788         * infcmd.c (run_stack_dummy):  Handle AT_ENTRY_POINT case. Use
1789         the expected breakpoint pc when setting up the frame for
1790         set_momentary_breakpoint.
1791         * symfile.c (entry_point_address):  New function for AT_ENTRY_POINT
1792         support.
1793         * valops.c (call_function_by_hand):  Handle AT_ENTRY_POINT case.
1795 Tue Oct  5 11:37:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1797         * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
1798         Change other hppa host entries to use -*- not -hp-.
1800 Mon Oct  4 19:16:14 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1802         * i386-nlmstub.c: New file; debugging stub for i386 NetWare.  Must
1803         be compiled with NetWare header files and turned into an NLM with
1804         nlmconv.
1806 Mon Oct  4 11:02:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1808         * minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.
1810         * dbxread.c (process_one_symbol): Make n_opt_found static.
1812         * Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
1813         * Makefile.in, config/i386/i386lynx.mt: Change accordingly.
1815         * values.c (record_latest_value): Fetch lazy values and set VALUE_LVAL
1816         to not_lval.
1818 Sun Oct  3 15:54:51 1993  Stan Shebs  (shebs@rtl.cygnus.com)
1820         * objfiles.h (objfile): New slot sym_stab_info, use by most
1821         stab-reading formats.
1822         * gdb-stabs.h (DBX_SYMFILE_INFO): Access sym_stab_info instead of
1823         sym_private.
1824         * coffread.c (coff_symfile_init): Alloc struct for sym_stab_info.
1825         * dbxread.c, elfread.c, paread.c: Change sym_private references to
1826         sym_stab_info references.
1828 Sat Oct  2 19:28:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1830         * mipsread.c, objfiles.c, utils.c: Use PTR not void *.  RISC/OS
1831         4.02 lacks void *.
1832         * elfread.c: Use void * not PTR inside PARAMS.
1834         * config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
1835         * config/mips/news-mips.mh: Define NAT_FILE not NM_FILE.
1836         * config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.
1838 Sat Oct  2 16:05:22 1993  Stu Grossman  (grossman at cygnus.com)
1840         * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
1841         tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.
1843 Sat Oct  2 15:50:41 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1845         * m88k-nat.c (store_inferior_registers): When writing all registers,
1846         don't try to write EXIP_REGNUM or ENIP_REGNUM (not needed for this
1847         case, and they cause trouble).
1849         * TODO: Don't suggest doing fast watchpoints by stepping a line
1850         at a time.  That would be really hairy and still not fast enough.
1851         Do suggest debug registers and page table diddling.
1853 Fri Oct  1 14:54:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1855         * printcmd.c (do_examine): Make meaning of 'h', 'w', and 'g' not
1856         depend on builtin_type_*.  Instead, it is always 2, 4, and 8 bytes
1857         like the documentation says.
1858         * printcmd.c (decode_format) [CC_HAS_LONG_LONG]: Remove 'l' as
1859         synonym for 'g'.  This was never documented, it shouldn't depend on
1860         CC_HAS_LONG_LONG, and I don't see what's wrong with 'g'.
1862 Fri Oct  1 10:06:35 1993  Kung Hsu  (kung@cirdan.cygnus.com)
1864         * symtab.c: fix a bug in testsuite (virtfunc.exp)
1866 Thu Sep 30 11:30:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1868         * m88k-nat.c (fill_gregset): Fix typo (R_SFIP -> R_FIP).
1870         * c-typeprint.c (c_type_print_base, TYPE_FN_FIELD_STUB code):
1871         If demangled name lacks a colon, don't dump core.
1873         * blockframe.c (find_pc_partial_function): If pst->readin is
1874         set, don't try to get symbols from pst.
1876         * inflow.c (generic_mourn_inferior): Call reinit_frame_cache
1877         instead of doing it ourself.
1878         * blockframe.c (reinit_frame_cache): Use code which was in
1879         generic_mourn_inferior so we can use this function even when
1880         we have switched targets.
1881         * corelow.c (core_detach): Call reinit_frame_cache.
1882         * target.c (target_detach): Don't call generic_mourn_inferior
1883         (revert yesterday's change, now handled by core_detach).
1884         * objfiles.c (free_objfile): Detach any core file if we call
1885         SOLIB_CLEAR.  #include target.h.
1887         * fork-child.c (fork_inferior): Don't call target_terminal_init
1888         and target_terminal_inferior until we are sure that the inferior
1889         has called gdb_setpgid.  This fixes PR 2900 (Schauer tracked it
1890         down and was able to reliably reproduce it by putting a sleep()
1891         before the gdb_setpgid()).
1893 Thu Sep 30 12:00:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1895         * c-exp.y, m2-exp.y:  Change type of address for msymbol to
1896         builtin_type_long.
1897         * infptrace.c (fetch_register, store_inferior_register,
1898         child_xfer_memory):  Use PTRACE_XFER_TYPE for the type of ptrace
1899         transfers. Provide an `int' default for PTRACE_XFER_TYPE.
1901 Thu Sep 30 11:30:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1903         * defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
1904         picking defaults.
1906         * cp-valprint.c (cp_is_vtbl_ptr_type): Continue to accept old form.
1908 Thu Sep 30 11:25:55 1993  Kung Hsu  (kung@cygnus.com)
1910         * cp-valprint.c (cp_is_vtbl_ptr_type):
1911         change vtable field name to __vtbl (pr2695).
1913         * symtab.c (gdb_mangle_name): fix a bug, to get mangled name right.
1915 Wed Sep 29 18:34:22 1993  Stu Grossman  (grossman at cygnus.com)
1917         * Makefile.in:  Add deps for i386lynx-nat.o and i386lynx-tdep.o to
1918         keep non-gnu makes happy.
1920 Wed Sep 29 17:20:54 1993  Jeff Law  (law@snake.cs.utah.edu)
1922         * hpread.c (read_hpux_symtab): When a K_END is found for a
1923         K_MODULE, clear the have_module and have_name flags.
1925 Wed Sep 29 10:52:19 1993  Kung Hsu  (kung@cygnus.com)
1927         * c-valprint.c: to fix virtual table print bug (pr2695).
1929 Wed Sep 29 10:52:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1931         * target.c (target_detach): Call generic_mourn_inferior.
1932         * inflow.c (generic_mourn_inferior): Call flush_cached_frames.
1934 Tue Sep 28 23:08:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1936         * dbxread.c, coffread.c, elfread.c: A few changes to comments.
1938 Tue Sep 28 18:39:37 1993  Stan Shebs  (shebs@rtl.cygnus.com)
1940         * configure.in: Rename ...-lynx* to ...-lynxos*.
1941         Add m68*-*-lynxos* configuration.
1942         * dbxread.c (coffstab_build_psymtabs): New function,
1943         interfaces coffread.c to dbxread functions.
1944         * coffread.c (coff_symfile_info):  Expand to include
1945         dbx_symfile_info slots.
1946         (coff_symfile_init): Init coff_symfile_info struct.
1947         (coff_locate_sections): New functions, finds the stab and stabstr
1948         sections.
1949         (coff_symfile_read): Call coffstab_build_psymtabs if a stab
1950         section is present.
1951         (coff_section_offsets): Replace fake version with real offsets.
1953 Tue Sep 28 18:00:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1955         * infcmd.c (run_stack_dummy): Set the frame in the bp_call_dummy
1956         breakpoint.
1958 Tue Sep 28 17:53:26 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1960         * config/nm-sysv4.h: Include solib.h.  Define SVR4_SHARED_LIBS.
1961         * config/tm-sysv4.h: Don't include solib.h.
1962         * config/xm-sysv4.h: Don't define SVR4_SHARED_LIBS.
1963         * config/i386/i386v4.mt (TDEPFILES): Move solib.o from here...
1964         * config/i386/i386v4.mh (NATDEPFILES): ...to here.
1965         * config/i386/nm-i386v4.h: Include nm-sysv4.h.
1966         * config/m68k/amix.mt (TDEPFILES): Move solib.o from here...
1967         * config/m68k/amix.mh (NATDEPFILES): ...to here.
1969 Tue Sep 28 09:45:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1971         * symmisc.c (print_symbol): Use %02x not %2x for LOC_CONST_BYTES.
1973         Clean up problems with targets and hosts that have 64 bit longs
1974         and pointers and 32 bit ints.
1975         * breakpoint.c, buildsym.c, c-lang.c, c-valprint.c, ch-lang.c,
1976         ch-valprint.c, core.c, cp-valprint.c, dbxread.c, exec.c,
1977         expprint.c, gdbtypes.c, infcmd.c, language.c, language.h,
1978         m2-lang.c, maint.c, mips-tdep.c, mipsread.c, partial-stab.h,
1979         printcmd.c, remote-vx.c, solib.c, source.c, stack.c, symfile.c,
1980         symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
1981         Change all printf formats from %x to %lx if outputting an address.
1982         Change la_*_format to use long format.
1983         local_hex_string, local_hex_string_custom now take an unsigned long
1984         argument, change all callers.
1985         * coffread.c (read_coff_symtab):  Remove superfluous cast for
1986         complaint output.
1987         * dbxread.c (end_psymtab):  Cast MSYMBOL_INFO to long, not int.
1988         * findvar.c, value.h (write_register):  Change val to LONGEST.
1989         * gdbtypes.h (struct type):  Change `bitsize' to long as
1990         TYPE_FIELD_STATIC_PHYSNAME uses this field as a pointer.
1991         * inferior.h (struct inferior_status):  Change type of stop_pc to
1992         CORE_ADDR.
1993         * language.h (local_octal_string, local_octal_string_custom):
1994         Remove prototype, the functions are neither defined nor used.
1995         * mipsread.c (parse_symbol):  Use temporary variable for bitsize as
1996         f->bitsize is a long now.
1997         * objfiles.c (add_to_objfile_sections, build_objfile_section_table):
1998         Use unsigned long casts instead of int for abusing sections_end
1999         pointer as integer.
2000         * stack.c (parse_frame_specification):  Change type of `args' to
2001         CORE_ADDR for SETUP_ARBITRARY_FRAME.
2003         * printcmd.c (make_vasize):  Allow redefinition via MAKEVA_SIZE.
2004         * mipsread.c (parse_type):  Alpha cc now supports the t->continued
2005         bit, update algorithm to match the way the compiler uses it.
2007 Tue Sep 28 12:05:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2009         * utils.c (fprintfi_filtered): Fix comments.
2011 Mon Sep 27 18:10:08 1993  Stu Grossman  (grossman at cygnus.com)
2013         * coffread.c (read_coff_symtab):  Don't call getfilename if there
2014         are no auxents.
2016 Mon Sep 27 10:22:37 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2018         * symtab.c (find_pc_line): Fix comments.
2020         * remote-udi.c (udi_mourn): Don't pop target.
2022 Fri Sep 24 17:25:41 1993  Stu Grossman  (grossman at cygnus.com)
2024         * corelow.c:  Add multi thread/process support for core files with
2025         .reg/XXX pseudo-sections.
2026         * i386lynx-nat.c thread.h thread.c:  Remove unnecessary core file
2027         support.
2029 Thu Sep 23 10:49:37 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2031         * remote-udi.c (download): Skip zero length sections.
2033         * valops.c (search_struct_method, value_struct_elt):
2034         Use (value)-1, not -1, for error.
2036         * infcmd.c (step_1), infrun.c (wait_for_inferior): Add comments
2037         about SHIFT_INST_REGS.
2039         * exec.c (exec_file_command): Set text_end based on all code readonly
2040         sections, not just ".text".
2042         * defs.h, infcmd.c, config/z8k/tm-z8k.h, config/m88k/tm-m88k.h,
2043         config/sh/tm-sh.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
2044         z8k-tdep.c: Remove all references to ADDR_BITS_SET.
2045         * config/m88k/tm-m88k.h: Define TARGET_WRITE_PC.
2047         * config/m88k/tm-m88k.h, m88k-tdep.c: Add call function stuff.
2049 Thu Sep 23 00:13:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2051         * config/mips/tm-mips.h (STORE_STRUCT_RETURN):  Define as noop as
2052         the pushing of the struct return address is already handled in
2053         mips_push_arguments.
2054         * mips-tdep.c (reinit_frame_cache_sfunc):  Fix typo in prototype
2055         declaration.
2056         * mipsread.c (parse_symbol, parse_type, upgrade_type):  Add more
2057         sanity checks for corrupt symbol entries to avoid core dumps
2058         reported by benson@odi.com. Obviously Ultrix 4.3A cc now has
2059         the same problems as the OSF/1 alpha cc.
2060         * mipsread.c (parse_lines):  Iterate over the range of the compressed
2061         line number entries, the old iteration sometimes failed to stop
2062         and wrote past the end of the LINETABLE. Add sanity check to avoid
2063         the same problem in case the line number info is corrupt.
2064         * mipsread.c (parse_procedure):  Adjust pdr for alpha __sigtramp.
2065         * mipsread.c (parse_external, parse_partial_symbols):  Ignore stNil
2066         symbols that are produced for statics in .o files and stLocal symbols
2067         that are produced for every section in OSF/1 dynamically linked
2068          executables.
2069         * mipsread.c (psymtab_to_symtab_1):  Put out `undefined symbols'
2070         warning only under `verbose on' as there are many undefined symbols
2071         in a dynamically linked executable.
2073 Wed Sep 22 10:28:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2075         * config/i960/nindy960.mt: Don't define REMOTE_O; REMOTE_O was
2076         intended only for VxWorks.  Remove dcache.o from TDEPFILES now
2077         that we pick it up from the default REMOTE_O.
2079         * breakpoint.c (bpstat_what): Initialize retval.call_dummy and
2080         retval.step_resume.
2082         * mips-tdep.c (mips_frame_chain): If frame size zero, return zero.
2083         * rs6000-tdep.c: Add comment about framelessness.
2085         * remote-nindy.c: Declare ninMemGet and ninMemPut.
2087 Wed Sep 22 08:02:57 1993  Stu Grossman  (grossman at cygnus.com)
2089         * Makefile.in:  Add i386lynx-tdep to the right places.
2090         (TARDIRS):  Add gdbserver.
2092         * exec.c (print_section_info):  Print entry point.
2093         * i386lynx-nat.c (i386lynx_saved_pc_after_call):  Move into
2094         i386lynx-tdep.c.  Add core file support.
2095         * i386lynx-tdep.c:  New module for Lynx/386 target dependant code.
2096         * maint.c:  Add `maint info sections' command to print info about all
2097         sections that BFD knows about for exec and core files.
2098         * sparc-tdep.c (sparc_push_dummy_frame):  Update stack pointer
2099         before putting frame on the stack.  Consolidate writes to reduce
2100         traffic for remote debugging.
2101         * config/i386/i386lynx.mh (NATDEPFILES):  Remove exec.o.
2102         * config/i386/i386lynx.mt (TDEPFILES):  Add exec.o, i386lynx-tdep.o.
2103         * config/i386/nm-i386lynx.h:  Add target_pid_to_str().
2104         * config/i386/tm-i386lynx.h:  Remove target_pid_to_str().
2105         * sparclite/Makefile.in:  Add deps to keep Sun make happy.
2107 Tue Sep 21 17:48:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2109         * breakpoint.h, breakpoint.c (bpstat_stop_status): Add new argument
2110         not_a_breakpoint.
2111         * infrun.c (wait_for_inferior): Pass it.  Also consolidate the
2112         test of whether we are stepping into a CURRENTLY_STEPPING macro.
2114 Tue Sep 21 17:22:34 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2116         * breakpoint.c (bpstat_stop_status),
2117           infcmd.c (step_1),
2118           infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef
2119           and insert macro.
2121         * m88k-tdep.c: include ieee-float.h.  new global target_is_m88110.
2122           new const struct ext_format_m88110 for float format.
2123           (pic_prologue_code): add braces.
2124           (next_insn): remove unused variable buf.
2125           (frame_find_saved_regs): remove unused variables next_addr,
2126           saved_regs, regnum.
2127           (frame_locals_address): remove unused variables frame, ap.
2128           (frame_args_address): remove unused variables frame, ap.
2129           (push_parameters): add some breaks and a default case.
2131         * remote-bug.c: remove redundant includes of value.h, target.h,
2132           serial.h.
2133           (bug_open): corrected typo, sr_multi_scan -> gr_multi_scan.
2134           (bug_fetch_register): special case sfip register for m88110.
2135           remove flag bit masking of pc registers.  This should be handled
2136           by the ADDR_BITS_* macros.
2137           (bug_store_register): special case sfip register for m88110.
2138           Corrected sprint format for extended registers.
2140         * config/m88k/tm-m88k.h: white space and comment changes.  include
2141           ieee-float.h. expanded to cope with m88110 extended registers.
2142           (R0_REGNUM, XFP_REGNUM, X0_REGNUM): new macros.
2143           (SHIFT_INST_REGS): becomes a real macro.
2145 Tue Sep 21 17:48:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2147         * breakpoint.c (breakpoint_1): Support bp_call_dummy.
2149 Tue Sep 21 17:06:19 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2151         * elfread.c (record_minimal_symbol_and_info): Guess the section to
2152         use from the type.
2153         * objfiles.c: Include gdb-stabs.h for SECT_* macros.
2154         (objfile_relocate): Relocate textlow and texthigh in psymtabs.
2155         Relocate partial symbols.  Check that minimal SYMBOL_SECTION is
2156         nonnegative before using it.
2157         * symtab.h: Adjust section field comment.
2159         * remote.c (interrupt_query): New function.
2160         (remote_interrupt_twice): Call interrupt_query.
2161         (putpkt, getpkt): If quit_flag is set, call interrupt_query.
2162         (remote_wait): Don't bother with objfile_relocate if the addresses
2163         haven't changed.
2164         (remote_fetch_registers): If we see a packet that doesn't start
2165         with a hex character, fetch a new one.
2167 Tue Sep 21 11:44:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2169         * remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.
2171         * printcmd.c (print_scalar_formatted): When truncating value we are
2172         going to print as unsigned, handle it generally for any length
2173         less than sizeof (LONGEST), rather than special-casing sizeof (char),
2174         sizeof (short), and sizeof (long).  Clarify comment on what this
2175         is for.
2177         * symfile.c (deduce_language_from_filename): Accept .cxx for C++.
2178         * buildsym.c (start_subfile): Use deduce_language_from_filename
2179         rather than checking for .C or .cc ourself.
2181 Mon Sep 20 14:53:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2183         * defs.h: Declare argument of re_comp as const char *.
2185         * remote.c, remote-mips.c: Use sr_get_debug not remote_debug.
2187         * README: Say using bfd from another release doesn't generally work.
2189 Sat Sep 18 10:13:18 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
2191         * mipsread.c (parse_type): Don't complain() if we guessed struct
2192         and it was a union, or vice versa.
2194         * defs.h (make_cleanup): Change PTR to void * when inside PARAMS.
2196         Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET.
2197         * breakpoint.h (enum bptype): Add bp_call_dummy.
2198         (struct bpstat_what): Add call_dummy field.
2199         * infrun.c (wait_for_inferior): Deal with it.
2200         * breakpoint.c (bpstat_what): Deal with call dummy breakpoint.
2201         * infcmd.c (run_stack_dummy): Set the call dummy breakpoint.
2202         * config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
2204         * remote-sim.h: New file.
2205         * remote-sim.c: Add remote debug feature.  Rename stuff to distinguish
2206         interface to simulator from gdb-specific stuff.  Other changes.
2207         * remote-sp64sim.c: Renamed to remote-sim.c.
2208         Use sr_get_debug instead of our own sim_verbose/simif_snoop.
2209         Use gnutarget in call to bfd_openr.
2210         Rename simif_* to gdbsim_*.
2211         * config/sparc/sp64sim.mt: Change remote-sp64sim.c to remote-sim.c.
2213 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2215         * findvar.c (extract_signed_integer):  Cast *p to LONGEST before doing
2216         the xor and subtract.  Otherwise it will not sign extend if the type
2217         of LONGEST is larger than int.
2218         * cp-valprint.c (cp_print_class_method):  Inhibit core dump if
2219         domain is an undefined cross reference.
2220         * valops.c (call_function_by_hand):  Set real_pc to correct
2221         value if CALL_DUMMY_LOCATION != ON_STACK.
2223 Thu Sep 16 20:37:06 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
2225         * config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.
2227 Thu Sep 16 13:16:22 1993  Stu Grossman  (grossman at cygnus.com)
2229         * infrun.c (wait_for_inferior):  Allow user to single step within
2230         a stack dummy.
2232 Thu Sep 16 12:34:01 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
2234         * dbxread.c (copy_pending): Deal with END NULL.
2235         (process_one_symbol): Add comments about what common_block NULL means.
2237 Wed Sep 15 14:50:26 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
2239         * remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
2240         to tm-a29k.h and a29k-tdep.c and make it an enum.
2241         * a29k-tdep.c (a29k_get_processor_type): New function.  Fix many
2242         aspects of how we detected the processor type.
2243         * remote-udi.c, remote-adapt.c, remote-mm.c (*_open): Call it
2244         rather than figuring out the type ourselves.
2246 Thu Sep 16 12:12:59 1993  Stu Grossman  (grossman at cygnus.com)
2248         * sparc-stub.c (_trap_low):  Do restore/save sequence after
2249         setting sp to ensure that we load the previous window from the
2250         right place on the stack.
2252 Thu Sep 16 00:36:32 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2254         * mipsread.c:  Many changes for alpha ecoff format:
2255         Correct sizeof(int) == sizeof(long) assumptions.
2256         Replace stParsed hack by putting the parsed types on the pending chain.
2257         Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro,
2258         provide default for cross debugging.
2259         Swapping the symbol back is no longer needed as the symbol is not
2260         modified anymore.
2261         Add new alpha basic types, handle btTypedef, handle stStaticProc
2262         external symbols .
2263         Update and clean up cross_ref for alpha cc cross ref variations.
2264         Allocate types on the type_obstack to inhibit storage leaks.
2265         * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM):  Define.
2266         * gdbtypes.c (recursive_dump_type):  Dump TYPE_TAG_NAME if it is set.
2268 Tue Sep 14 09:12:17 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
2270         * stabsread.c (read_type): Process "s" (size) type attribute.
2271         If type is defined to another type, copy the type.
2273 Tue Sep 14 18:37:17 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2275         * config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
2276         * config/i386/i386v4.mt (TDEPFILES): ...to here.
2278 Tue Sep 14 12:21:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2280         * Makefile.in (remote_utils_h): add serial.h and target.h.
2281           (main.o, remote-es.o, remote-nindy.o, remote.o): remove target.h
2282           (already in remote_utils_h).
2283           (remote-utils.o): new rule.
2285         * remote-utils.h: include serial.h.
2287         * serial.h: ifdef protect from multiple inclusion.
2289         * remote.c, remote-nindy.c, remote-mon.c, remote-es.c: include
2290           remote-utils.h.
2292         * remote.c (remote_open), remote-nindy.c (nindy_open,
2293           nindy_files_info), remote-mon.c (general_open), remote-es.c
2294           (es1800_open): use remote-utils facilities for baud rate.
2296 Tue Sep 14 09:12:17 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
2298         * paread.c, coffread.c, elfread.c, dwarfread.c:
2299         Include <time.h> and <sys/types.h> before libbfd.h.
2301         * paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
2303         * Makefile.in (a29k-tdep.o): Depend on $(defs_h).
2304         * config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
2305         if this is a transparent procedure.
2307 Mon Sep 13 16:06:43 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
2309         * remote.c: Define remote_debug to 0 and #if 0 baud_rate.  Temporary
2310         hack so this file compiles again.
2312         * remote-utils.c (gr_multi_scan): Cast return value from alloca.
2313         (gr_multi_scan): #if 0 never-reached return(-1).
2315         * remote-udi.c (udi_wait): Return inferior_pid not 0.
2317 Mon Sep 13 14:14:35 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2319         Collect some remote things into remote-utils.
2320         * remote-utils.[ch]: new files of functions collected from several
2321           different remote targets.
2322         * Makefile.in (REMOTE_O): add remote-utils.o.
2323           (dcache_h, remote_utils_h): new macros.
2324           (HFILES): add $(remote_utils_h).
2325           (ALLDEPFILES): add $(remote_utils_h).
2326           (dcache.o): new rule.
2327           (main.o, remote-bug.o): also depend on $(remote_utils_h).
2328         * target.h (remote_debug): extern moved to remote-utils.h.
2329         * target.c (find_default_run_target, find_core_target): initialize
2330           runable.
2331           (remote_debug): moved to remote-utils.c.
2332           (_initialize_targets): move declaration of user variable
2333           remotedebug to remote-utils.c.
2334         * remote-bug.c: include remote-utils.h rather than dcache.h.
2335           (bug_close, bug_write, bug_write_cr, desc, bug_dcache, timeout,
2336           dev_name, check_open, is_open, readchar, readchar_nofail,
2337           pollchar, expect, expect_prompt, get_hex_digit, get_hex_byte,
2338           get_hex_word, bug_kill, bug_detach, bug_create_inferior,
2339           multi-scan, bug_prepare_to_store, bug_fetch_word,
2340           bug_store_word, bug_files_info, bug_mourn, bug_com, bug_device,
2341           bug_speed): removed and replaced with facilities from
2342           remote-utils.[ch].
2343           (bug_read_inferior_memory): renamed to bug_read_memory.
2344           (bug_write_inferior_memory): renamed to bug_write_memory.
2345           (bug_xfer_inferior_memory): renamed to bug_xfer_memory.
2346           (get_word): comment out this unused function for now.
2347           (bug_settings, cpu_check_strings): new statics.
2348           (bug_open): rewritten to use gr_open.
2349           (_initialize_remote_bug): remove declarations of commands bug,
2350           device, speed.
2351         * main.c: include remote-utils.h.
2352           (baud_rate): removed to remote-utils.c.
2353           (main): handle baud rate settings using new facilities from
2354           remote-utils.
2355         * defs.h (baud_rate): removed extern.
2357         m88110 support via bug-197 monitor.
2358         * remote-bug.c (get_reg_name, bug_fetch_register,
2359           bug_store_register): added m88110 extended register support.
2360           (wait_strings): added bug-197 prompt.
2361           (bug_wait): cope with bug-197 prompt.
2362           (start_load): cope with either bug-197 or bug-187 prompt.
2364 Mon Sep 13 12:53:09 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
2366         * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
2367         pc_changed.  If it was ever set to a non-zero value, it was before
2368         GDB 2.8.  It doesn't seem to have any useful function.
2370         * defs.h: Don't define NORETURN (see comment).
2372 Sat Sep 11 10:46:09 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
2374         * m88k-nat.c (fill_gregset): Set r31 and sfip.
2376 Thu Sep  9 10:18:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2378         * remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
2379         getchar() (terminated only on '\n') instead of scanf.  Send the
2380         '\n' which terminates it to the remote system.
2382         More gcc lint:
2383         * exec.c (ignore): Return 0.
2384         * stack.c (return_command): Fetch lazy value directly, not via
2385         VALUE_CONTENTS, to avoid "value computed is not used".
2386         * inflow.c (new_tty): Move osigttou inside #if.
2388         * remote.c (remote_fetch_registers): If remote reply is short, just
2389         note that fact and keep going (reading extra registers as all bits 0).
2390         (remote_store_registers): Send number of registers that were found
2391         by remote_fetch_registers.
2392         * m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove
2393         HAVE_68881.  Define CANNOT_STORE_REGISTER if ptrace() can't write
2394         floating registers.
2395         * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}:
2396         Remove, replaced by {tm-m68k-em.h,m68k-em.mt}.
2397         * Makefile.in, configure.in: Change accordingly.
2399 Thu Sep  9 04:59:03 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2401         * mipsread.c (cross_ref):  Allow SGI extended symbol types as cross
2402         reference targets.
2403         * symmisc.c (print_symbol):  Use TYPE_TAG_NAME not TYPE_NAME to avoid
2404         printing of identities.
2406 Wed Sep  8 19:18:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2408         * breakpoint.c (breakpoint_1): Deal with step resume breakpoint.
2410 Wed Sep  8 13:01:10 1993  K. Richard Pixley  (rich@cygnus.com)
2412         Gcc lint.
2413         * config/m88k/tm-m88k.h (frame_find_saved_regs): prototype.
2414         * config/h8300/tm-h8300.h (NUM_REGS): rewrite to avoid nested comment.
2415         * blockframe.c (get_prev_frame_info): initialize address.
2416         * breakpoint.c (bpstat_copy): initialize retval.
2417           (bpstat_stop_status): initialize value_is_zero.
2418           (bpstat_what): initialize bs_class.
2419           (breakpoint_1, mention): add do-nothing case for bp_step_resume.
2420           (break_command_1): initialize cond_end, addr_end, &
2421           canonical_strings_chain.
2422           (enable_breakpoint): initialize save_selected_frame.
2423         * buildsym.c (end_symtab): initialize symtab & linetablesize.
2424         * c-exp.y (parse_number): initialize i.
2425         * c-typeprint.c (c_type_print_varspec_prefix): include
2426           TYPE_CODE_BITSTRING in switch statements and do nothing.
2427         * c-valprint.c (c_val_print): removed unused variable c.
2428         * ch-valprint.c (chill_val_print): removed unused variable eltlen.
2429         * cp-valprint.c (cp_print_class_method): initialize f & j.
2430         * eval.c (evaluate_subexp): initialize pc2, arg1, arg2.
2431         * expprint.c (print_subexp): initialize myprec, assoc, & tempstr.
2432         * findvar.c (value_from_register): initialize first_addr.
2433         * gdbtypes.c (lookup_struct_elt_type): localize use of temporary
2434           variable typename.
2435         * infcmd.c (run_stack_dummy): return zero rather than simple
2436           return.
2437         * infrun.c (wait_for_inferior): initialize stop_sp, prologue_pc.
2438           remove symtab, appears unused.
2439           (restore_selected_frame): return 1.
2440         * mipsread.c (psymtab_to_symtab_1): initialize first_off.
2441           (fixup_sigtramp): initialize b0.
2442         * printcmd.c (do_examine): initialize val_type.
2443           (print_frame_args): initialize b.
2444         * ser-tcp.c (tcp_restore): comment out declaration.  Appears
2445           unused.
2446         * ser-unix.c (hardwire_restore): comment out declaration.  Appears
2447           unused.
2448           (hardwire_send_break): moved variable status into ifdef
2449           HAVE_SGTTY.
2450           (wait_for): moved variable numfds into ifdef HAVE_SGTTY.
2451         * serial.h: comment change only.
2452         * stabsread.c (rs6000_builtin_type): initialize rettype.
2453           (read_range_type): initialize nbits.
2454         * stack.c (print_frame_info): remove unused variable numargs.
2455           (parse_frame_specification): remove unused variables arg1, arg2,
2456           arg3.
2457           (return_command): initialize return_value.
2458         * symfile.c (cashier_psymtab): initialize pprev.
2459         * symtab.c (find_pc_psymbol): initialize best.
2460           (lookup_symbol): initialize s.
2461           (make_symbol_completion_list): initialize quote_pos.
2462         * thread.c: include command.h.
2463           (thread_info): static declaration removed; unused.
2464           (info_threads_command): fix == vs = typo.
2465         * typeprint.c (whatis_exp): initialize old_chain.
2466         * valprint.c (val_print_string): remove unused variable
2467           first_addr_err.  Initialize old_chain.
2468           (_initialize_valprint): white space comment change.
2469         * values.c (show_values): rewrite if statement to avoid empty
2470           body.
2471           (vb_match): remove unused variable fieldtype_target_type.
2473 Wed Sep  8 10:21:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2475         * Makefile.in (mipsread.o): Depend on $(bfd_h).
2477 Tue Sep  7 13:06:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2479         * gdbserver/Makefile.in (TAGS): config files are in
2480         $(srcdir)/../config, not $(srcdir)/config.
2482         * config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
2483         (STORE_RETURN_VALUE): Pass the correct offset of the return
2484         register to write_register_bytes.
2485         * hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
2487 Tue Sep  7 14:30:34 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2489         * remote.c (remote_wait): Don't call error.  Instead, call warning
2490         inside a loop.  User can ^C to get out.
2492         * config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
2493         routine to match BFD name change.
2494         * config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.
2496 Mon Sep  6 15:01:57 1993  Jeffrey Wheat  (cassidy@cygnus.com)
2498         * elfread.c: change elf32_symbol_type to elf_symbol_type
2500 Mon Sep  6 15:43:25 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
2502         * remote.c (remote_wait): Added 'W' and 'N' responses.
2504 Fri Sep  3 08:57:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2506         * main.c, utils.c: Add comments about immediate_quit.
2508         * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
2509         to minimal symbols.
2511         * target.c (pop_target): Don't try to deal with the stack becoming
2512         empty.  Shouldn't happen and the code that tried was broken.
2514         * dcache.c: Cast return value from xmalloc.
2516         * remote.c: Move setting of immediate_quit from remote_open to
2517         remote_start_dummy and set it back to zero when done.
2519 Thu Sep  2 00:07:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2521         * m88k-tdep.c: Remove a bunch of unused #includes.
2523         * language.h: Add comment about current_language.
2525         * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
2526         from var_uinteger to var_zinteger.
2528         * configure.in: Fix typo (delta88r4 -> delta88v4).
2530         * config/m88k/xm-delta88.h: Don't include sys/siginfo.h.  It was
2531         to make this work on SVR4 before SVR4 had its own configuration,
2532         and it breaks SVR3.
2534         * config/m88k/tm-delta88v4.h: Define FRAME_CHAIN_VALID_ALTERNATE.
2536         * config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
2538         * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
2539         * config/m88k/m88k.mh: Use xm-dgux.h.
2540         * config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
2541         MAKEVA_END and MAKEVA_ARG.
2542         * config/m88k/xm-*.h: Include m88k/xm-m88k.h.
2543         * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
2545 Wed Sep  1 19:31:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2547         * remote-udi.c (udi_wait): Call `warning' not `error'.
2549         * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
2550         demangling, don't put the mangled form in the completion list.
2552         * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
2553         symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
2554         partial-stab.h, symmisc.c, gdbtypes.c: Lint.  Remove (or put
2555         inside #if) unused variables and labels.  Fix unclosed comment.
2556         Deal with enumeration values unhandled in switch statements.  Make
2557         sure non-void functions return values.  Include appropriate
2558         headers.
2559         * dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
2560         value < 0.
2562 Wed Sep  1 14:36:00 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2564         * i960-tdep.c, ns32k-pinsn.c, remote-adapt.c, xcoffread.c:
2565           index -> strchr.
2567 Wed Sep  1 11:35:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2569         * remote.c: Add comment explaining why dcache is disabled.
2570         (remote_fetch_word, remote_store_word): Make static and #if 0.
2571         They are not called from anywhere.
2573 Wed Sep  1 14:41:28 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2575         * arm-tdep.c, convex-tdep.c, convex-xdep.c, dbxread.c,
2576           h8300-tdep.c, h8500-tdep.c, i960-pinsn.c, i960-tdep.c,
2577           infptrace.c, m88k-tdep.c, mips-tdep.c, regex.c, remote-vx.c,
2578           rs6000-tdep.c, xcoffexec.c, xcoffread.c, z8k-tdep.c,
2579           config/arm/tm-arm.h, config/convex/tm-convex.h,
2580           config/gould/tm-np1.h, config/gould/tm-pn.h,
2581           config/m68k/tm-isi.h, config/ns32k/tm-umax.h,
2582           config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
2583           config/rs6000/tm-rs6000.h, config/tahoe/tm-tahoe.h,
2584           config/vax/tm-vax.h:  bzero -> memset.
2586         * regex.c: bcmp -> memcmp.
2588 Wed Sep  1 11:35:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2590         * symtab.c (find_pc_line, find_line_common),
2591         symtab.h (struct linetable), xcoffread.c (arrange_linetable):
2592         Revise comments re linetable sorting.
2593         * buildsym.c (compare_line_numbers): Sort by pc, not by line.
2594         * coffread.c: Tell end_symtab to sort the line table.
2596         * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
2597         in buildsym.c.  This includes coff_finish_block, coff_context_stack,
2598         coff_local_symbols, coff_file_symbols, coff_global_symbols,
2599         coff_end_symtab and coff_add_symbol_to_list.
2600         (read_enum_type): Deal with it now that we have a "struct pending"
2601         not a "struct coff_pending".
2603         * buildsym.c (end_symtab): Don't realloc subfile->linetable.
2605 Wed Sep  1 13:12:43 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2607         * a68v-nat.c, altos-xdep.c, convex-tdep.c, convex-xdep.c,
2608           findvar.c, hppab-nat.c, hppah-nat.c, i386mach-nat.c,
2609           irix4-nat.c, m68k-tdep.c, m88k-tdep.c, mipsread.c, regex.c,
2610           remote-bug.c, remote-hms.c, rs6000-nat.c, rs6000-tdep.c,
2611           sparc-nat.c, stabsread.c, sun3-nat.c, sun386-nat.c, symfile.c,
2612           umax-xdep.c, xcoffread.c, 29k-share/udi/udip2soc.c,
2613           29k-share/udi/udr.c, config/a29k/tm-a29k.h, config/arm/tm-arm.h,
2614           config/convex/tm-convex.h, config/gould/tm-np1.h,
2615           config/gould/tm-pn.h, config/h8300/tm-h8300.h,
2616           config/h8500/tm-h8500.h, config/i386/tm-i386aix.h,
2617           config/i386/tm-sun386.h, config/i386/tm-symmetry.h,
2618           config/i960/tm-i960.h, config/m68k/tm-news.h,
2619           config/m88k/tm-m88k.h, config/mips/tm-mips.h,
2620           config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
2621           config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
2622           config/rs6000/tm-rs6000.h, config/sh/tm-sh.h,
2623           config/tahoe/tm-tahoe.h, config/vax/tm-vax.h,
2624           config/z8k/tm-z8k.h, nindy-share/nindy.c: bcopy -> memcpy.
2626 Wed Sep  1 05:05:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2628         * mipsread.c (parse_partial_symbols):  Use language from FDR if it
2629         is unambigous.  Patch from ptf@delcam.co.uk (Paul Flinders).
2630         * mipsread.c (ecoff_symfile_info):  New struct to hold the global
2631         pending_list.
2632         * mipsread.c (mipscoff_symfile_init, parse_partial_symbols):
2633         Allocate the global pending list and link it to the objfile.
2634         * mipsread.c (is_pending_symbol, add_pending):  Use global pending
2635         list from objfile. Allocate pending list entries from the
2636         psymbol_obstack.
2637         * mipsread.c (free_pending):  Remove. The pending list is now
2638         freed when the psymbol_obstack is freed.
2639         * mipsread.c (psymtab_to_symtab1):  Remove pending list allocation,
2640         the global pending list is used now.
2641         * mipsread.c (parse_partial_symbols):  Skip only the first
2642         file indirect entry when building the dependency list.
2644 Tue Aug 31 15:01:27 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2646         Break dcache code out of remote.c.
2647         * dcache.h: white space changes only.
2648         * dcache.c: add user settable variable to set whether data caching
2649           is in use.
2650         * remote.c: include dcache.h. removed data caching code which is
2651           now in dcache.c.  Compile in data caching again.  (data caching
2652           is currently off by default.)
2653           (remote_read_bytes, remote_write_bytes): change second arg to
2654           unsigned char.
2655           (remote_dcache): new static variable.
2656         * Makefile.in (REMOTE_O): add dcache.o.
2657         * config/m88k/m88k.mt (TDEPFILES): removed dcache.o.
2659         Break dcache code out of remote-nindy.c.
2660         * remote-nindy.c: removed dcache code.  Changed callers to use new
2661           conventions.  include dcache.h.
2662           (nindy_dcache): new static variable.
2663         * config/i960/nindy960.mt (TDEPFILES): added dcache.o.
2665         Break dcache code out of remote-bug.c into dcache.[hc].
2666         * Makefile.in (dcache_h): new macro.
2667           (HFILES): added $(dcache_h).
2668           (ALLDEPFILES): added dcache.c.
2669           (dcache.o): new rule.
2670           (remote-bug.o): now depends on $(dcache_h).
2671         * remote-bug.c: include dcache.h. remove externs for insque and
2672           remque, add extern for bcopy.  Prototype bug_close,
2673           bug_clear_breakpoints, bug_write_cr.  dcache code moved to
2674           dcache.[hc].  Changed dcache calling convention to include an
2675           initial DCACHE argument.
2676           (bug_dcache): new static variable.
2677           (bug_read_inferior_memory): change second arg to
2678           unsigned char.
2679         * dcache.[ch]: new files.
2680         * config/m88k/m88k.mt (TDEPFILES): add dcache.o.
2682 Tue Aug 31 10:33:13 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2684         * c-typeprint.c (c_print_type_base): Treat show = 0 just like
2685         show < 0.  The only case where we had been distinguishing is that
2686         show = 0 used to print "struct  " or "enum  " instead of
2687         "struct {...}" or "enum {...}" which seems clearly wrong.
2689 Mon Aug 30 17:51:32 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2691         * configure.in: recognize m88110 as an m88k.
2693 Mon Aug 30 16:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2695         * valops.c (call_function_by_hand): If we discard cleanups, call
2696         bpstat_clear (&inf_status.stop_bpstat).
2698 Mon Aug 30 12:47:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2700         * stabsread.h, dbxread.c (end_psymtab):  Return NULL if the psymtab
2701         was empty and thrown away.
2702         * mipsread.c (parse_partial_symbols):  Do not add empty psymtabs to
2703         dependency list, skip self dependencies.
2704         * mipsread.c (parse_fdr):  Removed, obsolete.
2705         * mipsread.c (parse_lines):  Check for cbLine being zero, not
2706         cbLineOffset.
2707         * mipsread.c (struct symloc):  Add pst_language.
2708         * mipsread.c (parse_partial_symbols): Set up proper language for
2709         header files, save it in pst_language for psymtab_to_symtab_1.
2710         * mipsread.c (psymtab_to_symtab_1):  Use pst_language.
2712 Mon Aug 30 10:48:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2714         * configure.in: Fix typo m88*-motorola-svr4* -> sysv4*.
2716 Fri Aug 27 17:09:19 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
2718         * paread.c: Include som.h instead of libhppa.h.  (From Utah.)
2720 Fri Aug 27 09:30:40 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
2722         * symmisc.c (dump_symtab): Use catch_errors around print_symbol.
2723         Change calling sequence of print_symbol to fit catch_errors.
2725         * mips-tdep.c: Call reinit_frame_cache every time the user does
2726         "set heuristic-fence-post".
2728         * gdbserver/low-sun3.c: New file.
2729         * gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly.
2731         * Rename files for 14-character limits:
2732         gdbserver/remote-gutils.c -> gdbserver/utils.c
2733         gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
2734         gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
2735         gdbserver/remote-server.c -> gdbserver/server.c
2736         remote-monitor.c -> remote-mon.c
2737         * Makefile.in, gdbserver/Makefile.in, gdbserver/configure.in,
2738         config/m68k/monitor.mt, config/i386/i386lynx.mh,
2739         config/sparc/sun4os4.mh: Change accordingly.
2740         * gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.
2742 Thu Aug 26 14:32:51 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2744         * infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
2745         besides the dummy, return 1 rather than calling error().
2746         Let caller print the error message.  Remove name argument.
2747         * valops.c (call_function_by_hand): Deal with changes to calling
2748         sequence of run_stack_dummy.  Discard restore_inferior_status cleanup
2749         if run_stack_dummy returns 1.
2751         * Version 4.10.2.
2753         * config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
2754         Get struct return address from v0, not a0.
2756         * infrun.c (restore_inferior_status): Use catch_errors when
2757         restoring selected frame.
2759 Wed Aug 25 21:52:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2761         * infrun.c (save_inferior_status, restore_inferior_status):
2762         Save and restore the registers too.
2763         * inferior.h (struct inferior_status): Add "registers".
2765 Tue Aug 24 00:36:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2767         * dbxread.c (end_psymtab): Clean up comment.
2769         * frame.h, symtab.h, findvar.c (read_var_value):  Change basereg
2770         support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID.
2771         * dwarfread.c: Use LOC_BASEREG where appropriate.
2772         * Various: Support LOC_BASEREG and LOC_BASEREG_ARG.
2774         * coffread.c (init_lineno, init_stringtab): Don't check whether
2775         xmalloc returned NULL.
2777         * config/vax/xm-vaxult.h: Define NO_PTRACE_H.
2779         * target.c, target.h: Add "set remotedebug" command.
2780         * remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
2781         "set m88ksnoop" options and use generic "set remotedebug" instead.
2782         * NEWS: Describe this change.
2784 Mon Aug 23 20:26:22 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2786         * buildsym.h: Remove declaration of dbxread.c functions.
2787         * stabsread.h: Group together dbxread.c functions.
2788         Move elfstab_build_psymtabs here from symfile.h.
2789         Declare pastab_build_psymtabs.
2790         * elfread.c, paread.c: Include stabsread.h (for stabsread_new_init
2791         declaration, etc).
2793 Mon Aug 23 17:16:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2795         * remote-bug.c: rename quiet to bug88k_snoop.
2796           (double_scan, multi_scan): generalize double_scan into a scan
2797           for multiple patterns.  Rename to multi_scan.
2798           (bug_wait, bug_write_inferior_memory): adapt to use the new
2799           multi_scan in order to catch and represent target bus errors.
2800           (bug_scan): currently unused, so comment out.
2801           (bug_quiet): removed.  Replaced with a standard user settable boolean.
2803         * m88k-tdep.c: remove include of sys/dir.h.  Appears unnecessary
2804           and isn't available on solaris.
2806 Mon Aug 23 14:56:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2808         * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
2809         * config/m88k/delta88.mh: Fix comment.
2810         * config/m88k/tm-delta88.h: Remove unused BCS define.
2811         * config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}:
2812         New files.
2813         * configure.in: Recognize m88*-motorola-sysv4*.
2814         * m88k-nat.c: Always include sys/types.h; don't depend on USG.
2816 Mon Aug 23 12:57:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2818         * mipsread.c (parse_symbol, parse_type, cross_ref):  Pass name of
2819         symbol as an argument and use it in complaints.
2820         * symmisc.c (dump_psymtab):  Dump filenames of dependencies.
2822 Mon Aug 23 1993  Sean Fagan  (sef@cygnus.com)
2823                  and Jim Kingdon  (kingdon@cygnus.com)
2825         Add NetBSD support:
2826         * configure.in: Recognize netbsd.
2828 Sun Aug 22 22:50:32 1993  Jeff Law  (law@snake.cs.utah.edu)
2830         * hpread.c (get_textlow): Don't go past a K_END when looking for a
2831         K_FUNCTION.  Avoids losing on source files with no functions. 
2833 Fri Aug 20 14:01:39 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2835         * remote-nindy.c: Remove unused include of sys/ioctl.h.
2837         * frame.h, symtab.h: Revise comments regarding baseregs.
2839 Fri Aug 20 15:07:05 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2841         * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
2842         Set language for psymtab and symtab.
2843         * mipsread.c (new_symbol):  Set language and initialize demangled
2844         name for symbol.
2845         * symmisc.c (print_symbol):  Use SYMBOL_SOURCE_NAME when printing
2846         the symbol type.
2847         * symtab.c (decode_line_1):  Inhibit coredumps with cfront executables.
2849 Fri Aug 20 14:01:39 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2851         * Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
2852         it conditionalized on 4.3 vs. 4.4.
2853         * config/m68k/nm-hp300bsd.h: Move REGISTER_U_ADDR out of 4.3 and
2854         4.4 sections; it was identical and now works for 4.4.
2856         * mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.
2858         * printcmd.c (MAKEVA_END): Update this version to use "aligner".
2860 Thu Aug 19 22:08:09 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2862         * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION):  Define.
2863         * mipsread.c (parse_symbol, parse_type, cross_ref):  Handle corrupt
2864         file indirect entries with complaints instead of core dumps. Remove
2865         complaint for stTypedef within aggregates.
2867 Thu Aug 19 17:58:39 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2869         * coffread.c (process_coff_symbol): Ignore tagnames like .0fake.
2871         * coffread.c (coff_read_enum_type): #if 0 out code which changes
2872         enum {FALSE, TRUE} into boolean.
2874         * config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
2875         non-existent files nm-delta.h, etc.
2876         * config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER.
2877         * delta68-nat.c: Add "[0]" in offsetof argument.
2878         * delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up
2879         nl with initializer, just assign to it.  Check n_scnum field on
2880         return. 
2882 Wed Aug 18 21:42:52 1993  Jeff Law  (law@snake.cs.utah.edu)
2884         * hpread.c (read_hpux_symtab): Call SET_NAMESTRING for K_MODULE
2885         debug symbols.
2887 Wed Aug 18 12:03:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2889         * printcmd.c (print_address), values.c (value_as_pointer): Don't
2890         use ADDR_BITS_REMOVE.
2891         * defs.h: Try to clarify comment about ADDR_BITS_REMOVE.
2893         * blockframe.c (block_innermost_frame): Uncomment.
2894         Return NULL if passed NULL.
2895         * frame.h: Declare it.
2896         * expression.h (union exp_element): Add field block.
2897         * parse.c (write_exp_elt_block): New function.
2898         * expression.h (OP_VAR_VALUE): Now takes additional struct block *.
2899         * *-exp.y: Write block for OP_VAR_VALUE.
2900         * eval.c, expprint.c, parse.c: Deal with block for OP_VAR_VALUE.
2901         * valops.c, value.h (value_of_variable), callers:
2902         Add second argument, for block.
2904         * main.c (gdb_readline): If we read some characters followed by EOF,
2905         return them rather than returning NULL.
2907 Tue Aug 17 11:14:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2909         * mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.
2911 Tue Aug 17 15:10:04 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2913         * config/m88k/tm-m88k.h: Fix typo in comment.
2914           (FP_REGNUM): define in terms of SP_REGNUM
2915           rather than by absolute number.  Also clearly comment that this
2916           is a convenient lie in order to decrease future confusion.
2917           (ACTUAL_FP_REGNUM): new macro for FP.
2918           (FRAME_CHAIN_VALID): removed.  Standard default works fine.
2919         * m88k-tdep.c (frame_chain_valid): redundant, so removed.
2920           (NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all
2921           callers.
2922           (read_next_frame_reg): declare static.
2923           (examine_prologue): removed unused variabel insn2, rename insn1
2924           to insn, rewrote comment about finding fp, sp, etc. set frame_fp
2925           based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is
2926           actually a scammed alias for SP_REGNUM on m88k. 
2928         * frame.h: fixed typo in comment.
2930 Tue Aug 17 11:14:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2932         * 29k-share/udi/udiphcfg.h: Always include udiphunix.h not udiphdos.h.
2934         * complaints.c (complain): fflush (stdout) after output.
2936 Tue Aug 17 01:43:55 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2938         * blockframe.c, frame.h (sigtramp_saved_pc):  New routine to fetch
2939         the saved pc from sigcontext on the stack for BSD signal handling.
2940         * config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
2941         FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
2942         Define to make backtracing through sigtramp work.
2943         * config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
2944         FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):  Ditto.
2946 Mon Aug 16 13:52:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
2948         * main.c (cd_command): If current_directory on entry is "/", then
2949         don't append an extra slash.
2950         Don't assume that /../.. means /.
2952         * target.c (target_xfer_memory): Clear errno before calling
2953         to_xfer_memory.
2955         * stack.c (frame_info, print_frame_info): Add comment about using
2956         the starting source line number on a line boundary if backtracing
2957         through sigtramp.
2959 Mon Aug 16 09:52:33 1993  Jeff Law  (law@snake.cs.utah.edu)
2961         * hpread.c: Add U Utah contribution notice.  Add TODO list.
2962         (hp_type_lookup): Use TYPE_NAME and TYPE_TAG_NAME.
2963         (process_one_debug_symbol): Likewise.
2965 Mon Aug 16 02:56:01 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
2967         * blockframe.c (create_new_frame, get_prev_frame_info):
2968         Use the function name when calling IN_SIGTRAMP.
2969         * config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
2970         Define for correct handling of bachtraces through _sigtramp.
2971         * m68k-tdep.c (m68k_find_saved_regs):  Adjust saved sp for fake
2972         sigtramp frames.
2973         * mipsread.c (parse_type):  Handle corrupt TIR info with complaint
2974         instead of core dump.
2975         * mipsread.c (parse_partial_symbols):  Put static symbols into the
2976         mimimal symbol table, use proper mst_types for all minimal symbols.
2977         * stack.c (frame_info, print_frame_info):  Use the starting source
2978         line number on a line boundary if backtracing through sigtramp.
2980 Fri Aug 13 14:37:05 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
2982         * remote-bug.c: include gdbcmd.h.
2983           (sleep, remque, insque): forward decls added.
2984           (bug_fetch_registers, bug_store_registers): forward decls
2985           removed.
2986           (bug_read_inferior_memory, bug_write_inferior_memory): forward
2987           decls added.
2988           (srec_frame, srec_max_retries, srec_bytes, srec_echo_pace,
2989           srec_sleep, srec_noise): new static variables for user settable
2990           options.  Mostly these are for debugging and tuning.  I don't
2991           expect them to stay user settable options for long.
2992           (timeout): change default to 4 seconds.
2993           (check_open): declare funtion static, force return value.
2994           (readchar_nofail): if timeout, then say so if not being quiet.
2995           (pollchar, double_scan, bug_scan, bug_srec_write_cr,
2996           start_load): new functions.
2997           (bug_wait): rewritten to use double scan.
2998           (expect): while (1) -> for (;;)
2999           (get_hex_digit): rewrite if condition to avoid gcc complaints.
3000           (bug_load, bug_create_inferior, bug_open, bug_store_register):
3001           removed unused variables.
3002           (bug_load): replaced DELTA macro with user settable srec_frame
3003           variable.  Other minor lint.
3004           (find_end_of_word, is_baudrate_right, set_rate, not_bug_wait,
3005           gethex, timed_read, translate_addr, bug_before_main_loop):
3006           unsused and removed.
3007           (bug_resume): add missing first arg, pid.
3008           (get_reg_name): use ip rather than cr04.
3009           (bug_write, bug_write_cr, but_clear_breakpoints, bug_quiet):
3010           declare type, args, and explicitly return.
3011           (bug_store_register): straighten out the ip vs cr04 confusion.
3012           (bug_write_inferior_memory): rewrite to cope with errors while
3013           downloading s-records.
3014           (bug_read_inferior_memory): declare static.
3015           (bug_clear_breakpoints): expect nobr before prompt.
3016           (_initialize_remote_bug): add initializations for srec-bytes,
3017           srec-max-retries, srec-frame, srec-noise, srec-sleep,
3018           srec-echo-pace.
3020         * Makefile.in (remote-bug.o): new rule.
3021           (ALLDEPFILES): added remote-bug.c
3023         * remote-hms.c (hms_wait): use -1 for timeout's which means block
3024           forever rather than 99999.
3026         * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
3027           simply save encode this fact as the process group and return
3028           success rather than an error.
3029           (set_tty_state): if process group is -1, do not reset the
3030           process group.
3031           (hardwire_reachar): comment change.
3033         * serial.h: comment change.
3035         * config/m88k/tm-m88k.h: comment change to remove embedded
3036           comment.
3037           (SKIP_PROLOGUE): skip_prologue returns a value which is expected
3038           to reset the pc argument.  So reset it.
3040 Fri Aug 13 10:15:24 1993  Fred Fish  (fnf@deneb.cygnus.com)
3042         * Makefile.in (VERSION):  Bump to 4.10.1 after release and cvs
3043         tagging.
3045 Thu Aug 12 20:40:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3047         * gdbserver/Makefile.in: Use GDBSERVER_LIBS and
3048         GDBSERVER_DEPFILES.  Also remove much (but not all that could be
3049         removed) crud inherited from gdb Makefile.in.
3050         * config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Define GDBSERVER_*.
3051         * gdbserver/README: Say it works on Sun and change configuration
3052         instructions slightly.
3054 Wed Aug 11 18:56:59 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
3056         * config/i386/i386v4.mh: use -lsocket and -lnsl, for remote
3057         targets that use BSD style network connections
3059 Wed Aug 11 17:54:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3061         * remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
3062         of statics doesn't work with SunOS4 /bin/cc).
3063         Rename the occurrence in remote-monitor.c to monitor_bug_ops.
3065 Tue Aug 10 13:07:14 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
3067         * blockframe.c (find_pc_partial_function),
3068         mips-tdep.c (find_proc_desc): Deal with "pathological" case.
3070 Tue Aug 10 14:50:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3072         * utils.c (wrap_here): Allow indent to be NULL.
3073         (fputs_filtered): Don't check for null wrap_indent (wrap_here now
3074         guarantees that it isn't, and anyway we were only checking one out
3075         of the two places we dereferenced it).
3077         * objfiles.h (struct objfile): Clean up comments for
3078         {obj,sym}_private to clarify what they are private to.
3080 Mon Aug  9 16:45:00 1993  Stan Shebs  (shebs@rtl.cygnus.com)
3082         * stabsread.c, buildsym.c (hashname): Moved function to
3083           buildsym.c, as suggested in the sources.
3085 Mon Aug  9 09:53:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3087         * remote-udi.c: Make udi_ops extern rather than trying forward
3088         declaration of a static variable.
3090         * hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
3091         there, rather than using an ANSI C specific macro.
3093         * 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h.  Also put
3094         sys/types.h near the top (just on general principles).
3096         * environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
3097         no longer used.
3099         * gdbcore.h: New variable gnutarget.
3100         * core.c: Add commands to set and show it.
3101         * Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
3102         * environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
3103         putenv.
3105         * symtab.c (decode_line_1): Give error on unmatched single quote.
3107 Sun Aug  8 13:59:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3109         * ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.
3111         * remote.c: Add comments about 'd', 'r', and unrecognized requests.
3113         * inflow.c (terminal_init_inferior): Don't muck with tty state if
3114         gdb_has_a_terminal() is false.
3116 Sun Aug  8 10:07:47 1993  Fred Fish  (fnf@cygnus.com)
3118         * dwarfread.c (record_minimal_symbol):  Remove prototype and
3119         function.
3120         * dwarfread.c (add_partial_symbol):  Remove code to add minimal
3121         symbols and remove comment about limitations.  Experiments show
3122         that now that gdb handles the ELF symtab better for creating
3123         minimal symbols, that no additional information is added by
3124         examining the DWARF information, and in fact, given the
3125         limitations, the DWARF code was actually making things worse.
3127 Sat Aug  7 10:59:03 1993  Fred Fish  (fnf@deneb.cygnus.com)
3129         * elfread.c (elf_symtab_read):  Properly sort out the bss symbols
3130         from the data symbols and give them the correct minimal_symbol_type.
3131         Add file static symbols to the minimal symbol table, not just
3132         global symbols.  Add absolute symbols as well (like _edata, _end).
3133         Redo stabs-in-elf special symbol handling now that file static
3134         symbols are entered into the into the minimal symbol table.
3135         * dwarfread.c (add_partial_symbol):  Add comment about limitations
3136         of DWARF symbols for distinquishing data from bss when adding
3137         minimal symbols.  Add file local symbols to minimal symbols.
3139 Thu Aug  5 08:58:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3141         * ser-go32.c: Define job_control variable.
3143 Thu Aug  5 15:56:13 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
3145         * configure.in: z8k-coff is the same as z8k-sim
3147 Thu Aug  5 08:58:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3149         * 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
3151         * config/i386/tm-i386bsd.h (NUM_REGS):  There are only 10, not 11.
3153         * inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
3155         * 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
3157 Wed Aug  4 18:32:12 1993  Fred Fish  (fnf@cygnus.com)
3159         * inflow.c (pass_signal):  Signal handlers take one int arg;
3160         supply an unused one to make it type compatible as an arg to
3161         signal().
3163 Tue Aug  3 18:34:14 1993  Ian Lance Taylor  (ian@cygnus.com)
3165         * config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
3167 Tue Aug  3 15:34:57 1993  Fred Fish  (fnf@cygnus.com)
3169         * Makefile.in (ALLCONFIG):  Add config/i386/i386nw.mt,
3170         config/m68k/delta68.mh, config/m68k/delta68.mt,
3171         config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
3172         config/mips/news-mips.mh.
3173         * Makefile.in (ALLPARAM):  Add config/i386/nm-symmetry.h,
3174         config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
3175         config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
3176         config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
3177         config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
3178         * Makefile.in (ALLDEPFILES):  Add dpx2-nat.c.
3180 Tue Aug  3 12:02:09 1993  Ian Lance Taylor  (ian@cygnus.com)
3182         * mipsread.c: Updated for BFD ECOFF changes.  Now gets the
3183         swapping routines and external structure sizes via the
3184         ecoff_backend information.  No longer includes coff/mips.h.
3186 Tue Aug  3 10:58:04 1993  Fred Fish  (fnf@cygnus.com)
3188         * Makefile.in (SFILES): Add thread.c
3190 Tue Aug  3 10:21:58 1993  Doug Evans  (dje@canuck.cygnus.com)
3192         * remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
3193         sim_set_args return code.
3195 Mon Aug  2 16:35:31 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
3197         * Makefile.in (VERSION): bumped to 4.9.4.
3199         * remote-monitor.c: updated copyright.
3200           (bug_ops, monitor_desc): now static.
3201           (monitor_desc): in several places, check and/or set to NULL.
3203         * remote-hms.c (hms_files_info): Add the appropriate items where
3204           missing in the printf call.
3206         * remote-bug.c: new file for m88k bug support.
3208         * config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
3210 Mon Aug  2 14:22:09 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
3212         * h8300-tdep.c:  Use new variable h8300hmode.
3214 Mon Aug  2 12:06:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3216         * valops.c (typecmp): If we are passing a non-reference to a function
3217         which takes a reference, pass the address.
3218         (value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
3219         references here.
3221         * thread.c (thread_switch): Define as static.
3222         (add_thread): Cast return value from xmalloc.
3224         * gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
3225         * gdbtypes.{c,h}: Improve comments on vptr_fieldno.
3227 Mon Aug  2 11:58:52 1993  Fred Fish  (fnf@deneb.cygnus.com)
3229         * README:  Elaborate on gdb C++ support and cfront support.
3231 Mon Aug  2 11:30:57 1993  Stu Grossman  (grossman at cygnus.com)
3233         * i386lynx-nat.c, thread.c, thread.h:  Update copyrights.
3235 Mon Aug  2 12:06:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3237         * Makefile.in (ALLDEPFILES): Add i386lynx-nat.c.
3239 Mon Aug  2 08:42:50 1993  Stu Grossman  (grossman at cygnus.com)
3241         * gdbserver/remote-inflow.c (create_inferior):  Fix comments, and
3242         error msg.  Setup seperate process group for child.
3243         * (write_inferior_memory):  Sleep for 1 second and retry on ptrace
3244         failure.
3246 Sun Aug  1 22:58:18 1993  Stu Grossman  (grossman at cygnus.com)
3248         * config/i386/i386lynx.mh (NATDEPFILES):  Drop coredep (for now).
3249         * config/i386/nm-i386bsd.h:  Protect from multiple inclusion.
3250         * config/i386/nm-i386lynx.h:  Lotsa new host porting stuff.
3251         * config/i386/tm-i386lynx.h:  Define SAVED_PC_AFTER_CALL and
3252         target_pid_to_str.
3254         * Makefile.in (CLIBS):  Reorder to make Lynx ld happy.
3255         * (HFILES):  New file thread.h.
3256         * (OBS):  New file thread.c.
3257         * configure.in:  Host config for Lynx/386.
3258         * fork-child.c (fork_inferior):  Call init_thread_list().
3259         * infrun.c (resume):  Add pid to invocation of target_resume().
3260         * (wait_for_inferior): Pay attention to pid from target_wait().
3261         Multi-threading code now uses this to determine what to do.
3262         * inftarg.c (child_wait):  Conditionalize based on CHILD_WAIT macro.
3263         Use target_pid_to_str() macro throughout when printing pid.
3264         * inferior.h (child_resume):  Add pid to prototype.
3265         * hppab-nat.c hppah-nat.c infptrace.c (child_resume):  Pass in pid as
3266         argument, instead of using inferior_pid.
3267         * procfs.c (procfs_resume):  Pass in pid as argument.  Ignored for
3268         now.  Use target_pid_to_str() macro throughout for printing process id.
3269         * remote-adapt.c (adapt_resume):  Pass in pid as argument.
3270         * remote-eb.c (eb_resume):  Pass in pid as argument.
3271         * remote-es.c (es1800_resume):  Pass in pid as argument.
3272         * remote-hms.c (hms_resume):  Pass in pid as argument.
3273         * remote-mips.c (mips_resume):  Pass in pid as argument.
3274         * remote-mm.c (mm_resume):  Pass in pid as argument.
3275         * remote-monitor.c (monitor_resume):  Pass in pid as argument.
3276         * remote-nindy.c (nindy_resume):  Pass in pid as argument.
3277         * remote-sa.sparc.c (remote_resume):  Pass in pid as argument.
3278         * remote-sim.c (rem_resume):  Pass in pid as argument.
3279         * remote-sp64sim.c (simif_resume):  Pass in pid as argument.
3280         * remote-st.c (st2000_resume):  Pass in pid as argument.
3281         * remote-udi.c (udi_resume):  Pass in pid as argument.
3282         * remote-vx.c (vx_resume):  Pass in pid as argument.
3283         * remote-z8k.c (rem_resume):  Pass in pid as argument.
3284         * remote.c (remote_resume):  Pass in pid as argument.
3285         * solib.c (solid_create_inferior_hook):  Pass inferior_pid to
3286         target_resume().
3287         * target.c (normal_pid_to_str):  New routine to print out process
3288         ID normally.
3289         * target.h (struct target_ops):  Add pid to prototype at
3290         to_resume().  (target_resume):  Add pid argument.
3291         * (target_pid_to_str):  Default definition for normal type pids.
3292         * thread.h, thread.c:  New modules for multi thread/process control.
3294 Sun Aug  1 13:02:42 1993  John Gilmore  (gnu@cygnus.com)
3296         * README:  Say that bug-gdb is also the place to send requests
3297         for help with GDB.
3299 Sun Aug  1 09:42:13 1993  Fred Fish  (fnf@cygnus.com)
3301         * Makefile.in (make-proto-gdb-1):  Use -f opt on rm of Makefile.
3302         * h8500-tdep.c:  Add parens around a few macro args.
3304 Fri Jul 30 15:43:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3306         * TODO: Remove items about unix-to-unix/rapp debugging (now we
3307         have gdbserver), moving xm files to subdirectory, ptype yylval,
3308         and file-local symbols.
3310         * gdbtypes.h: Improve comments about C++ methods.
3312 Fri Jul 30 14:16:32 1993  Fred Fish  (fnf@deneb.cygnus.com)
3314         * c-exp.y:  Add missing 5th arg for one call to lookup_symbol, cast
3315         NULL in all other calls to correct pointer types.
3317 Fri Jul 30 15:43:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3319         From Jeffrey Law:
3320         * tm-hppa.h (TARGET_WRITE_PC): Define.
3321         * hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
3322         then return the address of the dummy itself rather than
3323         the address of $$dyncall.
3324         (target_write_pc): New function to store a new PC.
3326 Fri Jul 30 12:51:27 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3327                           and Jim Kingdon (kingdon@cygnus.com)
3329         * breakpoint.c (breakpoint_re_set_one):  Always reparse breakpoint
3330         conditions, they might contain symbol table references.
3332 Fri Jul 30 12:51:27 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3334         * mipsread.c (parse_symbol):  Handle opaque struct definitions and
3335         type naming for stTypedef symbols.
3337 Fri Jul 30 14:44:21 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3339         * c-exp.y (yylex): Detect C++ nested types.
3341 Fri Jul 30 11:07:37 1993  Doug Evans  (dje@canuck.cygnus.com)
3343         * sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
3344         (dump_ccreg, sparc_print_register_hook): New fns.
3345         * remote-sim.h: New file.
3346         * remote-sp64sim.h (sim_*): External fns.  (simif_*): Internal fns.
3348         * config/sparc/sp64.mt: New file.
3349         * config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
3350         (PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
3352 Fri Jul 30 10:15:01 1993  Fred Fish  (fnf@deneb.cygnus.com)
3354         * Makefile.in (ALLCONFIG):  Add config/i386/ptx.mh
3356 Fri Jul 30 08:58:01 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3358         From J. Law:
3359         * infcmd.c (read_pc): Remove PA specific code.
3360         * tm-hppa.h (TARGET_READ_PC): Define.
3361         * hppa-tdep.c (target_read_pc): New function.
3363         * symtab.c (gdb_mangle_name): Deal with it if type lacks a name.
3365 Fri Jul 30 07:36:53 1993  Fred Fish  (fnf@deneb.cygnus.com)
3367         * NEWS:  Add note that DEC alpha support is host only, not native.
3368         * README:  Emphasize that C++ support works best with GNU C++ and
3369         stabs debugging format.
3370         * delta68-nat.c:  Add missing FSF copyright.
3372 Fri Jul 30 08:58:01 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3374         * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
3375         * hppa-tdep.c (frame_chain_valid): Check that our function has the
3376         same address as _start, not that it must be the same symbol.
3378 Fri Jul 30 00:18:40 1993  Fred Fish  (fnf@deneb.cygnus.com)
3380         * Makefile.in (ALLDEPFILES):  Add delta68-nat.c
3381         * Makefile.in (delta68-nat.o):  Add dependency.
3383 Thu Jul 29 12:09:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3385         * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
3386         was adequate in gdb 3.5 but not now.
3388         * valops.c (typecmp): An array in t2 matches a pointer in t1.
3390         * valops.c (typecmp): When comparing type1& to type2, compare
3391         type1 and type2 as leniently as if we were comparing type1 to
3392         type2.
3394         * cp-valprint.c (cplus_print_value): Don't dump core if the
3395         baseclass doesn't have a name.
3396         * values.c (vb_match): New function, which finds the virtual
3397         base class pointer even if the types are nameless.
3398         (baseclass_{addr,offset}): Use it.
3400         * hppa-tdep.c: Make "maintenance print unwind" command from old
3401         "unwind" command.
3403         * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
3404         obsolete junk which apparently had been copied from the
3405         pre-serial.h remote.c, but which is no longer used.
3407 Thu Jul 29 12:36:20 1993  Fred Fish  (fnf@deneb.cygnus.com)
3409         * Makefile.in (NONSRC):  Need 29k-share/README, not
3410         29k-share/udi/README.
3412 Thu Jul 29 12:09:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3414         * paread.c (pa_symfile_init): If error reading string table, don't
3415         use errno in cases where it hasn't been set.
3417         * ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
3419         * remote-monitor.c (_initialize_monitor): Comment out use of
3420         connect_command, since connect_command itself is commented out.
3422         * remote-monitor.c (generic_open): Parse arguments the same way
3423         as remote.c.
3425         * hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
3427 Wed Jul 28 13:19:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3429         * config/mips/xm-mips.h: Define HAVE_TERMIOS.
3431         * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
3432         __gnu_compiled* symbols into the minimal symbols.
3434 Wed Jul 28 08:26:58 1993  Ian Lance Taylor  (ian@cygnus.com)
3436         * remote-mips.c (_initialize_remote_mips): Added "timeout" and
3437         "retransmit-timeout" variables to set mips_receive_wait and
3438         mips_retransmit_wait, respectively.
3440 Wed Jul 28 03:58:58 1993  (pes@regent.e-technik.tu-muenchen.de)
3442         * symmisc.c (dump_msymbols):  Handle new mst_file_* types.
3444 Tue Jul 27 12:07:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3446         * remote-udi.c: Remove old comment about download not implemented.
3448         * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
3449         * nindy-share/*, remote-nindy.c: Extensive hacking to make it
3450         conform to GDB conventions like using memcpy not bcopy, serial.h,
3451         etc.  This is to make it host on Solaris, AIX, etc.
3452         * Makefile.in: Reflect removed nindy-share files.
3453         * config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.
3455         * stack.c (print_frame_info): Revise comment about `pathological'
3456         case (there was a wrong FIXME about text labels; also asm() can
3457         trigger this as well as versions of ar which truncate .o names).
3459         * buildsym.c (start_subfile): If a .c file includes a .C file, set
3460         the language of both of them to C++.
3462         * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
3463         <memory.h>.
3464         Include <malloc.h> rather than declaring malloc functions ourself.
3466         * ser-unix.c (set_tty_state): Don't ignore errors setting process
3467         group.
3468         * inflow.c (terminal_inferior): If attach_flag set, ignore errors
3469         from set_tty_state.
3471         * fork-child.c (fork_inferior): Only quote exec file if needed.
3473         * mipsread.c (parse_symbol): Remove 21 Jul 93 change with
3474         stTypedef inside an stBlock.
3476 Tue Jul 27 12:36:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3478         * breakpoint.c (breakpoint_1):  Walk the breakpoint chain to decide if
3479         we have breakpoints or watchpoints as we might have to ignore internal
3480         breakpoints.
3482         Fix gdb core dumps after `file newfile' commands.
3483         * symtab.h, symfile.c (clear_symtab_users):  New routine which
3484         unconditionally clears symtab users. clear_symtab_users_once
3485         commented out as it was a noop anyway.
3486         * objfiles.c (free_objfile):  Don't call clear_symtab_users_once.
3487         * objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
3488         xcoffexec.c (exec_close):  Call clear_symtab_users if necessary.
3489         * symfile.c (syms_from_objfile):  Install cleanups for errors during
3490         symbol reading.
3491         * coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
3492         Lint cleanup code, call do_cleanups explicitly.
3493         * symfile.c (symbol_file_add):  Call new_symfile_objfile and
3494         reinit_frame_cache _after_ the new symbols are read in.
3496 Tue Jul 27 01:57:01 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3498         * mipsread.c (parse_type):  Do not set tag name for compiler
3499         generated fake tag names.
3501 Mon Jul 26 17:31:49 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
3503         * config/m88k/m88k.mt (TDEPFILES): add exec.o.
3505 Mon Jul 26 13:17:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3507         * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
3508         command.  Now we use unwind info by default if we can find it.
3510         * config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
3511         to tm-sparc.h so they are shared between Solaris and SunOS4.
3512         * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
3513         N_GSYM functions.
3515         * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
3516         for floating point registers.
3518         * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
3519         symbols as mst_file_text.
3521         * hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
3523         * stabsread.c (rs6000_builtin_type): Make logical types be
3524         TYPE_CODE_BOOL.
3526 Sun Jul 25 23:41:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3528         * breakpoint.{c,h} (struct breakpoint): Replace symtab field with
3529         source_file field.
3531 Fri Jul 23 09:57:25 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
3533         * remote.c: Don't error() on errors xferring memory.
3534         * target.h: Clean up comments about *xfer_memory.
3536         * exec.c, corelow.c (target_ops struct): Don't allow
3537         {insert,remove}_breakpoints to be defaulted to
3538         memory_{insert_remove}_breakpoint.
3540         * demangle.c: Make it so `help set dem' tells you how to get the
3541         list of demangling styles.
3543 Thu Jul 22 15:41:09 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
3545         * Makefile.in: Use REMOTE_O macro not remote.o.
3546         * config/i960/{nindy960,vxworks960}: Don't use remote.o.
3548 Thu Jul 22 12:43:25 1993  Ian Lance Taylor  (ian@cygnus.com)
3550         * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
3551         (can't include it in nm-*.h file because it causes conflicts with
3552         a.out symbol definitions).
3553         * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
3554         * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
3555         corelow.o.
3556         * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
3557         (REGISTER_U_ADDR): Defined.
3558         * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
3559         HAVE_TERMIO.
3560         * config/pa/xm-hppah.h: Likewise.
3562 Wed Jul 21 11:37:30 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
3564         * mipsread.c (parse_symbol): when stTypedef and friends occur within
3565         an stBlock, skip over the fields of the inner one.
3567         * mips-tdep.c (init_extra_frame_info): If in lenient prologue, call
3568         heuristic_proc_desc rather than just assuming registers not saved.
3570         * Makefile.in (regex.o): Add dependency.
3572         * hppa{b,h}-nat.c: Warning, not error, if can't access registers.
3574         * config/pa/hppa{b,h}.h: Define ATTACH_DETACH.
3576 Wed Jul 21 03:07:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3578         * config/mips/xm-makeva.h:  New file implements va_list alignment
3579         restrictions for mips hosts.
3580         * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}:
3581         Use it.
3583 Wed Jul 21 00:11:05 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3585         * mips-tdep.c (init_extra_frame_info):  Do not check for
3586         mips_in_lenient_prologue if it is a dummy frame.
3587         * mipsread.c (fixup_sigtramp):  Initialize pdr.adr, it is used by
3588         mips_in_lenient_prologue.
3590 Tue Jul 20 14:14:59 1993  Jeff Law  (law@snake.cs.utah.edu)
3592         * hpread.c (read_hp_array_type): Handle "char foo[]".
3594 Tue Jul 20 12:53:47 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
3596         * mips-tdep.c (heuristic_proc_start): First time we print the
3597         warning, elaborate.
3598         (_initialize_mips_tdep): Improve docstring for `set heur'.
3600         * config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.
3602         * symtab.c (find_line_symtab): New function, to deal with multiple
3603         symtabs with the same name.
3604         (find_line_pc{,_range}): Use it.
3605         (find_pc_symtab): Add comment about overlapping symtabs.
3607 Mon Jul 19 21:29:14 1993  Fred Fish  (fnf@deneb.cygnus.com)
3609         * Makefile.in (SFILES):  Add nlmread.c.
3610         * Makefile.in (OBS):  Add nlmread.o.
3611         * Makefile.in (nlmread.o):  Add new target.
3612         * configure.in (i[34]86-*-netware):  New configuration.
3613         * nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}:  New files
3614         for NLM/NetWare support.
3616 Mon Jul 19 11:48:57 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
3618         * symtab.h (enum minimal_symbol_type): Add mst_file_*.
3619         * partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols.
3620         * dbxread.c (record_minimal_symbol): Deal with statics.
3621         * minsyms.c (lookup_minimal_symbol): Prefer externals to statics.
3623         * config/i386/xm-i386sco.h: Define HAVE_TERMIOS.
3625         * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
3626         arg_bytes field of makeva_list is always aligned.
3627         * config/pa/xm-pa.h: Make arglist_address a char *.
3629         * ser-unix.c: Don't try to use job control with termio.
3631 Sun Jul 18 23:11:28 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3632                           and Jim Kingdon (kingdon@cygnus.com)
3634         Make breakpoint_re_set_one work with overloaded member functions,
3635         `b 123' and `b foo' if foo is a static function.
3636         * symtab.c (decode_line_1, decode_line_2):  New argument `canonical'
3637         to return canonical line specs if requested by the caller.
3638         * breakpoint.c, source.c, symtab.c, symtab.h:  Change prototypes and
3639         callers accordingly.
3640         * symtab.c (build_canonical_line_spec):  New helper function which
3641         constructs the canonical line spec.
3642         * breakpoint.c (break_command_1):  Use canonical line spec instead
3643         of command string as addr_string if necessary.
3644         * source.c (line_info):  Fix storage leak.
3646 Sun Jul 18 15:22:45 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
3648         * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
3649         but not the others.
3650         * symm-tdep.c: Remove exec_file_command.
3651         [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
3652         A few miscellaneous cleanups.
3653         * symm-nat.c: Renamed from symm-xdep.c.
3654         * All symmetry dependent files: Many changes.
3656         * mips-tdep.c (mips_skip_prologue): New argument lenient.
3657         Use read_memory_nobpt.
3658         (is_delayed, mips_in_lenient_prologue): New functions.
3659         (init_extra_frame_info): If in the prologue, don't use saved registers.
3660         * config/mips/tm-mips.h: Declare mips_skip_prologue.
3662         * partial-stab.h (N_SO): Add the text offset to valu before, not after,
3663         passing it to END_PSYMTAB.
3665 Fri Jul 16 18:48:52 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
3667         * symtab.c (find_pc_symtab): Call warning, not printf directly.
3669         * solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
3671 Fri Jul 16 09:56:42 1993  Ian Lance Taylor  (ian@cygnus.com)
3673         * mipsread.c: No longer need to undefine ZMAGIC.
3675 Thu Jul 15 18:03:37 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
3677         * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
3678         (print_insn): Now just calls print_insn_m88k.
3680 Thu Jul 15 14:54:05 1993  Doug Evans  (dje@canuck.cygnus.com)
3682         * h8300-tdep.c (examine_prologue): Make prototype match definition.
3684 Thu Jul 15 08:34:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3686         * NEWS: Mention that remote.c now has a `load' operation.
3688         * hppa-tdep.c (pc_in_linker_stub): New function.
3689         (find_proc_framesize): Return 0 for linker stubs.
3690         (rp_saved): Tell the caller where rp is saved.
3691         (frame_chain_valid): Return 1 for linker stubs.
3692         (frame_saved_pc): Use return value from rp_saved.
3694         * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
3695         pass the sp relative to the frame in question, not the sp in the
3696         innermost frame.
3698 Wed Jul 14 17:37:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3700         * mipsread.c (parse_procedure): Take as argument the symtab to look
3701         the name up in.  Look it up with mylookup_symbol, not lookup_symbol.
3702         (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
3704         * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
3705         already checked the first characters.
3707         Changes from Jeffrey Law:
3708         * printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
3709         machine dependent fields in the makeva_list structure.
3710         (makeva_size): Allocate extra space to handle gaps made by
3711         alignment restrictions.
3712         * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
3713         (MAKEVA_START): Initialize arglist_address field.
3714         (MAKEVA_ARG): Always store arguments on natural alignment 
3715         boundaries.  Set arglist_address to the address right after
3716         the args.  
3717         (MAKEVA_END): Simply return the value stored in arglist_address.
3719 Wed Jul 14 13:51:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3721         * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
3722         address, not addr.
3724         * hppah-nat.c (store_inferior_registers): Don't print i in cases
3725         where we aren't using it.
3727         * a29k-tdep.c (get_saved_register): Fix typo.
3729 Wed Jul 14 09:45:52 1993  Doug Evans  (dje@canuck.cygnus.com)
3731         * configure.in: Recognize h8300h (variant of h8300).
3733 Wed Jul 14 09:45:52 1993  Doug Evans  (dje@canuck.cygnus.com)
3735         * configure.in: Recognize sparc64-*-*.
3737 Tue Jul 13 14:03:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3739         * stabsread.c (define_symbol): Make the caddr_t hack apply to `function
3740         returning foo' as well as `pointer to foo'.
3742         * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
3743         * config/m68k/tm-m68k.h: Define it.
3744         * mem-break.c, breakpoint.c: Improve comments.
3746 Tue Jul 13 13:35:31 1993  Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
3748         * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
3749         * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
3751 Tue Jul 13 11:50:38 1993  Doug Evans  (dje@canuck.cygnus.com)
3753         * gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
3754         Make prototype match definition.
3756 Tue Jul 13 11:15:15 1993  Fred Fish  (fnf@cygnus.com)
3758         * elfread.c:  Remove notice about file still being under
3759         construction.
3760         * Makefile.in (ultra3-xdep.o, umax-xdep.o):  Add missing ')'.
3762 Mon Jul 12 17:46:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3764         * a29k-tdep.c (read_register_stack): Make val static.
3766 Mon Jul 12 14:10:48 1993  Doug Evans  (dje@canuck.cygnus.com)
3768         * config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
3769         (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
3770         usual spot.
3772 Mon Jul 12 11:29:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3774         * c-valprint.c (c_val_print): Fix thinko with unspecified length
3775         arrays.
3777         * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
3778         use it.
3780 Sun Jul 11 19:35:05 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3782         * symtab.c (decode_line_1): Use end of block to figure out whether
3783         val.end is in the same function, not minimal symbols.
3785         * source.c (line_info): Add a few more wrap_here's.
3787         * i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
3788         don't make assumptions about sizes of host data types.
3790         * blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
3791         * infrun.c, breakpoint.c, printcmd.c: Change callers.
3792         * printcmd.c (containing_function_bounds): Remove.
3793         * printcmd.c (disassemble_command): Use find_pc_partial_function,
3794         not containing_function_bounds.
3795         * infcmd.c (step_1): Use find_pc_partial_function rather than
3796         trying to roll our own.  Move check for a pc between SIGTRAMP_START and
3797         SIGTRAMP_END in find_pc_partial_function, not step_1.
3799         * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
3800         Keep unswapped value in array of char, not REGISTER_TYPE.
3801         Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
3802         (sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
3803         sizeof (CORE_ADDR).
3805 Thu Jul  1 15:50:05 1993  Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
3807         * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
3808         * config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
3809         * config/m68k/dpx2.m{h,t}: New files.
3811 Thu Jul  1 15:46:10 1993  Jeff Law  (law@snake.cs.utah.edu)
3813         * hpread.c: Run through gnu-indent.
3815 Sun Jul 11 12:32:08 1993  Doug Evans  (dje@canuck.cygnus.com)
3817         * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
3818         more parens around macro arg.
3820 Sat Jul 10 09:54:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3822         * infrun.c: Remove step_resume_{duplicate,shadow}.  Replace
3823         step_resume_break_address with step_resume_breakpoint (now local
3824         to wait_for_inferior).
3825         ({insert,remove}_step_breakpoint): Remove.
3826         (wait_for_inferior): Set step resume break with
3827         set_momentary_breakpoint.  Test hitting it with bpstat_stop_status
3828         and bpstat_what (stop_step_resume_break removed).
3829         * breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
3830         which includes previous return value as main_action, and a step_resume
3831         bit.
3832         * breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
3833         there is another breakpoint there, insert it.
3834         * infrun.c (wait_for_inferior): Rearrange the spaghetti a bit.  Use
3835         a few more gotos.
3836         Various: Clean up and add comments.
3838         * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
3839         for Wed Nov 13 16:45:13 1991).
3841 Fri Jul  9 12:36:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3843         * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
3845         * h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
3846         not short *.
3848         * findvar.c, defs.h
3849         ({extract,store}_{signed_integer,unsigned_integer,address}):
3850         New routines to replace SWAP_TARGET_AND_HOST.
3851         All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
3853         * config/sparc/tm-sparc.h: Add comment suggesting that removing
3854         ins and locals from the registers array might clean things up.
3856         * utils.c: Clean up comments about wrap buffer and wrap_here.
3857         * printcmd.c (printf_command): Call wrap_here before vprintf.
3859         * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
3860         Patch from ptf@delcam.co.uk (Paul Flinders).
3862         * a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
3864 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3866         * defs.h, remote-eb.c (TM_FILE_OVERRIDE):  Remove it.
3867         * mips-tdep.c (init_extra_frame_info):  Set proper fci->frame if pc
3868         is at the start of the dummy code.
3870 Thu Jul  8 14:48:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3872         * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
3873         stuff, just write the sp and fp.
3874         (sparc_pop_frame): Skip the do_restore_insn; we already restore
3875         the sp with the other out registers.
3877         * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
3878         arguments.
3880         * hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
3882 Thu Jul  8 14:47:00 1993  Doug Evans  (dje@canuck.cygnus.com)
3884         * sparc-tdep.c (sparc_frame_chain): Handle sizeof (CORE_ADDR)
3885         != sizeof (REGISTER_TYPE).
3886         (frame_saved_pc): Ditto.
3888 Thu Jul  8 08:22:05 1993  Doug Evans  (dje@canuck.cygnus.com)
3890         * config/h8300/tm-h8300.h: (REGISTER_TYPES): Adjust for h8/300h.
3891         (REGISTER_RAW_SIZE): Ditto.
3892         (REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs
3893         on the h8/300h (ints may still be 16 bits).
3894         (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
3895         EXTRACT_STRUCT_VALUE_ADDRESS): Add FIXME's for h8/300h.  Some
3896         thought needed here.
3898         * h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
3899         (examine_prologue): reg_save_depth is 4 if h8/300h.
3901         * findvar.c (read_register): Provide some support for 64 bit regs.
3902         (write_register): Ditto.
3904 Wed Jul  7 14:30:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3906         * config/mips/nm-riscos.h: machine/machparam.h is always the right
3907         place to look for BSD43_NBPG, not machine/vmparam.h
3909         * infcmd.c (run_stack_dummy): New argument name.
3910         Change error message in (another) attempt to make it comprehensible.
3911         * valops.c (call_function_by_hand): Pass name to run_stack_dummy.
3912         * symtab.h: Declare demangle and asm_demangle since macros use them.
3914         * eval.c (evaluate_subexp): Add comment about calling a member
3915         function of a variable in a register.
3917         * expression.h: Clean up comment about string in STRUCT_STRUCT etc.
3919         * config/{rs6000/tm-rs6000.h,sparc/tm-sparc.h,pyr/tm-pyr.h},
3920         inferior.h (PC_IN_CALL_DUMMY) [ON_STACK]: Add comments about stack
3921         frame tops and bottoms.
3923         * frame.h, blockframe.c, stack.c, a29k-tdep.c,
3924         config/gould/tmp-{pn,np1}.h,
3925         config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
3926         next_frame from struct frame_info.  It has no purpose beyond
3927         ->next->frame and is an artifact from GDB 2.8.
3929 Tue Jul  6 11:51:18 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3931         * Makefile.in: Remove gdb before creating a new one.
3932         Update init.c atomically.
3934         * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
3935         (ALLCONFIG): Add config/alpha/alpha-osf1.mh.
3937         * infcmd.c (_initialize_infcmd): In docstring for "continue",
3938         describe argument as setting ignore count.
3940 Sun Jul  4 15:04:47 1993  Doug Evans  (dje@cygnus.com)
3942         * h8300-tdep.c (examine_prologue): Fix call to
3943         read_memory_unsigned_integer.
3945 Fri Jul  2 18:22:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3947         * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
3948         rather than including xm-bigmips.h.
3950         * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
3951         default cases.
3953         * Makefile.in (distclean): Remove y.tab.h.
3955 Fri Jul  2 14:55:48 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3957         * exec.c (exec_file_command):  Remove Mar 28 hack as BFD handles
3958         file updates properly now.
3959         * mipsread.c (mips_coff_new_init):  Force reevaluation of sigtramp
3960         addresses if switching to a new symbol file.
3961         * dbxread.c (process_one_symbol):  Avoid dereferencing NULL
3962         symbols that might be returned from define_symbol.
3964 Fri Jul  2 13:33:12 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
3966         New target macros for getting at the pc, sp and fp.
3967         * infcmd.c (read_pc, write_pc):  Modify to use new macros.
3968         (read_sp, write_sp, read_fp, write_fp): New functions.
3969         * blockframe.c (reinit_frame_cache, get_prev_frame_info):
3970         Use new functions.
3971         * breakpoint.c (bpstat_alloc): ditto.
3972         * infrun.c (wait_for_inferior): ditto.
3973         * stack.c (print_frame_info): ditto.
3974         * valops (call_function_by_hand): ditto.
3975         * corelow.c (core_open): ditto.
3976         * h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
3977         target_write_pc, target_read_fp, target_write_fp): New functions.
3978         * inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
3980         * config/alpha/xm-alpha.h: Add MAKEVA_END.
3981         * config/h8500/tm-h8500.h: Define new macros.
3983 Fri Jul  2 13:51:04 1993  Ian Lance Taylor  (ian@cygnus.com)
3985         * configure.in (mipos-*-riscos*): New host and target; use riscos.
3986         * config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
3987         vmparam.h, include machparam.h.
3988         (KERNEL_U_ADDR): Define to be BSD43_UADDR.
3990 Fri Jul  2 13:39:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
3992         * c-exp.y (yylex): Give error if unmatched single quote.
3994         * configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
3996         * Remove unused STACK_END_ADDR in the following files (in other
3997         files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
3998         tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
3999         tm-hp300hpux.h, tm-isi.h.
4001 Thu Jul  1 09:51:27 1993  Jim Kingdon  (kingdon@cygnus.com)
4003         * config/mips/nm-riscos.h: Define NBPG and UPAGES.
4004         config/mips/xm-riscos.h: Include <sys/types.h>.
4006         * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
4007         not an initializer, to copy the structure.
4009         * gdbtypes.h (struct type): Add field tag_name.
4010         * gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
4011         Use it.
4012         * {coff,dwarf,mips,stabs}read.c: Set it.
4014         * xm-sysv4.h: Undefine HAVE_TERMIO.
4016         * config/mips/nm-riscos.h: Remove unmatched #endif.
4017         Define FETCH_INFERIOR_REGISTERS.
4018         * config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough.
4019         Fix misspelling of NAT_FILE.
4020         * mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
4021         we can still process "modern" core files.
4023         * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
4024         print c_line.
4025         (_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
4026         is defined; don't care what it is defined to.
4028 Wed Jun 30 20:06:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4030         * config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
4032 Tue Jun 29 11:02:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4034         * inftarg.c: Remove unused include of terminal.h.
4035         * signals.h: Don't undefine signals anymore.
4036         * main.c: Use job_control from serial.h.
4037         * fork-child.c (fork_inferior): Use gdb_setpgid.
4038         * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
4039         * utils.c (quit): Use current_target->to_terminal_ours to figure
4040         out whether we care about lack of job control, rather than __GO32__.
4041         * utils.c: Include serial.h not terminal.h
4042         (quit): Use job_control not TIOCGPGRP.
4043         * terminal.h: Don't undefine TIOCGPGRP.
4044         * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
4045         * utils.c (quit): Use it.
4046         * serial.h: Add SERIAL_UN_FDOPEN.
4047         * utils.c (quit): Use it.
4048         * ser-unix.c: Add process group to ttystate.
4049         [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
4050         * inflow.c: Include serial.h not terminal.h.
4051         Use serial.h stuff to replace most of the maze of #ifdef's.
4052         * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
4053         * serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
4054         * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
4055         * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
4056         Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
4057         SERIAL_SET_PROCESS_GROUP.
4058         * inflow.c: Use them.
4059         * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
4060         Define HAVE_TERMIOS.
4061         * Various: Remove all use of TIOC*_BROKEN.
4063 Wed Jun 30 12:20:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4065         * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
4067 Tue Jun 29 13:44:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4069         * target.h (target_detach):  Turn macro into function.
4070         * target.c (target_detach):  Define it, do deferred register stores
4071         before calling the real target function.
4073 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4074                           and Jim Kingdon (kingdon@cygnus.com)
4076         * symtab.h (BLOCK_SHOULD_SORT):  Do not sort blocks corresponding to
4077         a function to avoid printing of function arguments in wrong order
4078         due to sorting.
4079         * symfile.c (compare_symbols):  Remove code for sorting arguments
4080         as blocks containing arguments are no longer sorted.
4081         * symtab.c (lookup_block_symbol):  Update comment accordingly.
4083 Tue Jun 29 11:02:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4085         * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
4086         (REG_STRUCT_HAS_ADDR): Add comment.
4088         * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
4089         to check whether there is line number information.
4091 Tue Jun 29 08:29:17 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4093         * remote-udi.c: Fix docstring so that it compiles.
4095         * remote-mips.c, remote-nindy.c: move bfd.h before symfile.h
4096         (for file_ptr).
4098 Tue Jun 29 09:11:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4100         * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
4101         don't expect it, change it to LOC_STATIC so at least we don't coredump.
4103         * c-typeprint.c (c_type_print_base): Don't error() on invalid type.
4105         * symtab.h: Add comments about line numbers.
4106         * source.c (identify_source_line): Fix off by one bug with line.
4108 Mon Jun 28 19:00:21 1993  Jeff Law  (law@snake.cs.utah.edu)
4110         * hpread.c: Do not include libhppax.  Instead include libhppa.h
4111         and hpux-symtab.h.  Misc indention fixes.
4112         (find_unwind_entry): Add PARAM prototype.
4113         (read_hpux_symtab): More fixes for names and sizes of structs,
4114         unions, enums, typedefs, and tagdefs.
4115         (read_hp_enum_type, read_hp_struct_type): Likewise.
4116         (read_hp_set_type, read_hp_subrange_type): Likewise.
4117         (hp_type_lookup, process_one_debug_symbol): Likewise.
4118         (process_one_debug_symbol): Search forward from the K_FUNCTION for
4119         the first K_BEGIN when setting the line number associated with a
4120         function.  Avoid unnecessary calls to savestring.
4121         (hp_alloc_type): Initialize TYPE_CPLUS_SPECIFIC here.  Remove
4122         most cases where we set it elsewhere.
4123         (hppa_sym_fns): Use "hppa" instead of hppax since hpread.c and
4124         paread.c use the same BFD backend now.  All references changed.
4125         (hpux_symfile_init): Allocate space to hold the debugging section
4126         contents on the symbol obstack.
4128 Mon Jun 28 10:09:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4130         * printcmd.c (makeva*): New interface, for making a va_list.
4131         (printf_command): Use it.
4132         * config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
4133         * config/pa/xm-pa.h: New file.
4134         * config/pa/xm-hppa{b,h}.h: Include it.
4136         * xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
4138 Sun Jun 27 08:54:55 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4140         * valprint.c (val_print_type_code_int):  Fix off by one error with
4141         eliminating leading zeroes for large little endian integers.
4143 Sun Jun 27 08:58:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4145         * config/mips/riscos.mh (CC): Use -systype sysv.
4147         * ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
4149         * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
4151 Fri Jun 25 11:22:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4153         * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
4154         CALL_DUMMY between different 68k machines.
4156 Fri Jun 25 17:02:45 1993  Stu Grossman  (grossman at cygnus.com)
4158         * gdbserver/Makefile.in:  Add dependancies on server.h.
4159         * gdbserver/remote-gutils.c:  Remove lots of unused functions and
4160         variables.
4161         * gdbserver/remote-inflow.c:  Remove lots of unused variables and
4162         #includes.  Also, use PTRACE_* symbols instead of constants. 
4163         (mywait):  Surround calls to wait() with enable/disable_async_io()
4164         so that we can be interrupted from GDB while waiting for the
4165         child.  Also, handle child exit more gracefully.
4166         * gdbserver/remote-server.c:  Remove lots of unused variables.
4167         Move all extern defs into server.h.  Redo main loop so that
4168         failure from getpkt() causes communications to be re-established.
4169         Fix 'k' command so that it restarts the child.
4170         * gdbserver/remote-utils.c:  Remove lots of unloved vars and
4171         subrs.  Move many extern decls into server.h.  (remote_open):  For
4172         tcp, seperate usage of proto fd from connected fd.  Close proto
4173         fd after getting connection.  (putpkt/getpkt):  Pay attention to
4174         errors when reading/writing.  Report these to the caller.  New
4175         routines input_interrupt/enable_async_io/disable_async_io to make
4176         it possible to get an I/O interrupt when data arrives from the
4177         comm link.
4178         * serial.h:  New file to contain common defs for all remote files.
4180 Fri Jun 25 17:02:45 1993  Stu Grossman  (grossman at cygnus.com)
4182         * remote.c:  Add arg names to prototypes, in a modest effort at
4183         clarification.  Also add prototypes for some new functions.
4184         * (remote_wait):  Better error reporting for 'T' responses.
4185         * ser-go32.c (strncasecmp):  Make str1 & str2 be const.
4186         * (dos_async_init):  Make usage message reflect requested port #.
4187         * ser-tcp.c (tcp_open):  Terminate hostname properly to prevent
4188         random hostname lookup failures.  Add nicer message for unknown
4189         host error.  (wait_for):  Wake up in case of exceptions.  Also,
4190         restart select() if we got EINTR.
4191         * ser-unix.c (wait_for):  Restart select() if we got EINTR.
4192         * serial.c: (serial_close):  Clean up code.
4194 Fri Jun 25 11:22:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4196         * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
4197         CALL_DUMMY between different 68k machines.
4199 Fri Jun 25 11:22:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4201         * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
4202         Make comment explaining this comprehensible.
4203         (TAGFILES): Include ALLDEPFILES.
4204         (ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
4205         29k-share/udi/udi.
4206         (update-alldeps): Remove; obsolete.
4208         * remote.c: Move comments regarding packets to top of file with the
4209         rest of the protocol comments.
4210         Fix incorrect description of 'T' response.
4212         * README (Reporting Bugs): Refer people to the GDB manual.
4214         * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
4215         * stabsread.c: Type -16 is 4 bytes.
4217         * remote-udi.c: Improve docstring.
4219 Fri Jun 25 11:16:31 1993  Fred Fish  (fnf@cygnus.com)
4221         * elfread.c (elf_symfile_read):  Call bfd_elf_find_section, not
4222         bfd_elf32_find_section, to track bfd changes.
4224 Fri Jun 25 11:22:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4226         * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
4227         * config/mips/xm-riscos.h: Define USG.
4229 Thu Jun 24 14:52:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4231         * main.c (filename_completer): Don't complete to files ending in ~.
4233         * NEWS: Mention filename completion and "info line" enhancements.
4235         * main.c (symbol_completion_function): On "info t foo", return NULL,
4236         don't error().
4238         * main.c (symbol_completion_function): Don't use readline word
4239         breaking.  Use new calling convention for c->completer and
4240         complete_on_cmdlist.
4241         * command.h (struct command): Change arguments; now the text passed
4242         to completer does not have any word breaking done.  New arg word.
4243         * symtab.{c,h} (make_symbol_completion_list): Do word breaking.  Take
4244         word argument.
4245         * {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
4246         * command.{c,h} (complete_on_cmdlist): Take word argument.
4248         * command.c (lookup_cmd_1): Doc fix.
4250 Thu Jun 24 13:26:04 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
4252         * Makefile.in (OP_INCLUDE): define.
4253           (OPCODE_CFLAGS): use OP_INCLUDE.
4255         * config/i386/ncr3000.mh, config/i386/i386v4.mh,
4256         config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
4257         config/m68k/amix.mh, config/mips/irix[34].mh,
4258         config/m88k/delta88.mh, config/sparc/sun4sol2.mh (ALLOCA,
4259         ALLOCA1): macros removed.
4261         * config/mips/decstation.mh, config/rs6000/rs6000.mh
4262         (MMALLOC_LIB): renamed to MMALLOC.
4264 Wed Jun 23 00:25:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4266         * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
4267         * dbxread.c: Change comment regarding acc.
4269 Wed Jun 23 16:33:36 1993  Jeff Law  (law@snake.cs.utah.edu)
4271         * hpread.c: Document a few functions, misc cleanups.  Update
4272         copyright to reflect the first "release" of this file.
4273         (struct hpux_symfile_info): Delete unneeded fields.  Keep pointers
4274         to the contents of the debug sections rather than offsets within
4275         the file itself.  Corresponding changes to the accessor macros.
4276         (sl_symbol_size, slt_symbuf): Delete unneeded global variables.
4277         (slt_symbuf_start, slt_symbuf_end, lntt_symbuf): Likewise.
4278         (lntt_symbuf_start, lntt_symbuf_end, gntt_symbuf): Likewise.
4279         (gntt_symbuf_start, gntt_symbuf_end): Likewise.
4280         (fill_slt_symbuf, fill_lntt_symbuf): Delete unneeded functions.
4281         (fill_gntt_symbuf): Likewise.
4282         (get_lntt, get_gntt, get_slt): Simplify.
4283         (hpux_symfile_init): Read and store the contents of the debugging
4284         sections.  Do error checking on memory allocation and BFD calls.
4285         (read_hpux_symtab): Delete KERNELDEBUG crud.  Ignore debug symbols
4286         which are not needed for building partial symbol tables.  Handle
4287         K_CONST, K_TYPEDEF, and K_TAGDEF just like K_SVAR and K_DVAR.
4288         (read_ofile_symtab): Delete useless processing_gcc_compilation stuff.
4289         (read_hp_struct_type): Initialize TYPE_CPLUS_SPECIFIC.
4290         (read_hp_set_type, read_hp_array_type): Likewise.
4291         (read_hp_subrange_type, hp_type_lookup): Likewise.
4293 Wed Jun 23 15:04:54 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
4295         Makefile overhaul dropping autodepend features.
4296         * Makefile.in: many comment changes.  forced consistent use of $()
4297           for makefile variables references.  dropped leading ./ in file
4298           references.  Drop $(srcdir)/ prefix on all dependencies.
4299           Inserted contents of alldeps.mak and depend.
4300           (INCLUDE_CFLAGS): defined as new macro for getting libiberty's
4301           include directory into the compilation line.
4302           (GDB_CFLAGS): new macro to take up the semantic previously held
4303           by INCLUDE_CFLAGS.
4304           (LIBIBERTY): dropped ancient subdir macro.  I last removed this
4305           macro in feb of '92.  How does it keep coming back?
4306           (MMALLOC_LIB): renamed to MMALLOC.
4307           (BFD_SRC_DIR): renamed to BFD_SRC.
4308           (BFD_OBJ_DIR): renamed to BFD_DIR.
4309           (BFD_LIB): renamed to BFD.
4310           (BFD_INCLUDES): renamed to BFD_CFLAGS.
4311           (READLINE_DIR): now represents object directory.
4312           (RL_LIB): renamed to READLINE.
4313           (READLINE_SRC, READLINE_CFLAGS, OPCODES, OPCODES_CFLAGS): new
4314           macros.
4315           (INTERNAL_CFLAGS): added GDB_CFLAGS, OPCODES_CFLAGS,
4316           READLINE_CFLAGS, BFD_CFLAGS.  Dropped USER_CFLAGS.
4317           (LDFLAGS): removed default assignment.
4318           (TEXIDIR, INCLUDE_DEP, MMALLOC_DIR, MMALLOC_DEP, BFD_DEP,
4319           READLINE_DEP, LIBIBERTY_DIR, TESTS, depend, STAGESTUFF): unused, so removed.
4320           (ALLOCA1, ALLOCA): removed all references.  alloca is now in
4321           libiberty.
4322           (VERSION): unilaterally and arbitrarily bumped to 4.9.3.
4323           (SFILES, NONSRC, HFILES, ALLDEPFILES, ALLPARAM, ALLCONFIG):
4324           removed all $(srcdir) prefixes.
4325           (getopt_h, ieee-float_h, bfd_h, wait_h, dis-asm_h): new macros
4326           for potential dependencies.  commented out by default.
4327           (readline_headers, udiheaders): convenient abbreviations.
4328           (gdbcore_h, frame_h, symtab_h, gdbtypes_h, expression_h,
4329           value_h, breakpoint_h, command_h, gdbcmd_h, defs_h, inferior_h):
4330           new macros used for header file dependencies.
4331           (install-info, clean-info): collapse into the info rule.
4332           (install): now depends on all.
4333           (install-only): new target for installing without depending on
4334           all.
4335           (uninstall): new target.
4336           (config-check, config-check-hosts, config-check-targets): added
4337           fixme comments.
4338           (ch-exp.tab.c, m2-exp.tab.c): added artificial dependencies in
4339           order to force parallel makes into keeping these rules separate.
4340         * configure.in: omit cat'ing depend file onto generated Makefile.
4341         * alldeps.mak, depend: removed.
4343         * inferior.h: remove redundant include of symtab.h which is
4344         included in value.h via breakpoint.h.
4346         * alloca.c: removed.  alloca is now in libiberty.
4348         * config/m88k/delta88.mh, config/ns32k/merlin.mh (M_UNINSTALL):
4349         new macro to undo what M_INSTALL does.
4351 Wed Jun 23 00:25:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4353         * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
4354         of gdb-sh.
4356         * dbxread.c (copy_pending): Change name and function of begi argument
4357         to endi, since that is what the caller needs.
4359         * Makefile.in (TAGFILES): Don't include YYFILES.
4361         * Makefile.in (HFILES): Include monitor.h.
4363         * Makefile.in: Include text that used to be in alldeps.mak.
4364         Remove config/mips/{bigmips.mh,xm-bigmips} from it.
4365         * Makefile.in, configure.in: Remove all traces of alldeps.mak.
4367         * main.c (main): Print help message on stdout not stderr
4368         per standards.texi.
4369         New option --version per standards.texi.
4370         In help message, show long options with "--" not "-".
4371         Don't try to print help message or version until after we have
4372         called initialize_all_files.
4374 Tue Jun 22 11:03:13 1993  Jeff Law  (law@snake.cs.utah.edu)
4376         * hpread.c: Delete useless #if 1 statements.
4377         (hp_type_translate): Use T_LONG, T_UNS_LONG, and T_DOUBLE instead
4378         of magic integers.  Fix handling for T_UNS_INT.  Abort if the type
4379         passed in is not an "immediate" type.
4380         (read_hp_enum_type): Properly compute the size of the type.
4381         (read_hp_array_type): Likewise.
4382         (hp_type_lookup): Prefix the names of structs, unions and enums
4383         with "struct", "union", and "enum" as appropriate.
4385 Tue Jun 22 03:15:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4387         * solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
4388         (solib_add): Call special_symbol_handling once, not once per library.
4390         * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
4391         is SIG_DFL.
4393         * procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
4394         systems, not just Solaris.
4396         * stabsread.c: Include <ctype.h>.
4398 Mon Jun 21 16:09:46 1993  Jim Kingdon  (kingdon@cygnus.com)
4400         * fork-child.c (fork_inferior): Quote exec_file so it can contain
4401         funky characters.
4403 Mon Jun 21 16:56:47 1993  Fred Fish  (fnf@cygnus.com)
4405         * Makefile.in (INCLUDE_CFLAGS):  Add BFD_INCLUDES for now, since
4406         bfd.h is included by target.h, which most of gdb includes.
4407         * depend:  Hand remove BFD_INCLUDES from ${CC} lines, now that
4408         it's in INCLUDE_CFLAGS.
4410 Mon Jun 21 16:09:46 1993  Jim Kingdon  (kingdon@cygnus.com)
4412         * config/i386/*aix*, i386aix-nat.c: New files.
4413         * configure.in: Use them.
4414         * alldeps.mak: List them.
4415         * coffread.c (decode_base_type): Deal with anonymous enum type.
4416         * i387-tdep.c (print_387_status_word): Add comment re "top".
4417         * i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
4418         * dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*.  Define them if and
4419         only if not defined by a header file.
4420         * mipsread.c: Don't define L_SET or L_INCR.
4422 Mon Jun 21 15:10:07 1993  Fred Fish  (fnf@cygnus.com)
4424         * Makefile.in (BFD_INCLUDES):  Bfd.h is now back in bfd build dir.
4425         * depend:  Hand updated to match.
4427 Mon Jun 21 10:13:42 1993  Jeff Law  (law@snake.cs.utah.edu)
4429         * hpread.c: Include "demangle.h".
4430         (process_one_debug_symbol): Set the SYMBOL_LANGUAGE and
4431         SYMBOL_INIT_DEMANGLED_NAME for the current symbol.  Adjust
4432         SYMBOL_VALUE for local variables in the stack by the size of the
4433         current function's stack (found in unwind descriptor).  Keep
4434         better track of the current unwind descriptor. 
4436 Sun Jun 20 13:11:11 1993  Jim Kingdon  (kingdon@cygnus.com)
4438         * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
4439         (read_cpp_abbrev): Don't complain specially for $_.  Also return 0 if
4440         we don't recognize the abbrev.
4442 Sun Jun 20 00:24:41 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4444         * solib.c (solib_add_common_symbols): Add comment about performance.
4446 Fri Jun 18 12:37:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4448         * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
4449         * configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
4451         * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
4452         * config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
4453         * configure.in (mips-sony-*): Use news-mips for host.
4455         * buildsym.h: Doc fix for processing_acc_compilation.
4457 Thu Jun 17 19:57:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4459         * printcmd.c (print_formatted): Don't use tab in wrap_here arg.
4461 Thu Jun 17 17:29:30 1993  Jim Kingdon  (kingdon@lisa.cygnus.com)
4463         * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
4464         ${srcdir}/../include.
4466         * config/m88k/xm-delta88.h: Comment out unused defines which conflict
4467         with system headers.
4468         * printcmd.c (printf_command): Cast second arg to vprintf to PTR.
4469         Use VPRINTF macro if defined.
4470         * config/m88k/xm-delta88.h: Define VPRINTF.  Include <sys/siginfo.h>.
4471         Define TIOC{GETC,GLTC}_BROKEN.
4472         * m88k-nat.c: Uncomment include of <sys/ptrace.h>.
4473         * main.c: Rename initialize_{main,cmd_lists,history} to init_* to
4474         make things easier on munch (apparently this matters on
4475         the delta88 with svr3).
4477 Thu Jun 17 16:53:56 1993  david d `zoo' zuhn (zoo@cygnus.com)
4478         
4479         * Makefile.in: canonicalize install.sh; for use within
4480         this directory (and subdirs)
4482 Tue Jun 15 17:01:23 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4484         * Makefile.in: remove parentdir support; use INSTALL_XFORM
4486 Thu Jun 17 15:08:35 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
4488         * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
4489         host.
4490         * sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
4491         wired (and wrong) constant.
4492         * values.c (unpack_long): Add case to unpack when target object is
4493         sizeof(int).
4494         * config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
4495         simulator defines.
4497 Wed Jun 16 16:08:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
4499         * NEWS: tracking user visible changes starting with
4500         vxworks-timeout.
4502         * remote-vx.c (_initialize_vx): rename user settable option from
4503         rpcTimeout to vxworks-timeout.
4505 Wed Jun 16 14:34:10 1993  Jeff Law  (law@snake.cs.utah.edu)
4507         * hpread.c (hp_type_translate): Fix promotion bugs from
4508         char to short and short to int.
4510 Wed Jun 16 12:21:49 1993  Fred Fish  (fnf@cygnus.com)
4512         * Makefile.in (depend):  More makefile diddling.
4513         * alldeps.mak, depend:  Update to latest automatically built
4514         versions.
4516         * Makefile.in (depend):  Bfd.h keeps moving, keep up with it.
4517         * alldeps.mak, depend:  Update to latest automatically built
4518         versions.
4520 Tue Jun 15 12:26:05 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
4522         * remote-vx.c: include gdbcmd.h for setlist.
4523           (_initialize_vx): make rpcTimeout user settable.
4525 Mon Jun 14 09:23:51 1993  Jim Kingdon  (kingdon@cygnus.com)
4527         * main.c, gdbcmd.h: Add function filename_completer.
4528         * main.c, symfile.c, source.c, exec.c, core.c: Use it for
4529         "directory", "source", "cd", "symbol-file" "add-symbol-file",
4530         "load", "file", "exec-file", "core-file" commands.
4531         (But '/' is a word break, limiting usefulness; see comments).
4533         * source.c (mod_path): Warning not error if can't find directory.
4535         * isi-xdep.c: New file.
4536         * config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
4538 Sun Jun 13 09:17:48 1993  Jim Kingdon  (kingdon@cygnus.com)
4540         * config/m68k/xm-news.h: Include <sys/param.h>.
4542         * m88k-tdep.c (IEEE_isNAN): Remove.
4543         config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0.  This was the same
4544         broken isNAN as on the mips.
4546         * valprint.c (_initialize_valprint): Use c->function.sfunc not just
4547         c->function.
4549         * dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
4550         defined, don't worry about Sun's silly LBRAC bug.
4551         * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
4553         * dbxread.c (process_one_symbol): If there's a symbol before an
4554         N_SO, don't error().
4555         (case N_BCOMM): complain () not error ().
4557         * defs.h, main.c (catch_errors): Add return_mask arg.
4558         stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
4559         other callers: Pass RETURN_MASK_ALL.
4560         (return_to_top_level), callers: Add return_reason arg.
4561         * utils.c (quit):
4562         Use return_to_top_level (RETURN_QUIT) instead of error ().
4563         * main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
4564         Use SET_TOP_LEVEL not setjmp (to_top_level).
4565         * remote-nindy.c: Use catch_errors not setjmp (to_top_level).
4567 Sat Jun 12 14:40:54 1993  Jim Kingdon  (kingdon@cygnus.com)
4569         * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
4570         Don't try to get the debug base yet.
4572         * dbxread.c (process_one_symbol): Set n_opt_found based on whether
4573         a non-gcc N_OPT symbol is found.  Make SUN_FIXED_LBRAC_BUG a macro
4574         which returns 0 or 1 to say whether to do it.
4575         * config/sparc/sun4{sol2,os4}.h
4576         (SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
4577         the right thing happens for both acc and SunOS4 /bin/cc.
4579         * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
4580         * printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
4582         * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
4583         probably contained byte-order sins too.
4584         config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
4585         The IEEE_FLOAT code in print_floating takes care of it.
4587 Sat Jun 12 14:47:04 1993  Fred Fish  (fnf@cygnus.com)
4589         * Makefile.in (VERSION):  Bump to 4.9.2.
4590         * c-valprint.c (c_val_print):  For array of chars printed with
4591         string syntax, don't print the address of the array.  From
4592         bothner@cygnus.com.
4593         * c-exp.y (yylex): Recognize '.' as indicating a floating point
4594         number regardless of the radix.  From wilson@cygnus.com.
4595         * valprint.c (set_input_radix_1, set_output_radix_1):  New
4596         prototypes and functions that do the actual radix setting work.
4597         * valprint.c (set_radix, set_output_radix, set_input_radix):
4598         Rewrite to use set_input_radix_1 and set_output_radix_1.
4599         * valprint.c (initialize_valprint):  Enable commands to
4600         independently set and show input and output radices.
4601         * valprint.c (show_radix):  New prototype and function that
4602         handles separate input and output radices.
4604 Fri Jun 11 18:39:38 1993  Ken Raeburn  (raeburn@cygnus.com)
4606         Patches from Jeff Law, law@cs.utah.edu:
4607         * hppa-pinsn.c: Now uses disassembler from opcode library,
4608         this contains only the stub function print_insn.
4610 Fri Jun 11 15:19:59 1993  K. Richard Pixley  (rich@cygnus.com)
4612         * main.c (main): back to two periods for elipse.
4613           (print_gdb_version): revised format for configuration info.
4615 Fri Jun 11 10:24:35 1993  Fred Fish  (fnf@cygnus.com)
4617         * defs.h (INT_MAX):  Cast unsigned shift result to int.
4619 Fri Jun 11 10:17:41 1993  Jim Kingdon  (kingdon@cygnus.com)
4621         * dbxread.c (process_one_symbol): Rather than having
4622         BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
4623         is true if we are doing stabs-in-elf, false otherwise.
4624         config/sparc/tm-sun4sol2.h: Don't define it.
4626 Fri Jun 11 13:33:40 1993  Ian Lance Taylor  (ian@cygnus.com)
4628         * remote-mips.c (mips_send_packet): Don't print garbage character
4629         in debugging info.
4630         (mips_request): Don't check that remote pid is 0, because
4631         sometimes it isn't.
4632         (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
4633         not an integer.
4635 Fri Jun 11 10:17:41 1993  Jim Kingdon  (kingdon@cygnus.com)
4637         * stack.c (print_frame_info): Use catch_errors around print_frame_args.
4639         * Makefile.in (install): Don't depend on gdb.
4641         * Rename remote-es1800.c to remote-es.c
4642         and remote-st2000.c to remote-st.c for 14-char filenames.
4643         config/m68k/{es1800,st2000}: Use the new names.
4645         * mips-tdep.c (isa_NAN): Don't return true on -0.
4647 Fri Jun 11 10:24:35 1993  Fred Fish  (fnf@cygnus.com)
4649         * defs.h (INT_MAX):  Cast unsigned shift result to int.
4651 Thu Jun 10 13:26:41 1993  Fred Fish  (fnf@cygnus.com)
4653         * elfread.c (elf_symtab_read):  Add bfd section address to bfd
4654         symbols, now that they are section relative.
4655         * solib.c (bfd_lookup_symbol):  Ditto.
4657 Thu Jun 10 11:27:34 1993  Jeff Law  (law@snake.cs.utah.edu)
4659         * hpread.c (read_hp_function_type): Adjust SYMBOL_VALUE for
4660         arguments in the stack by the size of the current function's stack
4661         (found in the unwind descriptor).
4662         (process_one_debug_symbol): Likewise.  Keep track of the current
4663         function's unwind descriptor.
4665 Thu Jun 10 10:56:56 1993  Jim Kingdon  (kingdon@cygnus.com)
4667         * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
4668         depend: Updated accordingly.
4670 Wed Jun  9 16:08:44 1993  Jim Kingdon  (kingdon@cygnus.com)
4672         * Makefile.in (*.tab.c): Use mv for atomic update.
4674         * Makefile.in ({dist,real}clean): Also remove nm.h.
4675         (realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
4676         (distclean): Don't rebuild *.tab.c or TAGS.
4678 Wed Jun  9 12:56:58 1993  K. Richard Pixley  (rich@cygnus.com)
4680         * Makefile.in (version.c): add host and target names to version.c.
4681         * main.c (main): print three periods for the elipse.
4682           (print_gdb_version): also print configuration.
4684         * udi/udiids.h, udi/udip2soc.c, udi/udiphcfg.h, udi/udiphunix.h,
4685           udi/udiproc.h, udi/udipt29k.h, udi/udiptcfg.h, udi/udisoc.h,
4686           udi/udr.c: Change AMD copyrights to FSF copyleft '93.
4688         * remote-eb.c (get_hex_regs, eb_fetch_registers), remote-adapt.c
4689           (get_hex_regs, adapt_fetch_registers): cast args to
4690           supply_register to avoid gcc warning.
4692         * config/a29k/a29k.mt (TDEPFILES): drop minimon support.  It
4693           doesn't compile on solaris and is now obsolete.
4695         * config/sparc/sun4os4.mh (XM_CLIBS): remove -lresolv.  This
4696           breaks stock sunos installations.
4698 Wed Jun  9 06:14:33 1993  Jim Kingdon  (kingdon@cygnus.com)
4700         * m68k-stub.c: Add comment about frame cache.
4702         * target.h (target_store_registers): Doc fix re error handling.
4704         * findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
4705         of register_valid[regno].
4707 Tue Jun  8 14:42:10 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
4709         * symtab.h, dwarfread.c: Doc fix re dependencies.
4711 Tue Jun  8 17:54:09 1993  Rob Savoye  (rob@rtl.cygnus.com)
4713         * serial.c (serial_close): If scb is NULL, don't try to close
4714         it. 
4715         * configure.in: Add support for rom68k and bug boot monitors.
4717 Tue Jun  8 17:39:12 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
4719         * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
4720         * gdbcore.h, core.c (read_memory_unsigned_integer): New function.
4721         * findvar.c (read_register, write_register): Fix thinko where
4722         sizeof(host long) != sizeof(target int).
4723         * h8300-tdep.c: Use new read_memory_unsigned_integer call.
4724         * sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
4726 Tue Jun  8 14:42:10 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
4728         * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
4729         m68k-tdep.c (m68k_find_saved_regs).  Don't duplicate code between
4730         68881 and non-68881 cases.  Check for a pair of movel instructions.
4732 Tue Jun  8 14:52:55 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
4734         First cut at sparc-vxworks targetting.
4735         * config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt: new files.
4736         * configure.in: sparc-vxworks gdb_target now vxsparc.
4738         * remote-eb.c, remote.c: symfile.h requires bfd.h so include it.
4740 Tue Jun  8 14:42:10 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
4742         * config/m68k/xm-news.h: add "extern int errno".
4744 Tue Jun  8 13:45:07 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
4746         * remove-vx.c (vx_read_register, vx_write_register): collapse
4747           ifdef I80960 else (assumes) m68k into parameterizable macros
4748           VX_NUM_REGS and VX_SIZE_FPREGS.
4749         * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
4750           VX_SIZE_FPREGS): new definitions.
4752 Tue Jun  8 11:08:29 1993  Jim Kingdon  (kingdon@cygnus.com)
4754         * symfile.{c,h} (generic_load): New function.
4755         remote{,-nindy,-eb,-mips}.c: Use it.
4757 Mon Jun  7 20:07:30 1993  Stu Grossman  (grossman@cygnus.com)
4759         * Makefile.in (depend):  More sed gubbish to deal with
4760         ../bfd/bfd.h being generated during the build.
4761         * depend:  Re-done with corrected makefile.
4763 Mon Jun  7 16:32:05 1993  Fred Fish  (fnf@cygnus.com)
4765         * Makefile.in (BFD_SRC_DIR):  Renamed def and usages from BFD_DIR.
4766         * Makefile.in (BFD_OBJ_DIR):  New definition for the bfd build
4767         directory to find automatically generated header files and library.
4768         * Makefile.in (BFD_LIB):  Use BFD_OBJ_DIR.
4769         * Makefile.in (LINTFLAGS):  Include BFD_OBJ_DIR.
4770         * Makefile.in (saber_gdb):  Include BFD_OBJ_DIR.
4771         * Makefile.in (depend):  Include BFD_OBJ_DIR in gcc args.
4772         * Makefile.in (paread.o, xcoffexec.o):  Remove, now in depend.
4773         * depend, alldeps.mak:  Rebuild after Makefile.in changes.
4775 Fri Jun  4 10:18:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4777         * configure.in: change lynx support to CPU-*-lynxos*
4779         * Makefile.in (subdir_do): change test from existence of directory
4780         to existence of Makefile (the directory may exist but not be configured)
4782 Thu Jun  3 01:18:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4784         * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED
4786 Fri Jun  4 10:43:33 1993  Ian Lance Taylor  (ian@cygnus.com)
4788         * configure.in (mips-idt-ecoffl*): New target; use idtl.
4789         (mips-idt-ecoff*): Added trailing '*'.
4790         * config/mips/idtl.mt: New file; like idt.mt, but little endian.
4792 Thu Jun  3 17:36:56 1993  Stu Grossman  (grossman@cygnus.com)
4794         * ser-go32.c:  Clean up lots of compilation nits.
4796 Thu Jun  3 14:44:57 1993  Stu Grossman  (grossman@cygnus.com)
4798         * Patches from Jeffrey Law <law@cs.utah.edu>.
4799         * hppab-nat.c: Eliminate unnecessary ifdefs for
4800         FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
4801         CANNOT_STORE_REGISTER.
4802         (fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
4803         * hppa-pinsn.c: Support 'I', 'J', and 'K' in output
4804         templates for 1.1 FP computational instructions.
4806 Thu Jun  3 03:34:49 1993  Stu Grossman  (grossman@cygnus.com)
4808         * Makefile.in:  Remove ser-tcp.[co].  (Use XDEPFILES instead.)
4809         * alldeps.mak, depend:  Rebuild to account for ser-tcp.
4810         * config/sparc/sun4os4.mh:  Add ser-tcp to XDEPFILES.
4811         * gdbserver/Makefile.in (gdbserver):  Use -lbsd.
4812         * gdbserver/remote-inflow{-sparc}.c (create_inferior):  Don't use a
4813         shell when running the child, as args have been expanded by the
4814         time we get here.  Simplify calling convention.
4815         * gdbserver/remote-server.c (main):  Use new calling convention
4816         for create_inferior, remove defunct code for coalescing argv.
4817         Remove extra calls to mywait(), as we no longer have to wade
4818         through a shell.
4820         * target.c (target_read_memory_partial):  Don't deref errnoptr
4821         when checking for null pointer.
4823 Wed Jun  2 19:58:46 1993  John Gilmore  (gnu@cygnus.com)
4825         * remote-es1800.c:  Fix typo.
4827 Tue Jun  1 21:22:39 1993  Fred Fish  (fnf@cygnus.com)
4829         * target.c (target_read_memory_partial):  Like target_read_memory,
4830         but does partial reads, such as reads that bump into the end of
4831         the address space.
4832         * target.h (target_read_memory_partial):  Add prototype.
4833         * valprint.c (PRINT_MAX_DEFAULT):  New define, initial value 200.
4834         * valprint.c (val_print_string):  Complete rewrite to fix bug with
4835         bumping into end of memory, avoiding unnecessarily long reads, and
4836         fixing bug when print_max is set to 0 (unlimited print length).
4837         * valprint.c (_initialize_valprint):  Use PRINT_MAX_DEFAULT to
4838         initialize print_max.
4840 Tue Jun  1 18:11:35 1993  Rob Savoye  (rob at darkstar.cygnus.com)
4842         * configure.in: Add support for rom68k and bug boot monitors.
4844 Mon May 31 10:37:04 1993  Jim Kingdon  (kingdon@cygnus.com)
4846         * printcmd.c (print_scalar_formatted): Print integers bigger than
4847         LONGEST in hex no matter how big, and no matter what the format
4848         and size.
4850         * stabsread.c (read_type): Skip type attributes if present.
4852         * stabsread.c (read_huge_number): Don't accept '0' + radix as part
4853         of number, just through '0' + radix - 1.
4855 Sun May 30 15:35:21 1993  Fred Fish  (fnf@cygnus.com)
4857         * Makefile.in (SER_HARDWIRE):  Temporarily comment out ser-tcp.o.
4859         * {dbxread.c, dwarfread.c} (read_ofile_symtab):  Rewrite to take
4860         single parameter, the pointer to the partial symtab, rather than
4861         a bunch of args that are derived from the partial symtab.  Change
4862         prototypes and callers to match.
4864         * dbxread.c (read_ofile_symtab):  Remove "#if 1" around code to
4865         set demangling style automatically.
4866         * defs.h (CPLUS_MARKER):  Clarify comment that this is only for
4867         GNU C++, not C++ in general.
4868         * symtab.h (general_symbol_info):  Simplify by eliminating one
4869         structure level for the language dependent info.
4871 Sat May 29 15:59:29 1993  Fred Fish  (fnf@cygnus.com)
4873         * c-typeprint.c (c_type_print_base):  Avoid dereferencing NULL
4874         names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
4875         TYPE_CODE_ENUM was already testing for this.
4877 Fri May 28 17:18:05 1993  Stu Grossman  (grossman@cygnus.com)
4879         * Makefile.in:  Add new file ser-tcp.c.
4880         * defs.h (memcmp):  Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
4881         * findvar.c (write_register):  See if we are writing back the same
4882         value that's already in the register.  If so, don't bother.
4883         * remote.c (putpkt, getpkt):  Improve handling of communication
4884         problems.
4885         * ser-go32.c:  Prototype it to death.  Update serial_ops and add
4886         dummy routines where appropriate.
4887         * ser-tcp.c:  New module to implement serial I/O via TCP
4888         connections.
4889         * ser-unix.c:  Clean up getting/setting of tty state.  Get rid of
4890         SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
4891         * serial.c:  Add start of support for connect command.
4892         (serial_open):  Distinguish between tcp and local devices.
4893         * serial.h (struct serial_ops):  Get rid of restore, add
4894         get_tty_state and set_tty_state.  Define protoypes and macros for
4895         this mess.
4896         * gdbserver/remote-utils.c:  Add tcp support.  (readchar):  Do
4897         some real buffering.  Handle error conditions gracefully.
4898         * gdbserver/remote-inflow-sparc.c:  Update to remote-inflow.c
4899         (Lynx), remove lots of cruft.
4901 Fri May 28 17:24:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
4903         * printcmd.c (print_address_symbolic): turn this into an assigment
4904         instead of an initialization (many compilers don't accept
4905         structure initialization). 
4907 Thu May 27 16:56:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4909         * xcoffread.c (read_xcoff_symtab): If several program csects in one
4910         source file, give them all the name of the source file, rather than
4911         the 2nd and subsequent ones having NULL names.
4913 Thu May 27 06:16:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
4915         * printcmd.c (print_address_symbolic):  Append source filename and
4916         linenumber of the symbol if print symbol-filename is on.
4917         (initialize_printcmd):  `set print symbol-filename'.
4919 Wed May 26 13:46:16 1993  Stu Grossman  (grossman@cygnus.com)
4921         * configure.in:  Add config for Lynx target.  Configure gdbserver
4922         only for Lynx.  Re-do selective configuration of sparclite.
4924         * gdbserver/{remote-gutils.c remote-server.c Makefile.in
4925         configure.in remote-inflow.c remote-utils.c}:  New files to
4926         support GDB remote server.  Currently only works for Lynx.
4928 Wed May 26 10:28:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4930         * stabsread.c (define_symbol, case 't'): Only set the name if it
4931         is not a pointer type.
4933         * stabsread.c (define_symbol): Clean up logic; move the read_type
4934         calls to inside the switch statement (this improves the error
4935         handling).
4937         * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
4938         common blocks.
4940 Tue May 25 20:44:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4942         * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
4944         * source.c (line_info): Change "pc" to "address" in messages and
4945         use print_address for addresses.
4947         * source.c (line_info): If we don't find a symtab, print more useful
4948         output, including the symbolic address.
4950         * source.c (line_info): If --fullname, display the source.
4951         (identify_source_line), callers: Take pc as argument, rather than
4952         assuming innermost frame (emacs doesn't use this, so no one ever
4953         noticed).
4954         * symtab.h: Declare frame_file_full_name.
4955         * main.c: Don't.
4957 Tue May 25 15:30:43 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
4959         * breakpoint.c (catch_command_1): Fix typo in error msg.
4961 Tue May 25 16:05:55 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
4963         * elfread.c (elf_symfile_read): Update ELF structure and routine
4964         names to specify 32-bit versions.
4965         (elf_symtab_read): Retrieve size field directly from symbol,
4966         instead of using old kludge.
4968         * mips-pinsn.c (print_insn): Cast address to bfd_vma before
4969         calling opcodes library.
4970         * z8k-tdep.c (print_insn): Likewise.
4972 Tue May 25 13:06:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4974         * stabsread.c: Remove all uses of error().  Make error_type and
4975         read_type_number static.
4976         (define_symbol): Don't try to deal with a missing symbol
4977         descriptor which isn't followed by digit, '(', or '-'.
4978         * stabsread.h: Don't declare read_type_number here.
4979         * gdbtypes.h: Don't declare error_type here.
4980         * xcoffread.c: Remove NO_TYPEDEFS code.
4982 Tue May 25 09:33:16 1993  Ian Lance Taylor  (ian@cygnus.com)
4984         * mips-tdep.c: Removed #include of many header files, and #define
4985         of MIPSMAGIC; no longer used.
4987 Tue May 25 09:36:13 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
4989         * Many places: replace "the inferior" in messages with "the program"
4990         or "the program being debugged".
4991         * inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
4992         and I'm getting sick of maintaining it.
4994         * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
4995         support it.
4997         * config/i386/go32.mh: Define SER_HARDWIRE.
4998         * Makefile.in: Define SER_HARDWIRE.
4999         (DEPFILES): Use it.
5000         (alldeps.mak): Add SER_HARDWIRE.
5001         Remove all references to ser-hardwire.{c,o}.
5002         * configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
5004 Mon May 24 23:50:05 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5006         * sparc-nat.c (store_inferior_registers):  Fill in all members of
5007         inferior_fp_registers by reading them from the inferior before
5008         modifying and writing them back.
5009         Fixes unexplainable inferior FP exceptions after calls to the inferior
5010         or setting of floating point registers.
5011         * mips-tdep.c (mips_skip_prologue):  Skip move of argument register
5012         to register which is generated by gcc-2.4.
5014 Tue May 25 00:42:39 1993  Ken Raeburn  (raeburn@cygnus.com)
5016         * hppa-pinsn.c: Define OLD_TABLE before including opcode/hppa.h.
5018 Mon May 24 13:55:14 1993  Stu Grossman  (grossman@cygnus.com)
5020         * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
5021         xm-i386lynx.h}:  New configuration for Lynx.
5023 Mon May 24 10:01:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
5025         * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
5026         * symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
5028         * c-typeprint.c (c_type_print_base): Don't print typedef'd names
5029         as struct, union, or enum tags.
5031 Mon May 24 01:10:01 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5033         * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
5034         executable.
5036 Sat May 22 10:03:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
5038         * infrun.c (wait_for_inferior),
5039         infcmd.c (program_info, signal_command):  Use symbolic signal names.
5041         * inftarg.c (child_wait): Deal with EINTR and include message from
5042         strerror if printing an error message.
5044         * main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
5046         * stabsread.c: Remove most uses of lookup_fundamental_type.
5047         (define_symbol): Use read_type for type of enum constant,
5048         not just read_type_number.  Also don't call error().
5049         (define_symbol): For unrecognized constant type, one complaint (the
5050         one from error_type) is enough.  Don't make our own in addition.
5051         (define_symbol): Don't treat an N_FUN 'R' as a prototype.
5052         * gdbtypes.h: Doc fixes.
5054 Sat May 22 03:33:07 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5056         Fix stack unwinding through _sigtramp on Irix. These patches are from
5057         Paul Flinders <ptf@delcam.co.uk>.
5058         * mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
5059         executable uses sigvec.
5060         * mips-tdep.c (read_next_frame_reg): Allow tm-file to override
5061         sigcontext offsets.
5062         * config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
5064 Sat May 22 00:39:01 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5066         * infrun.c (wait_for_inferior): Clear stop_signal if it should not
5067         be passed to the inferior to make "handle <signal> nopass nostop" work.
5069 Sat May 22 00:21:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5071         * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
5072         the necessary bits.
5073         * findvar.c (value_from_register): Fix uninitialized first_addr
5074         which caused problems with assignment of doubles to register variables
5075         on some targets.
5076         * mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
5077         missing mips definitions if necessary.
5079         Fix handling of double register variables for mips targets and big
5080         endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
5081         * config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
5082           8 bytes for doubles.
5083         * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
5084           conversion of type held in multiple registers to host format.
5085         * config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
5086           companion to REGISTER_CONVERT_TO_TYPE.
5087         * config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
5088           Convert to function calls.
5089         * config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
5090           mips targets.
5091         * mips-tdep.c (mips_print_register): Raw buffer now needs just
5092           MAX_REGISTER_RAW_SIZE bytes.
5093         * mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
5094           (if defined) for doubles.
5095         * mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
5096           New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
5097         * valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
5098           defined.
5099         * findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
5100           defined.
5102 Fri May 21 09:04:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
5104         * configure.in: Add i[34]86-*-isc*.
5106         * stabsread.c: Make sure all complain() pass the address of the struct.
5108         * xcoffread.c: Make sure all struct complaints are static not auto.
5110         * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
5112         * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
5114 Wed May 19 12:33:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
5116         * config/i386/linux.mh: Re-enable coredumps now that they should work.
5118 Wed May 19 15:44:20 1993  K. Richard Pixley  (rich@cygnus.com)
5120         * config/m68k/tm-m68k.h (FRAME_CHAIN): add missing close paren.
5122 Wed May 19 15:33:57 1993  Stu Grossman  (grossman@cygnus.com)
5124         * config/pa/nm-hppab.h:  Comment PTRACE_ARG3_TYPE.
5126 Wed May 19 12:33:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
5128         * Makefile.in (INSTALLED_LIBS): New variable.
5130 Tue May 18 14:08:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
5132         * main.c (quit_command): In the "quit anyway?" message, tell the user
5133         whether we are planning to detach or kill the program.
5135         * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
5136         * config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
5138         * infcmd.c (read_pc): Doc fix.
5140         * printcmd.c (print_address_symbolic): Use %u not %d for offset.
5142         * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
5143         signal_handler_caller.
5144         * tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
5145         * tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
5146         * inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
5147         Use SIGTRAMP_START if defined.
5148         * infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
5149         * infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
5151         * infptrace.c: Remove unused KERNEL_U_ADDR_HPUX code.
5153         * infcmd.c (step_1): Fix poorly worded error message.
5155         * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
5156         Comment out corelow.c because core dumps are broken on these machines.
5158         * Makefile.in (depend):  Put "${srcdir}" in generated dependencies
5159         if srcdir is not ".".
5160         Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
5161         (INCLUDE_CFLAGS):  Remove BFD_DIR and READLINE_DIR.
5162         * depend:  Update to latest automatically built version.
5164 Tue May 18 08:10:45 1993  Fred Fish  (fnf@cygnus.com)
5166         * ChangeLog, ChangeLog-92:  Split ChangeLog at 1993.
5167         * Makefile.in (NONSRC):  Add ChangeLog-92
5169 Tue May 18 08:03:37 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
5171         * findvar.c ({read,write}_register): Use REGISTER_RAW_SIZE
5172         not typo RAW_REGISTER_SIZE.
5174         * frame.h, inferior.h: Doc fixes.
5176 Mon May 17 15:43:03 1993  Stu Grossman  (grossman@cygnus.com)
5178         * findvar.c (write_register):  Add sanity check for register size.
5179         (read_register):  Fixup sanity check for register size to be
5180         consistent with write_register().
5182 Mon May 17 07:36:20 1993  Ian Lance Taylor  (ian@cygnus.com)
5184         * sparclite/Makefile.in: Add dummy info, install and install-info
5185         targets.
5187 Thu May 13 07:30:22 1993  Ian Lance Taylor  (ian@cygnus.com)
5189         * remote-nindy.c: Removed declaration of coffstrip.
5190         * nindy-share/nindy.c: #if 0 coffstrip routine; no longer used.
5192 Wed May 12 00:35:19 1993  Fred Fish  (fnf@cygnus.com)
5194         * Makefile.in (VERSION):  Bump to 4.9.1 after release and cvs
5195         tagging.
5197         * Makefile.in (VERSION):  GDB 4.9 release.
5199 Tue May 11 08:04:41 1993  Fred Fish  (fnf@cygnus.com)
5201         * README:  Update known bugs to include the Solaris bug that
5202         leaves core dumps in the current directory when restarting the
5203         inferior with "run".  Expand on the testsuite information.
5205         * Makefile.in (VERSION):  Bump to 4.8.96 for what should hopefully
5206         be the last 4.9 prerelease test archive.
5208 Mon May 10 22:13:23 1993  Jim Kingdon  (kingdon@cygnus.com)
5210         * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
5211         redefined warnings.
5213 Mon May 10 20:00:43 1993  Fred Fish  (fnf@cygnus.com)
5215         * README, NEWS:  Update for gdb 4.9 release.
5217 Mon May 10 19:38:34 1993  John Gilmore  (gnu@cygnus.com)
5219         * ch-exp.y (MAX, MIN):  Rename to MAX_TOKEN, MIN_TOKEN.
5220         * target.c (MIN):  #undef before defining.
5222 Mon May 10 16:03:03 1993  Jim Kingdon  (kingdon@cygnus.com)
5224         Patch from Jeffrey Law:
5225         * gdb/config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
5227 Mon May 10 15:28:27 1993  Ian Lance Taylor  (ian@cygnus.com)
5229         * hppa-tdep.c (hppa_push_arguments): Allocate correct amount of
5230         memory.
5232 Mon May 10 13:14:46 1993  Fred Fish  (fnf@cygnus.com)
5234         * ch-exp.y (start):  Apply work-around to avoid bison warning.
5236 Sun May  9 07:25:02 1993  Fred Fish  (fnf@cygnus.com)
5238         * Makefile.in (BISON):  Remove double quotes around BISON
5239         definition when bison is used.
5241         * configure.in (hppa*-hp-bsd):  Change to hppa*-hp-bsd*
5242         * configure.in (hppa*-hp-hpux):  Change to hppa*-hp-hpux*
5243         * configure.in (m68*-hp-bsd):  Change to m68*-hp-bsd*
5244         * configure.in (m68*-hp-hpux):  Change to m68*-hp-hpux*
5245         * configure.in (hppa*-*-bsd):  Change to hppa*-*-bsd*
5246         * configure.in (hppa*-*-hpux):  Change to hppa*-*-hpux*
5247         * configure.in (m68*-hp-bsd):  Change to m68*-hp-bsd*
5248         * configure.in (m68*-hp-hpux):  Change to m68*-hp-hpux*
5250         * Makefile.in (VERSION):  Bump to 4.8.6.
5252 Sat May  8 12:36:03 1993  Fred Fish  (fnf@cygnus.com)
5254         * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE):  Define it, and
5255         include declarations for malloc/realloc/free.  Both malloc and
5256         realloc return 'void *' for non-ANSI compilations.
5258 Sat May  8 01:39:30 1993  (pes@regent.e-technik.tu-muenchen.de)
5260         * coffread.c (read_coff_symtab): Don't fclose stream as it is no
5261         longer opened twice.
5263 Thu May  6 21:08:55 1993  Jim Kingdon  (kingdon@cygnus.com)
5265         * solib.c (clear_solib): Don't close bfd if it is NULL.
5267 Thu May  6 20:55:35 1993  Fred Fish  (fnf@cygnus.com)
5269         * core.c (dis_asm_read_memory):  Cast second arg of
5270         target_read_memory to "char *".
5271         * breakpoint.c (watchpoint_check):  Change arg type from PTR to
5272         "char *", to match other functions called by catch_errors().
5274 Thu May  6 15:47:45 1993  Stu Grossman  (grossman@cygnus.com)
5276         * More patches from Jeffrey Law (law@cs.utah.edu).
5277         * gdb/config/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
5278         * gdb/config/pa/tm-hppah.h (millicode_start, millicode_end):
5279         Delete unnecessary declarations.
5281 Thu May  6 15:15:46 1993  Stu Grossman  (grossman@cygnus.com)
5283         * ser-unix.c (wait_for):  Use VTIME to do timeouts instead of
5284         poll() for termio{s}.
5286 Thu May  6 10:03:41 1993  Jim Kingdon  (kingdon@cygnus.com)
5288         * i386-tdep.c (i386_frame_num_args): Always return -1.
5290 Wed May  5 15:16:33 1993  Stu Grossman  (grossman@cygnus.com)
5292         * Patches from Jeffrey Law <law@cs.utah.edu>.
5293         * gdb/hppa-tdep.c: Declare frame_saved_pc.
5294         (frameless_function_invocation): New function.
5295         (frame_saved_pc, init_extra_frame_info): Use 
5296         frameless_function_invocation.
5297         * gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
5298         call instead of just grabbing the value currently in %r2.
5299         (FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
5300         * gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
5301         definition and use the common one in tm-hppa.h.
5302         * gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
5303         use unwind descriptors to determine if the frame chain is valid.
5304         * gdb/hppa-tdep.c (find_dummy_frame_regs):  Rework so that
5305         it does not assume %r4 is the frame pointer.
5306         * gdb/hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
5307         and ssm instructions.
5308         * gdb/hppa-tdep.c (extract_5r_store, extract_5R_store): New
5309         helper functions for print_insn.
5310         * gdb/hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
5311         * gdb/config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
5312         which nullifies the following instruction.
5314 Tue May  4 12:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
5316         * infptrace.c [FIVE_ARG_PTRACE]: Define ptrace to call_ptrace and
5317         pass the 5th arg there, rather than using an ANSI C-specific macro.
5319         * Makefile.in (depend): Don't include ${CC} command for *.tab.c.
5321 Tue May  4 19:33:12 1993  Fred Fish  (fnf@cygnus.com)
5323         * Makefile.in (VERSION):  Bump to 4.8.5
5324         * Makefile.in (INCLUDE_CFLAGS):  Add BFD_DIR and READLINE_DIR
5325         directories to include search path.
5326         * Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS):  Clean up
5327         whitespace.
5328         * Makefile.in (depend):  For gcc -MM line, use INTERNAL_CFLAGS
5329         * Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
5330         elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
5331         xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
5332         udr.o, udip2soc.o):  Remove explicit rules, use the ones that
5333         are automatically generated in "depend".
5334         * Makefile.in (paread.o):  Document why a dependency doesn't get
5335         automatically generated in "depend" and leave this explicit rule
5336         in for now (FIXME).
5337         * depend:  Update to latest automatically generated version.
5339 Tue May  4 12:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
5341         * xcoffread.c: Doc fix.
5343         * Makefile.in (depend): Include $(CC) command in generated output.
5345 Mon May  3 22:51:05 1993  Fred Fish  (fnf@cygnus.com)
5347         * Makefile.in (NONSRC):  Remove ${srcdir}/putenv.c.
5348         * Makefile.in (SFILES):  Add ${srcdir}/putenv.c.
5349         * depend:  Update to latest automatically built version.
5351 Mon May  3 19:20:20 1993  Stu Grossman  (grossman@cygnus.com)
5353         * sparclite/Makefile.in:  Create default target that does nothing
5354         in order to force user to build by hand.
5356         * sparclite/Makefile:  Remove.  It's not necessary anymore.
5358         * ser-unix.c (wait_for):  New routine to handle read timeouts,
5359         etc.  Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise.
5361 Mon May  3 13:52:08 1993  Ian Lance Taylor  (ian@cygnus.com)
5363         * mips-pinsn.c (print_insn): Return value.
5365 Sun May  2 11:43:57 1993  Fred Fish  (fnf@cygnus.com)
5367         * Makefile.in (SFILES):  Remove ser-hardwire.c; it is a link made
5368         at configuration time and doesn't belong in the distribution archive.
5370         * Makefile.in (NONSRC):  Add 29k-share/README.
5371         * Makefile.in (HFILES):  Add 29k-share/udi/udiids.h.
5373         * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN):  Replace hex
5374         constants with slightly more portable definitions (still depends
5375         on 2's complement arithmetic though).
5376         * config/i386/nm-linux.h:  Define NO_SYS_REG_H for no <sys/reg.h>.
5377         * i386v-nat.c (sys/reg.h):  Conditionalize include on
5378         NO_SYS_REG_H.  Linux doesn't have <sys/reg.h>.
5379         * ser-unix.c (termio.h):  Include <termio.h> like other files that
5380         include termio.h, not <sys/termio.h> which may not exist (on
5381         linux for example).
5383 Sat May  1 16:05:24 1993  Fred Fish  (fnf@cygnus.com)
5385         * valprint.c (print_longest):  Change format parameter from a
5386         'char' to an 'int'.  We can't have 'char' parameters with the
5387         current coding style, where we mix prototypes with pre-ANSI
5388         style declarations.
5389         * value.h (print_longest):  Change format parameter in prototype
5390         from a 'char' to an 'int'.      
5392 Sat May  1 02:47:20 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5394         * config/mips/tm-mips.h (STAB_REG_TO_REGNUM): Match it with the gcc
5395         definition.
5396         * config/mips/tm-irix3.h (STAB_REG_TO_REGNUM): Add.
5397         * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
5399 Fri Apr 30 17:45:32 1993  Stu Grossman  (grossman@cygnus.com)
5401         * The following patches are from Jeffrey Law <law@cs.utah.edu>.
5402         * config/pa/hppabsd.mh:  Add more files to NATDEPFILES.
5403         * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
5404         * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
5405         ptrace needs 5 arguments, #define ptrace to always
5406         pass zero as the 5th argument.
5408 Fri Apr 30 15:54:13 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
5410         * configure.in: Match z8k-*-sim for z8000.
5411         * config/h8500/tm-h8500.h, h8500-tdep.c: Lint.
5412         * remote-hms.c: Update to use new serial protocol.
5414 Fri Apr 30 16:50:38 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
5416         * mips-tdep.c: remove include of sys/dir.h.  Doesn't seem
5417           necessary and Solaris doesn't have it.
5419         * Makefile.in (clean-info, install, install-info, info, dvi,
5420           check, all): do not echo recursion lines.
5422         * 29k-share/udip2soc.c (UDIConnect): replace union wait with int.
5424         * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
5425           required target ports which use sockets (like a29k-udi).
5427         * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST.
5429 Fri Apr 30 11:05:42 1993  Jim Kingdon  (kingdon@cygnus.com)
5431         * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
5432         systems lacking select().
5434         * Makefile.in (TAGS): Doc fix.  Deal with empty DEPFILES.
5436 Fri Apr 30 10:06:46 1993  Fred Fish  (fnf@cygnus.com)
5438         * alldeps.mak, depend:  Update with latest automatically built
5439         versions.
5441 Thu Apr 29 12:03:23 1993  Fred Fish  (fnf@cygnus.com)
5443         * Makefile.in (SFILES):  Add ser-unix.c and ser-go32.c.
5445         * Makefile.in (make-proto-testsuite.dir):  New target to make
5446         prototype testsuite tree.
5448         * Makefile.in (VERSION):  Bump to 4.8.4.
5450 Thu Apr 29 08:46:22 1993  Jim Kingdon  (kingdon@cygnus.com)
5452         * stabsread.c (define_symbol): If unrecognized constant type,
5453         complain() not error().
5455 Thu Apr 29 00:03:59 1993  Fred Fish  (fnf@cygnus.com)
5457         * infptrace.c:  Add missing close paren to test for
5458         FIVE_ARG_PTRACE defined.
5460         * defs.h (CC_HAS_LONG_LONG):  Set up to define CC_HAS_LONG_LONG
5461         when compiling with gcc, but disable it for now.  See comment.
5462         * defs.h (LONGEST):  Define as either "long" or "long long"
5463         based on CC_HAS_LONG_LONG.
5464         * defs.h (longest_to_int):  Use CC_HAS_LONG_LONG to control
5465         how longest_to_int is defined.
5466         * c-valprint.c (c_val_print):  Call print_longest.
5467         * expprint.c (dump_expression):  Use PRINTF_HAS_LONG_LONG
5468         instead of LONG_LONG.
5469         * {printcmd.c, gdbtypes.h} (LONG_LONG):  Replace usages with
5470         CC_HAS_LONG_LONG.
5471         * printcmd.c (print_scalar_formatted):  Call print_longest
5472         and let it figure out what to do for PRINTF_HAS_LONG_LONG.
5473         * typeprint.c (print_type_scalar):  Call print_longest and let
5474         it figure out what to do for PRINTF_HAS_LONG_LONG.
5475         * valprint.c (val_print_type_code_int):  Call print_longest
5476         and let it figure out what to do for PRINTF_HAS_LONG_LONG.
5477         * stabsread.c (LONG_LONG):  Replace usages with CC_HAS_LONG_LONG.
5478         * value.h (struct value):  Replace usage of LONG_LONG with
5479         CC_HAS_LONG_LONG.
5480         * value.h (print_longest):  Add prototype.
5481         * values.c (LONG_LONG):  Replace usages with CC_HAS_LONG_LONG.
5482         * values.c (unpack_double):  Collapse code that was unnecessarily
5483         dependent on CC_HAS_LONG_LONG.  Use LONGEST instead of direct types.
5484         * values.c (value_from_longest):  Remove dependency on
5485         CC_HAS_LONG_LONG and just use LONGEST.
5486         * solib.c (solib_map_sections):  Use bfd_get_filename
5487         to access filename field.
5488         * solib.c (clear_solib):  Save filename and free it later, after
5489         bfd_close, since bfd_close may reference it.  Use bfd_get_filename
5490         to access the field.
5491         * config/convex/xm-convex.h (LONG_LONG):  Replace with
5492         CC_HAS_LONG_LONG.  Add define for PRINTF_HAS_LONG_LONG.
5493         * doc/gdbint.texinfo (LONG_LONG):  Replace with CC_HAS_LONG_LONG.
5494         Add PRINTF_HAS_LONG_LONG references.
5496 Wed Apr 28 06:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
5498         * inflow.c (kill_command), infcmd.c (attach_command),
5499         remote.c (remote_interrupt_twice): In messages for the user, call it
5500         "the program" or "the program being debugged" not "the inferior".
5502         * hp300ux-nat.c: Cast second arg to supply_register calls.
5503         (_initialize_kernel_u_addr, getpagesize): New functions.
5504         (store_inferior_register_1): Change arg name from value to val.
5505         (fetch_core_registers): Make arg core_reg_size unsigned.
5506         Pass 5 args to ptrace.
5507         * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
5508         Remove KERNEL_U_ADDR stuff.
5509         * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
5510         * config/m68k/hp300hpux.m{t,h}:
5511         Move exec.o from NATDEPFILES to TDEPFILES
5512         * config/m68k/hp300hpux.mt: Mention GAS requirement.  Remove
5513         hp-include stuff.  Add m68k-tdep.o to TDEPFILES.
5515 Wed Apr 28 13:27:54 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5517         * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.
5519 Wed Apr 28 06:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
5521         * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.
5523 Wed Apr 28 11:39:18 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
5525         * doc/gdb.texinfo: make node "Shell Commands" unconditional;
5526         describe `set demangle-style arm' (not cfront); 
5527         mention can type `q' to discard output, when gdb pages
5529 Wed Apr 28 11:32:39 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5531         * valops.c (search_struct_field): Fix gdb core dump with incomplete
5532         stabs info.
5534 Wed Apr 28 06:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
5536         * remote.c: Change timeout to 2.
5537         (remote_open): Use unpush_target not remote_close.
5538         (remote_resume): If siggnal != 0, give warning not error().
5539         (remote_wait, remote_interrupt, remote_interrupt_twice):
5540         If we get two interrupts, let the user get out if they want.
5541         (remote_{kill,mourn}): New functions.
5542         i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
5544 Wed Apr 28 09:20:55 1993  Ian Lance Taylor  (ian@rtl.cygnus.com)
5546         * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
5548 Wed Apr 28 06:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
5550         * Remote targets (mourn): Call unpush_target.
5552         * config/sparc/xm-sun4os4.h: Declare free() to return int.
5553         Remove twisted use of PARAMS.
5555         * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
5556         that ansidecl.h assumes ANSI on AIX.
5558 Tue Apr 27 10:01:33 1993  Jim Kingdon  (kingdon@cygnus.com)
5560         * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
5561         (Known bugs): Remove AIX bugs, revise SPARC struct bug description.
5563 Tue Apr 27 13:44:19 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5565         * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.
5567 Tue Apr 27 10:01:33 1993  Jim Kingdon  (kingdon@cygnus.com)
5569         * remote-vx.c (net_connect): Allow numeric IP address for host.
5571 Mon Apr 26 17:59:38 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
5573         * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files.
5575 Mon Apr 26 07:13:32 1993  Jim Kingdon  (kingdon@cygnus.com)
5577         * rs6000-tdep.c (branch_dest): Deal with stepping through system call.
5579         * symtab.h, xcoffread.c: Revise linetable sorting comments.
5581 Sun Apr 25 02:32:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5583         * valops.c (value_cast): A cast might also change the object
5584         representation in C++.
5585         * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
5586         to get the proper read_symtab function when called from mipsread.c.
5587         * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
5588         Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
5589         for dummy psymtabs, inhibit processing of dummy psymtabs.
5591 Sat Apr 24 19:59:54 1993  Jim Kingdon  (kingdon@cygnus.com)
5593         * Changes from (or inspired by) AMD:
5594         * remote-udi.c (udi_attach): Assignments to Space and Offset were
5595         switched, fix it.
5596         (udi_wait): Make error message (UDIGetStdout) match error.
5597         (udi_wait): Handle UDIStdinNeeded.
5598         * command.c [CANT_FORK]: Use system().
5599         * utils.c (prompt_for_continue): Allow quit with 'q'.
5601         * solib.c (solib_add): Don't call special_symbol_handling if there
5602         were errors in symbol_add_stub.  Also set so->from_tty before
5603         calling symbol_add_stub.
5605 Fri Apr 23 16:17:00 1993  Stu Grossman  (grossman@cygnus.com)
5607         * Merge in HPPA/BSD patches from Utah:
5608         * defs.h:  Add const to 2nd arg of psignal prototype.
5609         * hppah-tdep.c:  Renamed to hppa-tdep.c 'cuz it's common code with
5610         BSD now.
5611         * hppab-core.c:  Deleted.  No longer useful.
5612         * hppab-nat.c:  #include more files.  Use PT_WUREGS, not
5613         PT_WRITE_U.
5614         * hppab-tdep.c:  Deleted.  Supplanted by hppa-tdep.c.
5615         * config/pa/hppabsd.mh (NATDEPFILES):  Remove hppab-core.o.
5616         * config/pa/hppabsd.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
5617         * config/pa/hppahpux.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
5618         * config/pa/xm-hppab.h:  #define SET_STACK_LIMIT_HUGE.
5620 Fri Apr 23 10:34:02 1993  Stu Grossman  (grossman@cygnus.com)
5622         * Fix two bugs found by deja-gnu.  One is the incorrect reporting
5623         of the PC being in a stack dummy when looking at a core file
5624         without symbols.  The other is the incorrect passing of char
5625         arguments during expression evaluation (ie: p foo('a','b') would
5626         mess up the passing of it's args because it wasn't coercing the
5627         char's to ints).
5628         * hppah-tdep.c:  Rename global functions to have consistent hppa_
5629         prefix.  Make more functions static.  Drop hp_ prefix from static
5630         functions.  (hppa_push_arguments):  Call value_arg_coerce to cast
5631         char to int args if necessary.  (hppa_fix_call_dummy):  Create
5632         this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
5633         * inferior.h (PC_IN_CALL_DUMMY):  Check for frame_address being
5634         valid (ie: != 0) before doing comparison against PC.
5635         * valops.c (call_function_by_hand):  Adjust call to FIX_CALL_DUMMY
5636         to reflect new arguments.
5637         * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS):  Use new hppa_
5638         prefix for func name.  (FIX_CALL_DUMMY):  Move code into
5639         hppah-tdep.c.
5641         * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c:  Add calls
5642         to malloc() so that we can test GDB eval of dynamically created
5643         arrays (like char strings in `print "foo"').
5645 Fri Apr 23 01:28:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5647         * printcmd.c (print_address_symbolic): Search symtabs as well as the
5648         minimal symbols for a nearby symbol.
5650 Thu Apr 22 19:44:21 1993  John Gilmore  (gnu@cacophony.cygnus.com)
5652         * coffread.c:  Comment changes around minimal symbol recording.
5654 Thu Apr 22 16:24:36 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
5656         * command.c: comment changes only.
5658         * mips-tdep.c (heuristic_fence_post): new static variable.
5659           (heuristic_proc_start): use heuristic_fence_post, print better
5660           warnings, but only if not stop_soon_quietly.
5661           (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post. 
5663 Thu Apr 22 14:50:05 1993  Jim Kingdon  (kingdon@cygnus.com)
5665         * symtab.h: Fix LOC_REF_ARG comment.
5667 Wed Apr 22 20:21:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5668                           and Jim Kingdon (kingdon@cygnus.com)
5670         * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
5671         LOC_REGPARM symbol.
5672         * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
5673         symfile.c (compare_symbols): Don't check first character; STRCMP
5674         does that.
5676         * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
5677         structures that are passed by address in a register.
5678         * symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
5679         * findvar.c (read_var_value),
5680         printcmd.c (address_info, print_frame_args),
5681         stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
5682         * symtab.c (lookup_block_symbol): Deal with it.
5684 Thu Apr 22 09:07:24 1993  Jim Kingdon  (kingdon@cygnus.com)
5686         * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
5687         Add objfile field.
5688         * objfiles.c (find_pc_section): Return a struct obj_section *.
5689         * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
5690         * symfile.c (syms_from_objfile) [IBM6000_TARGET]:
5691         Don't use obj_section hack.
5692         * xcoffexec (vmap_symtab): Relocate obj_sections.
5693         * printcmd.c (containing_function_bounds): Use find_pc_section.
5695         * symtab.h: Clean up SYMBOL_VALUE comments.
5697 Wed Apr 21 14:29:57 1993  Jim Kingdon  (kingdon@cygnus.com)
5699         * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
5700         Expand comments about LOC_ARG/LOC_LOCAL pairs.
5702         * coffread.c (read_coff_symtab): Use rewind before fseek.
5704 Wed Apr 21 14:24:19 1993  Per Bothner  (bothner@cygnus.com)
5706         * ch-exp.y:  Removed unused structure_primitive_value and FIXME_23.
5707         * Makefile.in:  Add $(YFLAGS) when using $(YACC).
5708         * Makefile.in:  Remove message to expect conflicts and unused
5709         rules in ch-exp.y, since there no longer are any such.
5711 Wed Apr 21 13:27:50 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
5713         * stabs.texinfo: fixed bad xrefs (un-initialized statics)
5715 Tue Apr 20 08:55:11 1993  Jim Kingdon  (kingdon@cygnus.com)
5717         * xcoffexec.c (xcoff_relocate_core): If no exec file, error()
5718         rather than dumping core.
5720         * Makefile.in: Add ${srcdir}/ to all source files.
5721         (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak.
5722         (TAGS): Deal with srcdir and new config directory scheme.
5723         createtags: Remove.
5724         Makefile.in (NONSRC): Remove createtags.
5725         alldeps.mak: Updated.
5727         * rs6000-tdep.c: Delete unused function print_frame.
5729         * frame.h (struct frame_info): Doc fix for next_frame.
5730         New field signal_handler_caller.
5731         blockframe.c (create_new_frame, get_prev_frame_info),
5732         config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
5733         INIT_FRAME_PC_FIRST).
5734         stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
5735         Check it.
5737 Mon Apr 19 22:52:33 1993  Stu Grossman  (grossman@cygnus.com)
5739         * irix4-nat.c (fetch_core_registers):  Special version of this for
5740         Irix 4.x, which stores regs a bit differently from other /proc
5741         based systems.
5742         * procfs.c, core-svr4.c:  Move fetch_core_registers from procfs.c
5743         to new file core-svr4.c.
5744         * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
5745         config/i386/ncr3000.mh, config/sparc/sun4sol2.mh:  Add core-svr4.o
5746         to NATDEPFILES.
5747         * config/mips/irix4.mh:  Add corelow.o to NATDEPFILES.
5749 Mon Apr 19 11:13:34 1993  Jim Kingdon  (kingdon@cygnus.com)
5751         * i387-tdep.c: Remove unused #includes.
5753         * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32.
5755         * config/i386/nm-i386v.h: Define NO_PTRACE_H.
5757 Sun Apr 18 10:39:35 1993  Jim Kingdon  (kingdon@cygnus.com)
5759         * xcoffread.c: Nuke NO_DEFINE_SYMBOL code.  There is no going back.
5761         * stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
5762         xcoffread.c (process_xcoff_symbol, case C_RPSYM):
5763         Don't muck with SYMBOL_CLASS.
5765 Fri Apr 16 17:38:33 1993  Stu Grossman  (grossman@cygnus.com)
5767         * munch:  Don't use head command.  It doesn't exist everywhere.
5769 Fri Apr 16 15:07:57 1993  Fred Fish  (fnf@cygnus.com)
5771         * inflow.c (new_tty):  Remove spurious 'o' character at end
5772         of #endif line.
5774 Fri Apr 16 12:27:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5776         * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
5777         instructions and nothing more.
5778         * mipsread.c (add_line): Add comment why we have to combine line number
5779         entries for the same line number.
5781 Fri Apr 16 09:42:03 1993  Jim Kingdon  (kingdon@cygnus.com)
5783         * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
5784         in gdb 2.8!).
5786 Thu Apr 15 21:16:58 1993  Fred Fish  (fnf@cygnus.com)
5788         * depend, alldeps.mak:  Update, now that gcc -MM bug is fixed.
5790 Thu Apr 15 12:38:39 1993  Jim Kingdon  (kingdon@cygnus.com)
5792         * source.c (select_source_symtab): Clean up comment.  Also, if
5793         we have a current_source_symtab, and s is NULL, return without
5794         doing anything.
5795         xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
5796         breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
5798 Thu Apr 15 02:37:48 1993  John Gilmore  (gnu@cacophony.cygnus.com)
5800         * dbxread.c (unknown_symchar_complaint):  Add new complaint.
5801         * stabsread.h:  Declare it.
5802         * partial-stab.h:  Use it.
5804         * utils.c (malloc_botch):  Don't forward-declare if NO_MMALLOC.
5806 Wed Apr 14 17:12:51 1993  Jim Kingdon  (kingdon@cygnus.com)
5808         * stack.c (print_frame_info): Print specially if dummy frame.
5810         * breakpoint.c: Add comments regarding within_scope future direction.
5812         * Version 4.8.3.
5814         * xcoffread.c (record_include_{begin,end}): Change fatal to complain.
5816 Wed Apr 14 14:03:18 1993  Per Bothner  (bothner@cygnus.com)
5818         * ch-exp.y:  Fix thinko that broke parsing of FALSE.
5820 Wed Apr 14 12:49:29 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5822         * stabsread.c (read_member_functions): Initialize domain for stubbed
5823         member functions to avoid gdb core dumps when printing pointers
5824         to member functions.
5825         * cp-valprint.c (cp_print_class_method): Check for stubbed member
5826         functions.
5828 Tue Apr 13 08:28:26 1993  Jim Kingdon  (kingdon@cygnus.com)
5830         * expprint.c (print_subexp): If opcode not found in op_print_tab,
5831         stop with an error().
5832         eval.c (evaluate_subexp): Change error message.
5834         * objfiles.c (build_objfile_section_table): Cast return value
5835         from obstack_finish.
5837 Mon Apr 12 10:53:50 1993  Jim Kingdon  (kingdon@cygnus.com)
5839         * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
5840         to rs6000_frame_chain and deal with it if we're in a signal handler.
5841         (FRAME_SAVED_PC): Use rs6000_frame_chain.
5843         * breakpoint.c (within_scope): New function.
5844         (enable_breakpoint, watchpoint_check): Use it.
5846         * source.c (openp): Handle "exec-file ./ls" correctly.
5848         * breakpoint.c (breakpoint_1): Use wrap_here before "at".
5850 Sat Apr 10 01:32:43 1993  Per Bothner  (bothner@rtl.cygnus.com)
5852         * ch-exp.y:  Clean up lexing of identifiers and
5853         reserved words.  (E.g. don't recognize FALSEXXX as the
5854         keyword FALSE followed by the identifier XXX.)
5855         Also, convert identifiers to lower case.
5857 Fri Apr  9 15:53:19 1993  Stu Grossman  (grossman@cygnus.com)
5859         * remote-mips.c, remote-monitor.c, remote-st2000.c:  Convert to
5860         new serial interface.
5862 Fri Apr  9 15:01:12 1993  Stu Grossman  (grossman@cygnus.com)
5864         * remote.c (remote_open):  Use SERIAL_OPEN instead of serial_open.
5865         (putpkt, getpkt):  Use new return codes for SERIAL_READCHAR.
5866         * ser-go32.c:  Return -1 on most failures, 0 on most successes,
5867         and use new return codes for go32_readchar().
5868         * ser-unix.c:  Ditto.  Also, move error handling up to caller for
5869         SERIAL_SETBAUDRATE().
5870         * serial.c (serial_open):  Internal call, not SERIAL_OPEN to get
5871         to specific routine.
5872         (serial_close):  New routine to wrap around device close routine.
5873         serial.h:  Clean & document return values more clearly.
5875 Fri Apr  9 10:20:55 1993  Jim Kingdon  (kingdon@cygnus.com)
5877         * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
5879         * rs6000-pinsn.c (print_operand, case LI): Print condition register
5880         operand in decimal rather than wrong textual versions.
5882         * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
5883         (mention 't', remove false thing about 'g' only good with 'f').
5885         * breakpoint.h: move "struct breakpoint" and friends to top of
5886         file so that bpstat_find_breakpoint prototype works.
5888         * solib.c (struct so_list): Add bfd field.
5889         (solib_map_sections): Leave bfd open and scratch_pathname allocated.
5890         Put the bfd in bfd field of the so_list.
5891         (clear_solib): Free bfd name and close_bfd on the bfd.
5893 Fri Apr  9 00:45:41 1993  Per Bothner  (bothner@rtl.cygnus.com)
5895         * valarith.c (value_subscript):  Add COERCE_REF.
5896         * ch-exp.y (operand_5):  We can generalize the 2nd operand
5897         of a string repetition ot 'literal' without ambiguity.
5899 Thu Apr  8 10:15:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
5901         * breakpoint.h (struct bpstat): Remove momentary field.
5902         Remove bpstat_momentary_breakpoint.  This was always kludgy
5903         and is no longer used.
5905         * breakpoint.h: Add enum bpstat_what.
5906         breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
5907         stop and print fields of bpstat now per-breakpoint, not just
5908         one for the whole chain.
5909         breakpoint.{c,h} (bpstat_what): New function.
5910         breakpoint.h: Remove bpstat_stop and bpstat_should_print.
5911         infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
5912         with call to bpstat_what.
5913         README: Remove watchpoint/breakpoint bug from known bugs.
5915         * breakpoint.h: Prototype bpstat_find_breakpoint.
5917 Thu Apr  8 16:01:21 1993  Fred Fish  (fnf@cygnus.com)
5919         * symtab.c (find_methods, gdb_mangle_name):  Note that functions
5920         are g++ specific.
5921         * symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
5922         DESTRUCTOR_PREFIX_P):  Note that macros are g++ specific.
5924 Thu Apr  8 12:45:32 1993  Ian Lance Taylor  (ian@cygnus.com)
5926         * i960-pinsn.c (tabent): Copied struct definition from
5927         opcodes/i960-dis.c.
5929 Thu Apr  8 10:34:37 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
5931         * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
5932         is a C++ destructor.
5933         * symtab.c (gdb_mangle_name): Use it.
5934         * symtab.c (find_methods): Do not add destructors to choice list
5935         for constructors.
5936         * symtab.c (decode_line_1): Make breakpoints on destructors work
5937         for gcc-2.x again.
5939 Wed Apr  7 18:43:09 1993  Stu Grossman  (grossman@cygnus.com)
5941         * ser-go32.c:  Make it use serial port name.
5942         * go32-xdep.c:  Put in def for strlwr, needed by dir.o in go32 libc.
5944         * infcmd.c (read_pc):  Make sure that we read PC_REGNUM when not
5945         in a system call!
5947 Wed Apr  7 15:52:11 1993  Stu Grossman  (grossman@cygnus.com)
5949         * configure.in:  Only configure sparclite subdir when target_cpu
5950         is sparclite.
5952 Wed Apr  7 10:11:22 1993  Jim Kingdon  (kingdon@cygnus.com)
5954         * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
5955         Remove FIXME comment regarding this.
5957         * symfile.h: Change NULL->'\0' in comment (that wasn't a typo).
5959         * xcoffread.c (read_xcoff_symtab): Use E_SYMNMLEN.
5961 Tue Apr  6 22:30:58 1993  K. Richard Pixley  (rich@cygnus.com)
5963         Add section table to objfile struct.  Use it for find_pc_section.
5964         * objfiles.c (add_to_objfile_sections,
5965           build_objfile_section_table, find_pc_section): new functions.
5966           (allocate_objfile): build section table.
5967         * objfiles.h (struct obj_section): new structure.
5968           (struct objfile): add section table.
5969           (find_pc_section): new prototype.
5970         * solib.[ch] (find_pc_section_from_so_list): removed.
5971         * sparc-tdep.c: include objfiles.h for find_pc_section.  include
5972           symfile.h for objfiles.h.
5973           (in_solib_trampoline): adjusted for new find_pc_section
5974           prototype.  Removed BAD_RICH_HACK ifdefs.
5975         * symfile.c (syms_from_objfile): offset objfile sections.
5976           (find_pc_section): removed.  Also removed BAD_RICH_HACK ifdefs.
5977         * symfile.h (find_pc_section): prototype removed.  Also fixed
5978           comment typo NUL -> NULL.
5979         * target.[ch] (find_pc_section_from_targets): removed.
5980         * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
5982 Tue Apr  6 21:41:13 1993  Stu Grossman  (grossman@cygnus.com)
5984         * ser-go32.c:  Format.  (go32_open):  Use proper return value.
5986         * configure.in:  Undo conditional configdirs hack for sparclite.
5988 Tue Apr  6 17:07:37 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
5990         * symtab.c (list_symbols): When call break_command, pass both
5991         filename and function name not just function name.
5993 Tue Apr  6 15:00:09 1993  Fred Fish  (fnf@cygnus.com)
5995         (Changes and new files to make "none" a full fledged configuration)
5996         * config/none/{nm-none.h, tm-none.h, xm-none.h}:  New files.
5997         Currently only tm-none.h has any meaningful contents.
5998         * config/none/none.mh (NAT_FILE):  Use nm-none.h
5999         * config/none/none.mh (XM_FILE):  Use xm-none.h
6000         * config/none/none.mt (TM_FILE):  Use tm-none.h
6001         * Makefile.in (depend):  Remove comment about parse errors in
6002         valops.c, it now parses correctly and generates a correct depend
6003         line.  Remove line that touches xm.h, tm.h, and nm.h; they are
6004         now linked to config/none/{xm-none.h, tm-none.h, nm-none.h}.
6006 Tue Apr  6 09:54:29 1993  Jim Kingdon  (kingdon@cygnus.com)
6008         * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
6010         * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
6011         exactly 8 characters.
6013 Tue Apr  6 10:31:26 1993  Stu Grossman  (grossman@cygnus.com)
6015         * configure.in:  Sparclite uses sparc config dir.  Also has it's
6016         own tm- & .mt files now.  Also add sparclite to configdirs.
6017         * go32-xdep.c:  Dummy routines for sigsetmask & strlwr.
6018         * config/i386/go32.mh:  Nullify def of TERMCAP.
6019         * config/i386/xm-go32.h:  Get rid of redef of EIO.
6020         * config/sparc/{sparclite.mh tm-sparclite.h}:  New sparclite
6021         specific configs.  Very similar to sun4os4, but without solib.
6022         * sparclite/{Makefile.in configure.in}:  First cut at making this
6023         dir configgable.
6025 Tue Apr  6 03:10:44 1993  Stu Grossman  (grossman@cygnus.com)
6027         * ser-go32.c:  First cut at adapting to new serial interface.
6029 Mon Apr  5 22:29:43 1993  Stu Grossman  (grossman@cygnus.com)
6031         * Makefile.in (SFILES OBS):  Add serial.[co] & ser-hardwire.[co].
6032         These implement a new serial line interface for talking to remote
6033         targets.
6034         * configure.in:  Link ser-hardwire.c to ser-unix.c for all hosts,
6035         EXCEPT go32, which gets ser-go32.c.
6036         * remote.c:  Use new serial interface.  More remote-xxx's to be
6037         converted later.
6038         * ser-bsd.c, ser-termios.c:  Removed.
6039         * serial.c:  New.  Implements common operations for all serial
6040         types.
6041         * ser-unix.c:  New.  Unix specific serial operations for various
6042         flavors of Unix (Posix, SysV, BSD).
6043         * serial.h:  Generic serial interface defs.
6044         * config/i386/go32.mh, config/i386/i386bsd.h,
6045         config/m68k/apollo68b.mh, config/sparc/sun4os4.mh:  Remove
6046         ser-bsd.o from XDEPFILES.  All the magic is now handled in
6047         configure.in.
6049 Mon Apr  5 20:48:54 1993  Stu Grossman  (grossman@cygnus.com)
6051         * config/h8500/tm-h8500.h:  Clean up brain damage found by GCC.
6053 Fri Apr  2 08:23:14 1993  Jim Kingdon  (kingdon@cygnus.com)
6055         * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.
6057         * rs6000-tdep.c (frameless_function_invocation): Don't even think
6058         about framelessness except on the innermost frame.
6060         * xcoffexec.c: Call fatal() not abort().
6062         * stabsread.c (patch_block_stabs): If stab & no symbol, make
6063         a LOC_OPTIMIZED_OUT symbol.
6064         symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
6065         findvar.c (read_var_value), printcmd.c (address_info),
6066         symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
6067         m2-exp.y (yylex): Deal with it.
6068         ch-exp.y (yylex): Deal with it.
6070 Thu Apr  1 18:43:02 1993  Stu Grossman  (grossman@cygnus.com)
6072         * findvar.c (value_from_register):  H8500 specific, check to see
6073         if we are looking at short pointer.  If so, skip crock.
6074         * h8500-tdep.c (h8500_frame_chain):  Mask down value from
6075         read_memory_integer() to avoid getting messed up by sign extension.
6077 Thu Apr  1 16:44:41 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
6079         * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
6080           ifdef protect using BAD_RICH_HACK.  This should be removed soon.
6081         * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
6083 Thu Apr  1 09:01:38 1993  Jim Kingdon  (kingdon@cygnus.com)
6085         * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a.
6087         * core.c (dis_asm_print_address): New function.
6089         * core.c (dis_asm_read_memory): Reinstate 4th arg.  The prototype
6090         has been fixed.
6092 Thu Apr  1 09:34:43 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6094         * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
6095         entire breakpoint chain and print only the first entry that needs to
6096         be printed and needs to be stopped for. Fixes problems with printing
6097         of multiple breakpoints with different conditions.
6098         * breakpoint.c (print_it_done): Renamed from print_it_noop as it
6099         effectively stops printing of the breakpoint chain.
6100         * breakpoint.c (print_it_noop): New routine to print nothing
6101         for this breakpoint entry and dont stop printing.
6102         * breakpoint.c (breakpoint_re_set_one): mention the reevaluated
6103         watchpoint only if it is enabled.
6104         * mipsread.c (parse_procedure): Correct incorrect setjmp procedure
6105         descriptor from the library to make backtraces through setjmp work.
6106         * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
6107         sigtramp.
6108         * mips-tdep.c (read_next_frame_reg): Provide correct values for
6109         all registers saved within sigtramp, cleanup.
6111 Wed Mar 31 12:52:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
6113         * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a.
6115 Wed Mar 31 21:23:41 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
6117         * core.c (dis_asm_read_memory): drop fourth arg which conflicts
6118           with prototype in ../include/dis-asm.h.
6120 Wed Mar 31 12:52:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
6122         * core.c (dis_asm_{read_memory,memory_error}): New functions.
6123         m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c:
6124         Use read_memory_func interface to disassembler.
6126 Tue Mar 30 15:46:14 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
6128         Teach sparc solaris to next over shared library functions.
6129         * solib.[hc] (find_pc_section_from_so_list): new function and
6130           prototype.
6131         * sparc-tdep.c (in_solib_trampoline): new function.
6132         * symfile.[hc] (find_pc_section): new function and prototypes.
6133         * target.[hc] (find_pc_section_from_targets): new function and
6134           prototypes.
6135         * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
6136           in_solib_trampoline.
6138 Tue Mar 30 08:06:24 1993  Jim Kingdon  (kingdon@cygnus.com)
6140         * infrun.c (wait_for_inferior): Revise comment.
6142         * command.c (do_setshow_command): Use %u with var_{u,z}integer.
6144         * command.{c,h}: New var_type var_integer.
6145         main.c: Use it for history_size.
6147         * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
6148         Lint and byte-order fixups.
6150         * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint.
6152         * breakpoint.h (bpstat): New field print_it.
6153         breakpoint.c (bpstat_print): Use it.
6154         (print_it_normal): New function (from old bpstat_print code).
6155         (bpstat_{alloc,stop_status}): Set print_it field.
6157         * breakpoint.c (bpstat_stop_status): Use catch_errors when
6158         evaluating watchpoint condition, via new function watchpoint_check.
6159         Also stop if watchpoint disabled due to leaving its block.
6161         * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment.
6163 Tue Mar 30 00:14:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6165         * mips-pinsn.c: Add missing include of dis-asm.h.
6167 Mon Mar 29 15:03:25 1993  Fred Fish  (fnf@cygnus.com)
6169         * Makefile.in (clean, distclean, realclean):  Recursively apply
6170         to subdirs first, rather than last.  This avoids, for example,
6171         Makefile being removed in a parent directory before the recursive
6172         make is run.
6174         * alldeps.mak, depend:  Update for below changes.
6176         * config/m68k/tm-m68k.h:  Renamed from config/m68k/tm-68k.h.
6177         * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
6178         tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
6179         tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}:  Include tm-m68k.h
6180         instead of tm-68k.h.
6181         * Makefile.in (HFILES):  tm-68k.h renamed to tm-m68k.h.
6182         * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
6183         m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
6184         nm-hp300bsd.h, config/m68k/xm-apollo68b.h}:  Map '68k' to 'm68k'.
6185         * a29k/tm-a29k.h, doc/gdbint.texinfo:  Account for renaming of
6186         tm-68k.h to tm-m68k.h.
6187         * m68k/m68k-fp.mt (TM_FILE):  tm-68k-fp.h renamed to tm-m68k-fp.h.
6188         * m68k/m68k-nofp.mt (TM_FILE):  tm-68k-nofp.h renamed to
6189         tm-m68k-nofp.h.
6191         * config/a29k/tm-a29k.h:  Renamed from config/a29k/tm-29k.h.
6192         * a29k-pinsn.c:  Renamed from am29k-pinsn.c.
6193         * a29k-tdep.c:  Renamed from am29k-tdep.c.
6194         * remote-eb.c, config/a29k/tm-ultra3.h:  Include renamed tm-a29k.h.
6195         * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
6196         tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
6197         testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
6198         Map '29k' to 'a29k'.
6199         * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
6200         (TDEPFILES):  Use renamed a29k-pinsn.o and a29k-tdep.o.
6201         * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE):  Use renamed
6202         tm-a29k.h.
6203         * config/a29k/a29k-udi.mt (MT_CFLAGS):  Remove TARGET_AM29K
6204         define that does not appear anywhere else in the gdb source tree.
6205         * doc/gdbinit.texinfo:  Document renaming of tm-29k.h to tm-a29k.h.
6207 Mon Mar 29 13:55:29 1993  Jim Kingdon  (kingdon@cygnus.com)
6209         * breakpoint.c: Add comments regarding breakpoint_re_set.
6211         * xcoffread.c (sort_syms, compare_symbols): Remove.
6212         (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
6213         not our own sort_syms (it is identical).
6215         * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
6217 Sun Mar 28 11:24:37 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6219         * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
6220         * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
6221         went out of scope.
6222         * exec.c (exec_close): Fix storage leak.
6223         * exec.c (exec_file_command): Make sure that bfd doesn't realign the
6224         output sections when patching an executable.
6225         * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
6226         when writing all registers.
6227         * mips-tdep.c (mips_push_dummy_frame): Save floating point registers
6228         at the right offset in the dummy frame.
6229         * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
6230         stStaticProc and stEnd symbols as they are generated by gcc-2.x.
6231         * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
6233 Fri Mar 26 15:25:05 1993  John Gilmore  (gnu@cygnus.com)
6235         * Makefile.in (TARFILES):  Avoid trailing backslash.
6237 Fri Mar 26 11:29:30 1993  Jim Kingdon  (kingdon@cygnus.com)
6239         * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
6240         it in breakpoint_re_set.
6241         * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values.
6243         * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
6244         don't use sizeof(int) for target stuff, etc).
6246 Thu Mar 25 15:03:53 1993  Fred Fish  (fnf@cygnus.com)
6248         * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
6249         i860-pinsn.c, i860-tdep.c, config/i860/*:  Remove incomplete i860
6250         support that can't be integrated anyway due to lack of clear
6251         authorship.
6253 Thu Mar 25 12:26:50 1993  Stu Grossman  (grossman@cygnus.com)
6255         * findvar.c (read_register, write_register):  Make these capable
6256         of reading/writing registers that are shorter than REGISTER_TYPE.
6257         * (value_from_register):  Install H8500 specific code to return
6258         proper value when register is being used as a pointer.
6259         * h8500-tdep.c:  Remove extra defines of NUM_REGS.
6260         (h8500_skip_prologue):  Use correct lengths for LINK instructions.
6261         (FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
6262         chain frames properly by combining frame pointer with T reg.
6263         (init_extra_frame_info):  Delete.  It's now a macro.
6264         (frame_args_address):  Don't add PTR_SIZE.  Stack args are already
6265         offset by the correct amount off of the frame pointer.
6266         (register_byte):  Delete.  It's now a macro.
6267         (register_raw_size, register_virtual_size):  Delete.  Replaced by
6268         common routine h8500_register_size, cuz there's no difference
6269         between the raw & virtual sizes on this machine.
6270         (register_convert_to_raw, register_convert_to_virtual):  Delete,
6271         cuz there's no difference between the raw & virtual forms.
6272         Replaced by memcpy in tm file.
6273         (register_virtual_type):  Rename to h8500_register_virtual_type.
6274         Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
6275         (_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
6276         emulator have same reg offsets.  This is all handled in the
6277         simulator code now.
6278         (h8500_trapped_internalvar):  New routine to detect references to
6279         convenience vars acting as pointer pseudo-regs.
6280         (h8500_value_trapped_internalvar):  Conjure up value of pointer
6281         pseudo-regs.
6282         (h8500_set_trapped_internalvar):  Convert set value in real
6283         register references.
6284         infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
6285         code segment register.
6286         infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
6287         by hand.
6288         (wait_for_inferior):  Add h8500 specific code to add stack segment
6289         when reading SP register.
6290         remote-sim.c (fetch_register):  Spacing.
6291         tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
6292         detect cruft.  Redo all register manipulation stuff.  Get rid of
6293         pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
6294         to frame pointer.  (IS_TRAPPED_INTERNALVAL,
6295         VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
6296         to create internal vars for pointer pseudo-regs.
6298 Thu Mar 25 10:10:28 1993  Fred Fish  (fnf@cygnus.com)
6300         * Makefile.in:  Numerous small changes to macro definitions
6301         and rules for building gdb distribution tree.  Many macros
6302         eliminated or merged, and rules simplified.
6303         * alldeps.mak:  Update.
6304         * depend:  Update.
6306 Wed Mar 24 13:52:29 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
6308         * Makefile.in: recurse through SUBDIRS for dvi target too
6310 Wed Mar 24 08:48:30 1993  Jim Kingdon  (kingdon@cygnus.com)
6312         * Clean up xcoff relocation.
6313         objfiles.h (struct objfiles): Add section_offsets, num_sections.
6314         symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
6315         Set them.
6316         symtab.h (struct general_symbol_info): Add section field.
6317         minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
6318         xcoffread.c: Set section for symbols and msymbols.
6319         (struct symtab): Add block_line_section field.
6320         buildsym.c (end_symtab): Set it.
6321         (end_symtab and callers): Add section parameter.
6322         objfiles.c (objfile_relocate): New funciton.
6323         xcoffexec.c (vmap_symtab): Use it.
6324         xcoffsolib.h (struct vmap): Remove unused fields.
6325         config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
6326         CORE_NEEDS_RELOCATION, symtab_relocated.
6327         config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
6328         rs6000-tdep.c: Make loadinfotext static.
6329         breakpoint.c (fixup_breakpoints): Doc fix.
6330         symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
6331         (end_symtab): primary field replaces nonreloc.
6333 Tue Mar 23 00:10:53 1993  John Gilmore  (gnu@cygnus.com)
6335         * symtab.h (struct linetable_entry):  Remove confusing comment.
6337 Tue Mar 23 00:01:23 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
6339         * Makefile.in: add installcheck target
6341 Mon Mar 22 16:17:58 1993  Fred Fish  (fnf@cygnus.com)
6343         * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
6344         m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
6345         z8k}:  New directories to hold cpu specific configuration files.
6346         Naming follows gcc convention.
6347         * config/{*.mt, *.mh}:  All target and host makefile fragment
6348         config files moved to an appropriate config/<cpu> subdirectory.
6349         * nm-*, xm-*, tm-*:  All native, host, and target files, which
6350         get linked to nm.h, xm.h, and tm.h respectively by configure,
6351         moved to appropriate config/<cpu> subdirectory.
6352         * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
6353         Native, host, and target files that are common across more than
6354         one cpu architecture and included by one of the configured
6355         native, host, or target files, get moved to config directory.
6356         * Makefile.in (INCLUDE_CFLAGS):  Add -I${srcdir}/config to
6357         pick up native, host, or target include files moved to one of
6358         the config subdirectories, and that are included by other files.
6359         * Makefile.in (alldeps.mak):  Modify to account for new config
6360         directory structure.
6361         * alldeps.mak, depend:  Update for new config directory structure.
6362         * config/*/[ntx]m-*.h:  Modify all files that include other
6363         [ntx]m-*.h files to use path relative to gdb/config.  I.E.
6364         "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
6365         "tm-29k.h".
6366         * remote-eb.c (tm-29k.h):  Include a29k/tm-29k.h.
6367         * mipsread.c (tm-mips.h):  Include mips/tm-mips.h.
6368         * i860-pinsn.c (tm-i860.h):  Include i860/tm-i860.h.
6369         * configure.in:  Default gdb_host_cpu to host_cpu, and remap
6370         the ones where the default is not unique or different than the
6371         config subdirectory name.  Similarly, handle gdb_target_cpu.
6372         Modify configure.in as appropriate to make use of gdb_host_cpu
6373         and gdb_target_cpu to find makefile fragments and make links.
6375 Mon Mar 22 12:36:24 1993  Ian Lance Taylor  (ian@cygnus.com)
6377         * mipsread.c (compare_blocks): Sort blocks with the same start
6378         address by decreasing ending address.
6380 Mon Mar 22 20:36:04 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
6382         * mipsread.c (parse_procedure): Save cur_fdr accross call to
6383         lookup_symbol as it might get clobbered by the call.
6385         * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
6386         The previous code did not initialize the language field for the psymtab
6387         entry.
6389 Sat Mar 20 00:33:39 1993  John Gilmore  (gnu@cygnus.com)
6391         * c-exp.y (parse_number):  Avoid shift warning.
6392         * serial.h (struct ttystate):  Declare empty one on DOS.
6394 Fri Mar 19 12:59:50 1993  Stu Grossman  (grossman@cygnus.com)
6396         * xm-sun4os4.h:  Return type of free() should be void, not int.
6398         * vx-share/vxWorks.h:  Remove #def of NULL.
6400 Fri Mar 19 11:28:18 1993  Jim Kingdon  (kingdon@cygnus.com)
6402         * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM.
6404 Fri Mar 19 07:40:09 1993  Steve Chamberlain  (sac@cygnus.com)
6406         * z8k-tdep.c (print_insn): Include the new dis-asm header file.
6408 Thu Mar 18 14:26:57 1993  Per Bothner  (bothner@rtl.cygnus.com)
6410         * ieee-float.c: Moved to ../libiberty.
6411         * ieee-float.h: Moved to ../include.
6412         * Makefile.in:  Update accordingly.
6413         * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
6414         Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
6415         * m68k-tdep.c:  Removed definition of ext_format ext_format_68881;
6416         it is now in ../opcodes/m68881-ext.c.
6417         * mips-tdep.c (mips_skip_prologue):  Try to skip more of the
6418         prologue (some callers _do_ care).
6419         * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn):  Convert to
6420         new interface of ../opcodes/*-dis.c. 
6421         * ch-exp.y:  Add #include <ctype.h>.
6423 Thu Mar 18 11:57:49 1993  Jim Kingdon  (kingdon@cygnus.com)
6425         * xcoffexec.c (exec_close): Don't close exec_bfd twice.
6427         * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
6429 Wed Mar 17 09:46:31 1993  Jim Kingdon  (kingdon@cygnus.com)
6431         * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
6433 Wed Mar 17 11:28:11 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6435         * z8k-tdep.c (extract_return_value, write_return_value,
6436         store_struct_return): New functions from macros in tm-z8k.h.
6437         
6438 Wed Mar 17 11:23:06 1993  Fred Fish  (fnf@cygnus.com)
6440         * valops.c (value_arg_coerce):  Apply temporary patch to
6441         fix problem with coercion of array and function types when
6442         passed as arguments to C functions, pending a more complete
6443         review of when and how coercion should be done, depending
6444         upon context and language.
6446 Wed Mar 17 09:46:31 1993  Jim Kingdon  (kingdon@cygnus.com)
6448         * xcoffread.c (MIN_TBTABSIZ): Change to 12.
6450         * xcoffread.c (xcoff_symfile_read): Only read stringtab and
6451         debugsec if there are a non-zero number of symbols.
6453 Tue Mar 16 18:08:45 1993  John Gilmore  (gnu@cygnus.com)
6455         * command.c (show_user):  Avoid fprintf_filtered botch (AGAIN!).
6457 Tue Mar 16 15:18:17 1993  Jim Kingdon  (kingdon@cygnus.com)
6459         * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
6461         * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
6462         not just 50 symbols.
6463         (symtbl_num_syms): New variable.
6464         (read_xcoff_symtab): Set it.
6465         (read_symbol_nvalue): Check for bad symno.
6466         (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
6467         always symtbl.
6469 Tue Mar 16 10:09:05 1993  Stu Grossman  (grossman@cygnus.com)
6471         * config/rs6000.mh:  Get rid of -Dfd_set=int crock.
6472         This is defined in defs.h if necessary.
6473         * vx-share/vxWorks.h:  Remove #defs of min and max.
6474         * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
6475         vx-share/xdr_rdb.c:  include defs.h.
6477 Fri Mar 12 09:33:23 1993  Jim Kingdon  (kingdon@cygnus.com)
6479         * xcoffread.c (retrieve_tracebackinfo): Move assignment out
6480         of while condition.
6482         * xcoffread.c (enter_line_range): complain() on bad endoffset.
6483         xcoffread.c: Doc fixes.
6485 Tue Mar  9 09:56:12 1993  Jim Kingdon  (kingdon@cygnus.com)
6487         * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
6488         xcoffexec.c (xcoff_relocate_core): New function.
6489         (text_adjustment): Removed.
6490         (add_vmap): Return the vmap.
6491         rs6000-tdep.c (add_text_to_loadinfo): No longer static.
6493 Fri Mar  5 05:22:46 1993  Jim Kingdon  (kingdon@cygnus.com)
6495         * xcoffsolib.h: Add objfile member to struct vmap.
6496         xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
6497         xcoffexec.c (add_vmap): Allocate objfiles here.
6499 Sun Mar 14 02:54:15 1993  John Gilmore  (gnu@cygnus.com)
6501         Support 68000 series without floating point.
6503         * configure.in (m68000-*-{aout,elf,coff}):  New configs.
6504         * tm-68k-nofp.h:  New file, lacks 68881 support.
6505         * config/m68k-nofp.mt:  New file.
6507 Sun Mar 14 02:30:08 1993  John Gilmore  (gnu@cygnus.com)
6509         Remove a few remaining underscore/no-underscore remnants from
6510         config files.
6512         * config/{m68k-un.mt, sparc-un.mt}:  Remove.
6513         * config/m68k-noun.mt: Rename to m68k-fp.mt.
6514         * config/sparc-noun.mt: Rename to sparc-em.mt.
6515         * tm-68k-noun.h, tm-spc-noun.h:  Remove.
6516         * tm-68k-un.h:  Rename to tm-68k-fp.h.
6517         * tm-spc-un.h:  Rename to tm-spc-em.h.
6518         * tm-sun4sol2.h: Cleanup.
6519         * configure.in (m68k-*, sparc-* targets):  Corresponding changes.
6521 Sat Mar 13 14:58:22 1993  John Gilmore  (gnu@cygnus.com)
6523         * symmisc.c (std_in, std_out, std_err):  Move initializations
6524         to runtime code, in case they aren't constant.
6526 Fri Mar 12 16:23:54 1993  K. Richard Pixley  (rich@cygnus.com)
6528         * symtab.c (find_pc_symtab): some object file formats, notably
6529           mips, have holes in the address ranges of symtabs.  Change
6530           this algorithm from first hit to tightest fit.
6532         * mips-tdep.c (heuristic_proc_start): if we walk the pc into the
6533           fence post without finding the enclosing function, then print a
6534           warning.
6536 Thu Mar 11 09:33:01 1993  Fred Fish  (fnf@cygnus.com)
6538         * utils.c (fputs_demangled, fprint_symbol):  Remove.
6539         * utils.c (fprintf_symbol_filtered):  New function which combines
6540         the functionality of fputs_demangled and fprint_symbol.  Uses a
6541         caller provided language parameter to select the appropriate 
6542         demangler, and caller provided args to pass to the demangler.
6543         * defs.h (enum language):  Move further up in file so enum can
6544         be used in prototypes.
6545         * defs.h (fputs_demangled, fprint_symbol):  Remove prototypes.
6546         * defs.h (fprintf_symbol_filtered):  Add prototype.
6547         * c-typeprint.c (cp_type_print_method_args):  Replace calls to
6548         fputs_demangled with call to fprintf_symbol_filtered.
6549         * cp-valprint.c (demangle.h):  Include
6550         * cp-valprint.c (cp_print_value_fields):  Replace calls to
6551         fprint_symbol with calls to fprintf_symbol_filtered.
6552         * printcmd.c (print_frame_args):  Replace call to fprint_symbol
6553         with call to fprintf_symbol_filtered.
6554         * stack.c (print_frame_info):  Remove obsolete code so we don't
6555         have to update fputs_demangled usage in it.
6556         * stack.c (print_frame_info, frame_info):  Add language variable
6557         to pass to fprintf_symbol_demangled and initialize it from the
6558         symbol's language.  Replace calls to fputs_demangled with calls
6559         to fprintf_symbol_filtered.
6560         * symtab.c (find_methods):  Replace call to fputs_demangled with
6561         call to fprintf_symbol_filtered.
6562         * ch-valprint.c (demangle.h):  Include.
6563         * ch-valprint.c (chill_print_value_fields):  Replace call to
6564         fprint_symbol with call to new fprintf_symbol_filtered.
6566 Wed Mar 10 17:37:11 1993  Fred Fish  (fnf@cygnus.com)
6568         * Makefile.in (VERSION):  Bump version to 4.8.2.
6570         * main.c (source_command):  Require an explicit pathname of file
6571         to source, since previous behavior of defaulting to gdb init file
6572         was troublesome and undocumented.
6573         * printcmd.c (disassemble_command):  Add missing '{}' pair to
6574         else with two statements.  Bug reported by Stephane Tsacas
6575         <slt@isoft.fr>.
6576         * symtab.c (find_pc_line):  Don't complain about zero length or
6577         negative length line numbers for the moment, since we may not own
6578         the terminal when called, such as when single stepping.  (FIXME)
6579         * language.h (CAST_IS_CONVERSION):  True if current language is
6580         C++ as well as C.  Fix from Peter Schauer.
6581         * environ.c (get_in_environ, set_in_environ, unset_in_environ):
6582         Use STREQN macro rather than bare '!strncmp()'.
6583         * environ.c (unset_in_environ):  Avoid use of memcpy on
6584         overlapping memory regions, as suggested by Paul Eggert
6585         <eggert@twinsun.com>.
6586         * c-exp.y (%union struct):  Remove unused ulval as suggested
6587         by Paul Eggert <eggert@twinsun.com>.
6589 Mon Mar  8 19:03:06 1993  Fred Fish  (fnf@cygnus.com)
6591         * main.c (gdbinit):  Make static.
6592         * main.c (inhibit_gdbinit):  Move to file scope.
6593         * main.c (main):  Remove local inhibit_gdbinit.
6594         * main.c (source_command):  Don't source '.gdbinit' file by
6595         default if gdb has been told to ignore it.
6597 Sun Mar  7 21:58:53 1993  Ian Lance Taylor  (ian@cygnus.com)
6599         * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
6600         3.63.
6602 Fri Mar  5 17:39:45 1993  John Gilmore  (gnu@cacophony.cygnus.com)
6604         * printcmd.c (print_address_symbolic):  Only print if offset
6605         is shorter than max_symbolic_offset.
6606         (initialize_printcmd):  `set print max-symbolic-offset'.
6608         * am29k-tdep.c (TAGWORD_ZERO_MASK):  New #define.
6609         (examine_tag):  Use it.
6610         (read_register_stack):  Only look in the local registers for a
6611         memory address if it's between rfb and rsp; go to memory otherwise.
6612         (initialize_29k):  Fix call_scratch_address doc.  Remove reginv_com.
6613         (reginv_com):  Remove ancient kludge command.
6615 Fri Mar  5 17:16:26 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
6617         * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
6618           irix4 will again compile.
6620         * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
6622         * configure.in: accept mips-sgi-irix4* for irix4.
6624 Fri Mar  5 07:49:48 1993  Steve Chamberlain  (sac@lisa.cygnus.com)
6626         * z8k-tdep.c (print_register_hook): Lint.
6628 Thu Mar  4 17:42:03 1993  John Gilmore  (gnu@cygnus.com)
6630         Lint fixes from Paul Eggert (eggert@twinsun.com):
6632         * command.c (do_setshow_command):  var_uintegers are unsigned.
6633         * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes): 
6634         unsigned, since they use hex values with the high bit set.
6636 Thu Mar  4 08:22:55 1993  Fred Fish  (fnf@cygnus.com)
6638         Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
6639         * m88k-pinsn.c (sprint_address):  Use SYMBOL_NAME macro to
6640         access symbol name.  
6641         * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET):  Enclose
6642         macro definitions in parenthesis.
6644         * dbxread.c (dbx_symfile_init):  Catch the case where there is
6645         no string table, but the only way we find out is by reading zero
6646         bytes from EOF.
6648 Wed Mar  3 15:51:28 1993  Fred Fish  (fnf@cygnus.com)
6650         * dbxread.c (dbx_symfile_init):  Make size of the string table
6651         size field a define (DBX_STRINGTAB_SIZE_SIZE).  Ensure that the
6652         offset to the string table is nonzero and handle the nonexistant
6653         string table case, should it occur.  Ensure that the string table
6654         size read from the file is reasonable, with a minimum lower bound
6655         of DBX_STRINGTAB_SIZE_SIZE instead of zero.
6657 Wed Mar  3 07:23:03 1993  Ian Lance Taylor  (ian@cygnus.com)
6659         * Makefile.in: Changes to build testsuite correctly.
6660         (FLAGS_TO_PASS): Added CXX and CXXFLAGS.
6661         (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
6662         (TARGET_FLAGS_TO_PASS): New variable.
6663         (SUBDIRS): Added testsuite.
6664         (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
6665         testsuite is compiled with CC_FOR_TARGET rather than CC.
6667 Tue Mar  2 17:57:56 1993  Fred Fish  (fnf@cygnus.com)
6669         * dbxread.c (dbx_symfile_init):  Fix for nonexistant string table,
6670         reported by mycroft@gnu.ai.mit.edu.
6672         (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
6673         * configure.in (vax-*-ultrix2*):  New triplet.
6674         * config/vaxult2.mh:  New file.
6675         * xm-vaxult2.h:  New file.
6677         * c-exp.y (parse_number):  Change high_bit to unsigned.
6678         * demangle.c:  Change all references to cfront to ARM, since the
6679         actual algorithm is the one specified in the Annotated Reference
6680         Manual.  This was confusing users into thinking that full cfront
6681         support was implemented.
6682         * dwarfread.c (CFRONT_PRODUCER):  Remove, was never really used.
6683         * eval.c (evaluate_subexp):  For STRUCTOP_PTR pass the arg type
6684         directly to lookup_struct_elt_type, which will do the
6685         dereferencing itself.
6686         * gdbtypes.c (lookup_struct_elt_type):  Expand comments.  Fix
6687         NULL dereferencing bug for unnamed structs, comment out
6688         questionable code.
6689         
6690 Mon Mar  1 17:54:41 1993  John Gilmore  (gnu@cygnus.com)
6692         * coffread.c (process_coff_symbol):  Change PCC argument correction
6693         so that it only happens on big-endian targets; so that it only
6694         happens if the short or char argument is aligned on an int
6695         boundary; and so that it changes the location, rather than the
6696         type, of the argument.  These changes tend to parallel similar
6697         (old) changes in stabsread.c.
6699         * coffread.c (coff_read_enum_type):  Use the specified size for
6700         enums, don't assume that they are int-sized.
6702         * c-valprint.c (c_val_print):  Don't assume enums are the same as
6703         ints.
6705         * coredep.c:  Handle NO_PTRACE_H in coredep.c.  Fix by Michael
6706         Rendell, <michael@mercury.cs.mun.ca>.
6708 Mon Mar  1 09:25:57 1993  Fred Fish  (fnf@cygnus.com)
6710         * language.h (local_decimal_format_custom):  Add prototype.
6711         * language.c (local_decimal_format_custom):  Add function, bug
6712         reported by Robert R. Henry (rrh@tera.com).
6714 Fri Feb 26 18:33:18 1993  John Gilmore  (gnu@cacophony.cygnus.com)
6716         * xcoffexec.c (vmap_ldinfo):  Fix "/" for '/' typo, reported
6717         by Josef Leherbauer, joe@takeFive.co.at.
6719 Wed Feb 24 19:17:11 1993  John Gilmore  (gnu@cacophony.cygnus.com)
6721         * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h,
6722         tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h,
6723         tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h,
6724         tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h,
6725         tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h,
6726         tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h,
6727         tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h,
6728         tm-vx68.h, tm-z8k.h:  Remove remnants of NAMES_HAVE_UNDERSCORE.
6730 Wed Feb 24 07:41:15 1993  Fred Fish  (fnf@cygnus.com)
6732         * symtab.h (SYMBOL_INIT_DEMANGLED_NAME):  Initialize contents
6733         of demangled name fields to NULL if no demangling exists for
6734         a symbol.  SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
6735         symbols if their language is known at the time they are created,
6736         but sometimes the language is not known until later.
6738         * ch-typeprint.c (chill_print_type_base):  Name changed to
6739         chill_type_print_base to match pattern for C and C++ names.
6740         * ch-typeprint.c (chill_print_type):  Change "char" to "CHAR"
6741         to be consistent with other usages.
6742         * ch-typeprint.c (chill_type_print_base):  Add support for
6743         printing Chill STRUCT types.
6744         * ch-valprint.c:  Include values.h.
6745         * ch-valprint.c (chill_print_value_fields):  New function and
6746         prototype for printing Chill STRUCT values.
6747         * ch-valprint.c (chill_val_print):  Fix call to val_print_string
6748         that was being called with two args instead of three.
6749         * ch-valprint.c (chill_val_print):  Call chill_print_value_fields
6750         to print Chill STRUCT values.
6752 Tue Feb 23 18:58:11 1993  Mike Werner  (mtw@poseidon.cygnus.com)
6754         * configure.in: added testsuite to configdirs.
6756 Tue Feb 23 11:46:11 1993  Mike Stump  (mrs@cygnus.com)
6758         * doc/stabs.texi: The `this' pointer is now known by the name
6759         `this' instead of `$t'.
6761 Tue Feb 23 11:21:33 1993  Fred Fish  (fnf@cygnus.com)
6763         * dwarfread.c (read_tag_string_type):  Rewrite to allow forward
6764         references of TAG_string_type DIEs in user defined types.
6765         * ch-lang.c (chill_create_fundamental_type):  Track compiler
6766         change that now emits debugging info with the type long for Chill
6767         longs.
6769 Mon Feb 22 15:21:54 1993  Ian Lance Taylor  (ian@cygnus.com)
6771         * remote-mips.c: New file; implements MIPS remote debugging
6772         protocol.
6773         * config/idt.mt: New file; uses remote-mips.c
6774         * configure.in (mips-idt-ecoff): New target; uses idt.mt.
6776         * mips-tdep.c (mips_fpu): New variable; controls use of MIPS
6777         floating point coprocessor.
6778         (mips_push_dummy_frame): If not mips_fpu, don't save floating
6779         point registers.
6780         (mips_pop_frame): If not mips_fpu, don't restore floating point
6781         registers.
6782         (_initialize_mips_tdep): New function; let the user reset mips_fpu
6783         variable.
6784         * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
6785         mips_fpu, don't use fp0 as floating point return register.
6786         (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
6787         registers.
6789 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
6791         * gdb/testsuite: made modifications to testcases, etc., to allow
6792         them to work properly  given the reorganization of deja-gnu and the
6793         relocation of the testcases from deja-gnu to a "tool" subdirectory.
6795 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
6797         * gdb/testsuite: Initial creation of gdb/testsuite.
6798         Migrated dejagnu testcases and support files for testing nm to
6799         gdb/testsuite from deja-gnu.  These files were moved "as is"
6800         with no modifications.  This migration is part of a major overhaul
6801         of dejagnu.  The modifications to these testcases, etc., which
6802         will allow them to work with the new version of dejagnu will be
6803         made in a future update.
6805 Fri Feb 19 18:36:55 1993  John Gilmore  (gnu@cygnus.com)
6807         * NEWS:  Add reminders for next release.
6809 Fri Feb 19 10:01:39 1993  Ian Lance Taylor  (ian@cygnus.com)
6811         * mipsread.c (parse_lines): Correct check for files compiled with
6812         -g1.
6814 Fri Feb 19 05:56:15 1993  John Gilmore  (gnu@cygnus.com)
6816         * Makefile.in (VERSION):  4.8.1 to distinguish local versions.
6818 Fri Feb 19 01:32:58 1993  John Gilmore  (gnu@cygnus.com)
6820         * Makefile.in (VERSION):  GDB-4.8 release!
6821         * README, NEWS:  Update for release.
6823 Thu Feb 18 22:44:40 1993  Stu Grossman  (grossman@cygnus.com)
6825         * am29k-pinsn.c (print_insn):  Minor nits with const.
6826         * am29k-tdep.c:  More minor nits with arg types for
6827         supply_register, NULL vs. 0, read_register_gen, & reginv_com.
6829 Thu Feb 18 22:38:03 1993  John Gilmore  (gnu@cygnus.com)
6831         * gcc.patch:  Update for a different GCC (G++) bug.
6832         * main.c (print_gdb_version):  Update copyright year to 1993.
6833         * nm-hp300bsd.h:  Decide whether this is BSD 4.3 or 4.4,
6834         conditionalize this file on it.  FIXME, right way is to split
6835         these into two config files.  
6836         (ATTACH_DETACH):  Define for BSD 4.4
6837         (PTRACE_ARG_TYPE):  caddr_t for BSD 4.4, unset for 4.3.
6838         (U_REGS_OFFSET):  Revise for 4.4.
6839         (REGISTER_U_ADDR):  Separate for 4.4, but it doesn't work yet.
6840         * xm-hp300bsd.h:  Move definitions of UINT_MAX, INT_MAX, INT_MIN,
6841         LONG_MAX into this file to avoid cpp "redefinition" warnings.
6843 Thu Feb 18 16:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
6845         * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not
6846           caddr_t.
6848 Thu Feb 18 04:10:06 1993  John Gilmore  (gnu@cygnus.com)
6850         * c-lang.c (c_printstr):  Bugfix for length==0 case.
6852         * c-lang.c (c_printstr):  If a C string ends in a null, don't
6853         print the null.
6855 Thu Feb 18 02:39:21 1993  Stu Grossman  (grossman at cygnus.com)
6857         * defs.h (STRCMP):  Make it work for unsigned chars.
6859 Thu Feb 18 01:56:06 1993  John Gilmore  (gnu@cygnus.com)
6861         * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
6862         * config/hp300bsd.mh (REGEX, REGEX1):  Define.
6863         * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART):  #if __GNUC__,
6864         define to kludge the large opcode table into two smaller tables,
6865         since GCC take exponential space to build the table.  Lint.
6866         (NOPCODES):  Remove, use "numopcodes" from opcode/m68k.h instead.
6868 Wed Feb 17 19:24:40 1993  John Gilmore  (gnu@cygnus.com)
6870         * Makefile.in (VERSION):  Roll to 4.7.9.
6871         * xm-hp300bsd.h:  Define PSIGNAL_IN_SIGNAL_H and put a compatible
6872         definition here, to handle both BSD 4.3 and 4.4 systems.
6873         * mipsread.c (ZMAGIC):  #undef to avoid duplicate define.
6874         * remote.c (alarm):  Move declaration to global level, before 
6875         first reference to it.
6876         * tm-i386bsd.h (NUM_REGS):  There are only eleven, not twelve.
6877         * dbxread.c (process_one_symbol):  Cast to unsigned char, not int.
6879 Wed Feb 17 13:40:29 1993  K. Richard Pixley  (rich@cygnus.com)
6881         * remote.c (readchar): forward declare alarm which otherwise looks
6882           like an undeclared variable to gcc.
6884         * dbxread.c (process_one_symbol): cast enum value N_SO into int
6885           when comparing against an int.  Avoids superfluous warning from
6886           vax ultrix 4.2 cc.
6888         * inflow.c (set_sigint_trap): add cast to assignment from signal.
6889           Avoids superfluous warnings from some systems and/or compilers
6890           (like vax ultrix 4.2.)
6892         * language.c (struct op_print unk_op_print_tab): use the enum
6893           values rather naked zeros as initializers.  Avoids warnings from
6894           ultrix type compilers.
6896 Tue Feb 16 00:53:20 1993  John Gilmore  (gnu@cygnus.com)
6898         * Makefile.in (VERSION):  Roll to 4.7.6.
6899         (SFILES_SUBDIR):  Add 29k-share/udi_soc.
6900         (SFILES_SUBSUBDIR):  Move 29k-share/udi files to this macro.
6901         (alldeps.mak):  Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
6902         (ALLDEPFILES_SUBSUBDIR):  Depend on this for deeper dep files.
6903         (HFILES):  Remove all nm-* except nm-trash.h.  Add ns32k-opcode.h.
6904         (depend):  Fix bug where nm-files in config files weren't noticed.
6905         (make-proto-gdb-1):  Avoid changing directories while building new
6906         prototype.  Build SFILES_SUBSUBDIR with longer symlinks.
6908 Mon Feb 15 20:48:09 1993  John Gilmore  (gnu@cygnus.com)
6910         * remote.c:  Improve error recovery.  Allow user to break out
6911         of initial connection attempt with INTERRUPT.  Treat a timeout
6912         while waiting for remote packet like a retry, unless the remote
6913         side is actively running user code.  Fix a few long printf_filtered's.
6915         * xcoffread.c (read_xcoff_symtab):  Don't use null symbol name for
6916         trampoline symbols.
6918         * buildsym.c (start_subfile):  Allow null file name.
6920 Fri Feb 12 15:46:49 1993  K. Richard Pixley  (rich@cygnus.com)
6922         * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
6923           expects a pointer to complaint rather than a complaint
6924           structure.
6925           (process_linenos): free the previously allocated subfile name,
6926           then allocate the new one from the heap.
6928 Fri Feb 12 08:06:05 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6930         * h8300-tdep.c, tm-h8300.h: turn off some experimental features
6932 Thu Feb 11 00:59:07 1993  John Gilmore  (gnu@cygnus.com)
6934         * stabsread.c (dbx_lookup_type):  Handle negative type numbers.
6935         Previously, would bogusly index off the bottom of type_vector.
6936         (rs6000_builtin_type):  Accept type number as argument.
6937         (read_type, case '-'):  Handle negatives like any other type number.
6939         * symfile.c (deduce_language_from_filename):  Handle null name.
6941         * mips-tdep.c (isa_NAN):  Fix byte order dependency.
6942         Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
6943         fixed by sato@sm.sony.co.jp.
6945         * xcoffread.c (parmsym):  Don't use an initializer to set up
6946         this struct symbol.  Set it up in initialize_xcoffread.
6947         (read_xcoff_symtab, xcoff_symfile_read):  Surround code that only
6948         works on real rs/6000 target with #ifndef FAKING_RS6000.
6950 Wed Feb 10 23:42:37 1993  John Gilmore  (gnu@cygnus.com)
6952         * stabsread.c (rs6000_builtin_type):  Move function from
6953         xcoffread.c:builtin_type.
6954         * xcoffread.c (builtin_type):  Move to stabsread.  Remove
6955         IBM6000_HOST dependency.  Move misplaced comments.
6956         (various):  Change printf's to complaints.
6957         (patch_block_stabs, process_xcoff_symbol case C_DECL):  Add
6958         objfile argument to read_type calls under #if 0.
6959         (process_xcoff_symbol case C_RSYM):  Fix typo in #ifdef.
6960         * xcoffexec.c (map_vmap):  Don't allocate an objfile for the exec_file.
6961         * Makefile.in:  xcoffread.o is not built by default.
6962         * xm-rs6000.h (IBM6000_HOST):  Remove.
6963         * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
6964         * doc/gdbint.texinfo:  Eliminate IBM6000_HOST, document
6965         IBM6000_TARGET.
6967 Wed Feb 10 18:31:20 1993  Stu Grossman  (grossman at cygnus.com)
6969         * findvar.c (read_var_value):  If REG_STRUCT_HAS_ADDR, then set
6970         VALUE_LVAL to be lval_memory so that we don't try to modify wild
6971         register numbers when user tries to modify elements in structs
6972         passed as arguments.
6973         * inflow.c (child_terminal_info):  Move banner outside of system
6974         specific #ifdefs.
6975         * tm-hppa.h (REG_STRUCT_HAS_ADDR):  Define this for HPPA, which
6976         passes struct/union arguments by address.
6978 Wed Feb 10 15:34:46 1993  Ian Lance Taylor  (ian@cygnus.com)
6980         * Based on patch from Kean Johnston <maw@netcom.com>:
6981         * nm-i386sco4.h: New file.  Like nm-i386sco.h, but define
6982         ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
6983         * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
6985 Tue Feb  9 20:07:18 1993  John Gilmore  (gnu@cygnus.com)
6987         * remote-udi.c (FREEZE_MODE):  Fix && for & typo.  Found and
6988         fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
6990 Tue Feb  9 08:18:07 1993  Ian Lance Taylor  (ian@cygnus.com)
6992         * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
6993         cc debugging output.
6995 Tue Feb  9 00:19:28 1993  John Gilmore  (gnu@cygnus.com)
6997         * stabsread.c (define_symbol):  Complain about unrecognized names
6998         that begin with CPLUS_MARKER (often '$'), but don't die.  Fix
6999         suggested by gb@cs.purdue.edu (Gerald Baumgartner).
7000         (read_cpp_abbrev):  Don't use the class name as part of the
7001         vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
7002         abbrevs.  Inspired by Mike Tiemann.
7003         (read_tilde_fields):  Comment.  Remove ancient dead code.
7004         Remove erroneous but non-dead code.  Simplify.  Add complaints.
7005         (in general):  Remove extraneous (parentheses) in return
7006         statements.
7008 Fri Feb  5 14:01:22 1993  John Gilmore  (gnu@cygnus.com)
7010         * coffread.c (coff_lookup_type):  Fix fencepost error reported
7011         by Art Berggreen, <arg@opal.acc.com>.
7013         Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
7014         <Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>:
7015           
7016         * coffread.c (getfilename):  Eliminate COFF_NO_LONG_FILE_NAMES
7017         test, which is apparently left over from when we used native
7018         include files and couldn't depend on the member names being there.
7019         * tm-3b1.h, tm-altos.h, tm-i386v.h:  Don't set it.
7021 Thu Feb  4 12:23:15 1993  Ian Lance Taylor  (ian@cygnus.com)
7023         * mipsread.c: Major overhaul to use new BFD symbol table reading
7024         routines.  Now swaps information as it is needed, rather than
7025         swapping everything when the file is read.
7027 Thu Feb  4 01:52:36 1993  John Gilmore  (gnu@cygnus.com)
7029         * Makefile.in (TARDIRS):  Add sparclite demo dir.
7030         (*.tab.c):  Change dependency on Makefile to depend on
7031         Makefile.in, otherwise it always rebuilds after configuring.
7032         Force output *.tab.c file into current directory even in "make"
7033         versions that rewrite dependent file names used in command lines.
7035         * TODO:  Remove some things we did.
7036         * am29k-opcode.h, convx-opcode:  Remove; now in ../include/opcode.
7037         * os68k-xdep.c:  Remove; useless file (os68k is a target only).
7038         * convex-pinsn.c:  Use ../include/opcode/convex.h.  Add CONST.
7039         * symtab.h:  Eliminate unnamed unions and structs.
7041 Wed Feb  3 14:48:08 1993  John Gilmore  (gnu@cygnus.com)
7043         * Makefile.in (VERSION):  Roll to 4.7.5.
7045 Tue Feb  2 20:47:42 1993  John Gilmore  (gnu@cygnus.com)
7047         * breakpoint.c (breakpoint_re_set_one):  Handle watchpoints when
7048         re-evaluating symbol pointers.
7050 Tue Feb  2 16:10:31 1993  Fred Fish  (fnf@cygnus.com)
7052         * c-exp.y (lcurly, rcurly):  New nonterminals.
7053         * c-exp.y (exp):  Use lcurly and rcurly for arrays and UNOP_MEMVAL
7054         constructs.
7055         * parse.c (free_funcalls):  Moved prototype from parser-defs.h,
7056         made function static.
7057         * parse.c (struct funcall):  Moved struct def from parser-defs.h.
7058         * parse.c (funcall_chain):  Moved from parser-defs.h, made static.
7059         * parse.c (start_arglist):  
7060         * parser-defs.h (free_funcalls):  Moved prototype to parse.c.
7061         * parser-defs.h (struct funcall):  Moved struct def to parse.c.
7062         * parser-defs.h (funcall_chain):  Moved to parse.c.
7063         * printcmd.c (print_frame_nameless_args): Fix prototype.
7064         * tm-mips.h (setup_arbitrary_frame):  Fix prototype.
7065         * tm-sparc.h (setup_arbitrary_frame):  Fix prototype.
7066         * valops.c (typecmp):  Moved prototype from values.h.
7067         * value.h (typecmp):  Moved prototype to valops.c, made static.
7068         * ch-exp.y (yylex):  Change way control sequences are disabled.
7069         
7070 Tue Feb  2 16:11:43 1993  John Gilmore  (gnu@cygnus.com)
7072         * tm-mips.h, tm-sparc.h:  Fix thinko in SETUP_ARBITRARY_FRAME.
7074 Tue Feb  2 15:30:33 1993  Ian Lance Taylor  (ian@cygnus.com)
7076         * mipsread.c (upgrade_type): Build array types correctly, using
7077         create_range_type and create_array_type.
7079 Tue Feb  2 00:19:08 1993  John Gilmore  (gnu@cygnus.com)
7081         * remote-nindy.c:  Cleanup.
7083         * infrun.c (wait_for_inferior):  When rolling back the PC after
7084         a breakpoint, call write_pc so that NPC gets rolled back as well
7085         (for the 29K).
7087         * blockframe.c (inside_entry_file, inside_main_func,
7088         inside_entry_func):  PC of zero is always "bottom of stack".
7090         * printcmd.c (print_frame_args, print_frame_nameless_args):
7091         Let print_frame_nameless_args decide whether there are any,
7092         laying groundwork for possibly later printing 29K args for
7093         functions where we have tag words but no symbols.       
7095 Mon Feb  1 18:09:58 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
7097         * Makefile.in: fix GDB doc targets for new doc subdir structure
7099 Mon Feb  1 17:56:47 1993  John Gilmore  (gnu@cygnus.com)
7101         * stack.c (parse_frame_specification):  Parse as many arguments
7102         as there are (up to MAXARGS).  Pass all of them in argc, argv
7103         format to SETUP_ARBITRARY_FRAME.  Put the burden of checking how
7104         many there were, onto SETUP_ARBITRARY_FRAME.
7105         * tm-mips.h, tm-sparc.h:  Corresponding changes.
7106         * mips-tdep.c, sparc-tdep.c:  Ditto.
7108 Mon Feb  1 17:19:37 1993  John Gilmore  (gnu@cygnus.com)
7110         * hp300ux-nat.c:  Update copyrights.
7111         * mipsread.c (parse_partial_symbols):  Complain about block
7112         indexes that go backwards.  Fix from Peter Schauer.
7113         * symfile.c (syms_from_objfile, symbol_file_add):  Allow a
7114         symbol-file that has no linkage symbols to be read.
7115         * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends):  Move
7116         from tm- file to xm-file, since they're host dependent.
7117         * valarith.c (value_binop):  Typo.
7119 Mon Feb  1 16:16:59 1993  Stu Grossman  (grossman at cygnus.com)
7121         * sparclite/aload.c:  Add copyleft.
7122         * sparclite/crt0.s:  Add comment at beginning.
7124 Mon Feb  1 14:36:11 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7126         * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
7127         * parse.c (std_regs): Only declare if NO_STD_REGS is defined.
7129 Sun Jan 31 04:32:48 1993  Michael Tiemann  (tiemann@rtl.cygnus.com)
7131         * values.c (value_headof): Fix typo in which VTBL and ARG were
7132         being confused for one another.
7134         * valops.c (typecmp): Now static.
7136         * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
7137         baseclass--we don't always inherit its virtual function table
7138         pointer.
7140         * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
7141         pointer correctly in case value_struct_elt moves it around.
7143         * valops.c (typecmp): Now static.  Also, now groks references
7144         better.
7146         * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
7147         zero on recursive call.  If NAME is the name of TYPE, return TYPE.
7149 Sat Jan 30 19:55:52 1993  John Gilmore  (gnu@cygnus.com)
7151         * hppah-nat.c:  Eliminate <sys/user.h> and other unnecessary stuff,
7152         to avoid "too much defining" error from native C compiler (!).
7154         * Makefile.in (HFILES):  Add typeprint.h.
7155         * typeprint.[ch]:  Update copyrights.
7157 Thu Jan 28 19:09:02 1993  John Gilmore  (gnu@cygnus.com)
7159         * Makefile.in:  Update to match doc/ subdir changes.
7161         * config/hp300hpux.mh:  No cross-host file needed, just native.
7162         * config/go32.mh:  Remove nonexistent "native" support.
7164         M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
7165         * tm-m88k.h (REGISTER_CONVERT_TO_RAW):  Fix typo.
7166         * m88k-tdep.c (next_insn):  Lint, cleanup.
7167         (store_parm_word):  Lint.
7169         * README:  Fix typo (reported by karl@hq.ileaf.com).
7171 Wed Jan 27 21:34:21 1993  Fred Fish  (fnf@cygnus.com)
7173         * expression.h (BINOP_CONCAT): Document use for self concatenation
7174         an integral number of times.
7175         * language.c (binop_type_check):  Extend BINOP_CONCAT for self
7176         concatenation case.
7177         * valarith.c (value_concat):  Rewrite to support self
7178         concatenation an integral number of times.
7179         * Makefile.in (ch-exp.tab.c):  Change "expect" message.
7180         * ch-exp.y (FIXME's):  Make all FIXME tokens distinct, to
7181         eliminate hundreds of spurious shift/reduce and reduce/reduce
7182         conflicts that mask the 5 real ones.
7183         * ch-exp.y (STRING, CONSTANT, SC):  Remove unused tokens.
7184         * ch-exp.y (integer_literal_expression):  Remove production,
7185         no longer used.
7187 Thu Jan 21 09:58:36 1993  Fred Fish  (fnf@cygnus.com)
7189         * eval.c (evaluate_subexp):  Fix OP_ARRAY, remove code that
7190         implied that "no side effects" was nonfunctional.
7191         * eval.c (evaluate_subexp):  Add BINOP_CONCAT case to deal with
7192         character string and bitstring concatenation.
7193         * expprint.c (dump_expression):  Add case for BINOP_CONCAT.
7194         * expression.h (exp_opcode):  Add BINOP_CONCAT.
7195         * gdbtypes.h (type_code):  Add TYPE_CODE_BITSTRING.
7196         * language.c (string_type):  Add function to determine if a type
7197         is a string type.
7198         * language.c (binop_type_check):  Add case for BINOP_CONCAT.
7199         * valarith.c (value_concat):  New function to concatenate two
7200         values, such as character strings or bitstrings.
7201         * valops.c (value_string):  Remove error stub and implement
7202         function body.
7203         * value.h (value_concat):  Add prototype.
7204         * ch-exp.y (operand_3):  Add actions for SLASH_SLASH (//).
7205         * ch-exp.y (yylex):  Recognize SLASH_SLASH.
7206         * ch-lang.c (chill_op_print_tab):  Add SLASH_SLASH (//) as
7207         BINOP_CONCAT.
7209 Tue Jan 19 14:26:15 1993  Fred Fish  (fnf@cygnus.com)
7211         * c-exp.y (exp):  Add production to support direct creation
7212         of array constants using the obvious syntax.
7213         * c-valprint.c (c_val_print):  Set printed string length.
7214         * dwarfread.c (read_tag_string_type):  New prototype and
7215         function that handles TAG_string_type DIEs.
7216         * dwarfread.c (process_dies):  Add case for TAG_string_type
7217         that calls new read_tag_string_type function.
7218         * expprint.c (print_subexp):  Add support for OP_ARRAY.
7219         * gdbtypes.c (create_range_type, create_array_type):  Inherit
7220         objfile from the index type.
7221         * ch-typeprint.c (chill_print_type):  Add case for
7222         TYPE_CODE_STRING.
7223         * ch-valprint.c (chill_val_print):  Fix case for
7224         TYPE_CODE_STRING.
7226 Mon Jan 18 11:58:45 1993  Ian Lance Taylor  (ian@cygnus.com)
7228         * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
7229         MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
7230         include/coff/mips.h.
7232 Fri Jan 15 20:26:50 1993  Fred Fish  (fnf@cygnus.com)
7234         * c-exp.y (exp:STRING):  Convert C strings into array-of-char
7235         constants with an explicit null byte terminator.  OP_STRING is
7236         now used for real string types.
7237         * c-lang.c (builtin_type_*):  Move declarations to lang.c since
7238         they are used by all languages.
7239         * c-lang.c (_initialize_c_language):  Move initializations of 
7240         builtin_type_* to lang.c.
7241         * c-typeprint.c (c_type_print_varspec_prefix,
7242         c_type_print_varspec_suffix):  TYPE_CODE_PASCAL_ARRAY renamed
7243         to TYPE_CODE_STRING.
7244         * c-valprint.c (c_val_print):  Change the way character arrays
7245         are printed as strings to be consistent with the way strings
7246         are printed when pointer-to-char types are dereferenced.
7247         Remove test of print_max before calling val_print_string, which
7248         now does it's own test.
7249         * eval.c (evaluate_subexp):  Add case for OP_ARRAY.
7250         * expprint.c (print_subexp, dump_expression):  Add case for OP_ARRAY.
7251         * expression.h (enum exp_opcode):  Add OP_ARRAY and document.
7252         * gdbtypes.c (builtin_type_*):  Add declarations moved from
7253         c-lang.c.
7254         * gdbtypes.c (create_string_type):  New function to create real
7255         string types.
7256         * gdbtypes.c (recursive_dump_type):  TYPE_CODE_PASCAL_ARRAY
7257         renamed to TYPE_CODE_STRING.
7258         * gdbtypes.c (_initialize_gdbtypes):  Add initializations of
7259         builtin_type_* types moved from c-lang.c.
7260         * gdbtypes.h (enum type_code):  TYPE_CODE_PASCAL_ARRAY renamed
7261         to TYPE_CODE_STRING.
7262         * gdbtypes.h (builtin_type_string):  Add extern declaration.
7263         * gdbtypes.h (create_string_type):  Add prototype.
7264         * m2-lang.c (m2_create_fundamental_type):  TYPE_CODE_PASCAL_ARRAY
7265         renamed to TYPE_CODE_STRING.
7266         * m88k-tdep.c (pushed_size):  TYPE_CODE_PASCAL_ARRAY renamed to
7267         TYPE_CODE_STRING.
7268         * mipsread.c (_initialize_mipsread):  TYPE_CODE_PASCAL_ARRAY
7269         renamed to TYPE_CODE_STRING.
7270         * parse.c (length_of_subexp, prefixify_subexp):  Add case for
7271         OP_ARRAY.
7272         * printcmd.c (print_formatted):  Recognize TYPE_CODE_STRING.
7273         * typeprint.c (print_type_scalar):  TYPE_CODE_PASCAL_ARRAY renamed
7274         to TYPE_CODE_STRING.
7275         * valops.c (allocate_space_in_inferior):  New function and
7276         prototype, using code ripped out of value_string.
7277         * valops.c (value_string):  Rewritten to use new function
7278         allocate_space_in_inferior, but temporarily disabled until some
7279         other support is in place.
7280         * valops.c (value_array):  New function to create array constants.
7281         * valprint.c (val_print_string):  Add comment to document use, 
7282         complete rewrite to fix several small buglets.
7283         * value.h (value_array):  Add prototype.
7284         * value.h (val_print_string):  Change prototype to match rewrite.
7285         * ch-valprint.c (chill_val_print):  Add case for TYPE_CODE_STRING.
7286         * ch-exp.y (match_character_literal):  Disable recognition of 
7287         control sequence form of character literals and document why.
7289 Thu Jan 14 15:48:12 1993  Stu Grossman  (grossman at cygnus.com)
7291         * nindy-share/nindy.c:  Add comments to #endif's to clarify
7292         grouping.
7294         * hppa-pinsn.c (print_insn):  Use read_memory_integer, instead of
7295         read_memory to get byte order right.
7296         * hppah-tdep.c (find_unwind_info):  Don't read in unwind info
7297         anymore.  This is done in paread.c now.  We expect unwind info
7298         to hang off of objfiles, and search all of the objfiles when until
7299         we find a match.
7300         * (skip_trampoline_code):  Cast arg to target_read_memory.
7301         * objfiles.h (struct objfile):  Add new field obj_private to hold
7302         per object file private data (unwind info in this case).
7303         * paread.c (read_unwind_info):  New routine to read unwind info
7304         for the objfile.  This data is hung off of obj_private.
7305         * tm-hppa.h:  Define struct obj_unwind_info, to hold pointers to
7306         the unwind info for this objfile.  Also define OBJ_UNWIND_INFO to
7307         make this easier to access.
7309 Wed Jan 13 20:49:59 1993  Fred Fish  (fnf@cygnus.com)
7311         * c-valprint.c (cp_print_class_member):  Add extern decl.
7312         * c-valprint.c (c_val_print):  Extract code for printing methods
7313         and move it to cp_print_class_method in cp-valprint.c.
7314         * c-valprint.c (c_val_print):  Extract code to print strings and
7315         move it to val_print_string in valprint.c.
7316         * cp-valprint.c (cp_print_class_method):  New function using
7317         code extracted from c_val_print.
7318         * valprint.c (val_print_string):  New function using code
7319         extracted from c_val_print.
7320         * value.h (val_print_string):  Add prototype.
7321         * ch-exp.y (CHARACTER_STRING_LITERAL):  Set correct token type.
7322         * ch-exp.y (literal):  Add action for CHARACTER_STRING_LITERAL.
7323         * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE,
7324         CHECKBUF, growbuf_by_size):  New variables, macros, and support
7325         functions for implementing a dynamically expandable temp buffer.
7326         * ch-exp.y (match_string_literal):  New lexer function.
7327         * ch-exp.y (match_bitstring_literal):  Dynamic buffer code
7328         removed and replaced with new CHECKBUF macro.
7329         * ch-exp.y (yylex):  Call match_string_literal when appropriate.
7330         * ch-valprint.c (ch_val_print):  Add code for TYPE_CODE_PTR.
7332 Sat Jan  9 19:59:33 1993  Stu Grossman  (grossman at cygnus.com)
7334         * Makefile.in:  Add info for paread.o.
7335         * config/hppahpux.mh:  Add paread.o to NATDEPFILES.
7337         * blockframe.c (frameless_look_for_prologue):  Correct the
7338         comment.
7339         * gdbtypes.h, gdbtypes.c:  Use const in decl of
7340         cplus_struct_default, now that pa-gas assembler has been fixed.
7341         * hppah-nat.c:  Formatting.
7342         * hppah-tdep.c:  Remove lots of useless externs for variables we
7343         don't use.
7344         * (find_unwind_entry):  Speed up by using binary search, and a one
7345         entry cache.
7346         * (rp_saved):  New routine to see what unwind info says about RP
7347         being saved on the stack frame.
7348         * (frame_saved_pc):  Look for prologue to see if we need to
7349         examine the stack for the saved RP or not.
7350         * (init_extra_frame_info):  Check for prologue, instead of
7351         framesize to determine if we are frameless or not.
7352         * (frame_chain_valid):  Stop backtraces when we run into _start.
7353         * (push_dummy_frame):  Reformat to make more readable.
7354         * (find_dummy_frame_regs):  ditto.
7355         * (hp_pop_frame):  ditto.
7356         * (hp_restore_pc_queue):  small cleanup.
7357         * (hp_push_arguments):  ditto.
7358         * (pa_do_registers_info):  ditto.
7359         * (skip_prologue):  New routine created from SKIP_PROLOGUE macro.
7360         * tm-hppa.h:  Move contents of SKIP_PROLOGUE into hppah-tdep.c.
7361         * Define FRAME_CHAIN_VALID.
7362         * Turn on BELIEVE_PCC_PROMOTION so that we can access char args
7363         passed to functions.
7365         * paread.c (pa_symtab_read):  Use new bfd conventions for
7366         accessing linker symbol table.
7367         * (pa_symfile_init):  Access embedded STAB info via BFD section
7368         mechanism and related macros.
7371 Sat Jan  9 19:31:43 1993  Stu Grossman  (grossman at cygnus.com)
7373         * sparc-stub.c:  Use a seperate stack for our traps.
7374         * Handle recursive traps.
7375         * Remove all trap init code.  This needs to be done by the
7376         environment.
7377         * (set_mem_fault_trap):  Call exceptionHandler() to setup this
7378         trap.
7379         * (handle_exception):  See if we are at breakinst, if so, then
7380         advance PC sp that users can just step out of breakpoint().
7381         * (case 'G'):  Don't let GDB hack CWP.  Also, copy saved regs to
7382         new place if SP has changed.
7383         * (case 's'):  Get rid of this, we can't do it yet.
7384         * (case 't'):  New command to test any old random feature.
7385         * (case 'r'):  New command to reset the system.
7386         * (breakpoint):  Add label to breakpoint trap instruction so that
7387         handle_exception() can detect where we are and get past the
7388         breakpoint trivially.
7390 Thu Jan  7 13:33:06 1993  Ian Lance Taylor  (ian@cygnus.com)
7392         * mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
7394 Thu Jan  7 09:21:51 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
7396         * configure.in: recognise all sparclite variants
7398 Wed Jan  6 10:14:51 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7400         * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
7401         binary files oring in the right bit.
7403         * main.c, source.c, state.c, symmisc.c: use macros defined in
7404         fopen-{bin|both} when fopening files.
7406 Wed Jan  6 08:19:11 1993  Fred Fish  (fnf@cygnus.com)
7408         * defs.h (HOST_CHAR_BIT):  New macro, defaults to either CHAR_BIT
7409         from a configuration file (typically including <limits.h>), or to
7410         TARGET_CHAR_BIT if CHAR_BIT is not defined.
7411         * eval.c (evaluate_subexp):  Use new BYTES_TO_EXP_ELEM macro.
7412         * eval.c (evaluate_subexp):  Add case for OP_BITSTRING.
7413         * expprint.c (print_subexp):  Use new BYTES_TO_EXP_ELEM macro.
7414         * exppritn.c (print_subexp, dump_expression):  Add case for
7415         OP_BITSTRING.
7416         * expression.h (OP_BITSTRING):  New expression element type for
7417         packed bitstrings.
7418         * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM):  New
7419         macros to convert between number of expression elements and bytes
7420         to store that many elements.
7421         * i960-tdep.c (leafproc_return):  Use new macros to access
7422         minimal symbol name and address fields.
7423         * m88k-pinsn.c (sprint_address):  Use new macros to access
7424         minimal symbol name and address fields.
7425         * nindy-tdep.c (nindy_frame_chain_valid):  Use new macro to access
7426         minimal symbol address field.
7427         * parse.c (write_exp_elt, write_exp_string, prefixify_expression,
7428         parse_exp_1):  Use new EXP_ELEM_TO_BYTES macro.
7429         * parse.c (write_exp_string, length_of_subexp, prefixify_expression):
7430         Use new BYTES_TO_EXP_ELEM macro.
7431         * parse.c (write_exp_bitstring):  New function to write packed
7432         bitstrings into the expression element vector.
7433         * parse.c (length_of_subexp, prefixify_subexp):  Add case for
7434         OP_BITSTRING.
7435         * parser-defs.h (struct stoken):  Document that it is used for
7436         OP_BITSTRING as well as OP_STRING.
7437         * parser-defs.h (write_exp_bitstring):  Add prototype.
7438         * ch-exp.y (BIT_STRING_LITERAL):  Change token type to sval.
7439         * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER,
7440         LOWER, LENGTH):  New tokens for keywords.
7441         * ch-exp.y (chill_value_built_in_routine_call, mode_argument, 
7442         upper_lower_argument, length_argument, array_mode_name,
7443         string_mode_name, variant_structure_mode_name):  New non-terminals
7444         and productions.
7445         * ch-exp.y (literal):  Useful production for BIT_STRING_LITERAL.
7446         * ch-exp.y (match_bitstring_literal):  New lexer support function
7447         to recognize bitstring literals.
7448         * ch-exp.y (tokentab6):  New token table for 6 character keywords.
7449         * ch-exp.y (tokentab5):  Add LOWER, UPPER.
7450         * ch-exp.y (tokentab4):  Add PRED, SUCC, CARD, SIZE.
7451         * ch-exp.y (tokentab3):  Add NUM, ABS, MIN, MAX.
7452         * ch-exp.y (yylex):  Check tokentab6.
7453         * ch-exp.y (yylex):  Call match_bitstring_literal.
7455 Mon Jan  4 16:54:18 1993  Fred Fish  (fnf@cygnus.com)
7457         * xcoffexec.c (vmap_symtab):  Use new macros to access minimal
7458         symbol name and value fields.
7460         * c-exp.y (yylex):  Make static, to match prototype and other
7461         <lang>-exp.y files.
7463         * expression.h (exp_opcode):  Add BINOP_MOD.
7464         * eval.c (evaluate_subexp):  Handle new BINOP_MOD.
7465         * expprint.c (dump_expression):  Handle new BINOP_MOD.
7466         * language.c (binop_type_check):  Handle new BINOP_MOD.
7467         * main.c (float_handler):  Re-enable float handler when hit.
7468         * valarith.c (language.h):  Include, need current_language.
7469         * valarith.c (TRUNCATION_TOWARDS_ZERO):  Define default macro
7470         for integer divide truncates towards zero for negative results.
7471         * valarith.c (value_x_binop):  Handle BINOP_MOD if seen.
7472         * valarith.c (value_binop):  Allow arithmetic operations on
7473         TYPE_CODE_CHAR variables.  Add case to handle new BINOP_MOD.
7474         * ch-exp.y (operand_4):  Add useful actions for MOD and REM.
7475         * ch-exp.y (tokentab3):  Add MOD and REM.
7476         * ch-exp.y (yylex):  Set innermost_block for symbols found
7477         in local scopes.  Return LOCATION_NAME for local symbols.
7478         * ch-lang.c (chill_op_print_tab):  Fix MOD entry to use
7479         BINOP_MOD instead of BINOP_REM.  Add REM entry, using BINOP_REM.
7481 Mon Jan  4 07:35:31 1993  Steve Chamberlain  (sac@wahini.cygnus.com)
7483         * command.c (shell_escape, make_command, _initialize_command):
7484         don't create or use fork if CANT_FORK is defined.
7485         * serial.h, ser-go32.c: now compiles, but "the obvious problems of
7486         code written for the IBM PC" remain.
7487         * xm-go32.h: define CANT_FORK
7489 Sun Jan  3 14:24:56 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7491         * remote-sim.c: first attempt at general simulator interface
7492         * remote-hms.c: whitespace
7493         * h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
7494         understand new stack layout. (print_register_hook): print ccr
7495         register in a fancy way.
7497 Sun Jan  3 14:16:10 1993  Fred Fish  (fnf@cygnus.com)
7499         * eval.c (language.h): Include.
7500         * eval.c (evaluate_subexp_with_coercion):  Only coerce arrays
7501         to pointer types when the current language is C.  It loses for
7502         other languages when the lower index bound is nonzero.
7503         * valarith.c (value_subscript):  Take array lower bounds into
7504         account when performing subscripting operations.
7505         * valops.c (value_coerce_array):  Add comment describing why
7506         arrays with nonzero lower bounds are dealt with in value_subscript,
7507         rather than in value_coerce_array.
7509 Sat Jan  2 12:16:41 1993  Fred Fish  (fnf@cygnus.com)
7511         * ch-exp.y (FLOAT_LITERAL):  Add token.
7512         * ch-exp.y (literal):  Add FLOAT_LITERAL.
7513         * ch-exp.y (match_float_literal):  New lexer routine.
7514         * ch-exp.y (convert_float):  Remove.
7515         * ch-exp.y (yylex):  Call match_float_literal.
7516         * ch-exp.y (yylex):  Match single '.' after trying
7517         to match floating point literals.
7519         * eval.c (evaluate_subexp):  Add case MULTI_SUBSCRIPT.
7520         * expprint.c (print_subexp):  Rename BINOP_MULTI_SUBSCRIPT to
7521         MULTI_SUBSCRIPT.
7522         * expprint.c (dump_expression):  New function for dumping
7523         expression vectors during gdb debugging.
7524         * expression.h (BINOP_MULTI_SUBSCRIPT):  Name changed to
7525         MULTI_SUBSCRIPT and moved out of BINOP range.
7526         * expression.h (DUMP_EXPRESSION):  New macro that calls
7527         dump_expression if DEBUG_EXPRESSIONS is defined.
7528         * m2-exp.y (BINOP_MULTI_SUBSCRIPT):  Changed to MULTI_SUBSCRIPT.
7529         * parse.c (length_of_subexp, prefixify_subexp):  Change
7530         BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
7531         * parse.c (parse_exp_1):  Call DUMP_EXPRESSION before and after
7532         prefixify'ing the expression.
7533         * printcmd.c (print_command_1):  Add comment.
7534         * ch-exp.y (expression_list):  Add useful actions.
7535         * ch-exp.y (value_array_element):  Add useful actions.
7536         * ch-exp.y (array_primitive_value):  Add production.
7537         * ch-exp.y (yylex):  Recognize ',' as a token.
7539 Fri Jan  1 18:22:02 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
7541         * Makefile.in: pass prefix and exec_prefix via FLAGS_TO_PASS,
7542         POSIXize the recursive makes (make [variable assignments] target{s})
7544 Fri Jan  1 11:56:23 1993  Fred Fish  (fnf@cygnus.com)
7546         * tm-sun4sol2.h (CPLUS_MARKER):  Remove, now set in tm-sysv4.h.
7547         * tm-sysv4.h (CPLUS_MARKER):  By default, g++ uses '.' as the
7548         CPLUS_MARKER for all SVR4 systems, so follow suit.
7549         * defs.h (strdup_demangled):  Remove prototype.
7550         * dwarfread.c (enum_type, synthesize_typedef):  Use new macro
7551         SYMBOL_INIT_LANGUAGE_SPECIFIC.
7552         * dwarfread.c (new_symbol):  Use SYMBOL_INIT_DEMANGLED_NAME.
7553         * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol,
7554         prim_record_minimal_symbol_and_info):  Use new macro
7555         SYMBOL_INIT_LANGUAGE_SPECIFIC.
7556         * minsyms.c (install_minimal_symbols):  Use new macro
7557         SYMBOL_INIT_DEMANGLED_NAME.
7558         * stabsread.c (define_symbol):  Use new macro
7559         SYMBOL_INIT_DEMANGLED_NAME.
7560         * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
7561         Use new macro SYMBOL_INIT_DEMANGLED_NAME.
7562         * symfile.h (ADD_PSYMBOL_VT_TO_LIST):  Use new macro
7563         SYMBOL_INIT_DEMANGLED_NAME.
7564         * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol):
7565         SYMBOL_DEMANGLED_NAME now tests language itself.
7566         * symtab.c (COMPLETION_LIST_ADD_SYMBOL):  SYMBOL_DEMANGLED_NAME
7567         now tests language itself.
7568         * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME):  New macro that does
7569         what SYMBOL_DEMANGLED_NAME used to do, directly access the C++
7570         mangled name member in the language dependent portion of a symbol.
7571         * symtab.h (SYMBOL_DEMANGLED_NAME):  New macro that returns the
7572         mangled name member appropriate for a symbol's language.
7573         * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME,
7574         SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP):
7575         SYMBOL_DEMANGLED_NAME now tests language itself.
7576         * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC):  New macro that
7577         initializes language dependent portion of symbol.
7578         * symtab.h (SYMBOL_INIT_DEMANGLED_NAME):  New macro that
7579         demangles and caches the demangled form of symbol names.
7580         * utils.c (fputs_demangled, fprint_symbol):  Use current language
7581         to select an appropriate demangling algorithm.
7582         * utils.c (strdup_demangled):  Remove, no longer used.
7583         * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME):  New macro that directly
7584         access the Chill mangled name member in the language dependent
7585         portion of a symbol.
7586         * ch-lang.c (chill_demangle):  New function, simple demangler.
7587         * defs.h (chill_demangle):  Add prototype.
7588         * symtab.h (language_dependent_info):  Add struct for Chill.    
7590 For older changes see ChangeLog-1992
7592 Local Variables:
7593 mode: indented-text
7594 left-margin: 8
7595 fill-column: 74
7596 version-control: never
7597 End: