* hppa{b,h}-nat.c: Warning, not error, if can't access registers.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
... / ...
CommitLineData
1Wed Jul 21 11:37:30 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2
3 * hppa{b,h}-nat.c: Warning, not error, if can't access registers.
4
5 * config/pa/hppa{b,h}.h: Define ATTACH_DETACH.
6
7Wed Jul 21 03:07:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8
9 * config/mips/xm-makeva.h: New file implements va_list alignment
10 restrictions for mips hosts.
11 * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}:
12 Use it.
13
14Wed Jul 21 00:11:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15
16 * mips-tdep.c (init_extra_frame_info): Do not check for
17 mips_in_lenient_prologue if it is a dummy frame.
18 * mipsread.c (fixup_sigtramp): Initialize pdr.adr, it is used by
19 mips_in_lenient_prologue.
20
21Tue Jul 20 12:53:47 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22
23 * mips-tdep.c (heuristic_proc_start): First time we print the
24 warning, elaborate.
25 (_initialize_mips_tdep): Improve docstring for `set heur'.
26
27 * config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.
28
29 * symtab.c (find_line_symtab): New function, to deal with multiple
30 symtabs with the same name.
31 (find_line_pc{,_range}): Use it.
32 (find_pc_symtab): Add comment about overlapping symtabs.
33
34Mon Jul 19 21:29:14 1993 Fred Fish (fnf@deneb.cygnus.com)
35
36 * Makefile.in (SFILES): Add nlmread.c.
37 * Makefile.in (OBS): Add nlmread.o.
38 * Makefile.in (nlmread.o): Add new target.
39 * configure.in (i[34]86-*-netware): New configuration.
40 * nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}: New files
41 for NLM/NetWare support.
42
43Mon Jul 19 11:48:57 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
44
45 * symtab.h (enum minimal_symbol_type): Add mst_file_*.
46 * partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols.
47 * dbxread.c (record_minimal_symbol): Deal with statics.
48 * minsyms.c (lookup_minimal_symbol): Prefer externals to statics.
49
50 * config/i386/xm-i386sco.h: Define HAVE_TERMIOS.
51
52 * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
53 arg_bytes field of makeva_list is always aligned.
54 * config/pa/xm-pa.h: Make arglist_address a char *.
55
56 * ser-unix.c: Don't try to use job control with termio.
57
58Sun Jul 18 23:11:28 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
59 and Jim Kingdon (kingdon@cygnus.com)
60
61 Make breakpoint_re_set_one work with overloaded member functions,
62 `b 123' and `b foo' if foo is a static function.
63 * symtab.c (decode_line_1, decode_line_2): New argument `canonical'
64 to return canonical line specs if requested by the caller.
65 * breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and
66 callers accordingly.
67 * symtab.c (build_canonical_line_spec): New helper function which
68 constructs the canonical line spec.
69 * breakpoint.c (break_command_1): Use canonical line spec instead
70 of command string as addr_string if necessary.
71 * source.c (line_info): Fix storage leak.
72
73Sun Jul 18 15:22:45 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
74
75 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
76 but not the others.
77 * symm-tdep.c: Remove exec_file_command.
78 [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
79 A few miscellaneous cleanups.
80 * symm-nat.c: Renamed from symm-xdep.c.
81 * All symmetry dependent files: Many changes.
82
83 * mips-tdep.c (mips_skip_prologue): New argument lenient.
84 Use read_memory_nobpt.
85 (is_delayed, mips_in_lenient_prologue): New functions.
86 (init_extra_frame_info): If in the prologue, don't use saved registers.
87 * config/mips/tm-mips.h: Declare mips_skip_prologue.
88
89 * partial-stab.h (N_SO): Add the text offset to valu before, not after,
90 passing it to END_PSYMTAB.
91
92Fri Jul 16 18:48:52 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
93
94 * symtab.c (find_pc_symtab): Call warning, not printf directly.
95
96 * solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
97
98Fri Jul 16 09:56:42 1993 Ian Lance Taylor (ian@cygnus.com)
99
100 * mipsread.c: No longer need to undefine ZMAGIC.
101
102Thu Jul 15 18:03:37 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
103
104 * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
105 (print_insn): Now just calls print_insn_m88k.
106
107Thu Jul 15 14:54:05 1993 Doug Evans (dje@canuck.cygnus.com)
108
109 * h8300-tdep.c (examine_prologue): Make prototype match definition.
110
111Thu Jul 15 08:34:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
112
113 * NEWS: Mention that remote.c now has a `load' operation.
114
115 * hppa-tdep.c (pc_in_linker_stub): New function.
116 (find_proc_framesize): Return 0 for linker stubs.
117 (rp_saved): Tell the caller where rp is saved.
118 (frame_chain_valid): Return 1 for linker stubs.
119 (frame_saved_pc): Use return value from rp_saved.
120
121 * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
122 pass the sp relative to the frame in question, not the sp in the
123 innermost frame.
124
125Wed Jul 14 17:37:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
126
127 * mipsread.c (parse_procedure): Take as argument the symtab to look
128 the name up in. Look it up with mylookup_symbol, not lookup_symbol.
129 (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
130
131 * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
132 already checked the first characters.
133
134 Changes from Jeffrey Law:
135 * printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
136 machine dependent fields in the makeva_list structure.
137 (makeva_size): Allocate extra space to handle gaps made by
138 alignment restrictions.
139 * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
140 (MAKEVA_START): Initialize arglist_address field.
141 (MAKEVA_ARG): Always store arguments on natural alignment
142 boundaries. Set arglist_address to the address right after
143 the args.
144 (MAKEVA_END): Simply return the value stored in arglist_address.
145
146Wed Jul 14 13:51:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
147
148 * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
149 address, not addr.
150
151 * hppah-nat.c (store_inferior_registers): Don't print i in cases
152 where we aren't using it.
153
154 * a29k-tdep.c (get_saved_register): Fix typo.
155
156Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
157
158 * configure.in: Recognize h8300h (variant of h8300).
159
160start-sanitize-v9
161Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)
162
163 * configure.in: Recognize sparc64-*-*.
164end-sanitize-v9
165
166Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
167
168 * stabsread.c (define_symbol): Make the caddr_t hack apply to `function
169 returning foo' as well as `pointer to foo'.
170
171 * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
172 * config/m68k/tm-m68k.h: Define it.
173 * mem-break.c, breakpoint.c: Improve comments.
174
175Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
176
177 * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
178 * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
179
180Tue Jul 13 11:50:38 1993 Doug Evans (dje@canuck.cygnus.com)
181
182 * gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
183 Make prototype match definition.
184
185Tue Jul 13 11:15:15 1993 Fred Fish (fnf@cygnus.com)
186
187 * elfread.c: Remove notice about file still being under
188 construction.
189 * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.
190
191Mon Jul 12 17:46:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
192
193 * a29k-tdep.c (read_register_stack): Make val static.
194
195Mon Jul 12 14:10:48 1993 Doug Evans (dje@canuck.cygnus.com)
196
197 * config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
198 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
199 usual spot.
200
201Mon Jul 12 11:29:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
202
203 * c-valprint.c (c_val_print): Fix thinko with unspecified length
204 arrays.
205
206 * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
207 use it.
208
209Sun Jul 11 19:35:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
210
211 * symtab.c (decode_line_1): Use end of block to figure out whether
212 val.end is in the same function, not minimal symbols.
213
214 * source.c (line_info): Add a few more wrap_here's.
215
216 * i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
217 don't make assumptions about sizes of host data types.
218
219 * blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
220 * infrun.c, breakpoint.c, printcmd.c: Change callers.
221 * printcmd.c (containing_function_bounds): Remove.
222 * printcmd.c (disassemble_command): Use find_pc_partial_function,
223 not containing_function_bounds.
224 * infcmd.c (step_1): Use find_pc_partial_function rather than
225 trying to roll our own. Move check for a pc between SIGTRAMP_START and
226 SIGTRAMP_END in find_pc_partial_function, not step_1.
227
228 * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
229 Keep unswapped value in array of char, not REGISTER_TYPE.
230 Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
231 (sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
232 sizeof (CORE_ADDR).
233
234Thu Jul 1 15:50:05 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
235
236 * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
237 * config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
238 * config/m68k/dpx2.m{h,t}: New files.
239
240Sun Jul 11 12:32:08 1993 Doug Evans (dje@canuck.cygnus.com)
241
242 * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
243 more parens around macro arg.
244
245Sat Jul 10 09:54:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
246
247 * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
248 step_resume_break_address with step_resume_breakpoint (now local
249 to wait_for_inferior).
250 ({insert,remove}_step_breakpoint): Remove.
251 (wait_for_inferior): Set step resume break with
252 set_momentary_breakpoint. Test hitting it with bpstat_stop_status
253 and bpstat_what (stop_step_resume_break removed).
254 * breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
255 which includes previous return value as main_action, and a step_resume
256 bit.
257 * breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
258 there is another breakpoint there, insert it.
259 * infrun.c (wait_for_inferior): Rearrange the spaghetti a bit. Use
260 a few more gotos.
261 Various: Clean up and add comments.
262
263 * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
264 for Wed Nov 13 16:45:13 1991).
265
266Fri Jul 9 12:36:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
267
268 * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
269
270 * h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
271 not short *.
272
273 * findvar.c, defs.h
274 ({extract,store}_{signed_integer,unsigned_integer,address}):
275 New routines to replace SWAP_TARGET_AND_HOST.
276 All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
277
278 * config/sparc/tm-sparc.h: Add comment suggesting that removing
279 ins and locals from the registers array might clean things up.
280
281 * utils.c: Clean up comments about wrap buffer and wrap_here.
282 * printcmd.c (printf_command): Call wrap_here before vprintf.
283
284 * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
285 Patch from ptf@delcam.co.uk (Paul Flinders).
286
287 * a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
288
289Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
290
291 * defs.h, remote-eb.c (TM_FILE_OVERRIDE): Remove it.
292 * mips-tdep.c (init_extra_frame_info): Set proper fci->frame if pc
293 is at the start of the dummy code.
294
295Thu Jul 8 14:48:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
296
297 * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
298 stuff, just write the sp and fp.
299 (sparc_pop_frame): Skip the do_restore_insn; we already restore
300 the sp with the other out registers.
301
302 * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
303 arguments.
304
305 * hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
306
307start-sanitize-v9
308Thu Jul 8 14:47:00 1993 Doug Evans (dje@canuck.cygnus.com)
309
310 * sparc-tdep.c (sparc_frame_chain): Handle sizeof (CORE_ADDR)
311 != sizeof (REGISTER_TYPE).
312 (frame_saved_pc): Ditto.
313end-sanitize-v9
314
315Thu Jul 8 08:22:05 1993 Doug Evans (dje@canuck.cygnus.com)
316
317 * config/h8300/tm-h8300.h: (REGISTER_TYPES): Adjust for h8/300h.
318 (REGISTER_RAW_SIZE): Ditto.
319 (REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs
320 on the h8/300h (ints may still be 16 bits).
321 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
322 EXTRACT_STRUCT_VALUE_ADDRESS): Add FIXME's for h8/300h. Some
323 thought needed here.
324
325 * h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
326 (examine_prologue): reg_save_depth is 4 if h8/300h.
327
328 * findvar.c (read_register): Provide some support for 64 bit regs.
329 (write_register): Ditto.
330
331Wed Jul 7 14:30:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
332
333 * config/mips/nm-riscos.h: machine/machparam.h is always the right
334 place to look for BSD43_NBPG, not machine/vmparam.h
335
336 * infcmd.c (run_stack_dummy): New argument name.
337 Change error message in (another) attempt to make it comprehensible.
338 * valops.c (call_function_by_hand): Pass name to run_stack_dummy.
339 * symtab.h: Declare demangle and asm_demangle since macros use them.
340
341 * eval.c (evaluate_subexp): Add comment about calling a member
342 function of a variable in a register.
343
344 * expression.h: Clean up comment about string in STRUCT_STRUCT etc.
345
346 * config/{rs6000/tm-rs6000.h,sparc/tm-sparc.h,pyr/tm-pyr.h},
347 inferior.h (PC_IN_CALL_DUMMY) [ON_STACK]: Add comments about stack
348 frame tops and bottoms.
349
350 * frame.h, blockframe.c, stack.c, a29k-tdep.c,
351 config/gould/tmp-{pn,np1}.h,
352 config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
353 next_frame from struct frame_info. It has no purpose beyond
354 ->next->frame and is an artifact from GDB 2.8.
355
356Tue Jul 6 11:51:18 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
357
358 * Makefile.in: Remove gdb before creating a new one.
359 Update init.c atomically.
360
361 * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
362 (ALLCONFIG): Add config/alpha/alpha-osf1.mh.
363
364 * infcmd.c (_initialize_infcmd): In docstring for "continue",
365 describe argument as setting ignore count.
366
367Sun Jul 4 15:04:47 1993 Doug Evans (dje@cygnus.com)
368
369 * h8300-tdep.c (examine_prologue): Fix call to
370 read_memory_unsigned_integer.
371
372Fri Jul 2 18:22:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
373
374 * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
375 rather than including xm-bigmips.h.
376
377 * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
378 default cases.
379
380 * Makefile.in (distclean): Remove y.tab.h.
381
382Fri Jul 2 14:55:48 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
383
384 * exec.c (exec_file_command): Remove Mar 28 hack as BFD handles
385 file updates properly now.
386 * mipsread.c (mips_coff_new_init): Force reevaluation of sigtramp
387 addresses if switching to a new symbol file.
388 * dbxread.c (process_one_symbol): Avoid dereferencing NULL
389 symbols that might be returned from define_symbol.
390
391Fri Jul 2 13:33:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
392
393 New target macros for getting at the pc, sp and fp.
394 * infcmd.c (read_pc, write_pc): Modify to use new macros.
395 (read_sp, write_sp, read_fp, write_fp): New functions.
396 * blockframe.c (reinit_frame_cache, get_prev_frame_info):
397 Use new functions.
398 * breakpoint.c (bpstat_alloc): ditto.
399 * infrun.c (wait_for_inferior): ditto.
400 * stack.c (print_frame_info): ditto.
401 * valops (call_function_by_hand): ditto.
402 * corelow.c (core_open): ditto.
403 * h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
404 target_write_pc, target_read_fp, target_write_fp): New functions.
405 * inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
406
407 * config/alpha/xm-alpha.h: Add MAKEVA_END.
408 * config/h8500/tm-h8500.h: Define new macros.
409
410Fri Jul 2 13:51:04 1993 Ian Lance Taylor (ian@cygnus.com)
411
412 * configure.in (mipos-*-riscos*): New host and target; use riscos.
413 * config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
414 vmparam.h, include machparam.h.
415 (KERNEL_U_ADDR): Define to be BSD43_UADDR.
416
417Fri Jul 2 13:39:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
418
419 * c-exp.y (yylex): Give error if unmatched single quote.
420
421 * configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
422
423 * Remove unused STACK_END_ADDR in the following files (in other
424 files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
425 tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
426 tm-hp300hpux.h, tm-isi.h.
427
428Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
429
430 * config/mips/nm-riscos.h: Define NBPG and UPAGES.
431 config/mips/xm-riscos.h: Include <sys/types.h>.
432
433 * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
434 not an initializer, to copy the structure.
435
436 * gdbtypes.h (struct type): Add field tag_name.
437 * gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
438 Use it.
439 * {coff,dwarf,mips,stabs}read.c: Set it.
440
441 * xm-sysv4.h: Undefine HAVE_TERMIO.
442
443 * config/mips/nm-riscos.h: Remove unmatched #endif.
444 Define FETCH_INFERIOR_REGISTERS.
445 * config/mips/riscos.mh: Don't include coredep.o; mips-nat.o is enough.
446 Fix misspelling of NAT_FILE.
447 * mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
448 we can still process "modern" core files.
449
450 * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
451 print c_line.
452 (_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
453 is defined; don't care what it is defined to.
454
455Wed Jun 30 20:06:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
456
457 * config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
458
459Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
460
461 * inftarg.c: Remove unused include of terminal.h.
462 * signals.h: Don't undefine signals anymore.
463 * main.c: Use job_control from serial.h.
464 * fork-child.c (fork_inferior): Use gdb_setpgid.
465 * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
466 * utils.c (quit): Use current_target->to_terminal_ours to figure
467 out whether we care about lack of job control, rather than __GO32__.
468 * utils.c: Include serial.h not terminal.h
469 (quit): Use job_control not TIOCGPGRP.
470 * terminal.h: Don't undefine TIOCGPGRP.
471 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
472 * utils.c (quit): Use it.
473 * serial.h: Add SERIAL_UN_FDOPEN.
474 * utils.c (quit): Use it.
475 * ser-unix.c: Add process group to ttystate.
476 [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
477 * inflow.c: Include serial.h not terminal.h.
478 Use serial.h stuff to replace most of the maze of #ifdef's.
479 * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
480 * serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
481 * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
482 * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
483 Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
484 SERIAL_SET_PROCESS_GROUP.
485 * inflow.c: Use them.
486 * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
487 Define HAVE_TERMIOS.
488 * Various: Remove all use of TIOC*_BROKEN.
489
490Wed Jun 30 12:20:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
491
492 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
493
494Tue Jun 29 13:44:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
495
496 * target.h (target_detach): Turn macro into function.
497 * target.c (target_detach): Define it, do deferred register stores
498 before calling the real target function.
499
500Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
501 and Jim Kingdon (kingdon@cygnus.com)
502
503 * symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
504 a function to avoid printing of function arguments in wrong order
505 due to sorting.
506 * symfile.c (compare_symbols): Remove code for sorting arguments
507 as blocks containing arguments are no longer sorted.
508 * symtab.c (lookup_block_symbol): Update comment accordingly.
509
510Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
511
512 * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
513 (REG_STRUCT_HAS_ADDR): Add comment.
514
515 * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
516 to check whether there is line number information.
517
518Tue Jun 29 08:29:17 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
519
520 * remote-udi.c: Fix docstring so that it compiles.
521
522 * remote-mips.c, remote-nindy.c: move bfd.h before symfile.h
523 (for file_ptr).
524
525Tue Jun 29 09:11:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
526
527 * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
528 don't expect it, change it to LOC_STATIC so at least we don't coredump.
529
530 * c-typeprint.c (c_type_print_base): Don't error() on invalid type.
531
532 * symtab.h: Add comments about line numbers.
533 * source.c (identify_source_line): Fix off by one bug with line.
534
535Mon Jun 28 10:09:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
536
537 * printcmd.c (makeva*): New interface, for making a va_list.
538 (printf_command): Use it.
539 * config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
540 * config/pa/xm-pa.h: New file.
541 * config/pa/xm-hppa{b,h}.h: Include it.
542
543 * xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
544
545Sun Jun 27 08:54:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
546
547 * valprint.c (val_print_type_code_int): Fix off by one error with
548 eliminating leading zeroes for large little endian integers.
549
550Sun Jun 27 08:58:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
551
552 * config/mips/riscos.mh (CC): Use -systype sysv.
553
554 * ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
555
556 * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
557
558Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
559
560 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
561 CALL_DUMMY between different 68k machines.
562
563Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
564
565 * gdbserver/Makefile.in: Add dependancies on server.h.
566 * gdbserver/remote-gutils.c: Remove lots of unused functions and
567 variables.
568 * gdbserver/remote-inflow.c: Remove lots of unused variables and
569 #includes. Also, use PTRACE_* symbols instead of constants.
570 (mywait): Surround calls to wait() with enable/disable_async_io()
571 so that we can be interrupted from GDB while waiting for the
572 child. Also, handle child exit more gracefully.
573 * gdbserver/remote-server.c: Remove lots of unused variables.
574 Move all extern defs into server.h. Redo main loop so that
575 failure from getpkt() causes communications to be re-established.
576 Fix 'k' command so that it restarts the child.
577 * gdbserver/remote-utils.c: Remove lots of unloved vars and
578 subrs. Move many extern decls into server.h. (remote_open): For
579 tcp, seperate usage of proto fd from connected fd. Close proto
580 fd after getting connection. (putpkt/getpkt): Pay attention to
581 errors when reading/writing. Report these to the caller. New
582 routines input_interrupt/enable_async_io/disable_async_io to make
583 it possible to get an I/O interrupt when data arrives from the
584 comm link.
585 * serial.h: New file to contain common defs for all remote files.
586
587Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com)
588
589 * remote.c: Add arg names to prototypes, in a modest effort at
590 clarification. Also add prototypes for some new functions.
591 * (remote_wait): Better error reporting for 'T' responses.
592 * ser-go32.c (strncasecmp): Make str1 & str2 be const.
593 * (dos_async_init): Make usage message reflect requested port #.
594 * ser-tcp.c (tcp_open): Terminate hostname properly to prevent
595 random hostname lookup failures. Add nicer message for unknown
596 host error. (wait_for): Wake up in case of exceptions. Also,
597 restart select() if we got EINTR.
598 * ser-unix.c (wait_for): Restart select() if we got EINTR.
599 * serial.c: (serial_close): Clean up code.
600
601Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
602
603 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
604 CALL_DUMMY between different 68k machines.
605
606Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
607
608 * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
609 Make comment explaining this comprehensible.
610 (TAGFILES): Include ALLDEPFILES.
611 (ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
612 29k-share/udi/udi.
613 (update-alldeps): Remove; obsolete.
614
615 * remote.c: Move comments regarding packets to top of file with the
616 rest of the protocol comments.
617 Fix incorrect description of 'T' response.
618
619 * README (Reporting Bugs): Refer people to the GDB manual.
620
621 * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
622 * stabsread.c: Type -16 is 4 bytes.
623
624 * remote-udi.c: Improve docstring.
625
626Fri Jun 25 11:16:31 1993 Fred Fish (fnf@cygnus.com)
627
628 * elfread.c (elf_symfile_read): Call bfd_elf_find_section, not
629 bfd_elf32_find_section, to track bfd changes.
630
631Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
632
633 * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
634 * config/mips/xm-riscos.h: Define USG.
635
636Thu Jun 24 14:52:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
637
638 * main.c (filename_completer): Don't complete to files ending in ~.
639
640 * NEWS: Mention filename completion and "info line" enhancements.
641
642 * main.c (symbol_completion_function): On "info t foo", return NULL,
643 don't error().
644
645 * main.c (symbol_completion_function): Don't use readline word
646 breaking. Use new calling convention for c->completer and
647 complete_on_cmdlist.
648 * command.h (struct command): Change arguments; now the text passed
649 to completer does not have any word breaking done. New arg word.
650 * symtab.{c,h} (make_symbol_completion_list): Do word breaking. Take
651 word argument.
652 * {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
653 * command.{c,h} (complete_on_cmdlist): Take word argument.
654
655 * command.c (lookup_cmd_1): Doc fix.
656
657Thu Jun 24 13:26:04 1993 K. Richard Pixley (rich@sendai.cygnus.com)
658
659 * Makefile.in (OP_INCLUDE): define.
660 (OPCODE_CFLAGS): use OP_INCLUDE.
661
662 * config/i386/ncr3000.mh, config/i386/i386v4.mh,
663 config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
664 config/m68k/amix.mh, config/mips/irix[34].mh,
665 config/m88k/delta88.mh, config/sparc/sun4sol2.mh (ALLOCA,
666 ALLOCA1): macros removed.
667
668 * config/mips/decstation.mh, config/rs6000/rs6000.mh
669 (MMALLOC_LIB): renamed to MMALLOC.
670
671Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
672
673 * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
674 * dbxread.c: Change comment regarding acc.
675
676Wed Jun 23 15:04:54 1993 K. Richard Pixley (rich@sendai.cygnus.com)
677
678 Makefile overhaul dropping autodepend features.
679 * Makefile.in: many comment changes. forced consistent use of $()
680 for makefile variables references. dropped leading ./ in file
681 references. Drop $(srcdir)/ prefix on all dependencies.
682 Inserted contents of alldeps.mak and depend.
683 (INCLUDE_CFLAGS): defined as new macro for getting libiberty's
684 include directory into the compilation line.
685 (GDB_CFLAGS): new macro to take up the semantic previously held
686 by INCLUDE_CFLAGS.
687 (LIBIBERTY): dropped ancient subdir macro. I last removed this
688 macro in feb of '92. How does it keep coming back?
689 (MMALLOC_LIB): renamed to MMALLOC.
690 (BFD_SRC_DIR): renamed to BFD_SRC.
691 (BFD_OBJ_DIR): renamed to BFD_DIR.
692 (BFD_LIB): renamed to BFD.
693 (BFD_INCLUDES): renamed to BFD_CFLAGS.
694 (READLINE_DIR): now represents object directory.
695 (RL_LIB): renamed to READLINE.
696 (READLINE_SRC, READLINE_CFLAGS, OPCODES, OPCODES_CFLAGS): new
697 macros.
698 (INTERNAL_CFLAGS): added GDB_CFLAGS, OPCODES_CFLAGS,
699 READLINE_CFLAGS, BFD_CFLAGS. Dropped USER_CFLAGS.
700 (LDFLAGS): removed default assignment.
701 (TEXIDIR, INCLUDE_DEP, MMALLOC_DIR, MMALLOC_DEP, BFD_DEP,
702 READLINE_DEP, LIBIBERTY_DIR, TESTS, depend, STAGESTUFF): unused, so removed.
703 (ALLOCA1, ALLOCA): removed all references. alloca is now in
704 libiberty.
705 (VERSION): unilaterally and arbitrarily bumped to 4.9.3.
706 (SFILES, NONSRC, HFILES, ALLDEPFILES, ALLPARAM, ALLCONFIG):
707 removed all $(srcdir) prefixes.
708 (getopt_h, ieee-float_h, bfd_h, wait_h, dis-asm_h): new macros
709 for potential dependencies. commented out by default.
710 (readline_headers, udiheaders): convenient abbreviations.
711 (gdbcore_h, frame_h, symtab_h, gdbtypes_h, expression_h,
712 value_h, breakpoint_h, command_h, gdbcmd_h, defs_h, inferior_h):
713 new macros used for header file dependencies.
714 (install-info, clean-info): collapse into the info rule.
715 (install): now depends on all.
716 (install-only): new target for installing without depending on
717 all.
718 (uninstall): new target.
719 (config-check, config-check-hosts, config-check-targets): added
720 fixme comments.
721 (ch-exp.tab.c, m2-exp.tab.c): added artificial dependencies in
722 order to force parallel makes into keeping these rules separate.
723 * configure.in: omit cat'ing depend file onto generated Makefile.
724 * alldeps.mak, depend: removed.
725
726 * inferior.h: remove redundant include of symtab.h which is
727 included in value.h via breakpoint.h.
728
729 * alloca.c: removed. alloca is now in libiberty.
730
731 * config/m88k/delta88.mh, config/ns32k/merlin.mh (M_UNINSTALL):
732 new macro to undo what M_INSTALL does.
733
734Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
735
736 * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
737 of gdb-sh.
738
739 * dbxread.c (copy_pending): Change name and function of begi argument
740 to endi, since that is what the caller needs.
741
742 * Makefile.in (TAGFILES): Don't include YYFILES.
743
744 * Makefile.in (HFILES): Include monitor.h.
745
746 * Makefile.in: Include text that used to be in alldeps.mak.
747 Remove config/mips/{bigmips.mh,xm-bigmips} from it.
748 * Makefile.in, configure.in: Remove all traces of alldeps.mak.
749
750 * main.c (main): Print help message on stdout not stderr
751 per standards.texi.
752 New option --version per standards.texi.
753 In help message, show long options with "--" not "-".
754 Don't try to print help message or version until after we have
755 called initialize_all_files.
756
757Tue Jun 22 03:15:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
758
759 * solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
760 (solib_add): Call special_symbol_handling once, not once per library.
761
762 * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
763 is SIG_DFL.
764
765 * procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
766 systems, not just Solaris.
767
768 * stabsread.c: Include <ctype.h>.
769
770Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
771
772 * fork-child.c (fork_inferior): Quote exec_file so it can contain
773 funky characters.
774
775Mon Jun 21 16:56:47 1993 Fred Fish (fnf@cygnus.com)
776
777 * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
778 bfd.h is included by target.h, which most of gdb includes.
779 * depend: Hand remove BFD_INCLUDES from ${CC} lines, now that
780 it's in INCLUDE_CFLAGS.
781
782Mon Jun 21 16:09:46 1993 Jim Kingdon (kingdon@cygnus.com)
783
784 * config/i386/*aix*, i386aix-nat.c: New files.
785 * configure.in: Use them.
786 * alldeps.mak: List them.
787 * coffread.c (decode_base_type): Deal with anonymous enum type.
788 * i387-tdep.c (print_387_status_word): Add comment re "top".
789 * i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
790 * dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and
791 only if not defined by a header file.
792 * mipsread.c: Don't define L_SET or L_INCR.
793
794Mon Jun 21 15:10:07 1993 Fred Fish (fnf@cygnus.com)
795
796 * Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
797 * depend: Hand updated to match.
798
799Sun Jun 20 13:11:11 1993 Jim Kingdon (kingdon@cygnus.com)
800
801 * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
802 (read_cpp_abbrev): Don't complain specially for $_. Also return 0 if
803 we don't recognize the abbrev.
804
805Sun Jun 20 00:24:41 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
806
807 * solib.c (solib_add_common_symbols): Add comment about performance.
808
809Fri Jun 18 12:37:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
810
811 * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
812 * configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
813
814 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
815 * config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
816 * configure.in (mips-sony-*): Use news-mips for host.
817
818 * buildsym.h: Doc fix for processing_acc_compilation.
819
820Thu Jun 17 19:57:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
821
822 * printcmd.c (print_formatted): Don't use tab in wrap_here arg.
823
824Thu Jun 17 17:29:30 1993 Jim Kingdon (kingdon@lisa.cygnus.com)
825
826 * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
827 ${srcdir}/../include.
828
829 * config/m88k/xm-delta88.h: Comment out unused defines which conflict
830 with system headers.
831 * printcmd.c (printf_command): Cast second arg to vprintf to PTR.
832 Use VPRINTF macro if defined.
833 * config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
834 Define TIOC{GETC,GLTC}_BROKEN.
835 * m88k-nat.c: Uncomment include of <sys/ptrace.h>.
836 * main.c: Rename initialize_{main,cmd_lists,history} to init_* to
837 make things easier on munch (apparently this matters on
838 the delta88 with svr3).
839
840Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
841
842 * Makefile.in: canonicalize install.sh; for use within
843 this directory (and subdirs)
844
845Tue Jun 15 17:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
846
847 * Makefile.in: remove parentdir support; use INSTALL_XFORM
848
849Thu Jun 17 15:08:35 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
850
851 * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
852 host.
853 * sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
854 wired (and wrong) constant.
855 * values.c (unpack_long): Add case to unpack when target object is
856 sizeof(int).
857 * config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
858 simulator defines.
859
860Wed Jun 16 16:08:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
861
862 * NEWS: tracking user visible changes starting with
863 vxworks-timeout.
864
865 * remote-vx.c (_initialize_vx): rename user settable option from
866 rpcTimeout to vxworks-timeout.
867
868Wed Jun 16 12:21:49 1993 Fred Fish (fnf@cygnus.com)
869
870 * Makefile.in (depend): More makefile diddling.
871 * alldeps.mak, depend: Update to latest automatically built
872 versions.
873
874 * Makefile.in (depend): Bfd.h keeps moving, keep up with it.
875 * alldeps.mak, depend: Update to latest automatically built
876 versions.
877
878Tue Jun 15 12:26:05 1993 K. Richard Pixley (rich@sendai.cygnus.com)
879
880 * remote-vx.c: include gdbcmd.h for setlist.
881 (_initialize_vx): make rpcTimeout user settable.
882
883Mon Jun 14 09:23:51 1993 Jim Kingdon (kingdon@cygnus.com)
884
885 * main.c, gdbcmd.h: Add function filename_completer.
886 * main.c, symfile.c, source.c, exec.c, core.c: Use it for
887 "directory", "source", "cd", "symbol-file" "add-symbol-file",
888 "load", "file", "exec-file", "core-file" commands.
889 (But '/' is a word break, limiting usefulness; see comments).
890
891 * source.c (mod_path): Warning not error if can't find directory.
892
893 * isi-xdep.c: New file.
894 * config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
895
896Sun Jun 13 09:17:48 1993 Jim Kingdon (kingdon@cygnus.com)
897
898 * config/m68k/xm-news.h: Include <sys/param.h>.
899
900 * m88k-tdep.c (IEEE_isNAN): Remove.
901 config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same
902 broken isNAN as on the mips.
903
904 * valprint.c (_initialize_valprint): Use c->function.sfunc not just
905 c->function.
906
907 * dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
908 defined, don't worry about Sun's silly LBRAC bug.
909 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
910
911 * dbxread.c (process_one_symbol): If there's a symbol before an
912 N_SO, don't error().
913 (case N_BCOMM): complain () not error ().
914
915 * defs.h, main.c (catch_errors): Add return_mask arg.
916 stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
917 other callers: Pass RETURN_MASK_ALL.
918 (return_to_top_level), callers: Add return_reason arg.
919 * utils.c (quit):
920 Use return_to_top_level (RETURN_QUIT) instead of error ().
921 * main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
922 Use SET_TOP_LEVEL not setjmp (to_top_level).
923 * remote-nindy.c: Use catch_errors not setjmp (to_top_level).
924
925Sat Jun 12 14:40:54 1993 Jim Kingdon (kingdon@cygnus.com)
926
927 * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
928 Don't try to get the debug base yet.
929
930 * dbxread.c (process_one_symbol): Set n_opt_found based on whether
931 a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro
932 which returns 0 or 1 to say whether to do it.
933 * config/sparc/sun4{sol2,os4}.h
934 (SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
935 the right thing happens for both acc and SunOS4 /bin/cc.
936
937 * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
938 * printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
939
940 * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
941 probably contained byte-order sins too.
942 config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
943 The IEEE_FLOAT code in print_floating takes care of it.
944
945Sat Jun 12 14:47:04 1993 Fred Fish (fnf@cygnus.com)
946
947 * Makefile.in (VERSION): Bump to 4.9.2.
948 * c-valprint.c (c_val_print): For array of chars printed with
949 string syntax, don't print the address of the array. From
950 bothner@cygnus.com.
951 * c-exp.y (yylex): Recognize '.' as indicating a floating point
952 number regardless of the radix. From wilson@cygnus.com.
953 * valprint.c (set_input_radix_1, set_output_radix_1): New
954 prototypes and functions that do the actual radix setting work.
955 * valprint.c (set_radix, set_output_radix, set_input_radix):
956 Rewrite to use set_input_radix_1 and set_output_radix_1.
957 * valprint.c (initialize_valprint): Enable commands to
958 independently set and show input and output radices.
959 * valprint.c (show_radix): New prototype and function that
960 handles separate input and output radices.
961
962Fri Jun 11 18:39:38 1993 Ken Raeburn (raeburn@cygnus.com)
963
964 Patches from Jeff Law, law@cs.utah.edu:
965 * hppa-pinsn.c: Now uses disassembler from opcode library,
966 this contains only the stub function print_insn.
967
968Fri Jun 11 15:19:59 1993 K. Richard Pixley (rich@cygnus.com)
969
970 * main.c (main): back to two periods for elipse.
971 (print_gdb_version): revised format for configuration info.
972
973Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
974
975 * defs.h (INT_MAX): Cast unsigned shift result to int.
976
977Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
978
979 * dbxread.c (process_one_symbol): Rather than having
980 BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
981 is true if we are doing stabs-in-elf, false otherwise.
982 config/sparc/tm-sun4sol2.h: Don't define it.
983
984Fri Jun 11 13:33:40 1993 Ian Lance Taylor (ian@cygnus.com)
985
986 * remote-mips.c (mips_send_packet): Don't print garbage character
987 in debugging info.
988 (mips_request): Don't check that remote pid is 0, because
989 sometimes it isn't.
990 (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
991 not an integer.
992
993Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
994
995 * stack.c (print_frame_info): Use catch_errors around print_frame_args.
996
997 * Makefile.in (install): Don't depend on gdb.
998
999 * Rename remote-es1800.c to remote-es.c
1000 and remote-st2000.c to remote-st.c for 14-char filenames.
1001 config/m68k/{es1800,st2000}: Use the new names.
1002
1003 * mips-tdep.c (isa_NAN): Don't return true on -0.
1004
1005Fri Jun 11 10:24:35 1993 Fred Fish (fnf@cygnus.com)
1006
1007 * defs.h (INT_MAX): Cast unsigned shift result to int.
1008
1009Thu Jun 10 13:26:41 1993 Fred Fish (fnf@cygnus.com)
1010
1011 * elfread.c (elf_symtab_read): Add bfd section address to bfd
1012 symbols, now that they are section relative.
1013 * solib.c (bfd_lookup_symbol): Ditto.
1014
1015Thu Jun 10 10:56:56 1993 Jim Kingdon (kingdon@cygnus.com)
1016
1017 * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
1018 depend: Updated accordingly.
1019
1020Wed Jun 9 16:08:44 1993 Jim Kingdon (kingdon@cygnus.com)
1021
1022 * Makefile.in (*.tab.c): Use mv for atomic update.
1023
1024 * Makefile.in ({dist,real}clean): Also remove nm.h.
1025 (realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
1026 (distclean): Don't rebuild *.tab.c or TAGS.
1027
1028Wed Jun 9 12:56:58 1993 K. Richard Pixley (rich@cygnus.com)
1029
1030 * Makefile.in (version.c): add host and target names to version.c.
1031 * main.c (main): print three periods for the elipse.
1032 (print_gdb_version): also print configuration.
1033
1034 * udi/udiids.h, udi/udip2soc.c, udi/udiphcfg.h, udi/udiphunix.h,
1035 udi/udiproc.h, udi/udipt29k.h, udi/udiptcfg.h, udi/udisoc.h,
1036 udi/udr.c: Change AMD copyrights to FSF copyleft '93.
1037
1038 * remote-eb.c (get_hex_regs, eb_fetch_registers), remote-adapt.c
1039 (get_hex_regs, adapt_fetch_registers): cast args to
1040 supply_register to avoid gcc warning.
1041
1042 * config/a29k/a29k.mt (TDEPFILES): drop minimon support. It
1043 doesn't compile on solaris and is now obsolete.
1044
1045 * config/sparc/sun4os4.mh (XM_CLIBS): remove -lresolv. This
1046 breaks stock sunos installations.
1047
1048Wed Jun 9 06:14:33 1993 Jim Kingdon (kingdon@cygnus.com)
1049
1050 * m68k-stub.c: Add comment about frame cache.
1051
1052 * target.h (target_store_registers): Doc fix re error handling.
1053
1054 * findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
1055 of register_valid[regno].
1056
1057Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1058
1059 * symtab.h, dwarfread.c: Doc fix re dependencies.
1060
1061Tue Jun 8 17:54:09 1993 Rob Savoye (rob@rtl.cygnus.com)
1062
1063 * serial.c (serial_close): If scb is NULL, don't try to close
1064 it.
1065 * configure.in: Add support for rom68k and bug boot monitors.
1066
1067Tue Jun 8 17:39:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1068
1069 * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
1070 * gdbcore.h, core.c (read_memory_unsigned_integer): New function.
1071 * findvar.c (read_register, write_register): Fix thinko where
1072 sizeof(host long) != sizeof(target int).
1073 * h8300-tdep.c: Use new read_memory_unsigned_integer call.
1074 * sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
1075
1076Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1077
1078 * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
1079 m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between
1080 68881 and non-68881 cases. Check for a pair of movel instructions.
1081
1082Tue Jun 8 14:52:55 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1083
1084 First cut at sparc-vxworks targetting.
1085 * config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt: new files.
1086 * configure.in: sparc-vxworks gdb_target now vxsparc.
1087
1088 * remote-eb.c, remote.c: symfile.h requires bfd.h so include it.
1089
1090Tue Jun 8 14:42:10 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1091
1092 * config/m68k/xm-news.h: add "extern int errno".
1093
1094Tue Jun 8 13:45:07 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1095
1096 * remove-vx.c (vx_read_register, vx_write_register): collapse
1097 ifdef I80960 else (assumes) m68k into parameterizable macros
1098 VX_NUM_REGS and VX_SIZE_FPREGS.
1099 * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
1100 VX_SIZE_FPREGS): new definitions.
1101
1102Tue Jun 8 11:08:29 1993 Jim Kingdon (kingdon@cygnus.com)
1103
1104 * symfile.{c,h} (generic_load): New function.
1105 remote{,-nindy,-eb,-mips}.c: Use it.
1106
1107Mon Jun 7 20:07:30 1993 Stu Grossman (grossman@cygnus.com)
1108
1109 * Makefile.in (depend): More sed gubbish to deal with
1110 ../bfd/bfd.h being generated during the build.
1111 * depend: Re-done with corrected makefile.
1112
1113Mon Jun 7 16:32:05 1993 Fred Fish (fnf@cygnus.com)
1114
1115 * Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
1116 * Makefile.in (BFD_OBJ_DIR): New definition for the bfd build
1117 directory to find automatically generated header files and library.
1118 * Makefile.in (BFD_LIB): Use BFD_OBJ_DIR.
1119 * Makefile.in (LINTFLAGS): Include BFD_OBJ_DIR.
1120 * Makefile.in (saber_gdb): Include BFD_OBJ_DIR.
1121 * Makefile.in (depend): Include BFD_OBJ_DIR in gcc args.
1122 * Makefile.in (paread.o, xcoffexec.o): Remove, now in depend.
1123 * depend, alldeps.mak: Rebuild after Makefile.in changes.
1124
1125Fri Jun 4 10:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1126
1127 * configure.in: change lynx support to CPU-*-lynxos*
1128
1129 * Makefile.in (subdir_do): change test from existence of directory
1130 to existence of Makefile (the directory may exist but not be configured)
1131
1132Thu Jun 3 01:18:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1133
1134 * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED
1135
1136Fri Jun 4 10:43:33 1993 Ian Lance Taylor (ian@cygnus.com)
1137
1138 * configure.in (mips-idt-ecoffl*): New target; use idtl.
1139 (mips-idt-ecoff*): Added trailing '*'.
1140 * config/mips/idtl.mt: New file; like idt.mt, but little endian.
1141
1142Thu Jun 3 17:36:56 1993 Stu Grossman (grossman@cygnus.com)
1143
1144 * ser-go32.c: Clean up lots of compilation nits.
1145
1146Thu Jun 3 14:44:57 1993 Stu Grossman (grossman@cygnus.com)
1147
1148 * Patches from Jeffrey Law <law@cs.utah.edu>.
1149 * hppab-nat.c: Eliminate unnecessary ifdefs for
1150 FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
1151 CANNOT_STORE_REGISTER.
1152 (fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
1153 * hppa-pinsn.c: Support 'I', 'J', and 'K' in output
1154 templates for 1.1 FP computational instructions.
1155
1156Thu Jun 3 03:34:49 1993 Stu Grossman (grossman@cygnus.com)
1157
1158 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
1159 * alldeps.mak, depend: Rebuild to account for ser-tcp.
1160 * config/sparc/sun4os4.mh: Add ser-tcp to XDEPFILES.
1161 * gdbserver/Makefile.in (gdbserver): Use -lbsd.
1162 * gdbserver/remote-inflow{-sparc}.c (create_inferior): Don't use a
1163 shell when running the child, as args have been expanded by the
1164 time we get here. Simplify calling convention.
1165 * gdbserver/remote-server.c (main): Use new calling convention
1166 for create_inferior, remove defunct code for coalescing argv.
1167 Remove extra calls to mywait(), as we no longer have to wade
1168 through a shell.
1169
1170 * target.c (target_read_memory_partial): Don't deref errnoptr
1171 when checking for null pointer.
1172
1173Wed Jun 2 19:58:46 1993 John Gilmore (gnu@cygnus.com)
1174
1175 * remote-es1800.c: Fix typo.
1176
1177Tue Jun 1 21:22:39 1993 Fred Fish (fnf@cygnus.com)
1178
1179 * target.c (target_read_memory_partial): Like target_read_memory,
1180 but does partial reads, such as reads that bump into the end of
1181 the address space.
1182 * target.h (target_read_memory_partial): Add prototype.
1183 * valprint.c (PRINT_MAX_DEFAULT): New define, initial value 200.
1184 * valprint.c (val_print_string): Complete rewrite to fix bug with
1185 bumping into end of memory, avoiding unnecessarily long reads, and
1186 fixing bug when print_max is set to 0 (unlimited print length).
1187 * valprint.c (_initialize_valprint): Use PRINT_MAX_DEFAULT to
1188 initialize print_max.
1189
1190Tue Jun 1 18:11:35 1993 Rob Savoye (rob at darkstar.cygnus.com)
1191
1192 * configure.in: Add support for rom68k and bug boot monitors.
1193
1194Mon May 31 10:37:04 1993 Jim Kingdon (kingdon@cygnus.com)
1195
1196 * printcmd.c (print_scalar_formatted): Print integers bigger than
1197 LONGEST in hex no matter how big, and no matter what the format
1198 and size.
1199
1200 * stabsread.c (read_type): Skip type attributes if present.
1201
1202 * stabsread.c (read_huge_number): Don't accept '0' + radix as part
1203 of number, just through '0' + radix - 1.
1204
1205Sun May 30 15:35:21 1993 Fred Fish (fnf@cygnus.com)
1206
1207 * Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o.
1208
1209 * {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
1210 single parameter, the pointer to the partial symtab, rather than
1211 a bunch of args that are derived from the partial symtab. Change
1212 prototypes and callers to match.
1213
1214 * dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
1215 set demangling style automatically.
1216 * defs.h (CPLUS_MARKER): Clarify comment that this is only for
1217 GNU C++, not C++ in general.
1218 * symtab.h (general_symbol_info): Simplify by eliminating one
1219 structure level for the language dependent info.
1220
1221Sat May 29 15:59:29 1993 Fred Fish (fnf@cygnus.com)
1222
1223 * c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
1224 names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
1225 TYPE_CODE_ENUM was already testing for this.
1226
1227Fri May 28 17:18:05 1993 Stu Grossman (grossman@cygnus.com)
1228
1229 * Makefile.in: Add new file ser-tcp.c.
1230 * defs.h (memcmp): Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
1231 * findvar.c (write_register): See if we are writing back the same
1232 value that's already in the register. If so, don't bother.
1233 * remote.c (putpkt, getpkt): Improve handling of communication
1234 problems.
1235 * ser-go32.c: Prototype it to death. Update serial_ops and add
1236 dummy routines where appropriate.
1237 * ser-tcp.c: New module to implement serial I/O via TCP
1238 connections.
1239 * ser-unix.c: Clean up getting/setting of tty state. Get rid of
1240 SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
1241 * serial.c: Add start of support for connect command.
1242 (serial_open): Distinguish between tcp and local devices.
1243 * serial.h (struct serial_ops): Get rid of restore, add
1244 get_tty_state and set_tty_state. Define protoypes and macros for
1245 this mess.
1246 * gdbserver/remote-utils.c: Add tcp support. (readchar): Do
1247 some real buffering. Handle error conditions gracefully.
1248 * gdbserver/remote-inflow-sparc.c: Update to remote-inflow.c
1249 (Lynx), remove lots of cruft.
1250
1251Fri May 28 17:24:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1252
1253 * printcmd.c (print_address_symbolic): turn this into an assigment
1254 instead of an initialization (many compilers don't accept
1255 structure initialization).
1256
1257Thu May 27 16:56:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1258
1259 * xcoffread.c (read_xcoff_symtab): If several program csects in one
1260 source file, give them all the name of the source file, rather than
1261 the 2nd and subsequent ones having NULL names.
1262
1263Thu May 27 06:16:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1264
1265 * printcmd.c (print_address_symbolic): Append source filename and
1266 linenumber of the symbol if print symbol-filename is on.
1267 (initialize_printcmd): `set print symbol-filename'.
1268
1269Wed May 26 13:46:16 1993 Stu Grossman (grossman@cygnus.com)
1270
1271 * configure.in: Add config for Lynx target. Configure gdbserver
1272 only for Lynx. Re-do selective configuration of sparclite.
1273
1274 * gdbserver/{remote-gutils.c remote-server.c Makefile.in
1275 configure.in remote-inflow.c remote-utils.c}: New files to
1276 support GDB remote server. Currently only works for Lynx.
1277
1278Wed May 26 10:28:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1279
1280 * stabsread.c (define_symbol, case 't'): Only set the name if it
1281 is not a pointer type.
1282
1283 * stabsread.c (define_symbol): Clean up logic; move the read_type
1284 calls to inside the switch statement (this improves the error
1285 handling).
1286
1287 * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
1288 common blocks.
1289
1290Tue May 25 20:44:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1291
1292 * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
1293
1294 * source.c (line_info): Change "pc" to "address" in messages and
1295 use print_address for addresses.
1296
1297 * source.c (line_info): If we don't find a symtab, print more useful
1298 output, including the symbolic address.
1299
1300 * source.c (line_info): If --fullname, display the source.
1301 (identify_source_line), callers: Take pc as argument, rather than
1302 assuming innermost frame (emacs doesn't use this, so no one ever
1303 noticed).
1304 * symtab.h: Declare frame_file_full_name.
1305 * main.c: Don't.
1306
1307Tue May 25 15:30:43 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
1308
1309 * breakpoint.c (catch_command_1): Fix typo in error msg.
1310
1311Tue May 25 16:05:55 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1312
1313 * elfread.c (elf_symfile_read): Update ELF structure and routine
1314 names to specify 32-bit versions.
1315 (elf_symtab_read): Retrieve size field directly from symbol,
1316 instead of using old kludge.
1317
1318 * mips-pinsn.c (print_insn): Cast address to bfd_vma before
1319 calling opcodes library.
1320 * z8k-tdep.c (print_insn): Likewise.
1321
1322Tue May 25 13:06:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1323
1324 * stabsread.c: Remove all uses of error(). Make error_type and
1325 read_type_number static.
1326 (define_symbol): Don't try to deal with a missing symbol
1327 descriptor which isn't followed by digit, '(', or '-'.
1328 * stabsread.h: Don't declare read_type_number here.
1329 * gdbtypes.h: Don't declare error_type here.
1330 * xcoffread.c: Remove NO_TYPEDEFS code.
1331
1332Tue May 25 09:33:16 1993 Ian Lance Taylor (ian@cygnus.com)
1333
1334 * mips-tdep.c: Removed #include of many header files, and #define
1335 of MIPSMAGIC; no longer used.
1336
1337Tue May 25 09:36:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1338
1339 * Many places: replace "the inferior" in messages with "the program"
1340 or "the program being debugged".
1341 * inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
1342 and I'm getting sick of maintaining it.
1343
1344 * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
1345 support it.
1346
1347 * config/i386/go32.mh: Define SER_HARDWIRE.
1348 * Makefile.in: Define SER_HARDWIRE.
1349 (DEPFILES): Use it.
1350 (alldeps.mak): Add SER_HARDWIRE.
1351 Remove all references to ser-hardwire.{c,o}.
1352 * configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
1353
1354Mon May 24 23:50:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1355
1356 * sparc-nat.c (store_inferior_registers): Fill in all members of
1357 inferior_fp_registers by reading them from the inferior before
1358 modifying and writing them back.
1359 Fixes unexplainable inferior FP exceptions after calls to the inferior
1360 or setting of floating point registers.
1361 * mips-tdep.c (mips_skip_prologue): Skip move of argument register
1362 to register which is generated by gcc-2.4.
1363
1364Tue May 25 00:42:39 1993 Ken Raeburn (raeburn@cygnus.com)
1365
1366 * hppa-pinsn.c: Define OLD_TABLE before including opcode/hppa.h.
1367
1368Mon May 24 13:55:14 1993 Stu Grossman (grossman@cygnus.com)
1369
1370 * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
1371 xm-i386lynx.h}: New configuration for Lynx.
1372
1373Mon May 24 10:01:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1374
1375 * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
1376 * symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
1377
1378 * c-typeprint.c (c_type_print_base): Don't print typedef'd names
1379 as struct, union, or enum tags.
1380
1381Mon May 24 01:10:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1382
1383 * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
1384 executable.
1385
1386Sat May 22 10:03:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1387
1388 * infrun.c (wait_for_inferior),
1389 infcmd.c (program_info, signal_command): Use symbolic signal names.
1390
1391 * inftarg.c (child_wait): Deal with EINTR and include message from
1392 strerror if printing an error message.
1393
1394 * main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
1395
1396 * stabsread.c: Remove most uses of lookup_fundamental_type.
1397 (define_symbol): Use read_type for type of enum constant,
1398 not just read_type_number. Also don't call error().
1399 (define_symbol): For unrecognized constant type, one complaint (the
1400 one from error_type) is enough. Don't make our own in addition.
1401 (define_symbol): Don't treat an N_FUN 'R' as a prototype.
1402 * gdbtypes.h: Doc fixes.
1403
1404Sat May 22 03:33:07 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1405
1406 Fix stack unwinding through _sigtramp on Irix. These patches are from
1407 Paul Flinders <ptf@delcam.co.uk>.
1408 * mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
1409 executable uses sigvec.
1410 * mips-tdep.c (read_next_frame_reg): Allow tm-file to override
1411 sigcontext offsets.
1412 * config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
1413
1414Sat May 22 00:39:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1415
1416 * infrun.c (wait_for_inferior): Clear stop_signal if it should not
1417 be passed to the inferior to make "handle <signal> nopass nostop" work.
1418
1419Sat May 22 00:21:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1420
1421 * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
1422 the necessary bits.
1423 * findvar.c (value_from_register): Fix uninitialized first_addr
1424 which caused problems with assignment of doubles to register variables
1425 on some targets.
1426 * mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
1427 missing mips definitions if necessary.
1428
1429 Fix handling of double register variables for mips targets and big
1430 endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
1431 * config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
1432 8 bytes for doubles.
1433 * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
1434 conversion of type held in multiple registers to host format.
1435 * config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
1436 companion to REGISTER_CONVERT_TO_TYPE.
1437 * config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
1438 Convert to function calls.
1439 * config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
1440 mips targets.
1441 * mips-tdep.c (mips_print_register): Raw buffer now needs just
1442 MAX_REGISTER_RAW_SIZE bytes.
1443 * mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
1444 (if defined) for doubles.
1445 * mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
1446 New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
1447 * valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
1448 defined.
1449 * findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
1450 defined.
1451
1452Fri May 21 09:04:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1453
1454 * configure.in: Add i[34]86-*-isc*.
1455
1456 * stabsread.c: Make sure all complain() pass the address of the struct.
1457
1458 * xcoffread.c: Make sure all struct complaints are static not auto.
1459
1460 * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
1461
1462 * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
1463
1464Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1465
1466 * config/i386/linux.mh: Re-enable coredumps now that they should work.
1467
1468Wed May 19 15:44:20 1993 K. Richard Pixley (rich@cygnus.com)
1469
1470 * config/m68k/tm-m68k.h (FRAME_CHAIN): add missing close paren.
1471
1472Wed May 19 15:33:57 1993 Stu Grossman (grossman@cygnus.com)
1473
1474 * config/pa/nm-hppab.h: Comment PTRACE_ARG3_TYPE.
1475
1476Wed May 19 12:33:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1477
1478 * Makefile.in (INSTALLED_LIBS): New variable.
1479
1480Tue May 18 14:08:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1481
1482 * main.c (quit_command): In the "quit anyway?" message, tell the user
1483 whether we are planning to detach or kill the program.
1484
1485 * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
1486 * config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
1487
1488 * infcmd.c (read_pc): Doc fix.
1489
1490 * printcmd.c (print_address_symbolic): Use %u not %d for offset.
1491
1492 * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
1493 signal_handler_caller.
1494 * tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
1495 * tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
1496 * inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
1497 Use SIGTRAMP_START if defined.
1498 * infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
1499 * infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
1500
1501 * infptrace.c: Remove unused KERNEL_U_ADDR_HPUX code.
1502
1503 * infcmd.c (step_1): Fix poorly worded error message.
1504
1505 * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
1506 Comment out corelow.c because core dumps are broken on these machines.
1507
1508 * Makefile.in (depend): Put "${srcdir}" in generated dependencies
1509 if srcdir is not ".".
1510 Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
1511 (INCLUDE_CFLAGS): Remove BFD_DIR and READLINE_DIR.
1512 * depend: Update to latest automatically built version.
1513
1514Tue May 18 08:10:45 1993 Fred Fish (fnf@cygnus.com)
1515
1516 * ChangeLog, ChangeLog-92: Split ChangeLog at 1993.
1517 * Makefile.in (NONSRC): Add ChangeLog-92
1518
1519Tue May 18 08:03:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1520
1521 * findvar.c ({read,write}_register): Use REGISTER_RAW_SIZE
1522 not typo RAW_REGISTER_SIZE.
1523
1524 * frame.h, inferior.h: Doc fixes.
1525
1526Mon May 17 15:43:03 1993 Stu Grossman (grossman@cygnus.com)
1527
1528 * findvar.c (write_register): Add sanity check for register size.
1529 (read_register): Fixup sanity check for register size to be
1530 consistent with write_register().
1531
1532Mon May 17 07:36:20 1993 Ian Lance Taylor (ian@cygnus.com)
1533
1534 * sparclite/Makefile.in: Add dummy info, install and install-info
1535 targets.
1536
1537Thu May 13 07:30:22 1993 Ian Lance Taylor (ian@cygnus.com)
1538
1539 * remote-nindy.c: Removed declaration of coffstrip.
1540 * nindy-share/nindy.c: #if 0 coffstrip routine; no longer used.
1541
1542Wed May 12 00:35:19 1993 Fred Fish (fnf@cygnus.com)
1543
1544 * Makefile.in (VERSION): Bump to 4.9.1 after release and cvs
1545 tagging.
1546
1547 * Makefile.in (VERSION): GDB 4.9 release.
1548
1549Tue May 11 08:04:41 1993 Fred Fish (fnf@cygnus.com)
1550
1551 * README: Update known bugs to include the Solaris bug that
1552 leaves core dumps in the current directory when restarting the
1553 inferior with "run". Expand on the testsuite information.
1554
1555 * Makefile.in (VERSION): Bump to 4.8.96 for what should hopefully
1556 be the last 4.9 prerelease test archive.
1557
1558Mon May 10 22:13:23 1993 Jim Kingdon (kingdon@cygnus.com)
1559
1560 * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
1561 redefined warnings.
1562
1563Mon May 10 20:00:43 1993 Fred Fish (fnf@cygnus.com)
1564
1565 * README, NEWS: Update for gdb 4.9 release.
1566
1567Mon May 10 19:38:34 1993 John Gilmore (gnu@cygnus.com)
1568
1569 * ch-exp.y (MAX, MIN): Rename to MAX_TOKEN, MIN_TOKEN.
1570 * target.c (MIN): #undef before defining.
1571
1572Mon May 10 16:03:03 1993 Jim Kingdon (kingdon@cygnus.com)
1573
1574 Patch from Jeffrey Law:
1575 * gdb/config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
1576
1577Mon May 10 15:28:27 1993 Ian Lance Taylor (ian@cygnus.com)
1578
1579 * hppa-tdep.c (hppa_push_arguments): Allocate correct amount of
1580 memory.
1581
1582Mon May 10 13:14:46 1993 Fred Fish (fnf@cygnus.com)
1583
1584 * ch-exp.y (start): Apply work-around to avoid bison warning.
1585
1586Sun May 9 07:25:02 1993 Fred Fish (fnf@cygnus.com)
1587
1588 * Makefile.in (BISON): Remove double quotes around BISON
1589 definition when bison is used.
1590
1591 * configure.in (hppa*-hp-bsd): Change to hppa*-hp-bsd*
1592 * configure.in (hppa*-hp-hpux): Change to hppa*-hp-hpux*
1593 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
1594 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
1595 * configure.in (hppa*-*-bsd): Change to hppa*-*-bsd*
1596 * configure.in (hppa*-*-hpux): Change to hppa*-*-hpux*
1597 * configure.in (m68*-hp-bsd): Change to m68*-hp-bsd*
1598 * configure.in (m68*-hp-hpux): Change to m68*-hp-hpux*
1599
1600 * Makefile.in (VERSION): Bump to 4.8.6.
1601
1602Sat May 8 12:36:03 1993 Fred Fish (fnf@cygnus.com)
1603
1604 * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
1605 include declarations for malloc/realloc/free. Both malloc and
1606 realloc return 'void *' for non-ANSI compilations.
1607
1608Sat May 8 01:39:30 1993 (pes@regent.e-technik.tu-muenchen.de)
1609
1610 * coffread.c (read_coff_symtab): Don't fclose stream as it is no
1611 longer opened twice.
1612
1613Thu May 6 21:08:55 1993 Jim Kingdon (kingdon@cygnus.com)
1614
1615 * solib.c (clear_solib): Don't close bfd if it is NULL.
1616
1617Thu May 6 20:55:35 1993 Fred Fish (fnf@cygnus.com)
1618
1619 * core.c (dis_asm_read_memory): Cast second arg of
1620 target_read_memory to "char *".
1621 * breakpoint.c (watchpoint_check): Change arg type from PTR to
1622 "char *", to match other functions called by catch_errors().
1623
1624Thu May 6 15:47:45 1993 Stu Grossman (grossman@cygnus.com)
1625
1626 * More patches from Jeffrey Law (law@cs.utah.edu).
1627 * gdb/config/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
1628 * gdb/config/pa/tm-hppah.h (millicode_start, millicode_end):
1629 Delete unnecessary declarations.
1630
1631Thu May 6 15:15:46 1993 Stu Grossman (grossman@cygnus.com)
1632
1633 * ser-unix.c (wait_for): Use VTIME to do timeouts instead of
1634 poll() for termio{s}.
1635
1636Thu May 6 10:03:41 1993 Jim Kingdon (kingdon@cygnus.com)
1637
1638 * i386-tdep.c (i386_frame_num_args): Always return -1.
1639
1640Wed May 5 15:16:33 1993 Stu Grossman (grossman@cygnus.com)
1641
1642 * Patches from Jeffrey Law <law@cs.utah.edu>.
1643 * gdb/hppa-tdep.c: Declare frame_saved_pc.
1644 (frameless_function_invocation): New function.
1645 (frame_saved_pc, init_extra_frame_info): Use
1646 frameless_function_invocation.
1647 * gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
1648 call instead of just grabbing the value currently in %r2.
1649 (FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
1650 * gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
1651 definition and use the common one in tm-hppa.h.
1652 * gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
1653 use unwind descriptors to determine if the frame chain is valid.
1654 * gdb/hppa-tdep.c (find_dummy_frame_regs): Rework so that
1655 it does not assume %r4 is the frame pointer.
1656 * gdb/hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
1657 and ssm instructions.
1658 * gdb/hppa-tdep.c (extract_5r_store, extract_5R_store): New
1659 helper functions for print_insn.
1660 * gdb/hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
1661 * gdb/config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
1662 which nullifies the following instruction.
1663
1664Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1665
1666 * infptrace.c [FIVE_ARG_PTRACE]: Define ptrace to call_ptrace and
1667 pass the 5th arg there, rather than using an ANSI C-specific macro.
1668
1669 * Makefile.in (depend): Don't include ${CC} command for *.tab.c.
1670
1671Tue May 4 19:33:12 1993 Fred Fish (fnf@cygnus.com)
1672
1673 * Makefile.in (VERSION): Bump to 4.8.5
1674 * Makefile.in (INCLUDE_CFLAGS): Add BFD_DIR and READLINE_DIR
1675 directories to include search path.
1676 * Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS): Clean up
1677 whitespace.
1678 * Makefile.in (depend): For gcc -MM line, use INTERNAL_CFLAGS
1679 * Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
1680 elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
1681 xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
1682 udr.o, udip2soc.o): Remove explicit rules, use the ones that
1683 are automatically generated in "depend".
1684 * Makefile.in (paread.o): Document why a dependency doesn't get
1685 automatically generated in "depend" and leave this explicit rule
1686 in for now (FIXME).
1687 * depend: Update to latest automatically generated version.
1688
1689Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1690
1691 * xcoffread.c: Doc fix.
1692
1693 * Makefile.in (depend): Include $(CC) command in generated output.
1694
1695Mon May 3 22:51:05 1993 Fred Fish (fnf@cygnus.com)
1696
1697 * Makefile.in (NONSRC): Remove ${srcdir}/putenv.c.
1698 * Makefile.in (SFILES): Add ${srcdir}/putenv.c.
1699 * depend: Update to latest automatically built version.
1700
1701Mon May 3 19:20:20 1993 Stu Grossman (grossman@cygnus.com)
1702
1703 * sparclite/Makefile.in: Create default target that does nothing
1704 in order to force user to build by hand.
1705
1706 * sparclite/Makefile: Remove. It's not necessary anymore.
1707
1708 * ser-unix.c (wait_for): New routine to handle read timeouts,
1709 etc. Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise.
1710
1711Mon May 3 13:52:08 1993 Ian Lance Taylor (ian@cygnus.com)
1712
1713 * mips-pinsn.c (print_insn): Return value.
1714
1715Sun May 2 11:43:57 1993 Fred Fish (fnf@cygnus.com)
1716
1717 * Makefile.in (SFILES): Remove ser-hardwire.c; it is a link made
1718 at configuration time and doesn't belong in the distribution archive.
1719
1720 * Makefile.in (NONSRC): Add 29k-share/README.
1721 * Makefile.in (HFILES): Add 29k-share/udi/udiids.h.
1722
1723 * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex
1724 constants with slightly more portable definitions (still depends
1725 on 2's complement arithmetic though).
1726 * config/i386/nm-linux.h: Define NO_SYS_REG_H for no <sys/reg.h>.
1727 * i386v-nat.c (sys/reg.h): Conditionalize include on
1728 NO_SYS_REG_H. Linux doesn't have <sys/reg.h>.
1729 * ser-unix.c (termio.h): Include <termio.h> like other files that
1730 include termio.h, not <sys/termio.h> which may not exist (on
1731 linux for example).
1732
1733Sat May 1 16:05:24 1993 Fred Fish (fnf@cygnus.com)
1734
1735 * valprint.c (print_longest): Change format parameter from a
1736 'char' to an 'int'. We can't have 'char' parameters with the
1737 current coding style, where we mix prototypes with pre-ANSI
1738 style declarations.
1739 * value.h (print_longest): Change format parameter in prototype
1740 from a 'char' to an 'int'.
1741
1742Sat May 1 02:47:20 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1743
1744 * config/mips/tm-mips.h (STAB_REG_TO_REGNUM): Match it with the gcc
1745 definition.
1746 * config/mips/tm-irix3.h (STAB_REG_TO_REGNUM): Add.
1747 * irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
1748
1749Fri Apr 30 17:45:32 1993 Stu Grossman (grossman@cygnus.com)
1750
1751 * The following patches are from Jeffrey Law <law@cs.utah.edu>.
1752 * config/pa/hppabsd.mh: Add more files to NATDEPFILES.
1753 * config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
1754 * hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
1755 ptrace needs 5 arguments, #define ptrace to always
1756 pass zero as the 5th argument.
1757
1758Fri Apr 30 15:54:13 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1759
1760 * configure.in: Match z8k-*-sim for z8000.
1761 * config/h8500/tm-h8500.h, h8500-tdep.c: Lint.
1762 * remote-hms.c: Update to use new serial protocol.
1763
1764Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
1765
1766 * mips-tdep.c: remove include of sys/dir.h. Doesn't seem
1767 necessary and Solaris doesn't have it.
1768
1769 * Makefile.in (clean-info, install, install-info, info, dvi,
1770 check, all): do not echo recursion lines.
1771
1772 * 29k-share/udip2soc.c (UDIConnect): replace union wait with int.
1773
1774 * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
1775 required target ports which use sockets (like a29k-udi).
1776
1777 * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST.
1778
1779Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com)
1780
1781 * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
1782 systems lacking select().
1783
1784 * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES.
1785
1786Fri Apr 30 10:06:46 1993 Fred Fish (fnf@cygnus.com)
1787
1788 * alldeps.mak, depend: Update with latest automatically built
1789 versions.
1790
1791Thu Apr 29 12:03:23 1993 Fred Fish (fnf@cygnus.com)
1792
1793 * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c.
1794
1795 * Makefile.in (make-proto-testsuite.dir): New target to make
1796 prototype testsuite tree.
1797
1798 * Makefile.in (VERSION): Bump to 4.8.4.
1799
1800Thu Apr 29 08:46:22 1993 Jim Kingdon (kingdon@cygnus.com)
1801
1802 * stabsread.c (define_symbol): If unrecognized constant type,
1803 complain() not error().
1804
1805Thu Apr 29 00:03:59 1993 Fred Fish (fnf@cygnus.com)
1806
1807 * infptrace.c: Add missing close paren to test for
1808 FIVE_ARG_PTRACE defined.
1809
1810 * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG
1811 when compiling with gcc, but disable it for now. See comment.
1812 * defs.h (LONGEST): Define as either "long" or "long long"
1813 based on CC_HAS_LONG_LONG.
1814 * defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control
1815 how longest_to_int is defined.
1816 * c-valprint.c (c_val_print): Call print_longest.
1817 * expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG
1818 instead of LONG_LONG.
1819 * {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with
1820 CC_HAS_LONG_LONG.
1821 * printcmd.c (print_scalar_formatted): Call print_longest
1822 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
1823 * typeprint.c (print_type_scalar): Call print_longest and let
1824 it figure out what to do for PRINTF_HAS_LONG_LONG.
1825 * valprint.c (val_print_type_code_int): Call print_longest
1826 and let it figure out what to do for PRINTF_HAS_LONG_LONG.
1827 * stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
1828 * value.h (struct value): Replace usage of LONG_LONG with
1829 CC_HAS_LONG_LONG.
1830 * value.h (print_longest): Add prototype.
1831 * values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
1832 * values.c (unpack_double): Collapse code that was unnecessarily
1833 dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types.
1834 * values.c (value_from_longest): Remove dependency on
1835 CC_HAS_LONG_LONG and just use LONGEST.
1836 * solib.c (solib_map_sections): Use bfd_get_filename
1837 to access filename field.
1838 * solib.c (clear_solib): Save filename and free it later, after
1839 bfd_close, since bfd_close may reference it. Use bfd_get_filename
1840 to access the field.
1841 * config/convex/xm-convex.h (LONG_LONG): Replace with
1842 CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG.
1843 * doc/gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG.
1844 Add PRINTF_HAS_LONG_LONG references.
1845
1846Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1847
1848 * inflow.c (kill_command), infcmd.c (attach_command),
1849 remote.c (remote_interrupt_twice): In messages for the user, call it
1850 "the program" or "the program being debugged" not "the inferior".
1851
1852 * hp300ux-nat.c: Cast second arg to supply_register calls.
1853 (_initialize_kernel_u_addr, getpagesize): New functions.
1854 (store_inferior_register_1): Change arg name from value to val.
1855 (fetch_core_registers): Make arg core_reg_size unsigned.
1856 Pass 5 args to ptrace.
1857 * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
1858 Remove KERNEL_U_ADDR stuff.
1859 * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
1860 * config/m68k/hp300hpux.m{t,h}:
1861 Move exec.o from NATDEPFILES to TDEPFILES
1862 * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove
1863 hp-include stuff. Add m68k-tdep.o to TDEPFILES.
1864
1865Wed Apr 28 13:27:54 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1866
1867 * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.
1868
1869Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1870
1871 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.
1872
1873Wed Apr 28 11:39:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
1874
1875 * doc/gdb.texinfo: make node "Shell Commands" unconditional;
1876 describe `set demangle-style arm' (not cfront);
1877 mention can type `q' to discard output, when gdb pages
1878
1879Wed Apr 28 11:32:39 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1880
1881 * valops.c (search_struct_field): Fix gdb core dump with incomplete
1882 stabs info.
1883
1884Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1885
1886 * remote.c: Change timeout to 2.
1887 (remote_open): Use unpush_target not remote_close.
1888 (remote_resume): If siggnal != 0, give warning not error().
1889 (remote_wait, remote_interrupt, remote_interrupt_twice):
1890 If we get two interrupts, let the user get out if they want.
1891 (remote_{kill,mourn}): New functions.
1892 i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
1893
1894Wed Apr 28 09:20:55 1993 Ian Lance Taylor (ian@rtl.cygnus.com)
1895
1896 * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
1897
1898Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com)
1899
1900 * Remote targets (mourn): Call unpush_target.
1901
1902 * config/sparc/xm-sun4os4.h: Declare free() to return int.
1903 Remove twisted use of PARAMS.
1904
1905 * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
1906 that ansidecl.h assumes ANSI on AIX.
1907
1908Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
1909
1910 * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
1911 (Known bugs): Remove AIX bugs, revise SPARC struct bug description.
1912
1913Tue Apr 27 13:44:19 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1914
1915 * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.
1916
1917Tue Apr 27 10:01:33 1993 Jim Kingdon (kingdon@cygnus.com)
1918
1919 * remote-vx.c (net_connect): Allow numeric IP address for host.
1920
1921Mon Apr 26 17:59:38 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1922
1923 * config/sh/sh.mt, config/sh/tm-sh.h, sh-tdep.c: New files.
1924
1925Mon Apr 26 07:13:32 1993 Jim Kingdon (kingdon@cygnus.com)
1926
1927 * rs6000-tdep.c (branch_dest): Deal with stepping through system call.
1928
1929 * symtab.h, xcoffread.c: Revise linetable sorting comments.
1930
1931Sun Apr 25 02:32:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1932
1933 * valops.c (value_cast): A cast might also change the object
1934 representation in C++.
1935 * dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
1936 to get the proper read_symtab function when called from mipsread.c.
1937 * mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
1938 Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
1939 for dummy psymtabs, inhibit processing of dummy psymtabs.
1940
1941Sat Apr 24 19:59:54 1993 Jim Kingdon (kingdon@cygnus.com)
1942
1943 * Changes from (or inspired by) AMD:
1944 * remote-udi.c (udi_attach): Assignments to Space and Offset were
1945 switched, fix it.
1946 (udi_wait): Make error message (UDIGetStdout) match error.
1947 (udi_wait): Handle UDIStdinNeeded.
1948 * command.c [CANT_FORK]: Use system().
1949 * utils.c (prompt_for_continue): Allow quit with 'q'.
1950
1951 * solib.c (solib_add): Don't call special_symbol_handling if there
1952 were errors in symbol_add_stub. Also set so->from_tty before
1953 calling symbol_add_stub.
1954
1955Fri Apr 23 16:17:00 1993 Stu Grossman (grossman@cygnus.com)
1956
1957 * Merge in HPPA/BSD patches from Utah:
1958 * defs.h: Add const to 2nd arg of psignal prototype.
1959 * hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with
1960 BSD now.
1961 * hppab-core.c: Deleted. No longer useful.
1962 * hppab-nat.c: #include more files. Use PT_WUREGS, not
1963 PT_WRITE_U.
1964 * hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c.
1965 * config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o.
1966 * config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
1967 * config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
1968 * config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE.
1969
1970Fri Apr 23 10:34:02 1993 Stu Grossman (grossman@cygnus.com)
1971
1972 * Fix two bugs found by deja-gnu. One is the incorrect reporting
1973 of the PC being in a stack dummy when looking at a core file
1974 without symbols. The other is the incorrect passing of char
1975 arguments during expression evaluation (ie: p foo('a','b') would
1976 mess up the passing of it's args because it wasn't coercing the
1977 char's to ints).
1978 * hppah-tdep.c: Rename global functions to have consistent hppa_
1979 prefix. Make more functions static. Drop hp_ prefix from static
1980 functions. (hppa_push_arguments): Call value_arg_coerce to cast
1981 char to int args if necessary. (hppa_fix_call_dummy): Create
1982 this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
1983 * inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being
1984 valid (ie: != 0) before doing comparison against PC.
1985 * valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY
1986 to reflect new arguments.
1987 * config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_
1988 prefix for func name. (FIX_CALL_DUMMY): Move code into
1989 hppah-tdep.c.
1990
1991 * testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c: Add calls
1992 to malloc() so that we can test GDB eval of dynamically created
1993 arrays (like char strings in `print "foo"').
1994
1995Fri Apr 23 01:28:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1996
1997 * printcmd.c (print_address_symbolic): Search symtabs as well as the
1998 minimal symbols for a nearby symbol.
1999
2000Thu Apr 22 19:44:21 1993 John Gilmore (gnu@cacophony.cygnus.com)
2001
2002 * coffread.c: Comment changes around minimal symbol recording.
2003
2004Thu Apr 22 16:24:36 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2005
2006 * command.c: comment changes only.
2007
2008 * mips-tdep.c (heuristic_fence_post): new static variable.
2009 (heuristic_proc_start): use heuristic_fence_post, print better
2010 warnings, but only if not stop_soon_quietly.
2011 (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
2012
2013Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
2014
2015 * symtab.h: Fix LOC_REF_ARG comment.
2016
2017Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2018 and Jim Kingdon (kingdon@cygnus.com)
2019
2020 * stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
2021 LOC_REGPARM symbol.
2022 * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
2023 symfile.c (compare_symbols): Don't check first character; STRCMP
2024 does that.
2025
2026 * stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
2027 structures that are passed by address in a register.
2028 * symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
2029 * findvar.c (read_var_value),
2030 printcmd.c (address_info, print_frame_args),
2031 stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
2032 * symtab.c (lookup_block_symbol): Deal with it.
2033
2034Thu Apr 22 09:07:24 1993 Jim Kingdon (kingdon@cygnus.com)
2035
2036 * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
2037 Add objfile field.
2038 * objfiles.c (find_pc_section): Return a struct obj_section *.
2039 * sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
2040 * symfile.c (syms_from_objfile) [IBM6000_TARGET]:
2041 Don't use obj_section hack.
2042 * xcoffexec (vmap_symtab): Relocate obj_sections.
2043 * printcmd.c (containing_function_bounds): Use find_pc_section.
2044
2045 * symtab.h: Clean up SYMBOL_VALUE comments.
2046
2047Wed Apr 21 14:29:57 1993 Jim Kingdon (kingdon@cygnus.com)
2048
2049 * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
2050 Expand comments about LOC_ARG/LOC_LOCAL pairs.
2051
2052 * coffread.c (read_coff_symtab): Use rewind before fseek.
2053
2054Wed Apr 21 14:24:19 1993 Per Bothner (bothner@cygnus.com)
2055
2056 * ch-exp.y: Removed unused structure_primitive_value and FIXME_23.
2057 * Makefile.in: Add $(YFLAGS) when using $(YACC).
2058 * Makefile.in: Remove message to expect conflicts and unused
2059 rules in ch-exp.y, since there no longer are any such.
2060
2061Wed Apr 21 13:27:50 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2062
2063 * stabs.texinfo: fixed bad xrefs (un-initialized statics)
2064
2065Tue Apr 20 08:55:11 1993 Jim Kingdon (kingdon@cygnus.com)
2066
2067 * xcoffexec.c (xcoff_relocate_core): If no exec file, error()
2068 rather than dumping core.
2069
2070 * Makefile.in: Add ${srcdir}/ to all source files.
2071 (alldeps.mak): Add "${srcdir}/" to files when generating alldeps.mak.
2072 (TAGS): Deal with srcdir and new config directory scheme.
2073 createtags: Remove.
2074 Makefile.in (NONSRC): Remove createtags.
2075 alldeps.mak: Updated.
2076
2077 * rs6000-tdep.c: Delete unused function print_frame.
2078
2079 * frame.h (struct frame_info): Doc fix for next_frame.
2080 New field signal_handler_caller.
2081 blockframe.c (create_new_frame, get_prev_frame_info),
2082 config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
2083 INIT_FRAME_PC_FIRST).
2084 stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
2085 Check it.
2086
2087Mon Apr 19 22:52:33 1993 Stu Grossman (grossman@cygnus.com)
2088
2089 * irix4-nat.c (fetch_core_registers): Special version of this for
2090 Irix 4.x, which stores regs a bit differently from other /proc
2091 based systems.
2092 * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c
2093 to new file core-svr4.c.
2094 * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
2095 config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o
2096 to NATDEPFILES.
2097 * config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
2098
2099Mon Apr 19 11:13:34 1993 Jim Kingdon (kingdon@cygnus.com)
2100
2101 * i387-tdep.c: Remove unused #includes.
2102
2103 * configure.in: Match i[34]86-*-sysv3.2 not i[34]86-*-sysv32.
2104
2105 * config/i386/nm-i386v.h: Define NO_PTRACE_H.
2106
2107Sun Apr 18 10:39:35 1993 Jim Kingdon (kingdon@cygnus.com)
2108
2109 * xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back.
2110
2111 * stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
2112 xcoffread.c (process_xcoff_symbol, case C_RPSYM):
2113 Don't muck with SYMBOL_CLASS.
2114
2115Fri Apr 16 17:38:33 1993 Stu Grossman (grossman@cygnus.com)
2116
2117 * munch: Don't use head command. It doesn't exist everywhere.
2118
2119Fri Apr 16 15:07:57 1993 Fred Fish (fnf@cygnus.com)
2120
2121 * inflow.c (new_tty): Remove spurious 'o' character at end
2122 of #endif line.
2123
2124Fri Apr 16 12:27:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2125
2126 * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
2127 instructions and nothing more.
2128 * mipsread.c (add_line): Add comment why we have to combine line number
2129 entries for the same line number.
2130
2131Fri Apr 16 09:42:03 1993 Jim Kingdon (kingdon@cygnus.com)
2132
2133 * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
2134 in gdb 2.8!).
2135
2136Thu Apr 15 21:16:58 1993 Fred Fish (fnf@cygnus.com)
2137
2138 * depend, alldeps.mak: Update, now that gcc -MM bug is fixed.
2139
2140Thu Apr 15 12:38:39 1993 Jim Kingdon (kingdon@cygnus.com)
2141
2142 * source.c (select_source_symtab): Clean up comment. Also, if
2143 we have a current_source_symtab, and s is NULL, return without
2144 doing anything.
2145 xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
2146 breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
2147
2148Thu Apr 15 02:37:48 1993 John Gilmore (gnu@cacophony.cygnus.com)
2149
2150 * dbxread.c (unknown_symchar_complaint): Add new complaint.
2151 * stabsread.h: Declare it.
2152 * partial-stab.h: Use it.
2153
2154 * utils.c (malloc_botch): Don't forward-declare if NO_MMALLOC.
2155
2156Wed Apr 14 17:12:51 1993 Jim Kingdon (kingdon@cygnus.com)
2157
2158 * stack.c (print_frame_info): Print specially if dummy frame.
2159
2160 * breakpoint.c: Add comments regarding within_scope future direction.
2161
2162 * Version 4.8.3.
2163
2164 * xcoffread.c (record_include_{begin,end}): Change fatal to complain.
2165
2166Wed Apr 14 14:03:18 1993 Per Bothner (bothner@cygnus.com)
2167
2168 * ch-exp.y: Fix thinko that broke parsing of FALSE.
2169
2170Wed Apr 14 12:49:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2171
2172 * stabsread.c (read_member_functions): Initialize domain for stubbed
2173 member functions to avoid gdb core dumps when printing pointers
2174 to member functions.
2175 * cp-valprint.c (cp_print_class_method): Check for stubbed member
2176 functions.
2177
2178Tue Apr 13 08:28:26 1993 Jim Kingdon (kingdon@cygnus.com)
2179
2180 * expprint.c (print_subexp): If opcode not found in op_print_tab,
2181 stop with an error().
2182 eval.c (evaluate_subexp): Change error message.
2183
2184 * objfiles.c (build_objfile_section_table): Cast return value
2185 from obstack_finish.
2186
2187Mon Apr 12 10:53:50 1993 Jim Kingdon (kingdon@cygnus.com)
2188
2189 * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
2190 to rs6000_frame_chain and deal with it if we're in a signal handler.
2191 (FRAME_SAVED_PC): Use rs6000_frame_chain.
2192
2193 * breakpoint.c (within_scope): New function.
2194 (enable_breakpoint, watchpoint_check): Use it.
2195
2196 * source.c (openp): Handle "exec-file ./ls" correctly.
2197
2198 * breakpoint.c (breakpoint_1): Use wrap_here before "at".
2199
2200Sat Apr 10 01:32:43 1993 Per Bothner (bothner@rtl.cygnus.com)
2201
2202 * ch-exp.y: Clean up lexing of identifiers and
2203 reserved words. (E.g. don't recognize FALSEXXX as the
2204 keyword FALSE followed by the identifier XXX.)
2205 Also, convert identifiers to lower case.
2206
2207Fri Apr 9 15:53:19 1993 Stu Grossman (grossman@cygnus.com)
2208
2209 * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
2210 new serial interface.
2211
2212Fri Apr 9 15:01:12 1993 Stu Grossman (grossman@cygnus.com)
2213
2214 * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
2215 (putpkt, getpkt): Use new return codes for SERIAL_READCHAR.
2216 * ser-go32.c: Return -1 on most failures, 0 on most successes,
2217 and use new return codes for go32_readchar().
2218 * ser-unix.c: Ditto. Also, move error handling up to caller for
2219 SERIAL_SETBAUDRATE().
2220 * serial.c (serial_open): Internal call, not SERIAL_OPEN to get
2221 to specific routine.
2222 (serial_close): New routine to wrap around device close routine.
2223 serial.h: Clean & document return values more clearly.
2224
2225Fri Apr 9 10:20:55 1993 Jim Kingdon (kingdon@cygnus.com)
2226
2227 * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
2228
2229 * rs6000-pinsn.c (print_operand, case LI): Print condition register
2230 operand in decimal rather than wrong textual versions.
2231
2232 * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
2233 (mention 't', remove false thing about 'g' only good with 'f').
2234
2235 * breakpoint.h: move "struct breakpoint" and friends to top of
2236 file so that bpstat_find_breakpoint prototype works.
2237
2238 * solib.c (struct so_list): Add bfd field.
2239 (solib_map_sections): Leave bfd open and scratch_pathname allocated.
2240 Put the bfd in bfd field of the so_list.
2241 (clear_solib): Free bfd name and close_bfd on the bfd.
2242
2243Fri Apr 9 00:45:41 1993 Per Bothner (bothner@rtl.cygnus.com)
2244
2245 * valarith.c (value_subscript): Add COERCE_REF.
2246 * ch-exp.y (operand_5): We can generalize the 2nd operand
2247 of a string repetition ot 'literal' without ambiguity.
2248
2249Thu Apr 8 10:15:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2250
2251 * breakpoint.h (struct bpstat): Remove momentary field.
2252 Remove bpstat_momentary_breakpoint. This was always kludgy
2253 and is no longer used.
2254
2255 * breakpoint.h: Add enum bpstat_what.
2256 breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
2257 stop and print fields of bpstat now per-breakpoint, not just
2258 one for the whole chain.
2259 breakpoint.{c,h} (bpstat_what): New function.
2260 breakpoint.h: Remove bpstat_stop and bpstat_should_print.
2261 infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
2262 with call to bpstat_what.
2263 README: Remove watchpoint/breakpoint bug from known bugs.
2264
2265 * breakpoint.h: Prototype bpstat_find_breakpoint.
2266
2267Thu Apr 8 16:01:21 1993 Fred Fish (fnf@cygnus.com)
2268
2269 * symtab.c (find_methods, gdb_mangle_name): Note that functions
2270 are g++ specific.
2271 * symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
2272 DESTRUCTOR_PREFIX_P): Note that macros are g++ specific.
2273
2274Thu Apr 8 12:45:32 1993 Ian Lance Taylor (ian@cygnus.com)
2275
2276 * i960-pinsn.c (tabent): Copied struct definition from
2277 opcodes/i960-dis.c.
2278
2279Thu Apr 8 10:34:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2280
2281 * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
2282 is a C++ destructor.
2283 * symtab.c (gdb_mangle_name): Use it.
2284 * symtab.c (find_methods): Do not add destructors to choice list
2285 for constructors.
2286 * symtab.c (decode_line_1): Make breakpoints on destructors work
2287 for gcc-2.x again.
2288
2289Wed Apr 7 18:43:09 1993 Stu Grossman (grossman@cygnus.com)
2290
2291 * ser-go32.c: Make it use serial port name.
2292 * go32-xdep.c: Put in def for strlwr, needed by dir.o in go32 libc.
2293
2294 * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
2295 in a system call!
2296
2297Wed Apr 7 15:52:11 1993 Stu Grossman (grossman@cygnus.com)
2298
2299 * configure.in: Only configure sparclite subdir when target_cpu
2300 is sparclite.
2301
2302Wed Apr 7 10:11:22 1993 Jim Kingdon (kingdon@cygnus.com)
2303
2304 * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
2305 Remove FIXME comment regarding this.
2306
2307 * symfile.h: Change NULL->'\0' in comment (that wasn't a typo).
2308
2309 * xcoffread.c (read_xcoff_symtab): Use E_SYMNMLEN.
2310
2311Tue Apr 6 22:30:58 1993 K. Richard Pixley (rich@cygnus.com)
2312
2313 Add section table to objfile struct. Use it for find_pc_section.
2314 * objfiles.c (add_to_objfile_sections,
2315 build_objfile_section_table, find_pc_section): new functions.
2316 (allocate_objfile): build section table.
2317 * objfiles.h (struct obj_section): new structure.
2318 (struct objfile): add section table.
2319 (find_pc_section): new prototype.
2320 * solib.[ch] (find_pc_section_from_so_list): removed.
2321 * sparc-tdep.c: include objfiles.h for find_pc_section. include
2322 symfile.h for objfiles.h.
2323 (in_solib_trampoline): adjusted for new find_pc_section
2324 prototype. Removed BAD_RICH_HACK ifdefs.
2325 * symfile.c (syms_from_objfile): offset objfile sections.
2326 (find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs.
2327 * symfile.h (find_pc_section): prototype removed. Also fixed
2328 comment typo NUL -> NULL.
2329 * target.[ch] (find_pc_section_from_targets): removed.
2330 * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
2331
2332Tue Apr 6 21:41:13 1993 Stu Grossman (grossman@cygnus.com)
2333
2334 * ser-go32.c: Format. (go32_open): Use proper return value.
2335
2336 * configure.in: Undo conditional configdirs hack for sparclite.
2337
2338Tue Apr 6 17:07:37 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
2339
2340 * symtab.c (list_symbols): When call break_command, pass both
2341 filename and function name not just function name.
2342
2343Tue Apr 6 15:00:09 1993 Fred Fish (fnf@cygnus.com)
2344
2345 (Changes and new files to make "none" a full fledged configuration)
2346 * config/none/{nm-none.h, tm-none.h, xm-none.h}: New files.
2347 Currently only tm-none.h has any meaningful contents.
2348 * config/none/none.mh (NAT_FILE): Use nm-none.h
2349 * config/none/none.mh (XM_FILE): Use xm-none.h
2350 * config/none/none.mt (TM_FILE): Use tm-none.h
2351 * Makefile.in (depend): Remove comment about parse errors in
2352 valops.c, it now parses correctly and generates a correct depend
2353 line. Remove line that touches xm.h, tm.h, and nm.h; they are
2354 now linked to config/none/{xm-none.h, tm-none.h, nm-none.h}.
2355
2356Tue Apr 6 09:54:29 1993 Jim Kingdon (kingdon@cygnus.com)
2357
2358 * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
2359
2360 * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
2361 exactly 8 characters.
2362
2363Tue Apr 6 10:31:26 1993 Stu Grossman (grossman@cygnus.com)
2364
2365 * configure.in: Sparclite uses sparc config dir. Also has it's
2366 own tm- & .mt files now. Also add sparclite to configdirs.
2367 * go32-xdep.c: Dummy routines for sigsetmask & strlwr.
2368 * config/i386/go32.mh: Nullify def of TERMCAP.
2369 * config/i386/xm-go32.h: Get rid of redef of EIO.
2370 * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite
2371 specific configs. Very similar to sun4os4, but without solib.
2372 * sparclite/{Makefile.in configure.in}: First cut at making this
2373 dir configgable.
2374
2375Tue Apr 6 03:10:44 1993 Stu Grossman (grossman@cygnus.com)
2376
2377 * ser-go32.c: First cut at adapting to new serial interface.
2378
2379Mon Apr 5 22:29:43 1993 Stu Grossman (grossman@cygnus.com)
2380
2381 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
2382 These implement a new serial line interface for talking to remote
2383 targets.
2384 * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts,
2385 EXCEPT go32, which gets ser-go32.c.
2386 * remote.c: Use new serial interface. More remote-xxx's to be
2387 converted later.
2388 * ser-bsd.c, ser-termios.c: Removed.
2389 * serial.c: New. Implements common operations for all serial
2390 types.
2391 * ser-unix.c: New. Unix specific serial operations for various
2392 flavors of Unix (Posix, SysV, BSD).
2393 * serial.h: Generic serial interface defs.
2394 * config/i386/go32.mh, config/i386/i386bsd.h,
2395 config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove
2396 ser-bsd.o from XDEPFILES. All the magic is now handled in
2397 configure.in.
2398
2399Mon Apr 5 20:48:54 1993 Stu Grossman (grossman@cygnus.com)
2400
2401 * config/h8500/tm-h8500.h: Clean up brain damage found by GCC.
2402
2403Fri Apr 2 08:23:14 1993 Jim Kingdon (kingdon@cygnus.com)
2404
2405 * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.
2406
2407 * rs6000-tdep.c (frameless_function_invocation): Don't even think
2408 about framelessness except on the innermost frame.
2409
2410 * xcoffexec.c: Call fatal() not abort().
2411
2412 * stabsread.c (patch_block_stabs): If stab & no symbol, make
2413 a LOC_OPTIMIZED_OUT symbol.
2414 symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
2415 findvar.c (read_var_value), printcmd.c (address_info),
2416 symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
2417 m2-exp.y (yylex): Deal with it.
2418 ch-exp.y (yylex): Deal with it.
2419
2420Thu Apr 1 18:43:02 1993 Stu Grossman (grossman@cygnus.com)
2421
2422 * findvar.c (value_from_register): H8500 specific, check to see
2423 if we are looking at short pointer. If so, skip crock.
2424 * h8500-tdep.c (h8500_frame_chain): Mask down value from
2425 read_memory_integer() to avoid getting messed up by sign extension.
2426
2427Thu Apr 1 16:44:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2428
2429 * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
2430 ifdef protect using BAD_RICH_HACK. This should be removed soon.
2431 * config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
2432
2433Thu Apr 1 09:01:38 1993 Jim Kingdon (kingdon@cygnus.com)
2434
2435 * i960-pinsn.c, a29k-pinsn.c: Much abridged, just use libopcodes.a.
2436
2437 * core.c (dis_asm_print_address): New function.
2438
2439 * core.c (dis_asm_read_memory): Reinstate 4th arg. The prototype
2440 has been fixed.
2441
2442Thu Apr 1 09:34:43 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2443
2444 * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
2445 entire breakpoint chain and print only the first entry that needs to
2446 be printed and needs to be stopped for. Fixes problems with printing
2447 of multiple breakpoints with different conditions.
2448 * breakpoint.c (print_it_done): Renamed from print_it_noop as it
2449 effectively stops printing of the breakpoint chain.
2450 * breakpoint.c (print_it_noop): New routine to print nothing
2451 for this breakpoint entry and dont stop printing.
2452 * breakpoint.c (breakpoint_re_set_one): mention the reevaluated
2453 watchpoint only if it is enabled.
2454 * mipsread.c (parse_procedure): Correct incorrect setjmp procedure
2455 descriptor from the library to make backtraces through setjmp work.
2456 * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
2457 sigtramp.
2458 * mips-tdep.c (read_next_frame_reg): Provide correct values for
2459 all registers saved within sigtramp, cleanup.
2460
2461Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2462
2463 * sparc-pinsn.c: Much abridged, just calls version in libopcodes.a.
2464
2465Wed Mar 31 21:23:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2466
2467 * core.c (dis_asm_read_memory): drop fourth arg which conflicts
2468 with prototype in ../include/dis-asm.h.
2469
2470Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2471
2472 * core.c (dis_asm_{read_memory,memory_error}): New functions.
2473 m68k-pinsn.c, h8500-tdep.c, i386-pinsn.c, mips-pinsn.c, z8k-tdep.c:
2474 Use read_memory_func interface to disassembler.
2475
2476Tue Mar 30 15:46:14 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2477
2478 Teach sparc solaris to next over shared library functions.
2479 * solib.[hc] (find_pc_section_from_so_list): new function and
2480 prototype.
2481 * sparc-tdep.c (in_solib_trampoline): new function.
2482 * symfile.[hc] (find_pc_section): new function and prototypes.
2483 * target.[hc] (find_pc_section_from_targets): new function and
2484 prototypes.
2485 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
2486 in_solib_trampoline.
2487
2488Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)
2489
2490 * infrun.c (wait_for_inferior): Revise comment.
2491
2492 * command.c (do_setshow_command): Use %u with var_{u,z}integer.
2493
2494 * command.{c,h}: New var_type var_integer.
2495 main.c: Use it for history_size.
2496
2497 * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
2498 Lint and byte-order fixups.
2499
2500 * breakpoint.c (print_it_normal): Return 0 after hitting watchpoint.
2501
2502 * breakpoint.h (bpstat): New field print_it.
2503 breakpoint.c (bpstat_print): Use it.
2504 (print_it_normal): New function (from old bpstat_print code).
2505 (bpstat_{alloc,stop_status}): Set print_it field.
2506
2507 * breakpoint.c (bpstat_stop_status): Use catch_errors when
2508 evaluating watchpoint condition, via new function watchpoint_check.
2509 Also stop if watchpoint disabled due to leaving its block.
2510
2511 * findvar.c [REG_STRUCT_HAS_ADDR]: Add comment.
2512
2513Tue Mar 30 00:14:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2514
2515 * mips-pinsn.c: Add missing include of dis-asm.h.
2516
2517Mon Mar 29 15:03:25 1993 Fred Fish (fnf@cygnus.com)
2518
2519 * Makefile.in (clean, distclean, realclean): Recursively apply
2520 to subdirs first, rather than last. This avoids, for example,
2521 Makefile being removed in a parent directory before the recursive
2522 make is run.
2523
2524 * alldeps.mak, depend: Update for below changes.
2525
2526 * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
2527 * m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
2528 tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
2529 tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h
2530 instead of tm-68k.h.
2531 * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h.
2532 * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
2533 m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
2534 nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'.
2535 * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of
2536 tm-68k.h to tm-m68k.h.
2537 * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h.
2538 * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to
2539 tm-m68k-nofp.h.
2540
2541 * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
2542 * a29k-pinsn.c: Renamed from am29k-pinsn.c.
2543 * a29k-tdep.c: Renamed from am29k-tdep.c.
2544 * remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h.
2545 * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
2546 tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
2547 testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
2548 Map '29k' to 'a29k'.
2549 * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
2550 (TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o.
2551 * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed
2552 tm-a29k.h.
2553 * config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K
2554 define that does not appear anywhere else in the gdb source tree.
2555 * doc/gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h.
2556
2557Mon Mar 29 13:55:29 1993 Jim Kingdon (kingdon@cygnus.com)
2558
2559 * breakpoint.c: Add comments regarding breakpoint_re_set.
2560
2561 * xcoffread.c (sort_syms, compare_symbols): Remove.
2562 (xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
2563 not our own sort_syms (it is identical).
2564
2565 * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
2566
2567Sun Mar 28 11:24:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2568
2569 * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
2570 * breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
2571 went out of scope.
2572 * exec.c (exec_close): Fix storage leak.
2573 * exec.c (exec_file_command): Make sure that bfd doesn't realign the
2574 output sections when patching an executable.
2575 * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
2576 when writing all registers.
2577 * mips-tdep.c (mips_push_dummy_frame): Save floating point registers
2578 at the right offset in the dummy frame.
2579 * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
2580 stStaticProc and stEnd symbols as they are generated by gcc-2.x.
2581 * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
2582
2583Fri Mar 26 15:25:05 1993 John Gilmore (gnu@cygnus.com)
2584
2585 * Makefile.in (TARFILES): Avoid trailing backslash.
2586
2587Fri Mar 26 11:29:30 1993 Jim Kingdon (kingdon@cygnus.com)
2588
2589 * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
2590 it in breakpoint_re_set.
2591 * breakpoint.c (watch_command, enable_breakpoint): Fetch lazy values.
2592
2593 * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
2594 don't use sizeof(int) for target stuff, etc).
2595
2596Thu Mar 25 15:03:53 1993 Fred Fish (fnf@cygnus.com)
2597
2598 * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
2599 i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860
2600 support that can't be integrated anyway due to lack of clear
2601 authorship.
2602
2603Thu Mar 25 12:26:50 1993 Stu Grossman (grossman@cygnus.com)
2604
2605 * findvar.c (read_register, write_register): Make these capable
2606 of reading/writing registers that are shorter than REGISTER_TYPE.
2607 * (value_from_register): Install H8500 specific code to return
2608 proper value when register is being used as a pointer.
2609 * h8500-tdep.c: Remove extra defines of NUM_REGS.
2610 (h8500_skip_prologue): Use correct lengths for LINK instructions.
2611 (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to
2612 chain frames properly by combining frame pointer with T reg.
2613 (init_extra_frame_info): Delete. It's now a macro.
2614 (frame_args_address): Don't add PTR_SIZE. Stack args are already
2615 offset by the correct amount off of the frame pointer.
2616 (register_byte): Delete. It's now a macro.
2617 (register_raw_size, register_virtual_size): Delete. Replaced by
2618 common routine h8500_register_size, cuz there's no difference
2619 between the raw & virtual sizes on this machine.
2620 (register_convert_to_raw, register_convert_to_virtual): Delete,
2621 cuz there's no difference between the raw & virtual forms.
2622 Replaced by memcpy in tm file.
2623 (register_virtual_type): Rename to h8500_register_virtual_type.
2624 Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
2625 (_initialize_h8500_tdep): Get rid of crock to ensure that GDB &
2626 emulator have same reg offsets. This is all handled in the
2627 simulator code now.
2628 (h8500_trapped_internalvar): New routine to detect references to
2629 convenience vars acting as pointer pseudo-regs.
2630 (h8500_value_trapped_internalvar): Conjure up value of pointer
2631 pseudo-regs.
2632 (h8500_set_trapped_internalvar): Convert set value in real
2633 register references.
2634 infcmd.c (read_pc, write_pc): Add h8500 specific code to handle
2635 code segment register.
2636 infrun.c (proceed): Simplify. Call write_pc instead of doing it
2637 by hand.
2638 (wait_for_inferior): Add h8500 specific code to add stack segment
2639 when reading SP register.
2640 remote-sim.c (fetch_register): Spacing.
2641 tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to
2642 detect cruft. Redo all register manipulation stuff. Get rid of
2643 pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment
2644 to frame pointer. (IS_TRAPPED_INTERNALVAL,
2645 VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these
2646 to create internal vars for pointer pseudo-regs.
2647
2648Thu Mar 25 10:10:28 1993 Fred Fish (fnf@cygnus.com)
2649
2650 * Makefile.in: Numerous small changes to macro definitions
2651 and rules for building gdb distribution tree. Many macros
2652 eliminated or merged, and rules simplified.
2653 * alldeps.mak: Update.
2654 * depend: Update.
2655
2656Wed Mar 24 13:52:29 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
2657
2658 * Makefile.in: recurse through SUBDIRS for dvi target too
2659
2660Wed Mar 24 08:48:30 1993 Jim Kingdon (kingdon@cygnus.com)
2661
2662 * Clean up xcoff relocation.
2663 objfiles.h (struct objfiles): Add section_offsets, num_sections.
2664 symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
2665 Set them.
2666 symtab.h (struct general_symbol_info): Add section field.
2667 minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
2668 xcoffread.c: Set section for symbols and msymbols.
2669 (struct symtab): Add block_line_section field.
2670 buildsym.c (end_symtab): Set it.
2671 (end_symtab and callers): Add section parameter.
2672 objfiles.c (objfile_relocate): New funciton.
2673 xcoffexec.c (vmap_symtab): Use it.
2674 xcoffsolib.h (struct vmap): Remove unused fields.
2675 config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
2676 CORE_NEEDS_RELOCATION, symtab_relocated.
2677 config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
2678 rs6000-tdep.c: Make loadinfotext static.
2679 breakpoint.c (fixup_breakpoints): Doc fix.
2680 symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
2681 (end_symtab): primary field replaces nonreloc.
2682
2683Tue Mar 23 00:10:53 1993 John Gilmore (gnu@cygnus.com)
2684
2685 * symtab.h (struct linetable_entry): Remove confusing comment.
2686
2687Tue Mar 23 00:01:23 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2688
2689 * Makefile.in: add installcheck target
2690
2691Mon Mar 22 16:17:58 1993 Fred Fish (fnf@cygnus.com)
2692
2693 * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
2694 m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
2695 z8k}: New directories to hold cpu specific configuration files.
2696 Naming follows gcc convention.
2697 * config/{*.mt, *.mh}: All target and host makefile fragment
2698 config files moved to an appropriate config/<cpu> subdirectory.
2699 * nm-*, xm-*, tm-*: All native, host, and target files, which
2700 get linked to nm.h, xm.h, and tm.h respectively by configure,
2701 moved to appropriate config/<cpu> subdirectory.
2702 * nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
2703 Native, host, and target files that are common across more than
2704 one cpu architecture and included by one of the configured
2705 native, host, or target files, get moved to config directory.
2706 * Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
2707 pick up native, host, or target include files moved to one of
2708 the config subdirectories, and that are included by other files.
2709 * Makefile.in (alldeps.mak): Modify to account for new config
2710 directory structure.
2711 * alldeps.mak, depend: Update for new config directory structure.
2712 * config/*/[ntx]m-*.h: Modify all files that include other
2713 [ntx]m-*.h files to use path relative to gdb/config. I.E.
2714 "a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
2715 "tm-29k.h".
2716 * remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
2717 * mipsread.c (tm-mips.h): Include mips/tm-mips.h.
2718 * i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
2719 * configure.in: Default gdb_host_cpu to host_cpu, and remap
2720 the ones where the default is not unique or different than the
2721 config subdirectory name. Similarly, handle gdb_target_cpu.
2722 Modify configure.in as appropriate to make use of gdb_host_cpu
2723 and gdb_target_cpu to find makefile fragments and make links.
2724
2725Mon Mar 22 12:36:24 1993 Ian Lance Taylor (ian@cygnus.com)
2726
2727 * mipsread.c (compare_blocks): Sort blocks with the same start
2728 address by decreasing ending address.
2729
2730Mon Mar 22 20:36:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2731
2732 * mipsread.c (parse_procedure): Save cur_fdr accross call to
2733 lookup_symbol as it might get clobbered by the call.
2734
2735 * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
2736 The previous code did not initialize the language field for the psymtab
2737 entry.
2738
2739Sat Mar 20 00:33:39 1993 John Gilmore (gnu@cygnus.com)
2740
2741 * c-exp.y (parse_number): Avoid shift warning.
2742 * serial.h (struct ttystate): Declare empty one on DOS.
2743
2744Fri Mar 19 12:59:50 1993 Stu Grossman (grossman@cygnus.com)
2745
2746 * xm-sun4os4.h: Return type of free() should be void, not int.
2747
2748 * vx-share/vxWorks.h: Remove #def of NULL.
2749
2750Fri Mar 19 11:28:18 1993 Jim Kingdon (kingdon@cygnus.com)
2751
2752 * tm-rs6000.h: Nuke no-op STAB_REG_TO_REGNUM.
2753
2754Fri Mar 19 07:40:09 1993 Steve Chamberlain (sac@cygnus.com)
2755
2756 * z8k-tdep.c (print_insn): Include the new dis-asm header file.
2757
2758Thu Mar 18 14:26:57 1993 Per Bothner (bothner@rtl.cygnus.com)
2759
2760 * ieee-float.c: Moved to ../libiberty.
2761 * ieee-float.h: Moved to ../include.
2762 * Makefile.in: Update accordingly.
2763 * i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
2764 Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
2765 * m68k-tdep.c: Removed definition of ext_format ext_format_68881;
2766 it is now in ../opcodes/m68881-ext.c.
2767 * mips-tdep.c (mips_skip_prologue): Try to skip more of the
2768 prologue (some callers _do_ care).
2769 * mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to
2770 new interface of ../opcodes/*-dis.c.
2771 * ch-exp.y: Add #include <ctype.h>.
2772
2773Thu Mar 18 11:57:49 1993 Jim Kingdon (kingdon@cygnus.com)
2774
2775 * xcoffexec.c (exec_close): Don't close exec_bfd twice.
2776
2777 * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive.
2778
2779Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
2780
2781 * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc.
2782
2783Wed Mar 17 11:28:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
2784
2785 * z8k-tdep.c (extract_return_value, write_return_value,
2786 store_struct_return): New functions from macros in tm-z8k.h.
2787
2788Wed Mar 17 11:23:06 1993 Fred Fish (fnf@cygnus.com)
2789
2790 * valops.c (value_arg_coerce): Apply temporary patch to
2791 fix problem with coercion of array and function types when
2792 passed as arguments to C functions, pending a more complete
2793 review of when and how coercion should be done, depending
2794 upon context and language.
2795
2796Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
2797
2798 * xcoffread.c (MIN_TBTABSIZ): Change to 12.
2799
2800 * xcoffread.c (xcoff_symfile_read): Only read stringtab and
2801 debugsec if there are a non-zero number of symbols.
2802
2803Tue Mar 16 18:08:45 1993 John Gilmore (gnu@cygnus.com)
2804
2805 * command.c (show_user): Avoid fprintf_filtered botch (AGAIN!).
2806
2807Tue Mar 16 15:18:17 1993 Jim Kingdon (kingdon@cygnus.com)
2808
2809 * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
2810
2811 * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
2812 not just 50 symbols.
2813 (symtbl_num_syms): New variable.
2814 (read_xcoff_symtab): Set it.
2815 (read_symbol_nvalue): Check for bad symno.
2816 (read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
2817 always symtbl.
2818
2819Tue Mar 16 10:09:05 1993 Stu Grossman (grossman@cygnus.com)
2820
2821 * config/rs6000.mh: Get rid of -Dfd_set=int crock.
2822 This is defined in defs.h if necessary.
2823 * vx-share/vxWorks.h: Remove #defs of min and max.
2824 * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
2825 vx-share/xdr_rdb.c: include defs.h.
2826
2827Fri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)
2828
2829 * xcoffread.c (retrieve_tracebackinfo): Move assignment out
2830 of while condition.
2831
2832 * xcoffread.c (enter_line_range): complain() on bad endoffset.
2833 xcoffread.c: Doc fixes.
2834
2835Tue Mar 9 09:56:12 1993 Jim Kingdon (kingdon@cygnus.com)
2836
2837 * tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
2838 xcoffexec.c (xcoff_relocate_core): New function.
2839 (text_adjustment): Removed.
2840 (add_vmap): Return the vmap.
2841 rs6000-tdep.c (add_text_to_loadinfo): No longer static.
2842
2843Fri Mar 5 05:22:46 1993 Jim Kingdon (kingdon@cygnus.com)
2844
2845 * xcoffsolib.h: Add objfile member to struct vmap.
2846 xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
2847 xcoffexec.c (add_vmap): Allocate objfiles here.
2848
2849Sun Mar 14 02:54:15 1993 John Gilmore (gnu@cygnus.com)
2850
2851 Support 68000 series without floating point.
2852
2853 * configure.in (m68000-*-{aout,elf,coff}): New configs.
2854 * tm-68k-nofp.h: New file, lacks 68881 support.
2855 * config/m68k-nofp.mt: New file.
2856
2857Sun Mar 14 02:30:08 1993 John Gilmore (gnu@cygnus.com)
2858
2859 Remove a few remaining underscore/no-underscore remnants from
2860 config files.
2861
2862 * config/{m68k-un.mt, sparc-un.mt}: Remove.
2863 * config/m68k-noun.mt: Rename to m68k-fp.mt.
2864 * config/sparc-noun.mt: Rename to sparc-em.mt.
2865 * tm-68k-noun.h, tm-spc-noun.h: Remove.
2866 * tm-68k-un.h: Rename to tm-68k-fp.h.
2867 * tm-spc-un.h: Rename to tm-spc-em.h.
2868 * tm-sun4sol2.h: Cleanup.
2869 * configure.in (m68k-*, sparc-* targets): Corresponding changes.
2870
2871Sat Mar 13 14:58:22 1993 John Gilmore (gnu@cygnus.com)
2872
2873 * symmisc.c (std_in, std_out, std_err): Move initializations
2874 to runtime code, in case they aren't constant.
2875
2876Fri Mar 12 16:23:54 1993 K. Richard Pixley (rich@cygnus.com)
2877
2878 * symtab.c (find_pc_symtab): some object file formats, notably
2879 mips, have holes in the address ranges of symtabs. Change
2880 this algorithm from first hit to tightest fit.
2881
2882 * mips-tdep.c (heuristic_proc_start): if we walk the pc into the
2883 fence post without finding the enclosing function, then print a
2884 warning.
2885
2886Thu Mar 11 09:33:01 1993 Fred Fish (fnf@cygnus.com)
2887
2888 * utils.c (fputs_demangled, fprint_symbol): Remove.
2889 * utils.c (fprintf_symbol_filtered): New function which combines
2890 the functionality of fputs_demangled and fprint_symbol. Uses a
2891 caller provided language parameter to select the appropriate
2892 demangler, and caller provided args to pass to the demangler.
2893 * defs.h (enum language): Move further up in file so enum can
2894 be used in prototypes.
2895 * defs.h (fputs_demangled, fprint_symbol): Remove prototypes.
2896 * defs.h (fprintf_symbol_filtered): Add prototype.
2897 * c-typeprint.c (cp_type_print_method_args): Replace calls to
2898 fputs_demangled with call to fprintf_symbol_filtered.
2899 * cp-valprint.c (demangle.h): Include
2900 * cp-valprint.c (cp_print_value_fields): Replace calls to
2901 fprint_symbol with calls to fprintf_symbol_filtered.
2902 * printcmd.c (print_frame_args): Replace call to fprint_symbol
2903 with call to fprintf_symbol_filtered.
2904 * stack.c (print_frame_info): Remove obsolete code so we don't
2905 have to update fputs_demangled usage in it.
2906 * stack.c (print_frame_info, frame_info): Add language variable
2907 to pass to fprintf_symbol_demangled and initialize it from the
2908 symbol's language. Replace calls to fputs_demangled with calls
2909 to fprintf_symbol_filtered.
2910 * symtab.c (find_methods): Replace call to fputs_demangled with
2911 call to fprintf_symbol_filtered.
2912 * ch-valprint.c (demangle.h): Include.
2913 * ch-valprint.c (chill_print_value_fields): Replace call to
2914 fprint_symbol with call to new fprintf_symbol_filtered.
2915
2916Wed Mar 10 17:37:11 1993 Fred Fish (fnf@cygnus.com)
2917
2918 * Makefile.in (VERSION): Bump version to 4.8.2.
2919
2920 * main.c (source_command): Require an explicit pathname of file
2921 to source, since previous behavior of defaulting to gdb init file
2922 was troublesome and undocumented.
2923 * printcmd.c (disassemble_command): Add missing '{}' pair to
2924 else with two statements. Bug reported by Stephane Tsacas
2925 <slt@isoft.fr>.
2926 * symtab.c (find_pc_line): Don't complain about zero length or
2927 negative length line numbers for the moment, since we may not own
2928 the terminal when called, such as when single stepping. (FIXME)
2929 * language.h (CAST_IS_CONVERSION): True if current language is
2930 C++ as well as C. Fix from Peter Schauer.
2931 * environ.c (get_in_environ, set_in_environ, unset_in_environ):
2932 Use STREQN macro rather than bare '!strncmp()'.
2933 * environ.c (unset_in_environ): Avoid use of memcpy on
2934 overlapping memory regions, as suggested by Paul Eggert
2935 <eggert@twinsun.com>.
2936 * c-exp.y (%union struct): Remove unused ulval as suggested
2937 by Paul Eggert <eggert@twinsun.com>.
2938
2939Mon Mar 8 19:03:06 1993 Fred Fish (fnf@cygnus.com)
2940
2941 * main.c (gdbinit): Make static.
2942 * main.c (inhibit_gdbinit): Move to file scope.
2943 * main.c (main): Remove local inhibit_gdbinit.
2944 * main.c (source_command): Don't source '.gdbinit' file by
2945 default if gdb has been told to ignore it.
2946
2947Sun Mar 7 21:58:53 1993 Ian Lance Taylor (ian@cygnus.com)
2948
2949 * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
2950 3.63.
2951
2952Fri Mar 5 17:39:45 1993 John Gilmore (gnu@cacophony.cygnus.com)
2953
2954 * printcmd.c (print_address_symbolic): Only print if offset
2955 is shorter than max_symbolic_offset.
2956 (initialize_printcmd): `set print max-symbolic-offset'.
2957
2958 * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
2959 (examine_tag): Use it.
2960 (read_register_stack): Only look in the local registers for a
2961 memory address if it's between rfb and rsp; go to memory otherwise.
2962 (initialize_29k): Fix call_scratch_address doc. Remove reginv_com.
2963 (reginv_com): Remove ancient kludge command.
2964
2965Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2966
2967 * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
2968 irix4 will again compile.
2969
2970 * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
2971
2972 * configure.in: accept mips-sgi-irix4* for irix4.
2973
2974Fri Mar 5 07:49:48 1993 Steve Chamberlain (sac@lisa.cygnus.com)
2975
2976 * z8k-tdep.c (print_register_hook): Lint.
2977
2978Thu Mar 4 17:42:03 1993 John Gilmore (gnu@cygnus.com)
2979
2980 Lint fixes from Paul Eggert (eggert@twinsun.com):
2981
2982 * command.c (do_setshow_command): var_uintegers are unsigned.
2983 * sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
2984 unsigned, since they use hex values with the high bit set.
2985
2986Thu Mar 4 08:22:55 1993 Fred Fish (fnf@cygnus.com)
2987
2988 Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
2989 * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to
2990 access symbol name.
2991 * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
2992 macro definitions in parenthesis.
2993
2994 * dbxread.c (dbx_symfile_init): Catch the case where there is
2995 no string table, but the only way we find out is by reading zero
2996 bytes from EOF.
2997
2998Wed Mar 3 15:51:28 1993 Fred Fish (fnf@cygnus.com)
2999
3000 * dbxread.c (dbx_symfile_init): Make size of the string table
3001 size field a define (DBX_STRINGTAB_SIZE_SIZE). Ensure that the
3002 offset to the string table is nonzero and handle the nonexistant
3003 string table case, should it occur. Ensure that the string table
3004 size read from the file is reasonable, with a minimum lower bound
3005 of DBX_STRINGTAB_SIZE_SIZE instead of zero.
3006
3007Wed Mar 3 07:23:03 1993 Ian Lance Taylor (ian@cygnus.com)
3008
3009 * Makefile.in: Changes to build testsuite correctly.
3010 (FLAGS_TO_PASS): Added CXX and CXXFLAGS.
3011 (CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
3012 (TARGET_FLAGS_TO_PASS): New variable.
3013 (SUBDIRS): Added testsuite.
3014 (all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
3015 testsuite is compiled with CC_FOR_TARGET rather than CC.
3016
3017Tue Mar 2 17:57:56 1993 Fred Fish (fnf@cygnus.com)
3018
3019 * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
3020 reported by mycroft@gnu.ai.mit.edu.
3021
3022 (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
3023 * configure.in (vax-*-ultrix2*): New triplet.
3024 * config/vaxult2.mh: New file.
3025 * xm-vaxult2.h: New file.
3026
3027 * c-exp.y (parse_number): Change high_bit to unsigned.
3028 * demangle.c: Change all references to cfront to ARM, since the
3029 actual algorithm is the one specified in the Annotated Reference
3030 Manual. This was confusing users into thinking that full cfront
3031 support was implemented.
3032 * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used.
3033 * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type
3034 directly to lookup_struct_elt_type, which will do the
3035 dereferencing itself.
3036 * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix
3037 NULL dereferencing bug for unnamed structs, comment out
3038 questionable code.
3039
3040Mon Mar 1 17:54:41 1993 John Gilmore (gnu@cygnus.com)
3041
3042 * coffread.c (process_coff_symbol): Change PCC argument correction
3043 so that it only happens on big-endian targets; so that it only
3044 happens if the short or char argument is aligned on an int
3045 boundary; and so that it changes the location, rather than the
3046 type, of the argument. These changes tend to parallel similar
3047 (old) changes in stabsread.c.
3048
3049 * coffread.c (coff_read_enum_type): Use the specified size for
3050 enums, don't assume that they are int-sized.
3051
3052 * c-valprint.c (c_val_print): Don't assume enums are the same as
3053 ints.
3054
3055 * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
3056 Rendell, <michael@mercury.cs.mun.ca>.
3057
3058Mon Mar 1 09:25:57 1993 Fred Fish (fnf@cygnus.com)
3059
3060 * language.h (local_decimal_format_custom): Add prototype.
3061 * language.c (local_decimal_format_custom): Add function, bug
3062 reported by Robert R. Henry (rrh@tera.com).
3063
3064Fri Feb 26 18:33:18 1993 John Gilmore (gnu@cacophony.cygnus.com)
3065
3066 * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported
3067 by Josef Leherbauer, joe@takeFive.co.at.
3068
3069Wed Feb 24 19:17:11 1993 John Gilmore (gnu@cacophony.cygnus.com)
3070
3071 * symfile.c (syms_from_objfile), tm-29k.h, tm-3b1.h, tm-68k-un.h,
3072 tm-altos.h, tm-arm.h, tm-convex.h, tm-es1800.h, tm-h8300.h,
3073 tm-hp300bsd.h, tm-hp300hpux.h, tm-hppa.h, tm-i386bsd.h,
3074 tm-i386v.h, tm-i960.h, tm-irix3.h, tm-isi.h, tm-linux.h,
3075 tm-m88k.h, tm-merlin.h, tm-mips.h, tm-news.h, tm-np1.h, tm-pn.h,
3076 tm-pyr.h, tm-rs6000.h, tm-spc-un.h, tm-sun386.h, tm-sunos.h,
3077 tm-symmetry.h, tm-sysv4.h, tm-tahoe.h, tm-umax.h, tm-vax.h,
3078 tm-vx68.h, tm-z8k.h: Remove remnants of NAMES_HAVE_UNDERSCORE.
3079
3080Wed Feb 24 07:41:15 1993 Fred Fish (fnf@cygnus.com)
3081
3082 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents
3083 of demangled name fields to NULL if no demangling exists for
3084 a symbol. SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
3085 symbols if their language is known at the time they are created,
3086 but sometimes the language is not known until later.
3087
3088 * ch-typeprint.c (chill_print_type_base): Name changed to
3089 chill_type_print_base to match pattern for C and C++ names.
3090 * ch-typeprint.c (chill_print_type): Change "char" to "CHAR"
3091 to be consistent with other usages.
3092 * ch-typeprint.c (chill_type_print_base): Add support for
3093 printing Chill STRUCT types.
3094 * ch-valprint.c: Include values.h.
3095 * ch-valprint.c (chill_print_value_fields): New function and
3096 prototype for printing Chill STRUCT values.
3097 * ch-valprint.c (chill_val_print): Fix call to val_print_string
3098 that was being called with two args instead of three.
3099 * ch-valprint.c (chill_val_print): Call chill_print_value_fields
3100 to print Chill STRUCT values.
3101
3102Tue Feb 23 18:58:11 1993 Mike Werner (mtw@poseidon.cygnus.com)
3103
3104 * configure.in: added testsuite to configdirs.
3105
3106Tue Feb 23 11:46:11 1993 Mike Stump (mrs@cygnus.com)
3107
3108 * doc/stabs.texi: The `this' pointer is now known by the name
3109 `this' instead of `$t'.
3110
3111Tue Feb 23 11:21:33 1993 Fred Fish (fnf@cygnus.com)
3112
3113 * dwarfread.c (read_tag_string_type): Rewrite to allow forward
3114 references of TAG_string_type DIEs in user defined types.
3115 * ch-lang.c (chill_create_fundamental_type): Track compiler
3116 change that now emits debugging info with the type long for Chill
3117 longs.
3118
3119Mon Feb 22 15:21:54 1993 Ian Lance Taylor (ian@cygnus.com)
3120
3121 * remote-mips.c: New file; implements MIPS remote debugging
3122 protocol.
3123 * config/idt.mt: New file; uses remote-mips.c
3124 * configure.in (mips-idt-ecoff): New target; uses idt.mt.
3125
3126 * mips-tdep.c (mips_fpu): New variable; controls use of MIPS
3127 floating point coprocessor.
3128 (mips_push_dummy_frame): If not mips_fpu, don't save floating
3129 point registers.
3130 (mips_pop_frame): If not mips_fpu, don't restore floating point
3131 registers.
3132 (_initialize_mips_tdep): New function; let the user reset mips_fpu
3133 variable.
3134 * tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
3135 mips_fpu, don't use fp0 as floating point return register.
3136 (FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
3137 registers.
3138
3139Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
3140
3141 * gdb/testsuite: made modifications to testcases, etc., to allow
3142 them to work properly given the reorganization of deja-gnu and the
3143 relocation of the testcases from deja-gnu to a "tool" subdirectory.
3144
3145Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
3146
3147 * gdb/testsuite: Initial creation of gdb/testsuite.
3148 Migrated dejagnu testcases and support files for testing nm to
3149 gdb/testsuite from deja-gnu. These files were moved "as is"
3150 with no modifications. This migration is part of a major overhaul
3151 of dejagnu. The modifications to these testcases, etc., which
3152 will allow them to work with the new version of dejagnu will be
3153 made in a future update.
3154
3155Fri Feb 19 18:36:55 1993 John Gilmore (gnu@cygnus.com)
3156
3157 * NEWS: Add reminders for next release.
3158
3159Fri Feb 19 10:01:39 1993 Ian Lance Taylor (ian@cygnus.com)
3160
3161 * mipsread.c (parse_lines): Correct check for files compiled with
3162 -g1.
3163
3164Fri Feb 19 05:56:15 1993 John Gilmore (gnu@cygnus.com)
3165
3166 * Makefile.in (VERSION): 4.8.1 to distinguish local versions.
3167
3168Fri Feb 19 01:32:58 1993 John Gilmore (gnu@cygnus.com)
3169
3170 * Makefile.in (VERSION): GDB-4.8 release!
3171 * README, NEWS: Update for release.
3172
3173Thu Feb 18 22:44:40 1993 Stu Grossman (grossman@cygnus.com)
3174
3175 * am29k-pinsn.c (print_insn): Minor nits with const.
3176 * am29k-tdep.c: More minor nits with arg types for
3177 supply_register, NULL vs. 0, read_register_gen, & reginv_com.
3178
3179Thu Feb 18 22:38:03 1993 John Gilmore (gnu@cygnus.com)
3180
3181 * gcc.patch: Update for a different GCC (G++) bug.
3182 * main.c (print_gdb_version): Update copyright year to 1993.
3183 * nm-hp300bsd.h: Decide whether this is BSD 4.3 or 4.4,
3184 conditionalize this file on it. FIXME, right way is to split
3185 these into two config files.
3186 (ATTACH_DETACH): Define for BSD 4.4
3187 (PTRACE_ARG_TYPE): caddr_t for BSD 4.4, unset for 4.3.
3188 (U_REGS_OFFSET): Revise for 4.4.
3189 (REGISTER_U_ADDR): Separate for 4.4, but it doesn't work yet.
3190 * xm-hp300bsd.h: Move definitions of UINT_MAX, INT_MAX, INT_MIN,
3191 LONG_MAX into this file to avoid cpp "redefinition" warnings.
3192
3193Thu Feb 18 16:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3194
3195 * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not
3196 caddr_t.
3197
3198Thu Feb 18 04:10:06 1993 John Gilmore (gnu@cygnus.com)
3199
3200 * c-lang.c (c_printstr): Bugfix for length==0 case.
3201
3202 * c-lang.c (c_printstr): If a C string ends in a null, don't
3203 print the null.
3204
3205Thu Feb 18 02:39:21 1993 Stu Grossman (grossman at cygnus.com)
3206
3207 * defs.h (STRCMP): Make it work for unsigned chars.
3208
3209Thu Feb 18 01:56:06 1993 John Gilmore (gnu@cygnus.com)
3210
3211 * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
3212 * config/hp300bsd.mh (REGEX, REGEX1): Define.
3213 * m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART): #if __GNUC__,
3214 define to kludge the large opcode table into two smaller tables,
3215 since GCC take exponential space to build the table. Lint.
3216 (NOPCODES): Remove, use "numopcodes" from opcode/m68k.h instead.
3217
3218Wed Feb 17 19:24:40 1993 John Gilmore (gnu@cygnus.com)
3219
3220 * Makefile.in (VERSION): Roll to 4.7.9.
3221 * xm-hp300bsd.h: Define PSIGNAL_IN_SIGNAL_H and put a compatible
3222 definition here, to handle both BSD 4.3 and 4.4 systems.
3223 * mipsread.c (ZMAGIC): #undef to avoid duplicate define.
3224 * remote.c (alarm): Move declaration to global level, before
3225 first reference to it.
3226 * tm-i386bsd.h (NUM_REGS): There are only eleven, not twelve.
3227 * dbxread.c (process_one_symbol): Cast to unsigned char, not int.
3228
3229Wed Feb 17 13:40:29 1993 K. Richard Pixley (rich@cygnus.com)
3230
3231 * remote.c (readchar): forward declare alarm which otherwise looks
3232 like an undeclared variable to gcc.
3233
3234 * dbxread.c (process_one_symbol): cast enum value N_SO into int
3235 when comparing against an int. Avoids superfluous warning from
3236 vax ultrix 4.2 cc.
3237
3238 * inflow.c (set_sigint_trap): add cast to assignment from signal.
3239 Avoids superfluous warnings from some systems and/or compilers
3240 (like vax ultrix 4.2.)
3241
3242 * language.c (struct op_print unk_op_print_tab): use the enum
3243 values rather naked zeros as initializers. Avoids warnings from
3244 ultrix type compilers.
3245
3246Tue Feb 16 00:53:20 1993 John Gilmore (gnu@cygnus.com)
3247
3248 * Makefile.in (VERSION): Roll to 4.7.6.
3249 (SFILES_SUBDIR): Add 29k-share/udi_soc.
3250 (SFILES_SUBSUBDIR): Move 29k-share/udi files to this macro.
3251 (alldeps.mak): Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
3252 (ALLDEPFILES_SUBSUBDIR): Depend on this for deeper dep files.
3253 (HFILES): Remove all nm-* except nm-trash.h. Add ns32k-opcode.h.
3254 (depend): Fix bug where nm-files in config files weren't noticed.
3255 (make-proto-gdb-1): Avoid changing directories while building new
3256 prototype. Build SFILES_SUBSUBDIR with longer symlinks.
3257
3258Mon Feb 15 20:48:09 1993 John Gilmore (gnu@cygnus.com)
3259
3260 * remote.c: Improve error recovery. Allow user to break out
3261 of initial connection attempt with INTERRUPT. Treat a timeout
3262 while waiting for remote packet like a retry, unless the remote
3263 side is actively running user code. Fix a few long printf_filtered's.
3264
3265 * xcoffread.c (read_xcoff_symtab): Don't use null symbol name for
3266 trampoline symbols.
3267
3268 * buildsym.c (start_subfile): Allow null file name.
3269
3270Fri Feb 12 15:46:49 1993 K. Richard Pixley (rich@cygnus.com)
3271
3272 * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
3273 expects a pointer to complaint rather than a complaint
3274 structure.
3275 (process_linenos): free the previously allocated subfile name,
3276 then allocate the new one from the heap.
3277
3278Fri Feb 12 08:06:05 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3279
3280 * h8300-tdep.c, tm-h8300.h: turn off some experimental features
3281
3282Thu Feb 11 00:59:07 1993 John Gilmore (gnu@cygnus.com)
3283
3284 * stabsread.c (dbx_lookup_type): Handle negative type numbers.
3285 Previously, would bogusly index off the bottom of type_vector.
3286 (rs6000_builtin_type): Accept type number as argument.
3287 (read_type, case '-'): Handle negatives like any other type number.
3288
3289 * symfile.c (deduce_language_from_filename): Handle null name.
3290
3291 * mips-tdep.c (isa_NAN): Fix byte order dependency.
3292 Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
3293 fixed by sato@sm.sony.co.jp.
3294
3295 * xcoffread.c (parmsym): Don't use an initializer to set up
3296 this struct symbol. Set it up in initialize_xcoffread.
3297 (read_xcoff_symtab, xcoff_symfile_read): Surround code that only
3298 works on real rs/6000 target with #ifndef FAKING_RS6000.
3299
3300Wed Feb 10 23:42:37 1993 John Gilmore (gnu@cygnus.com)
3301
3302 * stabsread.c (rs6000_builtin_type): Move function from
3303 xcoffread.c:builtin_type.
3304 * xcoffread.c (builtin_type): Move to stabsread. Remove
3305 IBM6000_HOST dependency. Move misplaced comments.
3306 (various): Change printf's to complaints.
3307 (patch_block_stabs, process_xcoff_symbol case C_DECL): Add
3308 objfile argument to read_type calls under #if 0.
3309 (process_xcoff_symbol case C_RSYM): Fix typo in #ifdef.
3310 * xcoffexec.c (map_vmap): Don't allocate an objfile for the exec_file.
3311 * Makefile.in: xcoffread.o is not built by default.
3312 * xm-rs6000.h (IBM6000_HOST): Remove.
3313 * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
3314 * doc/gdbint.texinfo: Eliminate IBM6000_HOST, document
3315 IBM6000_TARGET.
3316
3317Wed Feb 10 18:31:20 1993 Stu Grossman (grossman at cygnus.com)
3318
3319 * findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
3320 VALUE_LVAL to be lval_memory so that we don't try to modify wild
3321 register numbers when user tries to modify elements in structs
3322 passed as arguments.
3323 * inflow.c (child_terminal_info): Move banner outside of system
3324 specific #ifdefs.
3325 * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which
3326 passes struct/union arguments by address.
3327
3328Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
3329
3330 * Based on patch from Kean Johnston <maw@netcom.com>:
3331 * nm-i386sco4.h: New file. Like nm-i386sco.h, but define
3332 ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
3333 * config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
3334
3335Tue Feb 9 20:07:18 1993 John Gilmore (gnu@cygnus.com)
3336
3337 * remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and
3338 fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.
3339
3340Tue Feb 9 08:18:07 1993 Ian Lance Taylor (ian@cygnus.com)
3341
3342 * config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
3343 cc debugging output.
3344
3345Tue Feb 9 00:19:28 1993 John Gilmore (gnu@cygnus.com)
3346
3347 * stabsread.c (define_symbol): Complain about unrecognized names
3348 that begin with CPLUS_MARKER (often '$'), but don't die. Fix
3349 suggested by gb@cs.purdue.edu (Gerald Baumgartner).
3350 (read_cpp_abbrev): Don't use the class name as part of the
3351 vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
3352 abbrevs. Inspired by Mike Tiemann.
3353 (read_tilde_fields): Comment. Remove ancient dead code.
3354 Remove erroneous but non-dead code. Simplify. Add complaints.
3355 (in general): Remove extraneous (parentheses) in return
3356 statements.
3357
3358Fri Feb 5 14:01:22 1993 John Gilmore (gnu@cygnus.com)
3359
3360 * coffread.c (coff_lookup_type): Fix fencepost error reported
3361 by Art Berggreen, <arg@opal.acc.com>.
3362
3363 Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
3364 <Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>:
3365
3366 * coffread.c (getfilename): Eliminate COFF_NO_LONG_FILE_NAMES
3367 test, which is apparently left over from when we used native
3368 include files and couldn't depend on the member names being there.
3369 * tm-3b1.h, tm-altos.h, tm-i386v.h: Don't set it.
3370
3371Thu Feb 4 12:23:15 1993 Ian Lance Taylor (ian@cygnus.com)
3372
3373 * mipsread.c: Major overhaul to use new BFD symbol table reading
3374 routines. Now swaps information as it is needed, rather than
3375 swapping everything when the file is read.
3376
3377Thu Feb 4 01:52:36 1993 John Gilmore (gnu@cygnus.com)
3378
3379 * Makefile.in (TARDIRS): Add sparclite demo dir.
3380 (*.tab.c): Change dependency on Makefile to depend on
3381 Makefile.in, otherwise it always rebuilds after configuring.
3382 Force output *.tab.c file into current directory even in "make"
3383 versions that rewrite dependent file names used in command lines.
3384
3385 * TODO: Remove some things we did.
3386 * am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode.
3387 * os68k-xdep.c: Remove; useless file (os68k is a target only).
3388 * convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST.
3389 * symtab.h: Eliminate unnamed unions and structs.
3390
3391Wed Feb 3 14:48:08 1993 John Gilmore (gnu@cygnus.com)
3392
3393 * Makefile.in (VERSION): Roll to 4.7.5.
3394
3395Tue Feb 2 20:47:42 1993 John Gilmore (gnu@cygnus.com)
3396
3397 * breakpoint.c (breakpoint_re_set_one): Handle watchpoints when
3398 re-evaluating symbol pointers.
3399
3400Tue Feb 2 16:10:31 1993 Fred Fish (fnf@cygnus.com)
3401
3402 * c-exp.y (lcurly, rcurly): New nonterminals.
3403 * c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL
3404 constructs.
3405 * parse.c (free_funcalls): Moved prototype from parser-defs.h,
3406 made function static.
3407 * parse.c (struct funcall): Moved struct def from parser-defs.h.
3408 * parse.c (funcall_chain): Moved from parser-defs.h, made static.
3409 * parse.c (start_arglist):
3410 * parser-defs.h (free_funcalls): Moved prototype to parse.c.
3411 * parser-defs.h (struct funcall): Moved struct def to parse.c.
3412 * parser-defs.h (funcall_chain): Moved to parse.c.
3413 * printcmd.c (print_frame_nameless_args): Fix prototype.
3414 * tm-mips.h (setup_arbitrary_frame): Fix prototype.
3415 * tm-sparc.h (setup_arbitrary_frame): Fix prototype.
3416 * valops.c (typecmp): Moved prototype from values.h.
3417 * value.h (typecmp): Moved prototype to valops.c, made static.
3418 * ch-exp.y (yylex): Change way control sequences are disabled.
3419
3420Tue Feb 2 16:11:43 1993 John Gilmore (gnu@cygnus.com)
3421
3422 * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME.
3423
3424Tue Feb 2 15:30:33 1993 Ian Lance Taylor (ian@cygnus.com)
3425
3426 * mipsread.c (upgrade_type): Build array types correctly, using
3427 create_range_type and create_array_type.
3428
3429Tue Feb 2 00:19:08 1993 John Gilmore (gnu@cygnus.com)
3430
3431 * remote-nindy.c: Cleanup.
3432
3433 * infrun.c (wait_for_inferior): When rolling back the PC after
3434 a breakpoint, call write_pc so that NPC gets rolled back as well
3435 (for the 29K).
3436
3437 * blockframe.c (inside_entry_file, inside_main_func,
3438 inside_entry_func): PC of zero is always "bottom of stack".
3439
3440 * printcmd.c (print_frame_args, print_frame_nameless_args):
3441 Let print_frame_nameless_args decide whether there are any,
3442 laying groundwork for possibly later printing 29K args for
3443 functions where we have tag words but no symbols.
3444
3445Mon Feb 1 18:09:58 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
3446
3447 * Makefile.in: fix GDB doc targets for new doc subdir structure
3448
3449Mon Feb 1 17:56:47 1993 John Gilmore (gnu@cygnus.com)
3450
3451 * stack.c (parse_frame_specification): Parse as many arguments
3452 as there are (up to MAXARGS). Pass all of them in argc, argv
3453 format to SETUP_ARBITRARY_FRAME. Put the burden of checking how
3454 many there were, onto SETUP_ARBITRARY_FRAME.
3455 * tm-mips.h, tm-sparc.h: Corresponding changes.
3456 * mips-tdep.c, sparc-tdep.c: Ditto.
3457
3458Mon Feb 1 17:19:37 1993 John Gilmore (gnu@cygnus.com)
3459
3460 * hp300ux-nat.c: Update copyrights.
3461 * mipsread.c (parse_partial_symbols): Complain about block
3462 indexes that go backwards. Fix from Peter Schauer.
3463 * symfile.c (syms_from_objfile, symbol_file_add): Allow a
3464 symbol-file that has no linkage symbols to be read.
3465 * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move
3466 from tm- file to xm-file, since they're host dependent.
3467 * valarith.c (value_binop): Typo.
3468
3469Mon Feb 1 16:16:59 1993 Stu Grossman (grossman at cygnus.com)
3470
3471 * sparclite/aload.c: Add copyleft.
3472 * sparclite/crt0.s: Add comment at beginning.
3473
3474Mon Feb 1 14:36:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3475
3476 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
3477 * parse.c (std_regs): Only declare if NO_STD_REGS is defined.
3478
3479Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com)
3480
3481 * values.c (value_headof): Fix typo in which VTBL and ARG were
3482 being confused for one another.
3483
3484 * valops.c (typecmp): Now static.
3485
3486 * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
3487 baseclass--we don't always inherit its virtual function table
3488 pointer.
3489
3490 * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
3491 pointer correctly in case value_struct_elt moves it around.
3492
3493 * valops.c (typecmp): Now static. Also, now groks references
3494 better.
3495
3496 * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
3497 zero on recursive call. If NAME is the name of TYPE, return TYPE.
3498
3499Sat Jan 30 19:55:52 1993 John Gilmore (gnu@cygnus.com)
3500
3501 * hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff,
3502 to avoid "too much defining" error from native C compiler (!).
3503
3504 * Makefile.in (HFILES): Add typeprint.h.
3505 * typeprint.[ch]: Update copyrights.
3506
3507Thu Jan 28 19:09:02 1993 John Gilmore (gnu@cygnus.com)
3508
3509 * Makefile.in: Update to match doc/ subdir changes.
3510
3511 * config/hp300hpux.mh: No cross-host file needed, just native.
3512 * config/go32.mh: Remove nonexistent "native" support.
3513
3514 M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
3515 * tm-m88k.h (REGISTER_CONVERT_TO_RAW): Fix typo.
3516 * m88k-tdep.c (next_insn): Lint, cleanup.
3517 (store_parm_word): Lint.
3518
3519 * README: Fix typo (reported by karl@hq.ileaf.com).
3520
3521Wed Jan 27 21:34:21 1993 Fred Fish (fnf@cygnus.com)
3522
3523 * expression.h (BINOP_CONCAT): Document use for self concatenation
3524 an integral number of times.
3525 * language.c (binop_type_check): Extend BINOP_CONCAT for self
3526 concatenation case.
3527 * valarith.c (value_concat): Rewrite to support self
3528 concatenation an integral number of times.
3529 * Makefile.in (ch-exp.tab.c): Change "expect" message.
3530 * ch-exp.y (FIXME's): Make all FIXME tokens distinct, to
3531 eliminate hundreds of spurious shift/reduce and reduce/reduce
3532 conflicts that mask the 5 real ones.
3533 * ch-exp.y (STRING, CONSTANT, SC): Remove unused tokens.
3534 * ch-exp.y (integer_literal_expression): Remove production,
3535 no longer used.
3536
3537Thu Jan 21 09:58:36 1993 Fred Fish (fnf@cygnus.com)
3538
3539 * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code that
3540 implied that "no side effects" was nonfunctional.
3541 * eval.c (evaluate_subexp): Add BINOP_CONCAT case to deal with
3542 character string and bitstring concatenation.
3543 * expprint.c (dump_expression): Add case for BINOP_CONCAT.
3544 * expression.h (exp_opcode): Add BINOP_CONCAT.
3545 * gdbtypes.h (type_code): Add TYPE_CODE_BITSTRING.
3546 * language.c (string_type): Add function to determine if a type
3547 is a string type.
3548 * language.c (binop_type_check): Add case for BINOP_CONCAT.
3549 * valarith.c (value_concat): New function to concatenate two
3550 values, such as character strings or bitstrings.
3551 * valops.c (value_string): Remove error stub and implement
3552 function body.
3553 * value.h (value_concat): Add prototype.
3554 * ch-exp.y (operand_3): Add actions for SLASH_SLASH (//).
3555 * ch-exp.y (yylex): Recognize SLASH_SLASH.
3556 * ch-lang.c (chill_op_print_tab): Add SLASH_SLASH (//) as
3557 BINOP_CONCAT.
3558
3559Tue Jan 19 14:26:15 1993 Fred Fish (fnf@cygnus.com)
3560
3561 * c-exp.y (exp): Add production to support direct creation
3562 of array constants using the obvious syntax.
3563 * c-valprint.c (c_val_print): Set printed string length.
3564 * dwarfread.c (read_tag_string_type): New prototype and
3565 function that handles TAG_string_type DIEs.
3566 * dwarfread.c (process_dies): Add case for TAG_string_type
3567 that calls new read_tag_string_type function.
3568 * expprint.c (print_subexp): Add support for OP_ARRAY.
3569 * gdbtypes.c (create_range_type, create_array_type): Inherit
3570 objfile from the index type.
3571 * ch-typeprint.c (chill_print_type): Add case for
3572 TYPE_CODE_STRING.
3573 * ch-valprint.c (chill_val_print): Fix case for
3574 TYPE_CODE_STRING.
3575
3576Mon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)
3577
3578 * mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
3579 MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
3580 include/coff/mips.h.
3581
3582Fri Jan 15 20:26:50 1993 Fred Fish (fnf@cygnus.com)
3583
3584 * c-exp.y (exp:STRING): Convert C strings into array-of-char
3585 constants with an explicit null byte terminator. OP_STRING is
3586 now used for real string types.
3587 * c-lang.c (builtin_type_*): Move declarations to lang.c since
3588 they are used by all languages.
3589 * c-lang.c (_initialize_c_language): Move initializations of
3590 builtin_type_* to lang.c.
3591 * c-typeprint.c (c_type_print_varspec_prefix,
3592 c_type_print_varspec_suffix): TYPE_CODE_PASCAL_ARRAY renamed
3593 to TYPE_CODE_STRING.
3594 * c-valprint.c (c_val_print): Change the way character arrays
3595 are printed as strings to be consistent with the way strings
3596 are printed when pointer-to-char types are dereferenced.
3597 Remove test of print_max before calling val_print_string, which
3598 now does it's own test.
3599 * eval.c (evaluate_subexp): Add case for OP_ARRAY.
3600 * expprint.c (print_subexp, dump_expression): Add case for OP_ARRAY.
3601 * expression.h (enum exp_opcode): Add OP_ARRAY and document.
3602 * gdbtypes.c (builtin_type_*): Add declarations moved from
3603 c-lang.c.
3604 * gdbtypes.c (create_string_type): New function to create real
3605 string types.
3606 * gdbtypes.c (recursive_dump_type): TYPE_CODE_PASCAL_ARRAY
3607 renamed to TYPE_CODE_STRING.
3608 * gdbtypes.c (_initialize_gdbtypes): Add initializations of
3609 builtin_type_* types moved from c-lang.c.
3610 * gdbtypes.h (enum type_code): TYPE_CODE_PASCAL_ARRAY renamed
3611 to TYPE_CODE_STRING.
3612 * gdbtypes.h (builtin_type_string): Add extern declaration.
3613 * gdbtypes.h (create_string_type): Add prototype.
3614 * m2-lang.c (m2_create_fundamental_type): TYPE_CODE_PASCAL_ARRAY
3615 renamed to TYPE_CODE_STRING.
3616 * m88k-tdep.c (pushed_size): TYPE_CODE_PASCAL_ARRAY renamed to
3617 TYPE_CODE_STRING.
3618 * mipsread.c (_initialize_mipsread): TYPE_CODE_PASCAL_ARRAY
3619 renamed to TYPE_CODE_STRING.
3620 * parse.c (length_of_subexp, prefixify_subexp): Add case for
3621 OP_ARRAY.
3622 * printcmd.c (print_formatted): Recognize TYPE_CODE_STRING.
3623 * typeprint.c (print_type_scalar): TYPE_CODE_PASCAL_ARRAY renamed
3624 to TYPE_CODE_STRING.
3625 * valops.c (allocate_space_in_inferior): New function and
3626 prototype, using code ripped out of value_string.
3627 * valops.c (value_string): Rewritten to use new function
3628 allocate_space_in_inferior, but temporarily disabled until some
3629 other support is in place.
3630 * valops.c (value_array): New function to create array constants.
3631 * valprint.c (val_print_string): Add comment to document use,
3632 complete rewrite to fix several small buglets.
3633 * value.h (value_array): Add prototype.
3634 * value.h (val_print_string): Change prototype to match rewrite.
3635 * ch-valprint.c (chill_val_print): Add case for TYPE_CODE_STRING.
3636 * ch-exp.y (match_character_literal): Disable recognition of
3637 control sequence form of character literals and document why.
3638
3639Thu Jan 14 15:48:12 1993 Stu Grossman (grossman at cygnus.com)
3640
3641 * nindy-share/nindy.c: Add comments to #endif's to clarify
3642 grouping.
3643
3644 * hppa-pinsn.c (print_insn): Use read_memory_integer, instead of
3645 read_memory to get byte order right.
3646 * hppah-tdep.c (find_unwind_info): Don't read in unwind info
3647 anymore. This is done in paread.c now. We expect unwind info
3648 to hang off of objfiles, and search all of the objfiles when until
3649 we find a match.
3650 * (skip_trampoline_code): Cast arg to target_read_memory.
3651 * objfiles.h (struct objfile): Add new field obj_private to hold
3652 per object file private data (unwind info in this case).
3653 * paread.c (read_unwind_info): New routine to read unwind info
3654 for the objfile. This data is hung off of obj_private.
3655 * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to
3656 the unwind info for this objfile. Also define OBJ_UNWIND_INFO to
3657 make this easier to access.
3658
3659Wed Jan 13 20:49:59 1993 Fred Fish (fnf@cygnus.com)
3660
3661 * c-valprint.c (cp_print_class_member): Add extern decl.
3662 * c-valprint.c (c_val_print): Extract code for printing methods
3663 and move it to cp_print_class_method in cp-valprint.c.
3664 * c-valprint.c (c_val_print): Extract code to print strings and
3665 move it to val_print_string in valprint.c.
3666 * cp-valprint.c (cp_print_class_method): New function using
3667 code extracted from c_val_print.
3668 * valprint.c (val_print_string): New function using code
3669 extracted from c_val_print.
3670 * value.h (val_print_string): Add prototype.
3671 * ch-exp.y (CHARACTER_STRING_LITERAL): Set correct token type.
3672 * ch-exp.y (literal): Add action for CHARACTER_STRING_LITERAL.
3673 * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE,
3674 CHECKBUF, growbuf_by_size): New variables, macros, and support
3675 functions for implementing a dynamically expandable temp buffer.
3676 * ch-exp.y (match_string_literal): New lexer function.
3677 * ch-exp.y (match_bitstring_literal): Dynamic buffer code
3678 removed and replaced with new CHECKBUF macro.
3679 * ch-exp.y (yylex): Call match_string_literal when appropriate.
3680 * ch-valprint.c (ch_val_print): Add code for TYPE_CODE_PTR.
3681
3682Sat Jan 9 19:59:33 1993 Stu Grossman (grossman at cygnus.com)
3683
3684 * Makefile.in: Add info for paread.o.
3685 * config/hppahpux.mh: Add paread.o to NATDEPFILES.
3686
3687 * blockframe.c (frameless_look_for_prologue): Correct the
3688 comment.
3689 * gdbtypes.h, gdbtypes.c: Use const in decl of
3690 cplus_struct_default, now that pa-gas assembler has been fixed.
3691 * hppah-nat.c: Formatting.
3692 * hppah-tdep.c: Remove lots of useless externs for variables we
3693 don't use.
3694 * (find_unwind_entry): Speed up by using binary search, and a one
3695 entry cache.
3696 * (rp_saved): New routine to see what unwind info says about RP
3697 being saved on the stack frame.
3698 * (frame_saved_pc): Look for prologue to see if we need to
3699 examine the stack for the saved RP or not.
3700 * (init_extra_frame_info): Check for prologue, instead of
3701 framesize to determine if we are frameless or not.
3702 * (frame_chain_valid): Stop backtraces when we run into _start.
3703 * (push_dummy_frame): Reformat to make more readable.
3704 * (find_dummy_frame_regs): ditto.
3705 * (hp_pop_frame): ditto.
3706 * (hp_restore_pc_queue): small cleanup.
3707 * (hp_push_arguments): ditto.
3708 * (pa_do_registers_info): ditto.
3709 * (skip_prologue): New routine created from SKIP_PROLOGUE macro.
3710 * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c.
3711 * Define FRAME_CHAIN_VALID.
3712 * Turn on BELIEVE_PCC_PROMOTION so that we can access char args
3713 passed to functions.
3714
3715 * paread.c (pa_symtab_read): Use new bfd conventions for
3716 accessing linker symbol table.
3717 * (pa_symfile_init): Access embedded STAB info via BFD section
3718 mechanism and related macros.
3719
3720
3721Sat Jan 9 19:31:43 1993 Stu Grossman (grossman at cygnus.com)
3722
3723 * sparc-stub.c: Use a seperate stack for our traps.
3724 * Handle recursive traps.
3725 * Remove all trap init code. This needs to be done by the
3726 environment.
3727 * (set_mem_fault_trap): Call exceptionHandler() to setup this
3728 trap.
3729 * (handle_exception): See if we are at breakinst, if so, then
3730 advance PC sp that users can just step out of breakpoint().
3731 * (case 'G'): Don't let GDB hack CWP. Also, copy saved regs to
3732 new place if SP has changed.
3733 * (case 's'): Get rid of this, we can't do it yet.
3734 * (case 't'): New command to test any old random feature.
3735 * (case 'r'): New command to reset the system.
3736 * (breakpoint): Add label to breakpoint trap instruction so that
3737 handle_exception() can detect where we are and get past the
3738 breakpoint trivially.
3739
3740Thu Jan 7 13:33:06 1993 Ian Lance Taylor (ian@cygnus.com)
3741
3742 * mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
3743
3744Thu Jan 7 09:21:51 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3745
3746 * configure.in: recognise all sparclite variants
3747
3748Wed Jan 6 10:14:51 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3749
3750 * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
3751 binary files oring in the right bit.
3752
3753 * main.c, source.c, state.c, symmisc.c: use macros defined in
3754 fopen-{bin|both} when fopening files.
3755
3756Wed Jan 6 08:19:11 1993 Fred Fish (fnf@cygnus.com)
3757
3758 * defs.h (HOST_CHAR_BIT): New macro, defaults to either CHAR_BIT
3759 from a configuration file (typically including <limits.h>), or to
3760 TARGET_CHAR_BIT if CHAR_BIT is not defined.
3761 * eval.c (evaluate_subexp): Use new BYTES_TO_EXP_ELEM macro.
3762 * eval.c (evaluate_subexp): Add case for OP_BITSTRING.
3763 * expprint.c (print_subexp): Use new BYTES_TO_EXP_ELEM macro.
3764 * exppritn.c (print_subexp, dump_expression): Add case for
3765 OP_BITSTRING.
3766 * expression.h (OP_BITSTRING): New expression element type for
3767 packed bitstrings.
3768 * expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): New
3769 macros to convert between number of expression elements and bytes
3770 to store that many elements.
3771 * i960-tdep.c (leafproc_return): Use new macros to access
3772 minimal symbol name and address fields.
3773 * m88k-pinsn.c (sprint_address): Use new macros to access
3774 minimal symbol name and address fields.
3775 * nindy-tdep.c (nindy_frame_chain_valid): Use new macro to access
3776 minimal symbol address field.
3777 * parse.c (write_exp_elt, write_exp_string, prefixify_expression,
3778 parse_exp_1): Use new EXP_ELEM_TO_BYTES macro.
3779 * parse.c (write_exp_string, length_of_subexp, prefixify_expression):
3780 Use new BYTES_TO_EXP_ELEM macro.
3781 * parse.c (write_exp_bitstring): New function to write packed
3782 bitstrings into the expression element vector.
3783 * parse.c (length_of_subexp, prefixify_subexp): Add case for
3784 OP_BITSTRING.
3785 * parser-defs.h (struct stoken): Document that it is used for
3786 OP_BITSTRING as well as OP_STRING.
3787 * parser-defs.h (write_exp_bitstring): Add prototype.
3788 * ch-exp.y (BIT_STRING_LITERAL): Change token type to sval.
3789 * ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER,
3790 LOWER, LENGTH): New tokens for keywords.
3791 * ch-exp.y (chill_value_built_in_routine_call, mode_argument,
3792 upper_lower_argument, length_argument, array_mode_name,
3793 string_mode_name, variant_structure_mode_name): New non-terminals
3794 and productions.
3795 * ch-exp.y (literal): Useful production for BIT_STRING_LITERAL.
3796 * ch-exp.y (match_bitstring_literal): New lexer support function
3797 to recognize bitstring literals.
3798 * ch-exp.y (tokentab6): New token table for 6 character keywords.
3799 * ch-exp.y (tokentab5): Add LOWER, UPPER.
3800 * ch-exp.y (tokentab4): Add PRED, SUCC, CARD, SIZE.
3801 * ch-exp.y (tokentab3): Add NUM, ABS, MIN, MAX.
3802 * ch-exp.y (yylex): Check tokentab6.
3803 * ch-exp.y (yylex): Call match_bitstring_literal.
3804
3805Mon Jan 4 16:54:18 1993 Fred Fish (fnf@cygnus.com)
3806
3807 * xcoffexec.c (vmap_symtab): Use new macros to access minimal
3808 symbol name and value fields.
3809
3810 * c-exp.y (yylex): Make static, to match prototype and other
3811 <lang>-exp.y files.
3812
3813 * expression.h (exp_opcode): Add BINOP_MOD.
3814 * eval.c (evaluate_subexp): Handle new BINOP_MOD.
3815 * expprint.c (dump_expression): Handle new BINOP_MOD.
3816 * language.c (binop_type_check): Handle new BINOP_MOD.
3817 * main.c (float_handler): Re-enable float handler when hit.
3818 * valarith.c (language.h): Include, need current_language.
3819 * valarith.c (TRUNCATION_TOWARDS_ZERO): Define default macro
3820 for integer divide truncates towards zero for negative results.
3821 * valarith.c (value_x_binop): Handle BINOP_MOD if seen.
3822 * valarith.c (value_binop): Allow arithmetic operations on
3823 TYPE_CODE_CHAR variables. Add case to handle new BINOP_MOD.
3824 * ch-exp.y (operand_4): Add useful actions for MOD and REM.
3825 * ch-exp.y (tokentab3): Add MOD and REM.
3826 * ch-exp.y (yylex): Set innermost_block for symbols found
3827 in local scopes. Return LOCATION_NAME for local symbols.
3828 * ch-lang.c (chill_op_print_tab): Fix MOD entry to use
3829 BINOP_MOD instead of BINOP_REM. Add REM entry, using BINOP_REM.
3830
3831Mon Jan 4 07:35:31 1993 Steve Chamberlain (sac@wahini.cygnus.com)
3832
3833 * command.c (shell_escape, make_command, _initialize_command):
3834 don't create or use fork if CANT_FORK is defined.
3835 * serial.h, ser-go32.c: now compiles, but "the obvious problems of
3836 code written for the IBM PC" remain.
3837 * xm-go32.h: define CANT_FORK
3838
3839Sun Jan 3 14:24:56 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3840
3841 * remote-sim.c: first attempt at general simulator interface
3842 * remote-hms.c: whitespace
3843 * h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
3844 understand new stack layout. (print_register_hook): print ccr
3845 register in a fancy way.
3846
3847Sun Jan 3 14:16:10 1993 Fred Fish (fnf@cygnus.com)
3848
3849 * eval.c (language.h): Include.
3850 * eval.c (evaluate_subexp_with_coercion): Only coerce arrays
3851 to pointer types when the current language is C. It loses for
3852 other languages when the lower index bound is nonzero.
3853 * valarith.c (value_subscript): Take array lower bounds into
3854 account when performing subscripting operations.
3855 * valops.c (value_coerce_array): Add comment describing why
3856 arrays with nonzero lower bounds are dealt with in value_subscript,
3857 rather than in value_coerce_array.
3858
3859Sat Jan 2 12:16:41 1993 Fred Fish (fnf@cygnus.com)
3860
3861 * ch-exp.y (FLOAT_LITERAL): Add token.
3862 * ch-exp.y (literal): Add FLOAT_LITERAL.
3863 * ch-exp.y (match_float_literal): New lexer routine.
3864 * ch-exp.y (convert_float): Remove.
3865 * ch-exp.y (yylex): Call match_float_literal.
3866 * ch-exp.y (yylex): Match single '.' after trying
3867 to match floating point literals.
3868
3869 * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.
3870 * expprint.c (print_subexp): Rename BINOP_MULTI_SUBSCRIPT to
3871 MULTI_SUBSCRIPT.
3872 * expprint.c (dump_expression): New function for dumping
3873 expression vectors during gdb debugging.
3874 * expression.h (BINOP_MULTI_SUBSCRIPT): Name changed to
3875 MULTI_SUBSCRIPT and moved out of BINOP range.
3876 * expression.h (DUMP_EXPRESSION): New macro that calls
3877 dump_expression if DEBUG_EXPRESSIONS is defined.
3878 * m2-exp.y (BINOP_MULTI_SUBSCRIPT): Changed to MULTI_SUBSCRIPT.
3879 * parse.c (length_of_subexp, prefixify_subexp): Change
3880 BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
3881 * parse.c (parse_exp_1): Call DUMP_EXPRESSION before and after
3882 prefixify'ing the expression.
3883 * printcmd.c (print_command_1): Add comment.
3884 * ch-exp.y (expression_list): Add useful actions.
3885 * ch-exp.y (value_array_element): Add useful actions.
3886 * ch-exp.y (array_primitive_value): Add production.
3887 * ch-exp.y (yylex): Recognize ',' as a token.
3888
3889Fri Jan 1 18:22:02 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3890
3891 * Makefile.in: pass prefix and exec_prefix via FLAGS_TO_PASS,
3892 POSIXize the recursive makes (make [variable assignments] target{s})
3893
3894Fri Jan 1 11:56:23 1993 Fred Fish (fnf@cygnus.com)
3895
3896 * tm-sun4sol2.h (CPLUS_MARKER): Remove, now set in tm-sysv4.h.
3897 * tm-sysv4.h (CPLUS_MARKER): By default, g++ uses '.' as the
3898 CPLUS_MARKER for all SVR4 systems, so follow suit.
3899 * defs.h (strdup_demangled): Remove prototype.
3900 * dwarfread.c (enum_type, synthesize_typedef): Use new macro
3901 SYMBOL_INIT_LANGUAGE_SPECIFIC.
3902 * dwarfread.c (new_symbol): Use SYMBOL_INIT_DEMANGLED_NAME.
3903 * minsyms.c (install_minimal_symbols, prim_record_minimal_symbol,
3904 prim_record_minimal_symbol_and_info): Use new macro
3905 SYMBOL_INIT_LANGUAGE_SPECIFIC.
3906 * minsyms.c (install_minimal_symbols): Use new macro
3907 SYMBOL_INIT_DEMANGLED_NAME.
3908 * stabsread.c (define_symbol): Use new macro
3909 SYMBOL_INIT_DEMANGLED_NAME.
3910 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
3911 Use new macro SYMBOL_INIT_DEMANGLED_NAME.
3912 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Use new macro
3913 SYMBOL_INIT_DEMANGLED_NAME.
3914 * symmisc.c (dump_msymbols, dump_symtab, print_partial_symbol):
3915 SYMBOL_DEMANGLED_NAME now tests language itself.
3916 * symtab.c (COMPLETION_LIST_ADD_SYMBOL): SYMBOL_DEMANGLED_NAME
3917 now tests language itself.
3918 * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): New macro that does
3919 what SYMBOL_DEMANGLED_NAME used to do, directly access the C++
3920 mangled name member in the language dependent portion of a symbol.
3921 * symtab.h (SYMBOL_DEMANGLED_NAME): New macro that returns the
3922 mangled name member appropriate for a symbol's language.
3923 * symtab.h (SYMBOL_SOURCE_NAME, SYMBOL_LINKAGE_NAME,
3924 SYMBOL_MATCHES_NAME, SYMBOL_MATCHES_REGEXP):
3925 SYMBOL_DEMANGLED_NAME now tests language itself.
3926 * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): New macro that
3927 initializes language dependent portion of symbol.
3928 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): New macro that
3929 demangles and caches the demangled form of symbol names.
3930 * utils.c (fputs_demangled, fprint_symbol): Use current language
3931 to select an appropriate demangling algorithm.
3932 * utils.c (strdup_demangled): Remove, no longer used.
3933 * symtab.h (SYMBOL_CHILL_DEMANGLED_NAME): New macro that directly
3934 access the Chill mangled name member in the language dependent
3935 portion of a symbol.
3936 * ch-lang.c (chill_demangle): New function, simple demangler.
3937 * defs.h (chill_demangle): Add prototype.
3938 * symtab.h (language_dependent_info): Add struct for Chill.
3939
3940For older changes see ChangeLog-92
3941\f
3942Local Variables:
3943mode: indented-text
3944left-margin: 8
3945fill-column: 74
3946version-control: never
3947End:
This page took 0.035458 seconds and 4 git commands to generate.