* sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
0858c908
KH
1Mon Aug 28 17:07:26 1995 Kung Hsu <kung@lisa.cygnus.com>
2
3 * remote.c (remote_wait): Revert 19 July my change which should be
4 customer specific.
5
080868b4
PS
6Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7
8 * mdebugread.c (parse_symbol): Handle sh.value of zero for enums.
9 Determine signedness of enum type from enumerators.
10 (parse_type): Handle btIndirect types, handle fBitfield for
11 some non-member types.
12 (upgrade_type): Use TYPE_FLAG_TARGET_STUB for arrays with
13 unknown length.
14 (cross_ref): Handle stIndirect forward reference to btTypedef.
15
16 * stabsread.c (read_enum_type): Determine signedness of enum
17 type from enumerators.
18
19 * top.c (execute_command): Remove trailing whitespace from
20 command arguments, except for `set' and `complete' commands.
21 (validate_comname): Allow underscores in user defined command
22 names.
23
24 * values.c (modify_field): Change `Value does not fit in %d bits'
25 error to a warning. Exclude sign extension bits of negative field
26 values from fit check.
27
13ba8b69
MM
28Fri Aug 25 11:31:29 1995 Michael Meissner <meissner@tiktok.cygnus.com>
29
30 * configure.in (powerpc*-*-eabisim*): Only link in the simulator
31 if the target is powerpc{,le}-*-eabisim*, since the simulator
32 needs GCC to build.
33 * config/powerpc/ppc{,le}-sim.mt: Cloned from ppc{,le}-eabi.mt.
34 * config/powerpc/ppc{,le}-eabi.mt: Remove simulator support.
35 * config/powerpc/tm-ppc{,le}-sim.mt: Include tm-ppc{,le}-sim.h.
36
19c3fec4
MM
37Wed Aug 23 16:55:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
38
39 * config/powerpc/ppc{,le}-eabi.mt (SIM_OBJS, SIM): Link in the
40 PowerPC simulator.
41
7e72b115
JL
42Tue Aug 22 02:00:47 1995 Jeff Law (law@snake.cs.utah.edu)
43
740e8028
JL
44 * tm-hppa.h (EXTRACT_RETURN_VALUE): Fix for FP values.
45
90df364f
JL
46 * tm-hppa.h (STORE_RETURN_VALUE): Fix to work with -msoft-float
47 calling conventions too. Use the TYPE of the return value, not
48 its length to determine if it should also be copied into the
49 floating point registers.
50
7e72b115
JL
51 * tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete. Causes more
52 problems than it fixes.
53 * hppa-tdep.c (skip_prologue): If we exit the main loop without
54 finding all the register saves, retry again without looking for
55 the registers we could not find the first time.
56
c85ff3a3
JL
57Mon Aug 21 23:39:56 1995 Jeff Law (law@snake.cs.utah.edu)
58
59 * hppa-tdep.c (frame_chain_valid): Handle systems where "$START$"
60 calls "main" directly.
61 (skip_prologue): Always assume arguments were saved into the stack
62 since GCC will do so without setting the magic Args_Saved bit in
63 the unwind descriptor.
64
bb8e4e4d
KH
65Mon Aug 21 11:49:17 1995 Kung Hsu <kung@mexican.cygnus.com>
66
67 * remote-udi.c (udi_wait): Mask off high bits of stop reason.
68 * remote-udi.c (fetch_register): For unfetchable regs, pretend it's
69 done. Fix a bug.
70
fa296a0c
JL
71Mon Aug 21 00:45:17 1995 Jeff Law (law@snake.cs.utah.edu)
72
73 * Makefile.in (install): Remove "brokensed" hack, unnecessary now
74 that we're using autoconf.
75 (uninstall): Likewise.
76
f61f41d9
MT
77Sat Aug 19 17:20:22 1995 Michael Tiemann <tiemann@axon.cygnus.com>
78
79 * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or
80 "disable".
81 Also, wire up the breakpoint window so that it can be demo'd.
82
2447e9af
PS
83Sat Aug 19 01:19:34 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
84
85 * gdbtypes.c (recursive_dump_type): Add dont_print_type_obstack
86 to inhibit infinite recursion when printing aggregate types.
87
69c626a9
SC
88Fri Aug 18 17:48:55 1995 steve chamberlain <sac@slash.cygnus.com>
89
90 * dcache.c (dcache_write_line): Write dirty lines right.
91
673e1bab
PS
92Fri Aug 18 06:26:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
93
94 * sparc-tdep.c (isbranch): Fix typo which caused wrong
95 target addresses for annulled branches.
96
1ce8a30f
JL
97Wed Aug 16 21:54:39 1995 Jeff Law (law@snake.cs.utah.edu)
98
99 * config/pa/tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Define.
100
ec10503a
SC
101Tue Aug 15 07:51:21 1995 steve chamberlain <sac@slash.cygnus.com>
102
103 * remote.c (remote_write_bytes): Chop up large transfers.
104
dd17dde6 105Mon Aug 14 17:56:36 1995 Stan Shebs <shebs@andros.cygnus.com>
0e2c2c1e 106
dd17dde6 107 * gcc.patch: Remove, relevant only to long-ago versions of GCC.
ae71adb8 108
dd17dde6 109Mon Aug 14 13:43:01 1995 Kung Hsu <kung@mexican.cygnus.com>
56c423fe 110
0e2c2c1e
KH
111 * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.
112 * blockframe.c (inside_main_func): If main func addr range not set,
113 try to set it now.
114
65eaea27
JL
115Sat Aug 12 15:34:54 1995 Jeffrey A. Law <law@rtl.cygnus.com>
116
407f52c1
JL
117 * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.
118 * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
119
65eaea27
JL
120 * configure.in: Recognize aix4 specially as some aspects
121 of aix4 need different handling than aix3.
122 * configure: Updated.
123 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files
124 specific to aix4 support on the power pc.
125 * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do
126 not defined. The aix4 specific target files will do that.
127 * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files
128 specific to aix4 support on the rs6000.
129
130 * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't
131 do the conversion if the pointer is not a magic aix function
132 pointer.
133 * rs6000-tdep.c: Include objfiles.h and symtab.h.
134 (is_magic_function_pointer): New function.
135
136 * rs6000-tdep.c (skip_prologue): Refine check for frameless
137 functions. Handle b .+4 emitted by aix4 compilers. Only
138 allow one load of a minimal toc pointer. Handle aix4 compiler's
139 code for alloca.
140
141 * rs6000-tdep.c (find_toc_address): Report an error if no toc was
142 found rather than possibly core dumping.
143
dd17dde6 144 * partial-stab.h: Handle extra field generated by the aix4 compiler
65eaea27
JL
145 for enumerations.
146 * stabsread.c (read_enum_type): Likewise.
147
07781ac0
PS
148Sat Aug 12 03:18:04 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
149
150 * rs6000-tdep.c (extract_return_value): Fix returning of values
151 whose length is less than the register size for big endian targets.
152
f21c9aec
KH
153Fri Aug 11 13:04:32 1995 Kung Hsu <kung@mexican.cygnus.com>
154
dd17dde6
SS
155 * symtab.c (list_symbols): if break command set breakpoint on
156 matched symbol.
f21c9aec 157
eae45ea9
FF
158Wed Aug 9 18:59:05 1995 Fred Fish <fnf@cygnus.com>
159
160 * defs.h (strchr, strrchr, strstr, strtok, strerror): Enclose in
161 #ifndefs to protect against previous definitions as macros.
162
38fb211b
KH
163Wed Aug 9 14:51:36 1995 Kung Hsu <kung@mexican.cygnus.com>
164
dd17dde6
SS
165 * xcoffread.c (xcoff_symfile_offset): Revert an unwanted change
166 that got in accidentally with Aug 1 change.
38fb211b 167
998cfe7d
SC
168Sat Aug 5 09:07:28 1995 steve chamberlain <sac@slash.cygnus.com>
169
170 * remote-hms.c (hms_cmds): Get reg term right.
171 * monitor.c (monitor_fetch_register): If we see
172 a non-hex digit, just stop reading.
173 * remote.c (remote_wait): Change way $O is handled.
174
fbc3f191
JL
175Wed Aug 9 11:42:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
176
177 * configure.in (powerpc-*-aix*): Recognize as a new gdb host
178 and target.
179 (powerpc-*-eabi*): Don't set configdirs.
25d0e5a0 180 (powerpcle-*-eabi*): Likewise.
fbc3f191
JL
181 * configure: Updated.
182 * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses
183 for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is
184 defined.
185 * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments
186 for powerpc running aix4.
187 * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target
188 and host include files for powerpc running aix4.
189
327332d8
SS
190Wed Aug 9 08:11:45 1995 Stan Shebs <shebs@cygnus.com>
191
192 * top.c (target_output_hook): Really make it match defs.h (char *
193 is not the same as unsigned char *).
194
c61c48c0
C
195Tue Aug 8 15:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
196
197 * Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgcc
198 unless it is present.
199
842bdf8c
JL
200Tue Aug 8 10:50:15 1995 Jeffrey A. Law <law@rtl.cygnus.com>
201
7aaec27b
JL
202 * top.c (target_output_hook): Make declaration match the one
203 in defs.h.
204
842bdf8c
JL
205 * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION.
206 (add_psymbol_addr_to_list): Likewise.
207 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Likewise.
208
b6d70e15
SC
209Mon Aug 7 15:34:29 1995 steve chamberlain <sac@slash.cygnus.com>
210
764efb58 211 * top.c (target_output_hook): New definition.
b6d70e15
SC
212 * stack.c (gdb_string.h): Include after defs.h
213 * defs.h (target_output_hook): New declaration.
214 * source.c (mod_path): Fix Win32 \ handling.
215
f4eec25c
JL
216Sun Aug 6 22:14:25 1995 Jeff Law (law@snake.cs.utah.edu)
217
218 * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
219 out of a long branch stub.
220
221Fri Aug 4 13:37:31 1995 Jeffrey A. Law <law@rtl.cygnus.com>
222
223 * xcoffread.c (process_linenos): Fix typo in last change.
224
225Thu Aug 3 22:01:26 1995 Fred Fish <fnf@rtl.cygnus.com>
226
227 * ch-exp.y (write_lower_upper_value): Add prototype so bison
228 generated parser will insert prototype before first func usage.
229 Bison and byacc order the output sections differently. Also
230 make function static.
231
605b7789
FF
232Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
233
234 * Update all FSF addresses except those in COPYING* files.
235
adbe434b
PS
236Thu Aug 3 01:38:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
237
238 * config/alpha/tm-alpha.h (EXTRA_FRAME_INFO): Add pc_reg field.
239 (SKIP_TRAMPOLINE_CODE): Define.
240 * alpha-tdep.c (alpha_frame_saved_pc): Use pc_reg field from
241 frame to find the saved pc register.
242 (alpha_saved_pc_after_call): Skip over shared library trampoline
243 before trying to find the saved pc register.
244 (find_proc_desc): Copy PROC_PC_REG from found proc_desc
245 to heuristic proc_desc.
246 (init_extra_frame_info): Initialize pc_reg field in frame.
247
949e2bbf
SS
248Wed Aug 2 18:00:36 1995 Stan Shebs <shebs@andros.cygnus.com>
249
250 * configure.in (m68*-est-*): Use monitor target config.
251 * configure: Update.
252 * config/m68k/est.mt, config/m68k/tm-est.h: Delete.
253 * config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.
254
7613212c
FF
255Tue Aug 1 22:52:53 1995 Fred Fish <fnf@cygnus.com>
256
257 * Makefile.in (VERSION): Bump to 4.14.2
258
259Tue Aug 1 16:04:36 1995 Kung Hsu <kung@mexican.cygnus.com>
260
261 * xcoffread.c (process_linenos): The value in include file symbol
262 should point to line number table. Currently this value is not
263 set correctly by AIX ld. A fix to get around this bug.
264
2b576293
C
265Tue Aug 1 11:44:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
266
267 * configure.in: Check for working mmap, ansi headers, string.h,
268 strings.h, and memory.h.
269 * configure: Regenerated.
270
271 * gdb_stat.h: New file, "portable" <sys/stat.h>.
272 * gdb_string.h: New file, "portable" <string.h>.
273
274 * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
275 convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
276 gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
277 i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
278 mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
279 rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
280 symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
281 ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
282 instead of <sys/stat.h>.
283
284 * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
285 ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
286 core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
287 dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
288 exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
289 fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
290 inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
291 m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
292 monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
293 printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
294 remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
295 remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
296 remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
297 remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
298 remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
299 solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
300 symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
301 valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
302 "gdb_string.h" instead of <string.h>.
303start-sanitize-gdbtk
304 * gdbtk.c: Likewise.
305end-sanitize-gdbtk
306
307 * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
308 sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
309
310 * config/xm-lynx.h, config/i386/xm-ptx.h,
311 config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
312 config/mips/xm-irix3.h, config/mips/xm-mips.h,
313 config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
314 config/pa/hppah.h, config/rs6000/xm-rs6000.h,
315 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
316 config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
317 config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
318 * config/mips/xm-irix3.h, config/mips/xm-mips.h,
319 config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
320
92a6d600
PS
321Tue Aug 1 02:08:30 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
322
323 * mips-tdep.c (mips_extract_return_value): Fix returning of
324 values whose length is less than the register size for big endian
325 targets.
326 * alpha-tdep.c (alpha_extract_return_value,
327 alpha_store_return_value): Use alpha_convert_register_to_*
328 to handle functions returning "float" correctly.
329
ec7b6fcf
SS
330Mon Jul 31 19:12:48 1995 Stan Shebs <shebs@andros.cygnus.com>
331
332 * h8500-tdep.c: General linting and cleanup.
333 (opcodes/h8500-opc.h): Don't include.
334 (code_size, data_size): Make static.
335 (frame_locals_address, frame_args_address): Remove.
336 (h8300_pop_frame): Rename to h8500_pop_frame.
337 (big_command, medium_command, compact_command, small_command):
338 Define as regular functions rather than with macro trickery.
339 (tm_print_insn): Set to correct disassembler function.
340 * config/h8500/tm-h8500.h: Minor cleanup, add prototypes.
341 (ABOUT_TO_RETURN): #if 0 out.
342 (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define.
343 (GDB_TARGET_IS_H8500): Remove duplicate definition.
344 (regoff): Remove, never used.
345 * config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
346
1a494973
C
347Mon Jul 31 14:32:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
348
349 * configure.in: Check for unistd.h.
350 * configure: Regenerated.
351
352 * command.c, cp-valprint.c, fork-child.c, i386-tdep.c,
353 i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c,
354 source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h
355 and/or unistd.h to bring prototypes into scope.
356
357Sun Jul 30 01:40:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
358
359 * rs6000-tdep.c (frame_saved_pc): Check for signal handler caller
360 before trying to determine the start of the function.
361 (skip_prologue): Skip subroutine call which might save the
362 floating point registers only if it is within the first three
363 instructions.
364 Reinstate setting of alloca_reg if setup of a gcc frame pointer
365 is found.
366 (frame_get_cache_fsr): Use new fields in rs6000_framedata.
367
86b40da4
SS
368Sat Jul 29 14:43:35 1995 Stan Shebs <shebs@andros.cygnus.com>
369
370 * sparclite: Removed subdirectory. aload and eload are now in
371 utils/sparclite, low-level library is in libgloss.
372 * configure.in (sparclite*): Don't configure sparclite subdir.
373 * configure: Update.
374 * Makefile.in (TARDIRS): Remove, no longer used.
375
e4dbd248
PS
376Sat Jul 29 01:45:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
377
b6753b3f
PS
378 * procfs.c (unconditionally_kill_inferior): Clear current signal
379 if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined.
380 * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define.
381
e4dbd248
PS
382 * alpha-tdep.c: Move sigtramp handling of saved registers from
383 read_next_frame_reg to alpha_find_saved_regs, handle saved
384 floating point registers.
385 * mips-tdep.c: Move sigtramp handling of saved registers from
386 read_next_frame_reg to mips_find_saved_regs, handle saved
387 floating point registers.
388 * config/mips/tm-irix3.h, config/mips/tm-irix5.h,
389 config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
390
391 * sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp'
392 instruction to handle functions returning structures with
393 large sizes properly.
394
395Fri Jul 28 11:50:17 1995 steve chamberlain <sac@slash.cygnus.com>
396
397 * configure, configure.in (z8k-*-sim): deleted.
398
399Thu Jul 27 12:49:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
400
401 * lynx-nat.c (child_wait): Handle threads exiting.
402
403Thu Jul 27 07:47:50 1995 Michael Meissner <meissner@cygnus.com>
404
405 * rs6000-tdep.c (skip_prologue): Don't assume the update stack
406 instruction is the last in the prologue, since xlc stores the lr
407 after the stack update. Make sure offset is correct sign for
408 large frames.
409 (frame_saved_pc): Move test for signal before frameless.
410
411 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Define.
412 * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Redefine.
413
46f569b4
JL
414Thu Jul 27 01:22:08 1995 Jeffrey A. Law <law@rtl.cygnus.com>
415
416 * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for calling
417 into shared libraries.
418
068c9fd6
MM
419Wed Jul 26 23:33:34 1995 Michael Meissner <meissner@cygnus.com>
420
421 * config/rs6000/tm-rs6000.h (rs6000_framedata): Add offsets the
422 gprs, fprs, lr, and cr is stored at.
423 (FRAME_FIND_SAVED_REGS): Use new fields in rs6000_framedata.
424 (function_frame_info): Delete declaration.
425 (SKIP_PROLOGUE): Skip_prologue is now passed a rs6000_framedata
426 structure to fill in.
427 (FRAMELESS_FUNCTION_INVOCATION): Function now longer takes a
428 second argument.
429 (FRAME_SAVED_PC): Call frame_saved_pc.
430
431 * rs6000-tdep.c (skip_prologue): Recognize V.4 prologues as well
432 as AIX style. Fill in rs6000_framedata structure. Remember where
433 the gprs, fprs, cr, and lr are saved.
434 (pop_frame): Use skip_prologue, not function_frame_info, and use
435 new rs6000_framedata fields.
436 (function_frame_info): Function deleted.
437 (frameless_function_invocation): Separate frame_saved_pc support
438 to new function. Recognize V.4 frames.
439 (frame_saved_pc): New function.
440 (frame_get_cache_fsr): Use skip_prologue, not function_frame_info.
441 (frame_initial_stack_address): Ditto.
442
ddb97850
JL
443Wed Jul 26 01:00:37 1995 Jeff Law (law@snake.cs.utah.edu)
444
445 * remote.c: Add documentation for extended protocol operations
446 and for thread_alive change from a couple weeks ago.
447 (extended_remote_ops): Declare and define a new target vector
448 for the extended remote protocol.
449 (extended_remote_restart): New function to restart the remote
450 server & process.
451 (remote_open): Just a stub routine.
452 (extended_remote_open): New function to start a remote session
453 using the extended gdb remote protocol.
454 (remote_open_1): New function containing code common to both
455 remote_open and extended_remote_open.
456 (remote_mourn, extended_remote_mourn, remote_mourn_1): Similarly.
457 (extended_remote_create_inferior): New function for the extended
458 remote target.
459 (initialize_remote): Add the extended_remote_ops target vector.
460 * gdbserver/server.c (main, case '!'): Set extended_protocol.
461 (main, case 'k'): If the extended protocol is in use, kill the
462 inferior then start a new one.
463 (main, case 'R'): New command to restart the remote server and
464 inferior process. Only supported when using the extended
465 protocol.
466 (main, server loop): If the inferior terminates while using the
467 extended protocol then start a new one. If getpkt fails when
468 using the extended protocol then exit.
469
1789d5d5
SS
470Tue Jul 25 11:43:44 1995 Stan Shebs <shebs@andros.cygnus.com>
471
472 * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab
473 line numbers using the psymtab's section offsets.
474
63641491
MM
475Tue Jul 25 10:43:27 1995 Michael Meissner <meissner@tiktok.cygnus.com>
476
477 * config/rs6000/tm-rs6000.h (rs6000_framedata): Rename from
478 aix_framedata. Change all uses.
479 * rs6000-tdep.c: Change all aix_framedata -> rs6000_framedata.
480
0f7f5292
JL
481Sat Jul 22 23:44:18 1995 Jeff Law (law@snake.cs.utah.edu)
482
483 * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.
484
485Fri Jul 21 16:50:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
486
487 * lynx-nat.c (child_thread_alive): New function. Somehow I
488 forgot to check this in with all the other thread_alive changes.
489
5dc74605
JL
490Thu Jul 20 22:22:34 1995 Jeff Law (law@snake.cs.utah.edu)
491
492 * somread.c (som_symtab_read): Add unsatisfied common symbols to
493 the minimal symbol table. All common symbols are "unsatisfied"
494 when -E is passed to the linker.
495
032f80d8
FF
496Thu Jul 20 15:04:57 1995 Fred Fish <fnf@cygnus.com>
497
498 * top.c (show_endian): Cast first arg of printf_unfiltered to
499 correct type of "char *".
500
5c54124b
JL
501Thu Jul 20 14:18:51 1995 Jeffrey A. Law <law@rtl.cygnus.com>
502
503 * lynx-nat.c (child_wait): A thread_id of zero from wait apparently
504 means the process is single threaded, so there's no need to add
505 it to the thread list. Handle case where multi-threaded process
506 reverts back to a single-threaded process.
76087c53
JL
507
508 * gdbserver/low-hppabsd.c: Remove error declaration.
509 * gdbserver/low-sparc.c: Likewise.
510 * gdbserver/low-sun3.c: Likewise.
511 * gdbserver/server.h: Remove error and fatal declaration.
512 * gdbserver/utils.c (error): Update to be compatable with recent
513 changes in defs.h.
514 (fatal): Likewise.
515
bbcc95bd
PS
516Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
517
518 * config/m68k/tm-m68kv4.h (DWARF_REG_TO_REGNUM): Define to
519 correctly map floating point registers numbers.
520
521 * dwarfread.c (locval, new_symbol): Handle variables that are
522 optimized out.
523
524 * mdebugread.c: Replace all uses of builtin_type_* with
525 mdebug_type_*. Define and initialize mdebug_type_*.
526
527 * serial.h (serial_close): Add additional argument `really_close'.
528 (SERIAL_CLOSE): Update serial_close call accordingly.
529 (SERIAL_UN_FDOPEN): Use serial_close to handle refcnt properly.
530 * serial.c (serial_close): Handle `really_close'.
531 * serial.h (scb_base): Moved to serial.c, made static.
532
533 * valops.c (value_addr): Don't coerce arrays.
534 (typecmp): Coerce arrays instead of calling value_addr if necessary.
535
641c7fdf
SS
536Wed Jul 19 18:19:28 1995 Stan Shebs <shebs@andros.cygnus.com>
537
538 From Richard Earnshaw (rearnsha@armltd.co.uk):
539 * infrun.c (wait_for_inferior): Set the convenience variable
540 $_exitcode to the termination code of the inferior.
541 * top.c (quit_command): Accept optional expression to use
542 as parameter to exit().
543
1dde9159
KH
544Wed Jul 19 13:15:32 1995 Kung Hsu <kung@mexican.cygnus.com>
545
546 * remote.c (remote_wait): When getting registers, check endianess and
547 do conversion if necessary.
548
c2aa5a89
JL
549Tue Jul 18 00:41:31 1995 Jeff Law (law@snake.cs.utah.edu)
550
551 * gdbserver/low-hppabsd.c: New file.
552 * gdbserver/Makefile.in (SFILES): Add low-hppabsd.c.
641c7fdf
SS
553 * config/pa/hppabsd.mh (XDEPFILES): Add ser-tcp.o.
554 (GDBSERVER_DEPFILES): Add low-hppabsd.o.
555 * config/pa/hppaosf.mh: Likewise.
c2aa5a89 556
6b14af2b
FF
557Mon Jul 17 21:35:18 1995 Fred Fish <fnf@cygnus.com>
558
641c7fdf
SS
559 * dache.c (struct dcache_block): Change data member from unsigned
560 char to char, since everything passed in and out of dcache is char
561 or casted to appropriate type anyway.
562 (dcache_alloc): Move assignment of db out of test and combine
563 separate tests into if-else.
6b14af2b
FF
564 (dcache_peek_byte): Change ptr from unsigned char* to char*.
565 (dcache_peek_byte): Remove now unnecessary cast in read_memory call.
566 (dcache_peek): Change cast of incoming data arg.
567 (dcache_poke): Change cast of addr of incoming data arg.
568 (dcache_info): Mask data passed to printf_filtered to lsbyte only.
569 (dcache_info): Change printf_filtered arg from "% 2x" to " %2x".
570 * target.c (debug_to_thread_alive): Change return type to int and
641c7fdf
SS
571 return zero, for type compatibility with other *_thread_alive
572 funcs.
6b14af2b
FF
573 (cleanup_target): Change cast of ignore function to match type of the
574 to_thread_alive member.
575 * defs.h (error_hook): Add ATTR_NORETURN.
641c7fdf 576 * defs.h (NORETURN, ATTR_NORETURN): Switch from volatile to
6b14af2b 577 __attribute__ method with gcc 2.7, to avoid gcc 2.6.3 bug.
641c7fdf
SS
578 * remote.c (remote_wait): Cast first arg to strtol, strchr, and
579 strncmp to "const char *" from "unsigned char *".
580 (remote_wait): Cast arg to putpkt and strcpy from "unsigned char *"
581 to "char *".
6b14af2b
FF
582 (remote_wait): Change printf format for long arg from "%d" to "%ld".
583 (getpkt): Remove unused variable "bp".
584 (remote_fetch_word, remote_store_word): Ifdef out apparently unused
585 functions.
586 * breakpoint.c (watchpoint_check): Removed unused variables
587 "saved_level" and "saved_frame".
588 * valops.c (value_arg_coerce): Add other enum TYPE_CODE_* and
589 default cases to switch for completeness.
590 * infrun.c (wait_for_inferior): Enclose "have_waited" label
591 in #ifdef that matches the one in which it is referenced.
592 * ser-unix.c (hardwire_noflush_set_tty_state): Enclose otherwise
593 unused variable "state" in #ifdef that matches one in which it is
594 referenced.
595 * eval.c (evaluate_subexp_standard): Remove unused variable "var".
641c7fdf
SS
596 * eval.c (evaluate_subexp_standard): Remove unused variable
597 "tmp_symbol".
598 * valarith.c (value_subscript): Remove unused variable
599 "lowerbound", which is redeclared in a nested scope prior to use.
6b14af2b
FF
600 * printcmd.c (print_frame_nameless_args): Use "%ld" to print long
601 arg, not "%d".
602 * {mem-break.c, remote-pa.c, remote.c, saber.suppress}:
603 Remove unused static var "check_break_insn_size".
604 * buildsym.c (finish_block): Add other enum LOC_* and default
605 cases to switch for completeness.
606 ch-lang.c (type_lower_upper): Removed unused label "retry".
607 Add other enum TYPE_* and default cases to switch for completeness.
608 * f-typeprint.c (f_type_print_args): Ifdef out unused function
609 that may be used someday when Fortran support is complete.
610 * ch-valprint.c (chill_print_type_scalar): Add other enum
611 TYPE_* and default cases to switch for completeness.
612 (chill_val_print): Remove unused local var "high_bound" that
613 is redeclared in a nested scope prior to use.
614 (chill_var_print): Use "%ld" to print long arg, not "%d".
641c7fdf
SS
615 * regex.c (re_compile_fastmap, re_match_2): Add remaining enum
616 types and default to switches for completeness.
6b14af2b
FF
617 * minsyms.c (lookup_minimal_symbol_text): Delete unused variable
618 "trampoline_symbol".
641c7fdf
SS
619 (prim_record_minimal_symbol_and_info): Return NULL rather than
620 trash.
6b14af2b
FF
621 * elfread.c (elf_symtab_read): Don't dereference NULL returns from
622 record_minimal_symbol_and_info.
623 * f-lang.c (saved_function_list_end): Ifdef out unused variable
624 that may be used someday.
641c7fdf 625 * f-valprint.c (f_val_print): Remove unused local "straddr".
6b14af2b 626
5d672f28
ILT
627Mon Jul 17 13:08:00 1995 Ian Lance Taylor <ian@cygnus.com>
628
f779e99f
ILT
629 * stabsread.h (struct stab_section_list): Define.
630 (coffstab_build_psymtabs): Remove staboff and stabsize parameters.
631 Add textaddr, textsize, and stabs parameters.
632 * gdb-stabs.h (struct dbx_symfile_info): Remove text_sect field.
633 Add text_addr and text_size fields.
634 (DBX_TEXT_SECT): Don't define.
635 (DBX_TEXT_ADDR, DBX_TEXT_SIZE): Define.
636 * coffread.c: Include <ctype.h>.
637 (struct coff_symfile_info): Remove stabsect and stabindexsect
638 fields. Add textaddr, textsize, and stabsects fields.
639 (coff_locate_sections): Record the address of the .text section,
640 and total the sizes of all sections with names beginning with
641 ".text". Don't bother to record a .stab.index section (COFF
642 doesn't use them). Make a linked list of all sections with names
643 beginning with ".stab".
644 (coff_symfile_read): Adjust call to coffstab_build_psymtabs for
645 new parameters.
646 * dbxread.c (dbx_symfile_read): Use DBX_TEXT_ADDR and
647 DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
648 (dbx_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
649 DBX_TEXT_SECT.
650 (elfstab_build_psymtabs): Likewise.
651 (stabsect_build_psymtabs): Likewise.
652 (symbuf_sections, symbuf_left, symbuf_read): New static variables.
653 (fill_symbuf): If symbuf_sections is not NULL, read symbols from
654 multiple sections.
655 (coffstab_build_psymtabs): Remove staboffset and stabsize
656 parameters. Add textaddr, textsize, and stabsects parameters.
657 Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not DBX_TEXT_SECT. Handle
658 multiple stabs sections.
659 * os9kread.c (os9k_symfile_read): Use DBX_TEXT_ADDR and
660 DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
661 (os9k_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
662 DBX_TEXT_SECT.
663
5d672f28
ILT
664 * remote-vx.c (vx_ops, vx_run_ops): Initialize new to_thread_alive
665 field.
666
b8ea4fec
PS
667Sat Jul 15 01:02:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
668
669 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: New files
670 for OSF/1-3.x procfs support.
671 * configure.in (alpha-dec-osf): Use them when configuring
672 for OSF/1-3.x.
673 * configure: Updated.
674 * target.c: Include <string.h>.
675
5f107900
C
676Fri Jul 14 16:16:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
677
678 * Makefile.in, configure.in: Use one variable, frags, to hold
679 pathnames of makefile fragments.
680 * configure: regenerated.
681
10f644eb
JL
682Fri Jul 14 09:49:47 1995 Jeff Law (law@snake.cs.utah.edu)
683
684 * procfs.c (procfs_ops): Fix typo in last change.
685
43fc25c8
JL
686Thu Jul 13 13:42:38 1995 Jeffrey A. Law <law@rtl.cygnus.com>
687
688 * inftarg.c (child_thread_alive): New function to see if a
689 particular thread is still running.
690 (child_ops): Add child_thread_alive entry.
691 * remote.c (remote_thread_alive): New function to see if a
692 particular thread is still alive.
693 (remote_ops): Add remote_thread_alive.
694 * target.c (dummy_target): Add dummy entry for thread_alive.
695 (cleanup_target): de_fault thread_alive too.
696 (update_current_target): INHERIT thread_alive too.
697 (debug_to_thread_alive): New function.
698 (setup_target_debug): Add debug_to_thread_alive.
699 * target.h (struct target_ops): Add to_thread_alive.
700 (target_thread_alive): Define.
701 * thread.c (info_threads_command): Don't call kill; use
702 target_thread_alive instead.
703 * config/nm-lynx.h (CHILD_THREAD_ALIVE): Define.
704 * gdbserver/low-lynx.c (mythread_alive): New function.
705 (mywait): Don't restart any threads after a new thread notification,
706 let the generic code handle it.
707 * gdbserver/low-sparc.c (mythread_alive): Dummy version.
708 * gdbserver/low-sun3.c (mythread_alive): Likewise.
709 * gdbserver/server.c (main): Handle thread_alive requests.
710 * gdbserver/server.h (mythread_alive): Declare.
711 * corelow.c (core_ops): Add dummy entry for thread_alive.
712 * exec.c (exec_ops): Likewise.
713 * m3-nat.c (m3_ops): Likewise.
714 * monitor.c (monitor_ops): Likewise.
715 * procfs.c (procfs_ops): Likewise.
716 * remote-arc.c (arc_ops): Likewise.
717 * remote-array.c (array_ops): Likewise.
718 * remote-e7000.c (e7000_ops): Likewise.
719 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
720 * remote-mips.c (mips_ops): Likewise.
721 * remote-pa.c (remote_hppro_ops): Likewise.
722 * remote-sim.c (gdbsim_ops): Likewise.
723 * sparcl-tdep.c (sparclite_ops): Likewise.
724
43fc25c8
JL
725Tue Jul 11 11:15:55 1995 Kung Hsu <kung@rtl.cygnus.com>
726
727 * solib.c: Add _DYNAMIC__MGC base symbol for Mentor Graphics Inc.
728 * solib.c (match_main): New function for checking name of main.
729 * solib.c (solib_add): Not to add if solib match main.
730
731Fri Jul 7 14:41:56 1995 Kung Hsu <kung@rtl.cygnus.com>
732
733 * elfread.c (elf_symtab_read): Fix a bug ignoring compiler
734 generated internal labels ($LM...).
735
c6236d12
KH
736Wed Jul 5 11:38:36 1995 Kung Hsu <kung@rtl.cygnus.com>
737
fec60da3
KH
738 * defs.h: if __GO32__ or WIN32 the directory separating symbol should
739 be '\' not '/'.
740
c6236d12
KH
741 * remote-nindy (nindy_wait): Use infinite timeout reading after
742 esacpe character.
743
48f4903f
JL
744Tue Jul 4 10:30:22 1995 Jeffrey A. Law <law@rtl.cygnus.com>
745
88a294b1
JL
746 * infrun.c (wait_for_inferior): When switching from one thread to
747 another, save infrun's state for the old thread and load infrun's
748 previous state for the new thread.
749 * thread.c (struct thread_info): Add new fields for thread specific
750 state saved/restored in infrun.c.
751 (add_thread): Initialize new fields.
752 (load_infrun_state): New function.
753 (save_infrun_state): New function.
754 * thread.h (load_infrun_state): Provide external decl.
755 (save_infrun_state): Likewise.
756
48f4903f
JL
757 * infrun.c (wait_for_inferior): When we hit a breakpoint for the
758 wrong thread, make sure to write the fixed PC value into the thread
759 that stopped. Restart all threads after single stepping over a
760 breakpoint for a different thread.
761 * breakpoint.c (set_momentary_breakpoint): Make momentary
762 breakpoints thread specific in a multi-threaded program.
763 * lynx-nat.c (child_resume): Add some comments. Correctly
764 choose between the single and multi-threaded step and continue
765 ptrace calls.
766
fb506180
SS
767Fri Jun 30 16:15:36 1995 Stan Shebs <shebs@andros.cygnus.com>
768
769 * config/h8300/h8300.mt: Renamed from h8300hms.mt.
770 * config/h8500/h8500.mt: Renamed from h8500hms.mt.
771 * config/z8k/z8k.mt: Renamed from z8ksim.mt.
772 * configure, configure.in: Update to reflect renamings.
773
774 * remote-sim.c (sim): New command, passes commands to simulator.
775 (simulator_command): New function.
776 (gdbsim_ops): Clean up.
777 * remote-sim.h (sim_do_command): Declare.
778 * sh-tdep.c (memory_size): Remove command.
779
780 * Makefile.in (SIM, SIM_OBS): New variables.
781 (CLIBS, CDEPS): Add value of SIM.
782 (DEPFILES): Add value of SIM_OBS
783
784 * config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
785 config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
786 config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
787 define in SIM_OBS and SIM.
788 config/sparc/sp64sim.mt (SIMFILES): Remove.
789
790 * remote-z8k.c: Remove, was superseded by remote-sim.c
791 * Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
792
fe442b43
SS
793Sun Jun 25 15:30:43 1995 Stan Shebs <shebs@cygnus.com>
794
795 * remote.c (remote_read_bytes, remote_write_bytes): Second arg
796 should be char *, not unsigned char *.
797 * dcache.h (memxferfunc): Ditto.
798 * monitor.c (monitor_write_memory, monitor_read_memory_single):
799 Ditto.
800 (monitor_make_srec): Let compiler figure size of hextab.
801
1657d50b
JL
802Sat Jun 24 19:27:37 1995 Jeffrey A. Law <law@rtl.cygnus.com>
803
804 * lynx-nat.c (child_wait): Don't restart new threads and loop
805 to the top of child_wait; let the machine independent code in
806 wait_for_inferior deal with new thread notifications.
807
8a7143f4
KH
808Fri Jun 23 11:51:58 1995 Kung Hsu <kung@mexican.cygnus.com>
809
810 * remote-nindy (nindy_load): Put in target specific load, it's
811 20 times faster.
812
26a53fe8
SS
813Thu Jun 22 20:21:59 1995 Stan Shebs <shebs@andros.cygnus.com>
814
31bda44a
SS
815 * utils.c (error): Move local `args' outside conditional,
816 move local `string1' inside, declare function as void if
817 non-ANSI compiler, dereference error_hook when calling.
818
26a53fe8
SS
819 * mac-xdep.c (stdarg.h): Don't include.
820
89fd75ae
KH
821Thu Jun 22 13:12:33 1995 Kung Hsu <kung@mexican.cygnus.com>
822
823 * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
824
b3a34d4f
JL
825Wed Jun 21 13:24:41 1995 Jeff Law (law@snake.cs.utah.edu)
826
827 * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
828 HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
829
c3a9b88e
SC
830Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
831
832 * monitor.c: Turn on caching.
833 (monitor_printf): If a ^C was sent, don't expect to see its
834 echo.
835 (monitor_open): Enable caching.
836 (monitor_resume, monitor_load): Flush cache.
837 (monitor_xfer_memory): Call cache routine.
838 (monitor_dump_regs): New.
839 (monitor_fetch_registers): If monitor_dump_regs available
840 then use it.
841 (monitor_load): Don't ref exec_bfd if it's NULL.
842 (monitor_load_srec): Use new monitor_make_srec calling convention.
843 (monitor_make_srec): Rewrite to cope with two, three and four byte
844 addresses.
845 * remote-hms.c (hms_cmds): Initialze end-of-command delim.
846 * dcache.h, dcache.h: Rewritten.
847 * remote.c: Reenable caching.
848 (getpkt): Reduce MAX_TRIES to 3.
849 (remote_xfer_memory): Use dcache_xfer_memory.
850 * defs.h (error_hook): New.
851 * top.c (error_hook): New definition.
852 * utils.c (error): Use error_hook if initialized.
853 * sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
854 HAVE_SOCKETS in place of #ifndef GO32.
855
5e2f4e2d
JL
856Tue Jun 20 22:17:44 1995 Jeff Law (law@snake.cs.utah.edu)
857
858 * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.
859 (INSTRUCTION_NULLIFIED): Allow specific targets to override.
860 * config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work
861 around losing mach kernel behavior.
862
4a430794
SS
863Tue Jun 20 12:03:36 1995 Stan Shebs <shebs@andros.cygnus.com>
864
865 * monitor.c (monitor_wait): Don't use the watchdog timeout
866 if its value is 0.
867 * w89k-rom.c (w89k_open): Define to be static.
868
869start-sanitize-gdbtk
f1b64caa
SG
870Tue Jun 20 10:19:40 1995 Stu Grossman (grossman@cygnus.com)
871
8c19daa1
SG
872 * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
873
f1b64caa
SG
874 * gdbtk.tcl (add_breakpoint_frame): Add more fields.
875 * (create_file_win create_asm_win build_framework): Create null
876 bindings for meta keys to keep window from dropping down to
877 insertion point when meta is pressed by itself. New bindings:
878 Up/Down - Scroll up/down one line at a time
879 Next/Prior - Scroll up/down one page at a time
880 Home/End - Warp to current pc/end of file
881 * (build_framework): Turn on breakpoint menu.
882 * (create_command_window): Implement tab completion. Add binding
883 for ^C to stop target.
4a430794 884end-sanitize-gdbtk
f1b64caa 885
156285aa
JL
886Sat Jun 17 10:17:16 1995 Jeff Law (law@snake.cs.utah.edu)
887
888 * somsolib.c (som_solib_add): Validate regexp argument.
889 Don't assume the first entry on dld's library list is the main
890 program. Don't load the same library more than once and don't
891 consider the main program a shared library.
892 (som_solib_sharedlibrary_command): New function
893 (_initialize_som_solib): Add "sharedlibrary" command.
894
e33c359d
SS
895Thu Jun 15 14:54:58 1995 Stan Shebs <shebs@andros.cygnus.com>
896
897 * array-rom.c: Remove, no longer used.
898
899 * remote-hms.c (hms_open): Make static.
900
901 * mpw-config.in (MacSerial.h): Copy from version in {CIncludes},
902 not {MPW}Interfaces:CIncludes.
903 * ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
904
905Wed Jun 14 14:27:07 1995 Per Bothner <bothner@kalessin.cygnus.com>
906
907 * ch-exp.y: Remove lots of unsupported productions and names.
908 Add support for IF-expressions, ORIF, ANDIF, NUM, and ADDR.
909
61379835
PB
910Tue Jun 13 21:40:11 1995 Per Bothner <bothner@kalessin.cygnus.com>
911
912 * parser-defs.h (enum precedence): Added PREC_BUILTIN_FUNCTION.
913 * expression.h (enum exp_opcode): Added UNOP_LOWER, UNOP_UPPER,
914 UNUP_LENGTH.
915 * expprint.c (dump_expression): Handle the new exp_opcodes.
916 (print_subexp): Handle PREC_BUILTIN_FUNCTION.
917 (print_simple_m2_func): Removed.
918 (print_subexp): Remove support for Modula2 builtin functions.
919 * m2-lang.c (m2_op_print_tab): Add support for builtin functions.
920 * ch-exp.y: Parse LOWER, UPPER, and LENGTH builtins.
921 (write_lower_upper_value): Convenience function for LOWER and UPPER.
922 (upper_lower_argument, length_argument): Removed non-terminals.
923 * ch-lang.c (chill_op_print_tab): Entries for UPPER, LOWER, LENGTH.
924 (type_lower_upper): New function. Calculate LOWER/UPPER of type.
925 (value_chill_length): New function. Calcalate LENGTH of ARRAY/STRING.
926 (evaluate_subexp_chill): Handle UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
927
2e1cc801
SS
928Mon Jun 12 12:48:13 1995 Stan Shebs <shebs@andros.cygnus.com>
929
930 Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
931 * defs.h: Don't declare strchr and friends if WIN32.
932 (DIRNAME_SEPARATOR): Move here from source.c.
933 (SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros,
934 symbolic definitions for filename bits.
935 * top.c (cd_command): Use these.
936 * source.c (mod_path, openp): Ditto.
937 * terminal.h: Disable termio/sgtty definitions if WIN32.
938 * findvar.c (registers_changed): Call registers_changed_hook
939 if it is defined.
940
43b442f1
C
941Mon Jun 12 12:22:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
942
943 * Makefile.in (distclean, realclean): Remove config.cache and
944 config.log.
945
99e0981c
JL
946Mon Jun 12 00:21:59 1995 Jeff Law (law@snake.cs.utah.edu)
947
948 * somsolib.c: Include gdb-stabs.h.
949 (som_solib_section_offsets): Use SECT_OFF_XXX rather than 0, 1,
950 etc. Initialize offsets for RODATA & BSS too.
951
b7202faa
JL
952Sat Jun 10 17:59:11 1995 Jeff Law (law@snake.cs.utah.edu)
953
954 * hppa-tdep.c (frame_chain): Try to compensate for incomplete
955 register information in core files when backtracing.
956
957Fri Jun 9 14:51:38 1995 Stu Grossman (grossman@cygnus.com)
958
959 * remote-nrom.c: Remove everything but download code. More
960 cleanups.
961
4887063b
SG
962Thu Jun 8 15:06:00 1995 Stu Grossman (grossman@cygnus.com)
963
964 * defs.h maint.c monitor.c remote-mips.c remote.c: Add support
965 for `watchdog' variable. This allows the user to put an upper
966 limit on the amount of time that GDB will wait for the target to
967 return from a step or continue operation. This will primarily be
968 used for the testsuite, where it is difficult to come up with a
969 reasonable timeout for things like function calls, which can take
970 as long as three minutes under some circumstances. If the
971 watchdog timer expires, GDB will generate an error that looks like
972 `Watchdog has expired.', and will detach from the target.
973
974 * remote-mips.c (mips_open): Setup initial frame from target.
975 Print it out so that user is told where the program is stopped
976 when they attach.
977
978 * remote-nrom.c: Loads of cleanups. Use serial code to open
979 network connections. Use expect() to wait for response to
980 download command.
981
982 * ser-tcp.c (tcp_open): Retry connection if we get ECONNREFUSED.
983
984 * serial.c serial.h (serial_open serial_fdopen serial_close):
985 Allow users to open the same device multiple times. They all get
986 to share the same serial_t. This is about the only way to have
987 multiple active targets use the same device (for download and
988 debug).
989
990 * sparcl-tdep.c: Keep #include <unistd.h> away from GO32.
991
992 * target.c: Add `targetdebug' variable. If this is non-zero,
993 then a special target is put at the top of the target stack which
994 will cause all calls through the target vector to have their args
995 and results printed out.
996
997Wed Jun 7 17:40:37 1995 Per Bothner <bothner@kalessin.cygnus.com>
998
999 * ch-exp.y: Handle <primitive_value> "->" <modename>.
1000
a4c7302a
MM
1001Wed Jun 7 17:46:33 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1002
b726a3d8
MM
1003 * mem-break.c (LITTLE_BREAKPOINT): If BREAKPOINT and
1004 {LITTLE,BIG}_BREAKPOINT are all defined, don't redefine.
1005 (BIG_BREAKPOINT): Ditto.
1006
a4c7302a
MM
1007 * config/rs6000/tm-rs6000.h (BREAKPOINT): Define as either
1008 BIG_BREAKPOINT or LITTLE_BREAKPOINT depending on the target byte
1009 order.
1010
c38e0b58
JL
1011Wed Jun 7 12:41:42 1995 Jeff Law (law@snake.cs.utah.edu)
1012
fbf8d7e1
JL
1013 * somsolib.c (som_solib_section_offsets): Handle relative pathnames.
1014
c38e0b58
JL
1015 * hppa-tdep.c (frame_saved_pc): Handle backtracing through signal
1016 handler in dynamically linked executables.
1017
5c172b4b
MM
1018Tue Jun 6 10:44:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1019
1020 From Andrew Cagney <cagney@highland.com.au>
1021 * rs6000-tdep.c (single_step): Handle both little and big endian
1022 breakpoints.
1023 (gdb_print_insn_powerpc): Deal with disassembling both little and
1024 big endian PowerPC systems.
1025 (_initialize_rs6000_tdep): Use gdb_print_insn_powerpc to handle
1026 disassembly, rather that assuming big endian order.
1027
1028 * config/rs6000/tm-rs6000.h (BREAKPOINT): Delete.
1029 (BIG_BREAKPOINT): Define, big endian breakpoint instruction.
1030 (LITTLE_BREAKPOINT): Define, little endian breakpoint instruction.
1031
1032Sat Jun 3 01:54:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1033
1034 * README: Add note about Unixware 2.x.
1035
1036 * dbxread.c (process_one_symbol): Check for exact symbol name
1037 match when fixing up N_GSYM and N_STSYM symbols from Sun acc.
1038
1039 * valprint.c (value_print_array_elements): Use
1040 fprintf_filtered to put out `<repeats %u times>',
1041 from schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
1042
1043 * value.h (struct value): Change `repetitions' field from
1044 `short' to `int' type.
1045
4f36d4ab
DE
1046start-sanitize-arc
1047Fri Jun 2 11:17:23 1995 Doug Evans <dje@canuck.cygnus.com>
1048
1049 * arc-tdep.c (arc_bfd_mach_type): New static global.
1050 (codestream_fill): Handle byte order differences.
1051 (setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N".
1052 (arc_get_frame_setup): Read it here.
1053 (arc_frame_saved_pc): And here.
1054 (arc_print_insn): New function.
1055 (arc_set_cpu_type): Set arc_bfd_mach_type. Don't set tm_print_insn.
1056 (_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.
1057end-sanitize-arc
1058
2de498d8
C
1059Wed May 31 12:04:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1060
119a5f4e
C
1061 * nlm/{configure.in, Makefile.in}: Converted to use autoconf.
1062 * nlm/configure: New file, generated with autoconf 2.3.
1063
3be5f039
C
1064 * nlm/configure.in: Use sed instead of awk to get the value of
1065 cpufile. Awk is not a utility required by the GNU coding
1066 standards. This change also fixes the rigid whitespace
1067 requirements that were required for awk.
1068
2de498d8
C
1069 * sparclite/aload.c: Use a file descriptor instead of a stdio
1070 stream for i/o with target board.
1071 Use #error if HAVE_TERMIOS is not defined.
1072
1073 * sparclite/{Makefile.in, configure.in}: Converted to use
1074 autoconf.
1075 * sparclite/configure: New file, generated with autoconf 2.3.
1076
413cba82
JL
1077Sun May 28 23:10:07 1995 Jeff Law (law@snake.cs.utah.edu)
1078
089c9303
JL
1079 * defs.h: Include either varargs.h or stdarg.h (for va_list).
1080 Fix stupid thinko in last change ("..." -> "va_list").
1081
413cba82
JL
1082 * defs.h (vprintf_filtered declaration): Add PARAMS prototype;
1083 gcc-2.5 chokes on format attributes for unprototyped functions.
1084 (vfprintf_filtered declaration): Likewise.
1085 (vprintf_unfiltered declaration): Likewise.
1086 (vfprintf_unfiltered). Likewise.
1087
094fd4ae
C
1088Sat May 27 23:54:17 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1089
1090 * configure.in: Use sed instead of awk to get the values of
1091 hostfile, targetfile and nativefile. Awk is not a utility
1092 required by the GNU coding standards. This change also
1093 fixes the rigid whitespace requirements that were required
1094 for awk.
1095 * configure: regenerated.
1096
0cc3f4fc
AMT
1097Sat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
1098
1099 * sparclite/{Makefile,configure}.in: Add hooks for building with
1100 -lsocket & -lnsl for solaris2. Don't build aload/eload for DOS.
1101
1102Thu May 25 12:46:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1103
1104 * gdbserver/remote-utils.c (prepare_resume_reply): Add FIXME
1105 comment regarding signal numbering.
1106
54af8e6e
SC
1107Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
1108
4936656a
SC
1109 * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
1110 now.
1111
54af8e6e
SC
1112 * arm-tdep.c (convert_from_extended, convert_to_extended):
1113 New.
1114 * coffread.c (enter_linenos): Return if linetab 0.
1115 * config/arm/arm.mt (TDEPFILES): Add simulator support.
1116 * config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.
1117
1118Mon May 22 19:37:21 1995 Rob Savoye <rob@darkstar.cygnus.com>
1119
1120 * config/idt.mt: replace monitor and array-rom with the new
1121 remote-array.
1122
f5a8f1a6
SG
1123Mon May 22 15:38:25 1995 Stu Grossman (grossman@cygnus.com)
1124
cac390d4
SG
1125 * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
1126 what this does...
1127
f5a8f1a6
SG
1128 * breakpoint.c: Move defaults of watchpoint related macros into
1129 target.h.
1130 * target.h: Macros from breakpoint.c. Conditionalize based on
1131 TARGET_HAS_HARDWARE_WATCHPOINTS.
1132 * i386v-nat.c procfs.c: Use TARGET_HAS_HARDWARE_WATCHPOINTS
1133 instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint
1134 code.
1135 * config/i386/nm-linux.h, config/mips/nm-irix4.h,
1136 config/pa/nm-hppab.h, config/sparc/tm-sparclite.h: #define
1137 TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
1138
e8bf33c4
JK
1139Mon May 22 06:47:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1140
1141 * breakpoint.c, target.h: Move defaults of watchpoint related
1142 macros back to breakpoint.c. Required to get GDB compiling
1143 on Solaris again.
1144
1145Fri May 19 14:49:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1146
1147 * defs.h (ATTR_FORMAT): New macro, expands to gcc's format
1148 attribute when compiled by gcc.
1149 * defs.h, language.h, monitor.h: Changed many function
1150 declarations to use ATTR_FORMAT.
1151
1152 * breakpoint.c (delete_command); source.c (directory_command);
1153 top.c (define_command): Changed call to query() that had too
1154 many arguments.
1155 * printcmd.c (address_info): Changed call to printf_filtered()
1156 that had too many arguments.
1157
a5298c2a
JK
1158Fri May 19 09:52:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1159
1160 * infrun.c (wait_for_inferior): Move assignments to stop_signal
1161 and stop_pc, and STOPPED_BY_WATCHPOINT code, back where they
1162 were--after the switch statement on w.kind. You can't read the
1163 registers of an inferior which has exited. Use a goto in the
1164 STOPPED_BY_WATCHPOINT code.
1165 * infrun.c (wait_for_inferior): Reinstate
1166 HAVE_STEPPABLE_WATCHPOINT and HAVE_CONTINUABLE_WATCHPOINT code.
1167
73d3dbd4
JK
1168Fri May 19 06:15:40 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1169
1170 * utils.c, complaints.c, language.c, monitor.c, remote-array.c,
1171 remote-mips.c, remote-os9k.c, remote-st.c: Conditionalize use of
1172 stdarg rather than varargs on ANSI_PROTOTYPES not __STDC__; it
1173 must match the definition of PARAMS.
1174start-sanitize-gdbtk
1175 * gdbtk.c: Likewise.
1176end-sanitize-gdbtk
1177
85c613aa
C
1178Thu May 18 15:58:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1179
1180 * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
1181 printf_filtered, printf_unfiltered, printfi_filtered, query, warning,
1182 error, fatal, fatal_dump_core): Use stdarg.h macros when compiling
1183 with an ANSI compiler.
e8bf33c4 1184 * complaints.c (complain): Likewise.
85c613aa
C
1185 * language.c (type_error, range_error): Likewise.
1186 * monitor.c (monitor_printf, monitor_printf_noecho): Likewise.
1187 * remote-array.c (printf_monitor, debuglogs): Likewise.
1188 * remote-mips.c (mips_error): Likewise.
1189 * remote-os9k.c (printf_monitor): Likewise.
1190 * remote-st.c (printf_stdebug): Likewise.
1191start-sanitize-gdbtk
1192 * gdbtk.c (gdbtk_query): Likewise.
1193end-sanitize-gdbtk
1194
e8bf33c4 1195 * defs.h, complaints.h, language.h, monitor.h: Add prototypes to
85c613aa
C
1196 match above changes.
1197
1198 * printcmd.c: Remove uneeded #include <varargs.h>.
1199 * remote-e7000.c: Likewise.
1200
1201 * f-typeprint.c (f_type_print_base): Fix typo found by above
1202 changes.
1203
fb494327
JK
1204Wed May 17 11:21:32 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1205
1206 * Makefile.in (xcoffread.o): Depend on partial-stab.h.
1207
1208 * xcoffsolib.c (sharedlibrary_command): New command.
1209 * xcoffsolib.c (solib_info): Call xcoff_relocate_symtab.
1210 * xcoffsolib.c: Miscellaneous cleanups.
1211
1212 * partial-stab.h: Ignore symbol descriptor '-' (for local
1213 variables with negative type numbers) without complaint.
1214
1215 * rs6000-nat.c (vmap_ldinfo): Use bfd_stat rather than our own
1216 local emulation thereof. Remove unused variable ostart.
1217
eba08643
C
1218Wed May 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1219
e61853dd
C
1220 * Makefile.in (config.status): changed target so that
1221 config.status --recheck is executed if configure script changes.
1222
eba08643
C
1223 * monitor.c (monitor_printf): Changed format specification in
1224 error message to work with pre-ansi compilers.
1225 (monitor_load_srec): reduced length of s-records from 128 to 32
1226 bytes so download is more reliable with the rom68k monitor.
1227
1228 * rom68k-rom.c: Added trailing space to prompt string.
1229
1230 * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed.
1231 * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING):
1232 Removed.
1233 * defs.h, config/{xm-lynx.h, xm-nbsd.h},
1234 config/i386/{xm-i386bsd.h, xm-linux.h},
1235 config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h,
1236 config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo
1237 (PSIGNAL_IN_SIGNAL_H): Removed.
1238
0a5a1821
C
1239Tue May 16 13:16:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1240
eba08643
C
1241 * Makefile.in (Makefile): Added config.status to dependency list.
1242
0a5a1821
C
1243 * configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
1244 gdb_host_cpu, gdb_target_cpu and nativefile.
1245 * configure: regenerated.
1246
943b7032
PS
1247Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1248
1249 * mdebugread.c (parse_symbol): Do not relocate stBlock/scText
1250 symbols, their value is the displacement from the procedure address.
1251 * top.c (init_main): Add missing newlines to help strings for
1252 `if' and `while' commands, fix help string for `show commands'.
1253
75cbae71
SG
1254Mon May 15 18:37:56 1995 Stu Grossman (grossman@cygnus.com)
1255
1256 * breakpoint.c: Move defaults of watchpoint related macros into
1257 target.h. Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of
1258 constants.
1259 * infrun.c (wait_for_inferior): Enhance comment near
1260 STOPPED_BY_WATCHPOINT.
1261 * target.h: Macros from breakpoint.c.
1262
5436fc65
C
1263Mon May 15 17:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1264
1265 * config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
1266 config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
1267 mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
1268 out by autoconf.
1269 * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
1270
1271 * Makefile.in, configure.in: Converted to use autoconf
1272 * aclocal.m4: New file, local autoconf macro definitions.
1273 * configure: New file, generated with autoconf 2.3.
1274
dfd7f395
SS
1275Mon May 15 14:46:41 1995 Stan Shebs <shebs@andros.cygnus.com>
1276
1277 * remote.c (remote_kill): Add prototype.
1278 * cpu32bug-rom.c (cpu32bug_open): Properly define as static.
1279 * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
1280
c66ed884
SG
1281Mon May 15 12:12:34 1995 Stu Grossman (grossman@cygnus.com)
1282
24e1a4e0
SG
1283 * sparclite/salib.c (win_ovf win_unf): Make window size constant
1284 into a variable (__WINSIZE) so that it can be controlled via the
1285 .h file.
1286 * sparclite/sparclite.h: Add SL933 #ifdef to set __WINSIZE to 6
1287 for the 933 board.
1288
c66ed884
SG
1289 * infrun.c: Add #ifdef HP_OS_BUG to all references to
1290 trap_expected_after_continue.
1291 * (wait_for_inferior): Fix for remote watchpoints. Don't try to
1292 insert breakpoints while target is running (this only works on
1293 *some* native targets). This may also speed up native watchpoints
1294 considerably.
1295
f133a597
JK
1296Sat May 13 13:55:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1297
1298 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
bbb053fd
JK
1299 mdebugread.c (struct symloc), hpread.c (struct symloc),
1300 xcoffread.c (struct symloc): Fix inaccurate comment introduced
1301 20 Apr 1995.
f133a597 1302
a367db89
JK
1303Sat May 13 13:34:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1304
1305 * rs6000-tdep.c (find_toc_address): Revise comment.
1306 * symfile.c, symfile.h (init_psymbol_list): New function;
1307 consolidate duplicated copies from os9kread.c, dbxread.c
1308 and dwarfread.c.
1309 * defs.h: Declare info_verbose.
1310 * xcoffread.c: Extensive changes to support psymtabs.
1311
511ffbf2
SG
1312Fri May 12 13:48:41 1995 Stu Grossman (grossman@andros.cygnus.com)
1313
1314 * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.
1315
48b2d07e
JK
1316Fri May 12 06:39:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1317
1318 * partial-stab.h: Expand comments.
1319
2d2959e8
JL
1320Thu May 11 19:01:37 1995 Jeff Law (law@snake.cs.utah.edu)
1321
1322 * Support debugging using native MACH primitives on hppa*-*-osf*.
1323 * configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore.
1324 * config/pa/hppaosf.mh: New file.
1325 * config/pa/nm-hppao.h: Likewise.
1326 * hppam3-nat.c: Likewise.
1327 * config/pa/tm-hppao.h (PSW_SS): Define for single-stepping.
1328 (MACHINE_CPROC_*_OFFSET): Define.
1329 (TRACE_*): Define.
1330 (START_INFERIOR_TRAPS_EXPECTED): Delete definition.
1331
d8afcce9
SG
1332Wed May 10 18:59:26 1995 Stu Grossman (grossman@andros.cygnus.com)
1333
1334 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
1335 * (unwind_command): Clean it up and make it print things out
1336 nicer.
1337 * monitor.c: Add ^C handling capability (mostly ripped off from
1338 remote.c).
1339 * (monitor_printf): Make it check the command echo.
1340 * (monitor_printf_noecho): Similar to above, but doesn't check
1341 for echo.
1342 * (monitor_stop): No longer waits for prompt. That is the job of
1343 the caller. This makes things work much better for monitor_wait,
1344 which waits for the prompt itself.
1345 * (monitor_open): Deal with new monitor_stop semantics. Also,
1346 flush input after sending init strings to get rid of junk that may
1347 be output. Also, don't always send \r to remote. Use
1348 monitor_ops->line_term cuz proper character isn't always \r.
1349 * (monitor_fetch_register): Switch to completely different
1350 algorithm to deal with lame-ass monitors which put spaces in the
1351 middle of numbers, and prompt with a space!!!!!
1352 * (monitor_read_memory_single): New routine to be used with
1353 monitors that can only return one byte/short/long at a time. This
1354 is selected via MO_GETMEM_READ_SINGLE.
1355 * (monitor_load_srec): Use monitor_printf_noecho for sending S
1356 records. Most targets don't echo them.
1357 * (monitor.h): Get rid of cmd_delim. Add line_delim.
1358 * op50n-rom.c (op50n_cmds): Fill it up. Make it work.
1359 * w89k-rom.c: Change all eols from \r to \n. Change load_resp to
1360 ^Q to prevent error message.
1361 * config/pa/tm-hppa.h (CALL_DUMMY (for hppro)): Add special
1362 instruction sequence at end to make restore_pc_queue happy.
1363
bec6c6db
TG
1364Wed May 10 15:59:00 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1365
1366 * remote-est.c (est_open): Make static to match prototype.
1367
c7b44b04
MM
1368Tue May 9 16:58:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1369
1370 * configure.in: Add little endian PowerPC support.
1371 * config/powerpc/ppcle-eabi.mt: New file for little endian PowerPC
1372 support.
1373 * config/powerpc/tm-ppcle-eabi.h: ditto.
1374
5e3f4eac
C
1375Mon May 8 12:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1376
7e1bfb70
C
1377 * nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
1378 These variables not used.
1379
5e3f4eac
C
1380 * config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o.
1381
774e5d7f
SS
1382Wed May 3 17:54:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1383
1384 * monitor.c (monitor_command): Don't use PROMPT until monitor
1385 target is known to be open.
1386 (monitor_make_srec): Don't define size of hextab.
1387
1388Tue May 2 18:32:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1389
1390 * configure.in (--enable-netrom): New configuration option.
1391 * Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
1392 value of NETROM_OBS.
1393 (NETROM_OBS): New variable.
1394 * remote-nrom.c: New file, NetROM target support.
1395 * config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
1396 REMOTE_OBS instead of REMOTE_O.
1397start-sanitize-arc
1398 * config/arc/arc.mt: Ditto.
1399end-sanitize-arc
1400
e2bc2606
SG
1401Fri Apr 28 23:30:00 1995 Stu Grossman (grossman@cygnus.com)
1402
1403 * array-rom.c (_initialize_array array_open): Move baud_rate
1404 initialization from _initxxx to array_open to fix bug with
1405 overriding -b command line option.
1406
ad0c0b7f
DE
1407Thu Apr 27 20:29:34 1995 Doug Evans <dje@canuck.cygnus.com>
1408
1409 * Makefile.in (RUNTEST): Fix reference of `srcdir'.
1410
5d747d61
SC
1411Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
1412
1413 * remote-hms.c: Rewrite to use new monitor conventions.
1414
ab52cc44
JK
1415Tue Apr 25 11:27:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1416
1417 * dbxread.c: Add comment explaining lowest_text_address.
0f60fbb8 1418 Add comment regarding stringtab_global and psymtabs.
ab52cc44 1419
4a8b575e
JL
1420Sat Apr 22 01:26:29 1995 Jeff Law (law@snake.cs.utah.edu)
1421
87e33b84
JL
1422 * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.
1423
4a8b575e
JL
1424 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
1425 handle "short", "int" and small structures returned in registers.
1426
cdd2212f
KH
1427Fri Apr 21 12:57:53 1995 Kung Hsu <kung@mexican.cygnus.com>
1428
1429 * minsyms.c: add new function lookup_minimal_symbol_text, to look
1430 for text symbol only.
1431 * breakpoint.c (create_longjmp_breakpoint): call
1432 lookup_minimal_symbol_text instead of lookup_minimal_symbol.
1433 * symtab.h: add lookup_minimal_symbol_text prototype.
1434
66d05e03
SS
1435Fri Apr 21 12:03:44 1995 Stan Shebs <shebs@andros.cygnus.com>
1436
1437 * sh-tdep.c (sh-opc.h): Don't include.
1438 (gdbcore.h): Include.
1439 (frame_find_saved_regs): Remove unused local.
1440
989d9cba
JK
1441Thu Apr 20 10:12:21 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1442
1443 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
1444 mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
1445 up comments.
1446
7486c68d
SG
1447Wed Apr 19 16:58:11 1995 Stu Grossman (grossman@andros.cygnus.com)
1448
1449 * hppa-tdep.c (deposit_17): New routine to deposit 17 bit
1450 constants into PA instructions.
1451 * Put #ifdefs around all signal handling code. Not generally
1452 needed for embedded boards.
1453 * (hppa_fix_call_dummy): Parameterize offsets into call dummy to
1454 allow different dummys to be used by this code. Use
1455 INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
1456 Conditionalize setup of _sr4export fixup. Improve comments.
1457 * config/pa/tm-hppa.h: Define INSTRUCTION_SIZE. Use a different
1458 call dummy if PA_LEVEL_0 is defined. Better comments for call
1459 dummys. Define offsets for LDIL/LDO instructions which load
1460 function addresses.
1461 * config/pa/tm-pro.h: Get rid of signal handling stuff. Define
1462 PA_LEVEL_0 to disable mucking with space regs and such.
1463
1464Mon Apr 17 15:37:08 1995 Stu Grossman (grossman@andros.cygnus.com)
1465
1466 * cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c
1467 w89k-rom.c: Remove loadtypes, loadprotos and baudrates.
1468 * op50-rom.c: Fix copyrights and add load routine to op50n_cmds.
1469 * rom68k-rom.c (_initialize_rom68k): Don't set baud rate.
1470 * w89k-rom.c: Fix copyrights.
1471
fe4bce98
SG
1472Sun Apr 16 14:00:55 1995 Stu Grossman (grossman@andros.cygnus.com)
1473
1474 * monitor.c: Move all xmodem stuff into xmodem.[ch]. Remove
1475 unnecessary remoteloadprotocol and remoteloadtype support.
1476 * (expect expect_prompt): Change names to monitor_expect and
1477 monitor_expect_prompt. Make them global.
1478 * (printf_monitor): Change name to monitor_printf. Make global.
1479 * (monitor_read_memory): Flush command echo to avoid parsing
1480 ambiguity with CPU32Bug monitor.
1481 * (monitor_load): Remove remoteloadprotocol and remoteloadtype
1482 support. Call target_ops->load_routine, default to
1483 monitor_load_srec.
1484 * (monitor_load_srec): Remove everything but S-record support.
1485 * monitor.h (monitor_ops): Add load_routine to provide monitor
1486 specific download capability.
1487 * remote-est.c: Clean up copyrights and comments.
1488 * w89k-rom.c: Use new xmodem support.
1489 * xmodem.c xmodem.h: New files to support xmodem downloads.
1490 * rom68k-rom.c remote-est.c: Fix copyrights, add load_routine
1491 entry to monitor_ops.
1492 * cpu32bug-rom.c: New file to support Moto BCC debuggers.
1493 * config/m68k/est.mt (TDEPFILES): Add cpu32bug.o.
1494 * config/pa/hppapro.mt (TDEPFILES): Add xmodem.o.
1495
51558740
JK
1496Sat Apr 15 18:00:15 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1497
1498 * rem-multi.shar: Removed; superceded by gdbserver.
1499
e2adc41a
JK
1500Fri Apr 14 12:10:24 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1501
1502 * xcoffread.c (xcoff_sym_fns): Revise comment about merging this
1503 with coffread.c.
1504
1505 * breakpoint.c (fixup_breakpoints): Removed.
1506 * rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints.
1507 (vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set.
1508
1509 * coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
1510 sections, not just SECT_OFF_MAX-1.
1511
1512 * rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets
1513 to be indexed by SECT_OFF_* instead of xcoff section numbers.
1514 * objfiles.c, remote.c: Remove comments regarding SECT_OFF_*.
1515 * symtab.h: Revise comment about block_line_section.
1516 * rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.
1517
8befb594
SS
1518Sat Apr 15 14:15:14 1995 Stan Shebs <shebs@andros.cygnus.com>
1519
1520 * mpw-make.in (init.c): Don't try to do symbolic {o} in sed
1521 command, not allowed by some version of MPW Make.
1522 * ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
1523
b3636ee5
JK
1524Sat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1525
1526 * alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE ->
1527 VALUE_TYPE). Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR,
1528 TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT.
1529
1530Sat Apr 15 14:04:32 1995 Per Bothner <bothner@cygnus.com>
1531
1532 * alpha-tdep.c (alpha_push_arguments): Only cast to long for
1533 TYPE_CODE_INT.
1534
6fd934a6 1535start-sanitize-gdbtk
d7c4766c
SS
1536Sat Apr 15 13:52:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1537
1538 * gdbtk.c (gdb_disassemble): Read from inferior if connected
1539 to a VxWorks target.
1540
6fd934a6
SG
1541Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com)
1542
1543 * README.GDBTK: New file. Contains the obvious.
6fd934a6 1544end-sanitize-gdbtk
d7c4766c 1545
3e437fe6
RS
1546Thu Apr 13 16:17:04 1995 Rob Savoye <rob@darkstar.cygnus.com>
1547
1548 * remote-array.c: New file for Array Tech LSI33k based controller
1549 board.
1550
546e6a39
KH
1551Thu Apr 13 12:23:31 1995 Kung Hsu <kung@rtl.cygnus.com>
1552
1553 * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
1554 extract_address.
1555 * remote-vxsparc.c: New file, preliminary check in, this configuration
1556 not supported yet.
1557 * remote-vxmips.c: ditto.
1558
1559Thu Apr 13 12:10:14 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1560
1561 * rs6000-tdep.c (xcoff_add_toc_to_loadinfo): Don't use a prototype
1562 to declare the function.
1563
d108166f
SS
1564Wed Apr 12 16:40:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1565
1566 * monitor.h (init_monitor_ops): Declare.
1567 * rom68k-rom.c: Clarify some comments.
1568 (rom68k_open): Define as static, to match decl.
1569
ade01652
JK
1570Wed Apr 12 16:36:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1571
56b73ad2
JK
1572 * gdb.gdb: New file.
1573 * .gdbinit: Move list-objfiles to gdb.gdb.
1574
ade01652
JK
1575 * values.c (set_internalvar): Set modifiable flag of newval.
1576
f8203ed0
JK
1577Wed Apr 12 14:34:31 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1578
1579 * xcoffread.c: Call complain() rather than error() or printing a
1580 warning.
1581
32513ed1
DE
1582start-sanitize-arc
1583Wed Apr 12 08:15:27 1995 Doug Evans <dje@canuck.cygnus.com>
1584
1585 * arc-tdep.c: #include "gdbcmd.h".
1586 (codestream_seek): Pass CORE_ADDR.
1587 (arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals.
1588 (debug_pipeline_p): Likewise.
1589 (X_...): Instruction field access macros.
1590 (BUILD_INSN): Define.
1591 (codestream_tell): Allow for stream elements > 1 byte.
1592 (codestream_fill): Likewise.
1593 (setup_prologue_scan): New function.
1594 (arc_get_frame_setup): Call it. Update to current spec
1595 regarding prologues. Use BUILD_INSN.
1596 (skip_prologue): New argument `frameless_p'. Use BUILD_INSN.
1597 (arc_frame_saved_pc): New function.
1598 (frame_find_saved_regs): Use BUILD_INSN.
1599 (get_insn_type, single_step): New functions.
1600 (one_stepped): New global.
1601 (arc_set_cpu_type_command, arc_show_cpu_type_command): New functions.
1602 (arc_set_cpu_type): New function.
1603 (_initialize_arc_tdep): Define new `set' commands `cpu',
1604 `displaypipeline', and `debugpipeline'.
1605 * remote-arc.c (break_insn): Add bi-endian support.
1606 (arc_insert_breakpoint): Likewise.
1607 (arc_remove_breakpoint): Likewise.
1608 (switch_command): Delete.
1609 * arc/tm-arc.h (TARGET_BYTE_ORDER): Delete.
1610 (TARGET_BYTE_ORDER_SELECTABLE): Define.
1611 (DEFAULT_ARC_CPU_TYPE): Define.
1612 (SKIP_PROLOGUE_FRAMELESS_P): Define.
1613 (BREAKPOINT): Delete.
1614 (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define.
1615 (DECR_PC_AFTER_BREAK): Change to 8.
1616 (NO_SINGLE_STEP): Define.
1617 (ARC_PC_TO_REAL_ADDRESS): Define.
1618 (SAVED_PC_AFTER_CALL): Use it.
1619 (NUM_REGS, REGISTER_BYTES): Fix.
1620 (FRAME_SAVED_PC): Call arc_frame_saved_pc.
1621 (FRAME_LOCALS_ADDRESS): Fix.
1622end-sanitize-arc
1623
0c0c911b
JK
1624Tue Apr 11 16:42:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1625
1626 * top.c, utils.c, defs.h: Remove error_hook. It is currently
1627 unused and would need to hook into error_begin()/return_to_top_level(),
1628 instead of error(), if it were to be used.
1629
8989d4fc
JK
1630Tue Apr 11 13:46:25 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1631
1632 * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
1633 consistency with error_begin. Also print warning_pre_print.
1634 Document it better.
1635 * utils.c (warning): Use it.
1636 * utils.c (error_begin): Doc fix.
88a5c3fc
JK
1637 * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
1638 symfile_objfile, nuke it.
8989d4fc 1639
0b078540
JK
1640Tue Apr 11 09:35:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1641
f1cd942d
JK
1642 * printcmd.c (print_address_numeric): Pass use_local to
1643 print_longest, rather than always passing 1.
1644
0b078540
JK
1645 * nlm/Makefile.in: Remove comments discussing munch.
1646
d7c4766c 1647start-sanitize-gdbtk
45f90c50
MM
1648Tue Apr 11 11:07:12 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1649
1650 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but
1651 F_SETOWN is, use that.
d7c4766c 1652end-sanitize-gdbtk
45f90c50 1653
cb5aa38b
SS
1654Mon Apr 10 18:31:57 1995 Stan Shebs <shebs@andros.cygnus.com>
1655
1656 Merge in support for Mac MPW as a host.
1657 (Old change descriptions retained for informational value.)
1658
1659 * mpw-config.in (i386-unknown-go32): Change from aout.
1660 (sh-hitachi-hms): New target.
1661 * mpw-make.in (BISON): Use byacc instead of bison.
1662 (VERSION): Bump to 4.14.1.
1663 (*-pinsn.*): Remove mentions everywhere.
1664 (all): Don't build MacGDB.
1665 (gdb, SiowGDB): Depend on Version.r.
1666 (Version.r): Generate from version info.
1667 * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS.
1668 (main) [MPW]: Remove debugging hook.
1669 * mac-xdep.c (debug_openp): New flag.
1670 (mac_init): Set flag if env variable defined.
1671 * ser-mac.c (mac_open): Clarify error message.
1672 (mac_readchar): Call PROGRESS while looping.
1673 (mac_write): Call sleep instead of sec_sleep.
1674 (sec_sleep): Remove.
1675 * source.c (openp) [MPW]: Only print debugging info if debugging.
1676 * utils.c (query) [MPW]: Clarify that behavior is a bug.
1677
1678 * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.
1679
1680 * main.c, source.c: Remove hacks that replace long strings
1681 with shorter ones, now solved portably.
1682
1683 * config/m68k/xm-mpw.h (spin.h): Include.
1684 (ALMOST_STDC): Only define if MPW_C.
1685 * config/m68k/tm-mac.h: New file, Mac target definitions.
1686
1687 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
1688 i386-unknown-aout): New targets.
1689 (mk.tmp): Add *DEPFILES definitions.
1690 * mpw-make.in: Remove gC rules, clean up definitions for other
1691 include files, bump version, fix bogus \ that should be \Option-d.
1692 (init.c): Build correctly.
1693
1694 * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
1695 (ALLDEPFILES): Add somsolib.c.
1696 (somsolib.o): Add some dependencies.
1697
1698 * mpw-config.in: Use nm-empty.h if host is not target.
1699 (xdepfiles): Add mac-xdep.c.o.
1700 (xm_file): Remove.
1701 * mpw-make.in: Add Fortran files.
1702 (XDEPFILES): Remove.
1703
1704 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
1705 * ser-mac.c (MacSerial.h): Include instead of Serial.h.
1706
1707 * mpw-make.in: Use {s} instead of {srcdir} everywhere.
1708 (bindir, libdir): Remove extra colon.
1709 (source.c): Compile with C instead of gC.
1710 (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}.
1711 (install-only): Don't install MacGDB.
1712 * source.c (openp) [MPW]: Add a debugging display.
1713 (open_source_file) [MPW]: Use MPW basename finders.
1714 [MPW_C]: Briefer versions of help for line and list commands.
1715
1716 * mpw-make.in: Change references from paread.c to somread.c
1717
1718 * mpw-make.in (VERSION): Update to 4.12.3.
1719 (SiowGDB): New target, GDB using SIOW library.
1720 (init-new.c): New target, attempt to generate init.c from sources.
1721 (main.c.o, top.c.o): Put each in its own segment.
1722 * main.c (main) [MPW]: Always call mac_init.
1723 * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output
1724 an extra newline otherwise.
1725 * mac-xdep.c: More comments in various places, remove junk.
1726 (mac_init): Add tests for MPW and SIOW.
1727 (use_wne, has_color_qd): Renamed.
1728 (use_color_qd): New variable.
1729 (grow_window): Only do console resizing to console window,
1730 call resize_console_window.
1731 (zoom_window): Call resize_console_window.
1732 (resize_console_window, scroll_text): New functions.
1733 (adjust_console_sizes): Always align viewrect to even multiples of
1734 text lines.
1735 (adjust_console_text): Always scroll by whole lines.
1736 (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a
1737 recalculation of scroll positions if a newline was output.
1738 (hacked_fflush): Similarly, for flushing.
1739 (hacked_fgetc): New function, aborts if called in MacGDB.
1740 * ser-mac.c (mac_readchar): Rename starttime to start_time,
1741 remove debugging printf.
1742 (mac_write): Sleep on first 4 writes.
1743 (sec_sleep): New function, works like standard sleep.
1744 * macgdb.r: Adjust positioning and contents of About box.
1745 Set minimum size to 2000K, preferred size to 5000K.
1746 * config/m68k/xm-mpw.h (fgetc): Define as a macro.
1747
1748 * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_.
1749 (top.c.o, annotate.c.o): Add build rules.
1750 * macgdb.r (SysTypes.r): Include.
1751 ('vers'): New resource, version info.
1752 (mFile, mEdit, mDebug): Enable all menu items.
1753 (mDebug): Add key equivalents for continue, step, next.
1754 (wConsole): Add zoom and close boxes to window.
1755 * mac-xdep.c (new_console_window): New function, code taken from
1756 mac_init.
1757 (mac_command_loop): Use GetCaretTime for wait interval, call
1758 do_idle on null events.
1759 (do_idle): New function.
1760 (zoom_window): Implement zooming.
1761 (v_scroll_proc): New function, handles vertical scrolling.
1762 (activate_window): Do activation of console window.
1763 (do_menu_command): Implement items of file, edit, and debug menus.
1764 (do_keyboard_command): Fix command extraction.
1765 (adjust_console_sizes, adjust_console_text): New functions.
1766 (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc,
1767 hacked_putc): Don't call draw_console.
1768 * ser-mac.c (mac_open): Add an error message for invalid ports.
1769 (first_mac_write): New global.
1770 (mac_write): Use first_mac_write to sleep on first several writes.
1771
1772 * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir.
1773 (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment.
1774 (TSOBS): Don't compile inflow.c.
1775 (all, install): Add MacGDB.
1776 * main.c (main): Do Mac-specific init and command loop if a
1777 standalone app, skip full option help message if compiling
1778 with MPW C.
1779 (gdb_readline): If MPW, add a newline after the (gdb) prompt.
1780 * utils.c (_initialize_utils): If MPW, don't try to use termcap to
1781 compute the window size.
1782 * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc,
1783 fflush): Define as macros that expand into hacked_... versions.
1784 (StandAlone, mac_app): Declare.
1785 * macgdb.r (SIZE): Set the default partition to 4000K.
1786 * mac-xdep.c (readline.h, history.h): Include.
1787 (terminal.h): Don't include.
1788 (mac_app): Define.
1789 (gdb_has_a_terminal): Define Mac-specific version.
1790 (do_keyboard_command): Simplify search for command string.
1791 (readline): Define as gdb_readline.
1792 Add other history/readline stubs to make main gdb link.
1793 (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs,
1794 hacked_fputc, hacked_fflush): New functions, intercept output to
1795 stdout and stderr, send to console window.
1796
1797 * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb.
1798 (XDEPFILES): Define.
1799 (main.c.o): Compile with gC instead of C.
1800 * mac-defs.h: New file, menu etc definitions shared between
1801 C and Rez files.
1802 * macgdb.r: New file, Rez (resource compiler) resource
1803 definitions.
1804 * mac-xdep.c: New file, Mac host interface code.
1805 * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to
1806 DIRNAME_SEPARATOR.
1807 (PATHNAME_SEPARATOR_STRING): Remove.
1808 (SIGQUIT, SIGHUP): Define.
1809 (fileno, R_OK): Define.
1810
1811 * mpw-config.in: New file, MPW configuration fragment.
1812 * mpw-make.in: New file, MPW makefile fragment.
1813 * config/m68k/xm-mpw.h: New file, MPW host definitions.
1814 * ser-mac.c: New file, Mac serial interface.
1815
c08c3640
KH
1816Mon Apr 10 16:47:57 1995 Kung Hsu <kung@mexican.cygnus.com>
1817
73dab896
KH
1818 * valprint.c (print_longest): Fix a syntax error in #ifdef
1819 PRINTF_HAS_LONG_LONG.
1820
1821 * config/mips/xm-irix5.h: turn on CC_HAS_LONG_LONG and
c08c3640
KH
1822 PRINTF_HAS_LONG_LONG.
1823 * config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
1824
41270571
PS
1825Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1826
1827 * mdebugread.c (parse_symbol): Use new variable
1828 nodebug_var_symbol_type as type of variables which don't have any
1829 ecoff debug info associated with them.
1830 (parse_symbol, parse_procedure): Use heuristics to determine if
1831 functions were compiled without debugging info and change their
1832 type to nodebug_function_symbol_type.
1833 (_initialize_mdebugread): Initialize nodebug_*_symbol_type.
1834
1835 * source.c (line_info): Clear sal.pc for `info line' without
1836 arguments.
1837
7952bce6
SG
1838Fri Apr 7 17:43:01 1995 Stu Grossman (grossman@andros.cygnus.com)
1839
1840 * monitor.c: make_xmodem_packet and print_xmodem_packet go away.
1841 send_xmodem_packet shows up to do the obvious. Lots of fixes to
1842 xmodem downloads including resetting of block number at start of
1843 new transfers, fix for buffer overrun problem, addition of CRC
1844 generation code.
1845 * (monitor_open): loadtype_str and loadproto_str now default to
1846 first entry in monitor_ops->loadtypes.
1847 * (monitor_wait): Lengthen register dump buf, because of verbose
1848 Winbond monitor.
1849 * (monitor_fetch_register): Report unimplemented registers as 0.
1850 * (monitor_read_memory): Only do 16 byte aligned transfers
1851 because of formatting weirdness with the Winbond monitor. Also,
1852 ignore non-hex, non-whitespace formatting between bytes (same
1853 monitor).
1854 * (monitor_load): Clean up logic.
1855 * (monitor_load_srec): Re-do xmodem support. Move lots of it
1856 into send_xmodem_packet.
1857 * (getacknak): Get rid of polls and timeouts. Handle CRC
1858 requests from receiver.
1859 * (monitor_make_srec): Efficiency improvements. Don't call
1860 sprintf to output two digit hex numbers.
1861 * (crcinit, docrc): New, CRC-16 support routines.
1862 * (send_xmodem_packet): New routine to generate either CRC-16 or
1863 checksummed xmodem packets.
1864
1865 * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes):
1866 Reduce tables down to only the load types supported by each
1867 monitor.
1868
1869 * w89k-rom.c (w89k_supply_register): Parses output of Winbond
1870 register dumps.
1871 * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem.
1872 * (w89k_cmds): Add clear all breakpoints, memory fill, and dump
1873 registers commands.
1874
0ac704d2
SG
1875 * config/pa/tm-hppa.h: Define lots register offsets needed by
1876 w89k-rom.c.
1877
5d747d61 1878
77a89957
MM
1879Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1880
1881 * Makefile.in (X11_INCLUDES): Define as empty.
1882 (X11_CFLAGS): Define as including $(X11_INCLUDES).
1883 (X11_LIB_SWITCHES): Define as empty.
1884 (X11_LIBS): Define as -lX11.
1885
cb5aa38b 1886start-sanitize-gdbtk
77a89957
MM
1887 * configure.in (enable_gdbtk): If gdbtk, support the --x-includes
1888 and --x-libraries switches, setting the X11_INCLUDES and
1889 X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11
1890 in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables.
1891
1892 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use
1893 it. This means that the stop button doesn't work, but is better
1894 than nothing.
cb5aa38b 1895end-sanitize-gdbtk
77a89957 1896
8066e434
JK
1897Wed Apr 5 19:57:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1898
1899 * mips-tdep.c (mips_print_register): Remove unused variable
1900 our_type and call to init_type. Fixes memory leak. Reindent function.
1901
1902 * mips-tdep.c (mips_print_register), findvar.c
1903 (write_register_bytes): Make buffer char[] instead of unsigned
1904 char[].
1905
dee80384
JK
1906Mon Apr 3 19:28:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1907
8066e434 1908 * top.c, utils.c, main.c, defs.h: Replace error_pre_print with two
dee80384
JK
1909 variables: error_pre_print (for RETURN_ERROR) and quit_pre_print
1910 (for RETURN_QUIT). Fixes a bug whereby typing ^C (e.g. in "maint
1911 print sym") could output extraneous stuff.
1912 * objfiles.c: Don't declare error_pre_print; defs.h does it.
1913
1914Mon Apr 3 13:48:28 1995 Stu Grossman (grossman@andros.cygnus.com)
1915
1916 * monitor.h: Add MO_GETMEM_NEEDS_RANGE flag.
1917 * monitor.c (monitor_read_memory): Use previously mentioned flag
1918 to send proper format memory examine commands to the w89k monitor.
1919 Also, try to handle bizarre format of memory dump...
1920
1921 * op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions.
1922
576c3913
PS
1923Sat Apr 1 03:22:20 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1924
1925 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
1926 Handle relocated symbol address.
1927 * partial-stab.h, case N_SO, SOFUN_ADDRESS_MAYBE_MISSING:
1928 Do not relocate a zero address.
1929
23a1346e
JK
1930Thu Mar 30 19:46:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1931
7c7c4f0a
JK
1932 * config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; it
1933 is nowhere used.
1934
23a1346e
JK
1935 * stabsread.c (read_range_type): Remove FIXME comment about
1936 type-id (I presume this meant a number followed by = followed by a
1937 type) versus type number; Per fixed it.
1938
1e1dd175
SS
1939Wed Mar 29 09:56:04 1995 Jason Molenda (crash@phydeaux.cygnus.com)
1940
1941 * configure.in: sparc-*-sunos5* is same as sparc-*-solaris2*.
1942
a2f0cf2f
SS
1943Wed Mar 29 18:30:03 1995 Stan Shebs <shebs@andros.cygnus.com>
1944
1945 * remote-e7000.c (why_stop): Add new kinds of strings to expect
1946 from the emulator.
1947 (e7000_wait): Add interpretations for more stop reasons,
1948 including warnings for write protect and cycle address errors.
1949
a706069f
SG
1950Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1951
1952start-sanitize-gdbtk
1953 * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate
1954 locations (per-host) for X11 include files.
1955 * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force
1956 the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs
1957 of the R5 include files.
1958end-sanitize-gdbtk
1959 * monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of
1960 support for interrupting target.
1961 * monitor.c (monitor_open): Send stop command before doing
1962 anything else.
1963 * (monitor_load_srec): Fix record size calculation to prevent end
1964 of segment from getting trashed.
1965 * rom68k-rom.c: Update to latest version of struct monitor_ops.
1966 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order
1967 problems. Makes DOS hosted function calling work.
1968 * sparclite/crt0.s: Define _start to make COFF happy.
a706069f 1969
3e8fdb61
MM
1970Wed Mar 29 09:11:51 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1971
1972 * defs.h (atof): Don't provide an external declaration if atof is
1973 a macro.
1974
e137e850
PS
1975Wed Mar 29 00:01:07 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1976
1977 * rs6000-tdep.c (skip_prologue): Skip saving of LR and CR in
1978 the stack frame, fix typos in `st rx,NUM(r1)' and `stu r1,NUM(r1)'
1979 tests.
1980
e55a5796
PB
1981Tue Mar 28 17:04:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
1982
1983 * gdbtypes.c (create_range_type): If indextype has TYPE_FLAG_STUB
1984 set, set TYPE_FLAG_TARGET_STUB.
1985 (check_stub_type): Recalculate TYPE_LENGTH for range type.
1986 * stabsread.c (read_range_type): If index type number is followed
1987 by '=', back up, call read_type. and assume we have a true range.
1988 * gdbtypes.h (TYPE_FLAG_TARGET_STUB): Update comment.
1989
3f403f6a
PS
1990Mon Mar 27 22:51:54 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1991
1992 * alpha-nat.c, irix4-nat.c, irix5-nat.c, mipsv4-nat.c,
1993 sparc-tdep.c (supply_gregset, supply_fpregset): Fill inaccessible
1994 registers with zero to handle recent read_register_bytes change.
1995 * irix4-nat.c, irix5-nat.c, mipsv4-nat.c (supply_gregset,
1996 fill_gregset): Fix handling of CAUSE_REGNUM.
1997 * mips-nat.c (store_inferior_registers): Handle unwritable
1998 registers when storing a single register.
1999 * config/mips/tm-irix3.h (CAUSE_REGNUM, BADVADDR_REGNUM):
2000 Fix definitions.
2001
2002 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Clear
2003 allocated mips_extra_func_info, if the debug info is corrupt,
2004 the PDR to fill it in might be missing.
2005
3b94a0b8
KH
2006Mon Mar 27 14:43:00 1995 Kung Hsu <kung@mexican.cygnus.com>
2007
2008 * vx-share/regPacket.h: a new file interfacing with vxworks.
2009
d582898a
JK
2010Sun Mar 26 13:22:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2011
2012 * breakpoint.c (bpstat_do_actions): Once we've executed the
2013 commands, set bs->commands to NULL.
2014
b9e58503
PS
2015Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2016
2017 * buildsym.c (patch_subfile_name): Update last_source_file
2018 with the real source file name.
2019 * dbxread.c (end_psymtab): Handle static functions in the
2020 SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
2021 to lookup_minimal_symbol.
2022 (process_one_symbol): Ignore extra outermost context from
2023 SunPRO cc and acc.
2024 * stabsread.c (define_symbol): Do not complain for SunPRO
2025 static variable encoding if STATIC_TRANSFORM_NAME is defined.
2026 * sparc-tdep.c, config/sparc/tm-sun4sol2.h
2027 (sunpro_static_transform_name): Renamed from
2028 solaris_static_transform_name.
2029 * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
2030 Define to sunpro_static_transform_name for acc 3.0 compiled
2031 executables.
2032 * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
2033 Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
2034 if defined.
2035 * procfs.c (info_proc_siginfo): Cast sip->si_addr to
2036 `unsigned long' and use `lx' format for printing it.
2037
2038Fri Mar 24 15:45:42 1995 Stu Grossman (grossman@cygnus.com)
2039
2040 * configure.in: Move test for m68*-est-* before m68*-*-coff*.
2041 * findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
2042 the beginning of the code.
2043 * (write_register_gen): New routine. Analogous to
2044 read_register_gen.
2045 * (write_register_bytes): Another rewrite! Make it smarter about
2046 not updating regs with the same value.
2047 * monitor.c (printf_monitor readchar): Use stderr instead of
2048 stdout to output debug info. Also cleanup readchar a little.
2049 * (expect): Make sure that excessive responses are null
2050 terminated.
2051 * (monitor_open): Check for magic number in monitor_ops struct.
2052 Allow multiple commands as init strings. Also, clear all
2053 breakpoints.
2054 * (monitor_resume monitor_wait): Send a command to dump all the
2055 regs for those targets which don't do so when waking up after a
2056 continue command.
2057 * (monitor_wait): Handle excessive response output better.
2058 * (monitor_write_memory): Use block fill, word, and long word
2059 commands (if they exist) to write memory more efficiently.
2060 * General cleanups to use flag bits instead of individual flag
2061 words in monitor_ops struct.
2062 * (monitor_command): Return output from command.
2063 * (monitor_load_srec): Allocate buffer only once. Use alloca.
2064 Wait for load response string instead of using a timeout to start
2065 sending S-records. Fix bug where value of srec_frame shrinks. If
2066 hashmark is set, print `-' for retransmissions. General cleanups.
2067 * (monitor_make_srec): Get rid of S-record default type kludge.
2068 * monitor.h: Use seperate struct for memory and register
2069 read/write commands. Memory commands can come in byte, word,
2070 long, and longlong forms.
2071 * (monitor_ops): Change lots of fields. Generalize some stuff.
2072 Put all flags into flags word. Allow init to be a list of commands.
2073 Add command for clearing all breakpoints, block fill, dumping all
2074 registers.
2075 * remote-est.c: Rewrite to use new monitor conventions.
2076 * config/m68k/est.mt (TDEPFILES): Add monitor.o.
2077 * config/m68k/tm-est.h: Set NUM_REGS to 18.
2078 * testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test
2079 more thoroughly.
2080
9bfed1ee
JL
2081Thu Mar 23 23:20:00 1995 Jeff Law (law@snake.cs.utah.edu)
2082
2083 * somsolib.c (som_solib_add): Handle case where a shared library
2084 referenced by a core file has sections without the SEC_ALLOC bit
2085 set (eg stabs sections).
2086
1c04536e
JK
2087Thu Mar 23 15:07:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2088
2089 * breakpoint.c (bpstat_do_actions): For each element in the bpstat
2090 chain, do all the commands regardless of whether they run the
2091 inferior.
2092
aa949c08
DE
2093Wed Mar 22 19:17:06 1995 Doug Evans <dje@cygnus.com>
2094
2095 * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as
2096 BREAKPOINT if mono-endian.
2097 (break_insn): Deleted.
2098 (big_break_insn, little_break_insn): Define.
2099 (memory_insert_breakpoint): Handle bi-endian cpus.
2100 (BREAKPOINT_LEN): Define.
2101 (memory_remove_breakpoint): Use it.
2102 (memory_breakpoint_size): Likewise.
2103
9cc2cd4f
KH
2104Tue Mar 21 17:03:17 1995 Kung Hsu <kung@mexican.cygnus.com>
2105
2106 * sparc-stub.c: add nop after 'bg good_wim'.
2107 * sparcl-stub.c: ditto.
2108
1968ed13
JK
2109Tue Mar 21 13:34:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2110
2111 * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
2112 TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
2113
e6059f4a
JL
2114Mon Mar 20 10:09:59 1995 Jeff Law (law@snake.cs.utah.edu)
2115
2116 * hppab-nat.c (store_inferior_registers): Sync with HPUX version.
2117
a15f6b0a
SG
2118Mon Mar 20 07:34:48 1995 Stu Grossman (grossman@cygnus.com)
2119
2120 * hppah-nat.c (store_inferior_registers): Move check for
2121 CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors
2122 found by test suite during function calls, which attempts to write
2123 unwritable registers.
2124
5c26250b
PS
2125Sat Mar 18 02:02:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2126
2127 * mdebugread.c (parse_symbol): If finishing a function without
2128 known parameter type info, set that from parameter symbols.
2129 Remove commented-out add_param_to_type support.
2130
2131Thu Mar 16 16:38:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2132
2133 * xcoffread.c (process_linenos): Make sure filename we pass to
2134 start_subfile will cause deduce_language_from_filename to return
2135 the correct thing. Reindent function to GNU standards.
2136
334655aa
C
2137Thu Mar 16 15:54:00 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2138
2139 * nlm/gdbserve.c (handle_exception): #if out call to StopBell,
2140 as it is not available on NetWare 3 or PIN.
2141 * nlm/ppc.c (StopBell): Removed.
2142
8367c66b
JK
2143Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2144
d1f14b46
JK
2145 * xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
2146 inferred from the traceback tags, give its type the name
2147 "<non-float parameter>".
2148
8367c66b
JK
2149 * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
2150
2081365f
SG
2151Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
2152
2153 * findvar.c (read_register_bytes write_register_bytes): Make
2154 these routines much smarter about updating registers from the
2155 target, only doing so when absolutely necessary. This really
2156 speeds up register modification on some remote targets.
2157
2158 * monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
2159 BFD makes this unnecessary. Lots of debugging speedups.
2160 * (expect): NULL terminate return string.
2161 * (monitor_open monitor_supply_register parse_register_dump
2162 monitor_wait monitor_fetch_register): Switch to using GNU regexp
2163 library to parse multi-register displays.
2164 * (monitor_read_memory): Read multiple bytes (up to 16) at once.
2165 * (monitor_create_inferior): Call clear_proceed_status to make run
2166 command notice first breakpoint.
2167 * (monitor_load): Clean up. Reset inferior_pid, set pc to start
2168 address and reset symbol table stuff to make loads put things into
2169 a fresh state.
2170 * (monitor_load_srec): Lower sleep time to 1 second.
2171
2172 * monitor.h (struct monitor_ops): Add register_pattern and
2173 supply_register to monitor_ops.
2174
2175 * rom68k-rom.c: Add new support for handling register dumps.
efe4e52d
SG
2176 * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
2177 dump handling.
2081365f 2178
a7f6f40b
JK
2179Wed Mar 15 15:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2180
2181 * utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make
2182 argument be an int, not a char. Using a prototype followed by an
2183 old-style function definition in a case where an argument is
2184 widened is a GCC-ism not supported by the native AIX compiler.
2185
b1dda26e
C
2186Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2187
68c1bc9c
C
2188 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
2189 long ago.
2190
a64bbacf 2191 * configure.in (alpha-*-netware*): Removed configuration.
68c1bc9c
C
2192 * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
2193 * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
2194 alpha.c, alpha.h, altdebug.h}: Removed.
2195
b1dda26e
C
2196 * nlm/gdbserve.c (main): Add support for processing BOARD=
2197 argument, deprecate NODE=.
2198
961b8ebd
JK
2199Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2200
2201 * c-exp.y (yylex): Make an empty character constant an error.
2202
912cb3fd
PB
2203Tue Mar 14 15:00:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
2204
2205 * valops.c (value_arg_coerce): Do possible value_coerce_array
2206 before determining type argument to value_cast.
2207
1990231d
KH
2208Tue Mar 14 10:41:41 1995 Kung Hsu <kung@mexican.cygnus.com>
2209
2210 * remote-es.c: Replace ignore with 0.
2211
a3012272
JK
2212Tue Mar 14 05:52:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2213
2e12bf4f
JK
2214 * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
2215 If VALUE_REPEATED is already set, just error out.
2216
36633dcc
JK
2217 * valops.c (value_cast, value_slice), parse.c (follow_types): Add
2218 FIXME-type-allocation comments.
2219
a3012272
JK
2220 * gdbtypes.h (struct type): Fix comment about what units the
2221 TYPE_LENGTH is in.
2222
477b2425
SS
2223Mon Mar 13 18:27:25 1995 Stan Shebs <shebs@andros.cygnus.com>
2224
2225 * ch-valprint.c (annotate.h): Include.
2226 * eval.c (evaluate_subexp_standard): Remove unused variable.
2227 (calc_f77_array_dims): Add parens to expression.
2228 * f-exp.y (yylex): Add parens to expression, remove unused label.
2229 * f-lang.h (calc_f77_array_dims): Declare.
2230 * f-valprint.c (f_val_print): Remove unused variables.
2231
4f69fe46
JK
2232Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2233
2234 * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
2235 use the PDR, just examine prologues instead.
2236
477b2425 2237start-sanitize-arc
c230fbb6
KH
2238Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com>
2239
c230fbb6
KH
2240 * config/tm-arc.h: Change arc register names.
2241end-sanitize-arc
2242
a1a0d974
PS
2243Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2244
2245 Fix problems with infinite recursion when printing a class
2246 that contains a static instance of the class.
2247 * cp-valprint.c (dont_print_vb_obstack): Renamed from
2248 dont_print_obstack, made static.
2249 (dont_print_statmem_obstack): New obstack, controls printing
2250 of static member classes.
2251 (_initialize_cp_valprint): Initialize it.
2252 (cp_print_static_field): New function, handles printing of
2253 static members.
2254 (cp_print_value_fields): New parameter dont_print_statmem to
2255 handle recursive printing of static member classes, use
2256 cp_print_static_field to handle printing of static members.
2257 * c-valprint.c (cp_print_value_fields): Update prototype and
2258 call to include additional dont_print_statmem parameter.
2259 * c-valprint.c, f-valprint.c (dont_print_obstack): Remove unused
2260 extern declaration.
2261
2262 * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>.
2263
2264 * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call
2265 alpha_find_saved_regs if fi->saved_regs is still NULL.
2266
2267 * elfread.c (elf_symtab_read): Ensure that the filename field
2268 of a minsym is nonempty. Ignore solib trampoline symbols from
2269 the main symbol table, they might have a bogus value.
2270
2271 * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
2272 Fix typos in comments.
2273
45d6f623
JK
2274Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2275
2276 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
2277 pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way
2278 we know whether the PDR ever got set.
2279 * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
2280 use the PDR, just examine prologues instead.
2281
2282Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu)
2283
2284 * somsolib.c (som_solib_section_offsets): Get offset of text
2285 section right.
2286
34c40fd7
SG
2287Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
2288
8cbf6efc 2289start-sanitize-gdbtk
9468f8aa
SG
2290 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
2291 type is not bp_breakpoint.
8cbf6efc 2292end-sanitize-gdbtk
9468f8aa 2293
34c40fd7
SG
2294 * source.c (forward_search_command reverse_search_command): Set
2295 convenience variable $_ to be the line # of the match.
2296 * symtab.c (decode_line_1): Allow convenience variables to be
2297 used in line specs (for breakpoints and such).
2298
95618211
SS
2299Wed Mar 8 12:51:00 1995 Stan Shebs <shebs@andros.cygnus.com>
2300
2301 * Makefile.in (VERSION): Bump to 4.14.1.
2302 * NEWS, README: Update for 4.14.
2303 * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
2304 (i386_insert_nonaligned_watchpoint): Call aligned instead of
2305 generic watchpoint insertion.
2306
830a65b3
PB
2307Tue Mar 7 19:26:10 1995 Per Bothner <bothner@kalessin.cygnus.com>
2308
2309 * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
2310
236274b9
SG
2311Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com)
2312
95618211 2313 * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops
32fa4b59
SG
2314 into monitor.c.
2315 * monitor.c (monitor_create_inferior): Allow run command to start
2316 program.
2317
f17aed8b
SG
2318 * monitor.c (monitor_load): Set PC to start address when done
2319 loading.
2320
95618211 2321 * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops.
f17aed8b
SG
2322 Remove ref to monitor_create_inferior.
2323
8f078234
SG
2324 * monitor.c: More general cleanups. Add prototypes, remove
2325 unused routines. Fix bug with wrong number of args to error().
2326
cc60ad63
SG
2327 * main.c (main): Don't start up GUI when running under gdb mode
2328 in emacs.
2329
1265e2d8
SG
2330 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
2331 Sun make (with VPATH) work...
2332
95618211 2333 * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP
1265e2d8 2334 (rom68k) target work right.
95618211 2335 * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new
1265e2d8
SG
2336 monitor.c interface. More work needs to be done here.
2337 * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to
2338 match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no
2339 floating-point for this card.
2340
95618211 2341 * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
85c8b135
SG
2342 ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits
2343 (needed for IDP board?!?!?).
2344
95618211
SS
2345 * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c: Fix defs
2346 and usage of fputc_unfiltered and putchar_unfiltered. Eliminate
7baea946
SG
2347 putc_unfiltered (it's superfluous).
2348
95618211 2349 * command.h, command.c, top.c: Add var_enum command type. It's
09374c98 2350 like var_string but allows only only one of the specified strings.
236274b9 2351
e70bba9f
JK
2352Mon Mar 6 15:03:59 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2353
2354 * valops.c (value_cast): Don't use backslash newline--pre-ANSI
2355 compilers (such as SunOS4 /bin/cc) don't generally support it
2356 except in some contexts.
2357
f7a69ed7
PB
2358Fri Mar 3 17:42:48 1995 Per Bothner <bothner@kalessin.cygnus.com>
2359
2379f65c 2360 * valops.c (value_cast): Check for cast to array type *before*
f7a69ed7
PB
2361 we coerce array to pointer (in case arg2 is already array).
2362
2363 * valops.c (call_function_by_hand): Set using_gcc to 2 if using
2364 gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc.
2365 Also check REG_STRUCT_HAS_ADDR for union, array and string types.
2366
2367 * valops.c (call_function_by_hand): Re-arrange code for pushing
2368 paramaters on the stack so we can do better STACK_ALIGN.
2369
2370 * valops.c (call_function_by_hand): Call error if the number
2371 of arguments is fewer than parameter types in function type.
2372
732ff6af
DE
2373Fri Mar 3 17:13:05 1995 Doug Evans <dje@canuck.cygnus.com>
2374
2375 * sparc-tdep.c (sparc_extract_struct_value_address): Move
2376 sparc64 support to here.
2377 (sparc64_extract_struct_value_address): Deleted.
2378 (dump_ccreg): Add a prototype so long long arg -> int.
2379 * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
2380 (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
2381
13ffa6be
JL
2382Fri Mar 3 15:12:12 1995 Jeff Law (law@snake.cs.utah.edu)
2383
3a0fbb3b
JL
2384 * hpread.c (hpread_record_lines): New argument "offset". All
2385 callers changed. Use it to handle dynamic address relocation.
2386 (hpread_build_psymtabs): Adjust texthigh as we read each function
2387 debug symbol. Fix computation of texthigh.
2388 (hpread_read_subrange_type): Work around macro bugs in HP's
2389 compilers.
2390 (hpread_process_one_debug_symbol): Correctly map source lines.
2391
2097152a
JL
2392 * somread.c (check_strange_names): Filter names emitted by the HP
2393 compiler when generating PIC code.
2394
13ffa6be
JL
2395 * valops.c (value_struct_elt_for_reference): Work around macro
2396 bugs in HP's compilers.
2397 * c-exp.y (block): Likewise.
2398
0d172a2e
JK
2399Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2400
5816555b
JK
2401 * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
2402 store_address.
2403
0d172a2e
JK
2404 * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
2405
629b6214
MM
2406Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2407
2408 * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
2409 registers that GCC emits on the PowerPC by default in addition to
2410 the store multiple instruction used on the Power series.
2411
8b0f5a9d
DE
2412Fri Mar 3 00:54:58 1995 Doug Evans <dje@canuck.cygnus.com>
2413
2414 * sparc-tdep.c (decode_asi): New function.
2415 (sparc_print_register_hook): Pretty print more v9 registers.
2416 * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
2417
306d27ca
DE
2418Thu Mar 2 22:20:22 1995 Doug Evans <dje@canuck.cygnus.com>
2419
2420 * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
2421 (target_to_host): Change result type to CORE_ADDR.
2422
2423Thu Mar 2 15:13:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2424
2425 * rs6000-tdep.c: Fix byte-swapping sins.
2426
dc59e982
MM
2427Thu Mar 2 16:48:45 1995 Michael Meissner <meissner@cygnus.com>
2428
2429 * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
2430 code between branch unconditional and branch conditional cases.
2431
762cf56f
DE
2432Wed Mar 1 09:41:26 1995 Doug Evans <dje@canuck.cygnus.com>
2433
2434 Various changes for sparc64.
2435 * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
2436 (SPARC_INTREG_SIZE): Define.
2437 (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
2438 where appropriate.
2439 (enum branch_type): New value `done_retry'.
2440 (isbranch): Renamed from isannulled. All callers changed.
2441 Support new sparc64 branch insns.
2442 (single_step): Handle done_retry.
2443 (sparc_extract_struct_value_address): Don't assume 4 byte regs.
2444 (get_saved_register): Likewise.
2445 (sparc_push_dummy_frame): Likewise.
2446 (sparc_frame_find_saved_regs): Likewise.
2447 (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM,
2448 or PS_REGNUM if not sparc64. sparc64 has 64 fp regs.
2449 (sparc64_extract_struct_value_address): New function.
2450 (dump_ccreg, sparc_print_register_hook): Likewise.
2451 * sp64-tdep.c: Deleted.
2452 * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
2453 (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
2454 (CC_HAS_LONG_LONG): Define.
2455 (REGISTER_NAMES): Delete cle/tle and reorganize.
2456 (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
2457 sparc-tdep.c now.
2458 (REGISTER_BYTES): Update.
2459 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
2460 (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h.
2461 (NO_SINGLE_STEP): Likewise.
2462 * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
2463 * sparc/sp64.mt: Move simulator support ...
2464 * sparc/sp64sim.mt: ... to here.
2465
7e869571
KH
2466Wed Mar 1 13:14:42 1995 Kung Hsu <kung@mexican.cygnus.com>
2467
2468 * remote-vx960.c: new file for target specific register packaging.
2469 * remote-vx68.c: ditto.
2470 * config/i960/vxworks960.mt: add remote-vx960.o.
2471 * config/m68k/vxworks68.mt: add remote-vx68.o.
2472
8bfd30b2
MM
2473Wed Mar 1 13:42:49 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2474
2475 * remote.c (remote_wait): Make calls to strtol be type correct by
2476 passing the address of a char * pointer instead of an unsigned
2477 char *.
2478
2479 * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
2480 write_memory to make things type correct.
2481
ea082c0a
MM
2482Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com>
2483
2484 * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
2485 standard Linux yacc by adding more names to be redefined with a
2486 prefix.
2487
bc28e68d
JK
2488Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2489
2490 * hppa-tdep.c (pa_print_registers), monitor.c: Use
2491 extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
2492 * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
2493 Rename it to SWAP_FLOATING to make it clear it is no longer for
2494 integers.
2495
326ae3e2
KH
2496Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
2497
66aa7cf9
KH
2498 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
2499 compile time.
2500
8cbf6efc 2501start-sanitize-arc
abed6bc2
KH
2502 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
2503 processor.
2504 * remote-arc.c (arc_wait): when a processor stops, stop other two
2505 processors too.
2506 * remote-arc.c (switch_command): switch tm_print_insn.
8cbf6efc 2507end-sanitize-arc
abed6bc2 2508
bc01beb5
KH
2509 * vx-share/ptrace.h: merge in WRS new ptrace requests.
2510
75988f94
KH
2511 * defs.h: fix a syntax error.
2512
161520dc
KH
2513 * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
2514 * remote-vx.c: move read_register and write_register out to
2515 target specific files.
2516 * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
2517
326ae3e2
KH
2518 * defs.h: define SWAP_TARGET_AND_HOST macro.
2519 * findvar.c, monitor.c, hppa-tdep.c: remove definition of
2520 SWAP_TARGET_AND_HOST.
2521
de7ad6d8
JK
2522Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2523
689409ca
JK
2524 * alpha-tdep.c (find_proc_desc): Only attempt to set
2525 PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
de7ad6d8 2526
431b7d5f
SS
2527Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
2528
2529 * monitor.c: General gcc -Wall lint cleanup and reformat.
2530 (monitor_command): If no args, send an empty command.
2531
82fc3432
SG
2532Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com)
2533
2534 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
2535 after send LOAD_CMD to prevent loss of first S-record.
2536
835c2559
PB
2537Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
2538
2539 * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2.
2540 Call error if too few arguments.
2541 If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
2542 copy and convert to reference *before* we calculate alignment.
2543 Also, make sure structs allocated for return values and invisible
2544 reference don't violate STACK_ALIGN.
2545
1d19172b
PB
2546Tue Feb 21 23:29:59 1995 Per Bothner <bothner@rtl.cygnus.com>
2547
2548 * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
2549 (same as C's '(TYPE[])EXPR')
2550
7f4b4b71
SS
2551Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
2552
2553 * top.c (print_gdb_version): Update the year.
2554
d940a47e
JK
2555Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2556
7f4b4b71 2557 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
d940a47e
JK
2558 `..' not in `../..'.
2559
f5de4904
PS
2560Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2561
2562 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
2563 in addition to a PIOCSSIG to kill the inferior.
2564
fda36387
PB
2565Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
2566
2567 * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
2568 create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
2569 * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
2570 of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
2571 * c-typeprint.c (c_type_print_varspec_suffix): If array length
2572 is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
2573
92c6bf4d
MM
2574Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2575
2576 * dcache.c (insque, remque): Rewrite Linux support.
2577
677653a0
MM
2578Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2579
2580 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
2581
fed9a8d4
MM
2582 * dcache.c (insque, remque): If compiling in standard C on Linux,
2583 protect insque and remque with macros to cast the pointer
2584 arguments to the proper type.
677653a0
MM
2585
2586Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
2587
7f4b4b71 2588 * annotate.c, breakpoint.c, defs.h, top.c: Replace
677653a0 2589 enable/disable_breakpoint_hook with modify_breakpoint_hook.
7f4b4b71
SS
2590start-sanitize-gdbtk
2591 * gdbtk.c: Ditto.
2592 * gdbtk.c: General cleanups, get rid of unused variables. Redo
677653a0
MM
2593 handling of stdout/stderr to just return output as the result of
2594 the tcl command that caused the output. Cleanup -Wall stuff.
2595 * (breakpoint_notify): Now returns just action and breakpoint
2596 number.
2597 * (gdb_get_breakpoint_list): New routine. Does the obvious.
2598 * (gdb_get_breakpoint_info): Mostly derived from the old
2599 breakpoint_notify, but returns lots more info.
2600 * (dsprintf_append_element): Helper routine, works like printf,
2601 but appends a tcl element onto the specified DString. Good for
2602 building up lists as return values.
2603 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
2604 gdbtk_modify_breakpoint.
2605 * (*many routines*): Use new result protocol.
2606 * (call_wrapper): Make sure that recursive calls don't trash results.
2607 * gdbtk.tcl: New windows, autocmd, and breakpoints.
2608 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
2609 anymore. It's not needed (in fact, this routine may not be needed
2610 anymore).
2611 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
2612 notification protocol.
2613 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
2614 catches.
2615 * (interactive_cmd): Use this wrapper around button invocations
2616 of many commands. This will catch errors and put the results into
2617 the command window. It also updates all the other windows.
2618 * Also, change reliefs of most things to sunken. This actually
2619 looks better.
2620 * (create_file_win): Fix margin binding to allow breakpoints to
2621 work again.
2622 * (create_asm_win): Use return value of gdb_disassemble instead
2623 of implicit I/O to the command window.
2624 * (create_command_window): Use new result protocol to get output
2625 from commands.
7f4b4b71 2626end-sanitize-gdbtk
677653a0 2627
5466f20f
JK
2628Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2629
2630 * expression.h: Move declaration of evaluate_subexp_with_coercion
2631 from here...
2632 * value.h: ...to here.
2633 * expression.h: Don't include value.h
2634
a6865104
JK
2635Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2636
2637 * expression.h: Move include of value.h until after declaration of
2638 enum exp_opcode.
2639
faf4dcd7
SS
2640Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
2641
d5c8cefe
SS
2642 * remote-e7000.c: Comprehensive cleanup; removal of dead code,
2643 simplify code, declare things, format to standards.
2644 (inferior.h, value.h, command.h, remote-utils.h): Include.
2645 (e7000_login): Rename to e7000_login_command.
2646 (e7000_ftp): Rename to e7000_ftp_command.
2647 (e7000_drain): Rename to e7000_drain_command.
2648
faf4dcd7
SS
2649 * irix5-nat.c (string.h): Include near beginning of file.
2650
18d3d859
JK
2651Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2652
2653 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
2654 arg, it is a value not a symbol.
2655
2656 gcc -Wall lint:
2657 * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
2658 * expression.h: ..to here.
2659 * expression.h: Include value.h.
2660 * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
2661
60438e8e
PB
2662Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
2663
7398958c
PB
2664 * language.h (struct language_defn): New field evaluate_exp.
2665 * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
2666 f-lang.c (f_language_defn), language.c (unknown_language_defn,
2667 auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
2668 Set evaluate_exp to evaluate_subexp_standard.
2669 * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
2670 support for MULTI_SUBSCRIPT.
2671 (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
2672 * eval.c (enum noside): Move from here ....
2673 * expression.h (enum noside): ... to here.
2674 (evaluate_subexp_standard): New prototype.
2675 * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
2676 Removed lo-longer-needed test for chill_varying_type.
2677 (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
2678
60438e8e
PB
2679 * ch-exp.y (maybe_expression_list): New non-terminal.
2680 (primitive_value): Allow empty parameter list.
2681
27202b6a
PB
2682Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
2683
2684 * buildsym.c (finish_block): If finishing a function without known
2685 parameter type info, set that from parameter symbols.
2686 * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
2687 print parameter types, if available.
2688 * ch-typeprint.c (chill_type_print_base): Likewise.
2689
2690 * gdbtypes.h (struct type): Remove function type field.
2691 (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
2692 function types now that we're also storing parameter types.
2693 And the payoff is much less.
2694 * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
2695 (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
2696 * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
2697
5222ca60
PB
2698 * valops.c (value_arg_coerce): Now takes param_type argument.
2699 (call_function_by_hand): Convert arguments with value_arg_coerce
2700 early, and overwrite original args with converted args.
2701 No longer need multiple calls to value_arg_coerce.
2702 (value_arg_push): Removed.
2703 * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
2704 * mips-tdep.c (mips_push_arguments): Likewise.
2705 * alpha-tdep.c (alpha_push_arguments): Likewise.
2706 * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
2707 Likewise.
2708 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
2709
2710 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
2711
7c606261
PB
2712 * symtab.c (add_param_to_type): Remove (commented-out) function,
2713 since that functionality has been re-written.
2714 * coffread.c: Remove commented-out add_param_to_type support.
2715 * mdebugread.c (parse_symbol): Likewise.
2716 * stabsread.c (define_symbol): Likewise.
2717
21af55c9
JK
2718Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2719
2720 * buildsym.c (start_subfile): Set language for f2c like for cfront.
2721
2722Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
2723
2724 * op50n-rom.c: Add the control registers.
2725
76a457c0
SS
2726Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
2727
2728 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
2729 after, any host/target/native libraries.
2730 * dcache.c (insque, remque): Remove declarations.
2731 * gdbtypes.h (type_code): Remove trailing comma.
2732
2733 From Peter Schauer:
2734 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
2735 STATIC_NODEBUG_VARS inside case.
2736
137a07e6
JK
2737Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2738
2739 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
2740 * partial-stab.h: Call it.
2741 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
2742 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
2743 get the address.
2744 * sparc-tdep.c (solaris_static_transform_name): New function.
2745
506af7a7
JL
2746Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
2747
2748 * somread.c (som_symtab_read): Handle dynamic relocation for both
2749 text and data symbols.
2750 (som_symfile_offsets): If objfile is a shared library, then get
2751 text and data offsets from the shared library structures.
2752 * somsolib.c (som_solib_add): Copy the bfd pointer from the
2753 objfile rather than reopening the file again.
2754 (som_solib_section_offsets): New function.
2755 * somsolib.h (som_solib_section_offsets): Declare.
2756
2d336b1b
JK
2757Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2758
2759 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
2760 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
2761 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
2762 filename field.
2763 * elfread.c (record_minimal_symbol_and_info),
2764 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
2765 newly created symbol.
2766 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
2767 Set filename field of minimal symbol.
2768 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
2769 Print filename field.
2770 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
2771 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
2772 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
2773 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
2774 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
2775 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
2776 Find address of function from minimal symbols.
2777 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
2778 instead of getting pst->textlow from the stab.
2779 * minsyms.c (find_stab_function_addr): New function.
2780
151e7820
RS
2781Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
2782
2783 * monitor.c: Fix so all the output shows up in the GUI command
2784 window.
2785
9c4ecee6
SS
2786Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
2787
2788 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
2789 line, so init.c generation works correctly.
2790start-sanitize-arc
2791 * arc-tdep.c (_initialize_arc_tdep): Ditto.
2792end-sanitize-arc
2793
16b3ea5e
RS
2794Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
2795
04697040
RS
2796 * config/mips/idt.mt: Add support for the lsi33k target.
2797 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
16b3ea5e
RS
2798 * array-rom.c: Finish the rest of the support commands needed by
2799 GDB.
2800 * mips-tdep.c: Add LSI33k register names and processor type.
2801
d039851f 2802start-sanitize-gdbtk
ddc0c38d 2803Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9c4ecee6 2804
d039851f
JK
2805 * gdbtk.c (gdb_disassemble): Deference pointer to function before
2806 calling it (pre-ANSI compilers generally require this).
ddc0c38d 2807
f64a8968 2808end-sanitize-gdbtk
ddc0c38d
SS
2809Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
2810
2811 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
2812
6396e0c0
KH
2813Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
2814
2815 * ser-go32-para.c (dos_read): fix syntax errors.
2816
a76ef70a
SG
2817Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
2818
ddc0c38d
SS
2819 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
2820 dis_asm_read_memory_hook. We can now call the disassemblers
2821 directly and have no need for this hook anymore.
2822start-sanitize-gdbtk
2823 * gdbtk.c (gdb_disassemble): Ditto.
2824end-sanitize-gdbtk
2825 * defs.h, printcmd.c: Make print_insn be static.
a76ef70a
SG
2826
2827 * ser-go32.c (dos_comisr): Make this 8 bit clean.
2828 * (dos_open dos_close): Allow multiple opens to the same device.
2829 Use a ref count to prevent unwanted deallocations.
2830 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
2831 happy.
2832 * (sparclite_ops): Switch to download_stratum.
2833 * target.h (enum strata): Move download_stratum before
2834 process_stratum so that executable targets get pushed on top of
2835 download targets.
2836
1b552670
RS
2837Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
2838
2839 * array-rom.c: Remove the non GDB remote protocol config stuff.
2840
2841 * monitor.c: All reading/writing functions for memory and
2842 registers work.
2843
75a5da5f
KH
2844Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
2845
ddc0c38d 2846start-sanitize-arc
75a5da5f
KH
2847 * config/arc/arc.mt: new target makefile for arc processor.
2848 * config/arc/tm-arc.h: new target header for arc processor.
2849 * config/arc/go32.mh: new go32 host makefile for arc processor.
2850 * config/arc/xm-go32.h: new go32 host header for arc processor.
2851 * arc-tdep.c: new target dependent codes for arc processor.
2852 * remote-arc.c: new file for arc-specific protocol through
2853 parallel line.
ddc0c38d 2854end-sanitize-arc
75a5da5f 2855 * ser-go32-para.c: new file for go32 parallel port communication.
75a5da5f 2856
2d144441
SS
2857Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
2858
2859 * Makefile.in (VERSION): Bump to 4.13.2.
2860
2861Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2862
2863 Fix compiler warnings:
2864 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
2865 and have the caller do the sprintf. Saves us from varargs hell.
2866 (normal): Define before use.
2867 * remote-e7000.c: Reindent a few things.
2868
8a329002 2869Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
6073b8de 2870
8a329002
PB
2871 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
2872 ranges in reverse order.
2873 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
2874
2875 * eval.c (evaluate_subscript): Don't call value_subscript, since
2876 it adjusts for lower bound and enforces ranges.
2877
2878 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
2879 * eval.c, parse.c: Removed uses of removed opcodes.
ead95f8a
PB
2880 * eval.c (evaluate_subexp): Clean up handling of
2881 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
2882
2883 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
2884 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
2885
2886 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
2887 duplicate function made redundant by chill_varying_type.
2888
2889 Re-write of f77 string and complex number support:
2890
2891 * language.h (struct language_defn): New fields string_lower_bound
2892 and string_char_type.
2893 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
2894 language.c (unknown_language_defn, auto_language_defn,
2895 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
2896 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
2897 * gdbtypes.c (create_string_type): Use new string_char_type field.
2898 * valops.c (value_string): Use new string_lower_bound field.
2899
2900 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
2901 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
2902 m2-lang.c (m2_create_fundamental_type),
2903 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
2904 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
2905 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
2906 Removed. Use builtin_type_complex and builtin_type_double_complex.
2907
2908 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
2909 and TYPE_CODE_LITERAL_COMPLEX.
2910 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
2911 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
2912 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
2913 f77_create_literal_string_type): Removed.
2914 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
2915 VALUE_SUBSTRING_MYADDR): Removed.
2916
2917 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
2918 OP_COMPLEX.
2919 * parse.c: Update accordingly.
2920
2921 * f-valprint.c (f77_print_cmplx): Removed.
2922 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
2923
2924 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
2925 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
2926 f77_value_literal_string.
2927 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
2928 f77_assign_from_literal_string, f77_assign_from_literal_complex):
2929 Removed.
2930 (value_assign): No longer need to handle literal types.
2931 * valops.c (f77_value_literal_complex), value.h: Re-written and
2932 renamed to value_literal_complex. Last arg is now a (complex) type.
2933 * valops.c (f77_cast_into_complex): Re-written and renamed to
2934 cast_into_complex.
2935 * eval.c (evaluate_subexp): Update accordingly.
2936
6073b8de
PB
2937 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
2938 print address for non-'s'-formats.
2939 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
2940 of chill_is_varying_struct.
2941
e3be225e
SS
2942Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
2943
2944 gcc -Wall lint.
2945 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
2946 (after_prologue): Remove unused local b.
2947 * procfs.c (thread.h): Include.
2948 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
2949 nested braces in initializer.
2950 * top.c (initialize_targets, initialize_utils): Declare.
2951 (locate_arg, insert_args): Add parens around tested assignments.
2952 * remote-utils.c (sr_scan_args): Remove decl of strtol.
2953 * remote.c (thread.h): Include.
2954 (remote_wait): Remove unused local p2.
2955 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
2956 registers array.
2957
2958 defs.h (stdlib.h): Include.
2959 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
2960 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
2961 strtok, strerror): Don't specify parameter types in declaration.
2962
f91a9e05
PB
2963Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
2964
2965 * ch-exp.y (value_string_element, string_primitive_value,
2966 start_element, left_element, right_element, slice_size,
2967 lower_element, upper_element, first_element): Removed.
2968 (value_string_slice, value_array_slice): Replaced by ...
2969 (slice): New non-terminal, with working slice support.
2970 (primitive_value_lparen, rparen): New non-terminals.
2971 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
2972 (idtokentab): Added "up".
2973
2974 * value.h (COERCE_VARYING_ARRAY): New macro.
2975 * valarith.c (value_subscript): Use it.
2976 * valops.c (value_cast): Likewise. Also, do nothing if already
2977 correct type, and allow converting from/to range to/from scalar.
2978
2979 * valops.c, value.h (varying_to_slice, value_slice): New functions.
2980 * eval.c (OP_ARRAY): Add cast for array element.
2981 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
2982 * valops.c (chill_varying_type): Moved function frp, here ...
2983 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
2984 * parse.c (length_of_subexp, prefixify_subexp): Add support
2985 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
2986 * expprint.c (print_subexp, dump_expression): Likewise.
2987 * eval.c (evaluate_subexp): Likewise.
2988
2989 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
2990 value_x_binop on a Chill varying string.
2991
23676ab8
JK
2992Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2993
2994 * config/m68k/monitor.mt,
2995 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
2996 depfiles in TDEPFILES not REMOTE_O.
2997
ccbae889
SC
2998Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
2999
3000 From nigel@algor.co.uk.
3001 * ser-go32.c (dos_close): Don't crash if scb null.
3002 (dos_sendbreak): New function.
3003 (dos_ops): Point to dos_sendbreak.
3004 (dos_info): Calculate COM number correctly.
3005
a81ce07d
JK
3006Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3007
3008 * xcoffread.c (process_xcoff_symbol): Use new variables
3009 func_symbol_type and var_symbol_type as type of functions and
3010 variables which don't have any stabs associated with them.
3011 Reindent most of function.
3012 (_initialize_xcoffread): Initialize *_symbol_type.
3013
3014 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
3015 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
3016 them (this part commented out as I didn't quite get it to work).
3017 (cs_to_section, find_targ_sec): New functions, to support above code.
3018 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
3019 actually present.
3020
0e887539 3021Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
e3be225e 3022start-sanitize-gdbtk
78daa95e
SG
3023 * gdbtk.tcl (create_file_win): Disable old popup menu for source
3024 window.
e3be225e 3025end-sanitize-gdbtk
0e887539
SG
3026 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
3027 downloads to SPARClite demo boards.
3028
3029Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3030
3031 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
3032 no hope of working as is for a long time (in particular, shebs' 27
3033 Jan 95 change confuses the issue further--target_read_memory and
3034 xfer_core_file do *not* do the same thing in this context).
3035 Revise comment.
3036
de537409
PS
3037Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3038
3039 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
3040 procedure linkage table symbols, it is no longer set due to the
3041 Jan 6 BFD change in bfd/elfcode.h.
3042
06c41b39
SS
3043Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
3044
f22661ee
SS
3045 * top.c (use_windows): Clarify comments.
3046
0d2d8412
SS
3047 * convex-tdep.c (xfer_core_file): Comment out.
3048 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
3049 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
3050 references to target_read_memory.
3051 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
3052 declarations.
3053 * corelow.c (core_open, core_detach): Make static.
3054
06c41b39
SS
3055 * arm-tdep.c: Make it compile.
3056 (exec_file_command, xfer_core_file): Comment out.
3057 (arm_print_insn): Remove, now in libopcodes.
3058 (skip_prologue): Comment out most of body.
3059 (arm_frame_find_saved_regs): Move here from tm-arm.h.
3060 (_initialize_arm_tdep): Set tm_print_insn.
3061 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
3062 (XFER_CORE_FILE): Remove.
3063 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
3064
0d6a571b
JK
3065Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3066
3067 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
3068
bf644f8f
JK
3069Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3070
606ae2ba
JK
3071 * symtab.c (find_pc_line): When subtracting one to get a line
3072 number, make sure not to end up with zero.
3073
bf644f8f
JK
3074 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
3075 problems with those changes were (a) the file didn't compile, (b)
3076 they changed memset to bzero--memset is correct, (c) they took out
3077 code to deal with boards lacking floating point, (d) who knows
3078 what I didn't discover in a quick read.
3079
c746aa85
SG
3080Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
3081
3082 * sparcl-tdep.c: Clean up formatting and indentation.
3083
d2d0e51d
SC
3084Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
3085
3086 * remote-hms.c (hms_ops): Change ref of hr_load_image
3087 to gr_load_image.
03fc5a0b
SC
3088 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
3089 dcache_poke, dcache_init): Deleted.
3090 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
3091 Use dcache routines provided by remote-util.h
d2d0e51d 3092
97544048
MM
3093Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
3094
3095 * configure.in: Add support for powerpc-*-eabi.
3096
3097 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
3098 PowerPC support.
3099
acc4efde
PB
3100Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
3101
3102 * language.h (struct language_defn): New field c_style_arrays.
3103 * language.c (unknown_language_defn, auto_language_defn,
3104 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
3105 asm_language_defn): Set c_style_arrays to true.
3106 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
3107 f-lang.c (f_language_defn): Set c_style_arrays to false.
3108 * valops.c (value_string): If c_style_array is not set,
3109 allocate string in gdb (not inferior) using allocate_value.
3110
3111 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
3112 Only call value_coerce_array if current_language->c_style_arrays.
3113 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
3114
3115 * valops.c (chill_varying_type): New predicate.
3116 * valops.c (value_cast): Support assigning a fixed string or array
3117 to a variable string/array structure.
3118
3119 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
3120 Check index>=lowerbound, and then add lowerbound to index here,
3121 instead of in caller. Generalize to arbitrary lval_types.
3122 (value_subscript): Use enhanced value_subscripted_rvalue if
3123 c_style_arrays is false (and index is in range).
3124
8cbf6efc 3125start-sanitize-gdbtk
b66051ec
SG
3126Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
3127
3128 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
3129 found.
3130 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
3131 popping up expression window for the first time.
8cbf6efc 3132end-sanitize-gdbtk
b66051ec 3133
ee3a45e7
PB
3134Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
3135
3136 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
3137 TYPE_LENGTH is length in bytes, not bits.
3138
5024a43f
JK
3139Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3140
3141 * infrun.c (proceed): Flush stdout before resuming inferior.
3142 * infcmd.c (step_1), annotate.c (annotate_starting):
3143 Don't bother to flush here.
3144
dc192b86
JL
3145Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
3146
3147 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
3148 by an ill-advised global search and replace.
3149
c81a3fa9
SG
3150Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
3151
8e5bc49f
SG
3152 * gdbtk.tcl (create_registers_window): Work around a radiobutton
3153 widget bug to make Options|Natural button work.
3154
c81a3fa9
SG
3155 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
3156 g++ caused by out-of-order pc's.
3157 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
3158 add scrollbar.
3159
6bd7d9fa
SG
3160Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
3161
3162 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
3163 doc!
3164
6d34c236
PB
3165Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
3166
3167 Add support for Chill bitstring literals (e.h. H'FF00').
3168 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
3169 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
3170 just print B'<unimlemented>'.
3171 * gdbtypes.c (create_set_type): Fix bug in length calculation.
3172 * valops.c, value.h (value_bitstring): New function.
3173 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
3174
3175 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
3176 check that return type is non-void, and print in proper Chill syntax.
3177
ce51845b
RS
3178Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
3179
3180 * Makefile.in: Remove references to remote-mon.c.
3181 * remote-mon.c: remove. Replaced by rom68k-rom.c.
3182 * rom68k-rom.c: Support for Rom68k monitor.
3183
a9c67591
JK
3184Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3185
3186 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
3187 gcc/ch/runtime not chillrt, since that is where the chill runtime
3188 lives now.
3189
0c699ac1
SC
3190Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
3191
3192 * remote-hms.c (hms_load): Delete.
3193 (target_ops): Use hr_load_image.
3194
3195 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
3196 Define memory_insert/remove_breakpoint.
3197 * xm-go32.h: Remove redundant SIGs.
3198
3199Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
3200
3201 * ser-go32.c: Rewritten by nigel@algor.co.uk.
3202
dcda44a0
PB
3203Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
3204
3205 * expression.h (OP_LABELED): New operator, for Chill
3206 labeled structre tuples.
3207 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
3208 New non-terminals, to handle labeled structure tuples.
3209 (tuple): Re-define using tuple_elements.
3210 * eval.c (evaluate_labeled_field_init): New function, to handle
3211 initialization of structure fields, possibly using OP_LABELED.
3212 (evaluate_subexp): Use it.
3213 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
3214 for Chill. Handled OP_LABELED.
3215 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
3216
3217 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
3218 * valarith.c (value_bit_index): Just treat bitstring as represented
3219 by an array of bytes. Alignment is handled by compiler.
3220
3221Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
3222
3223 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
3224 * sh-tdep.c (gdb_print_insn_sh): Ditto.
3225
6bbc99e3
KH
3226Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
3227
3228 * remote-os9k.c (rombug_open): Fix a bug in exception handling
3229 command.
3230 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
3231 write.
3232
eedb3363
JK
3233Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3234
3235 * parse.c (_initialize_parse): Improve wording of names of
3236 msym_*_symbol_type.
3237
daa4c5f8
ILT
3238Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
3239
3240 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
3241 (mips_fpu): Change type to enum mips_fpu_type.
3242 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
3243 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
3244 Don't initialize.
3245 (mips_fpu_string): New static variable.
3246 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
3247 (mips_pop_frame): Likewise.
3248 (mips_extract_return_value): Likewise.
3249 (mips_store_return_value): Likewise.
3250 (mips_set_fpu_command): New static function.
3251 (mips_show_fpu_command): New static function.
3252 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
3253
3fb93d86
JK
3254Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3255
5ad32be2
JK
3256 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
3257
3fb93d86
JK
3258 * parse.c (write_exp_msymbol): Use new variables
3259 msym_*_symbol_type as type of msymbol expression.
3260 (_initialize_parse): Initialize them.
3261
18b46e7c
SS
3262Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
3263
3264 General cleanup and simplication of disassembler interface.
3265 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
3266 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
3267 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
3268 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
3269 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
3270 had been -pinsn.c files.
3271 * Makefile.in (ALLDEPFILES): Remove removed files.
3272 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
3273 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
3274 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
3275 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
3276 Remove compile actions.
3277 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
3278 vax-tdep.o: Add compile actions.
3279 * defs.h (tm_print_insn): New global.
3280 * a29k-tdep.c (gdb_print_insn_a29k): New function.
3281 (_initialize_a29k_tdep): Rename from _initialize_29k,
3282 set tm_print_insn.
3283 * alpha-tdep.c (print_insn): Remove.
3284 (_initialize_alpha_tdep): Set tm_print_insn.
3285 * arm-tdep.c (arm_print_insn): New function, was print_insn
3286 in arm-pinsn.c.
3287 * convex-tdep.c (convex_print_insn): New function, was print_insn
3288 in convex-pinsn.c.
3289 * h8300-tdep.c (print_insn): Remove.
3290 (gdb_print_insn_h8300): New function.
3291 (_initialize_h8300_tdep): New function.
3292 * h8500-tdep.c (print_insn): Remove.
3293 (_initialize_h8500_tdep): New function.
3294 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
3295 * i386-tdep.c (_initialize_i386_tdep): New function.
3296 * i960-tdep.c (mem, next_insn): New functions, were in
3297 i960-pinsn.c.
3298 (_initialize_i960_tdep): Set tm_print_insn.
3299 * m68k-tdep.c (_initialize_m68k_tdep): New function.
3300 * m88k-tdep.c (_initialize_m88k_tdep): New function.
3301 * mips-tdep.c (gdb_print_insn_mips): New function.
3302 (_initialize_mips_tdep): Set tm_print_insn.
3303 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
3304 in pyr-pinsn.c.
3305 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
3306 * sh-tdep.c (print_insn): Remove.
3307 (gdb_print_insn_sh): New function.
3308 (_initialize_sh_tdep): Set tm_print_insn.
3309 * sparc-tdep.c (_initialize_sparc_tdep): New function.
3310 * w65-tdep.c (print_insn): Remove.
3311 (_initialize_w65_tdep): New function.
3312 * z8k-tdep.c (print_insn): Remove.
3313 (gdb_print_insn_z8k): New function.
3314 (_initialize_z8k_tdep): Set tm_print_insn.
3315 * printcmd.c (print_insn): New function, generic disassembler.
3316 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
3317
83d9bb14
KH
3318Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
3319
3320 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
3321 and config/a29k/vx29k.mt.
3322 * configure.in: add new configuration a29k-*-vxworks.
3323 * remote-vx29k.c: new file merged from WRS.
3324 * remote-vx.c: merge changes from WRS.
3325 * config/a29k/vx29k.mt: new file for new configuration.
3326 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
3327
16041d53
SC
3328Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
3329
3330 * breakpoint.h (disable_breakpoint, enable_breakpoint):
3331 New declarations.
3332 (enum bpdisp): Change name of 'delete' member to 'del'.
3333 (struct bpstat): Changed name to 'bpstats'.
3334 * breakpoint.c (disable_breakpoint, enable_breakpoint,
3335 breakpoint_chain): Made globally visible.
3336 (bpstat_stop_status): Use new name for bpstat.
3337 (break_command_1, watch_command_1, catch_command_1,
3338 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
3339 instead of 'delete'.
3340 (set_breakpoint_sal): New function.
3341 * defs.h (registers_changed_hook): New declaration.
3342 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
3343 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
3344 * main.c (main): Don't scan options when in WIN32 and exit
3345 without entering main loop.
3346 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
3347 * symtab.h (struct symbol, struct partial_symbol): Changed name of
3348 member 'class' to 'aclass'.
3349 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
3350 * top.c (registers_changed_hook): New definition.
3351 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
3352 in same way as __GO32__.
3353 * value.h (c_typedef_print): Rename 'new' argument.
3354
be21628d
SC
3355 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
3356 * configure.in: Suppprt for w65,
3357
3358
22b1c54a
JK
3359Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3360
8248d21b
JK
3361 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
3362 not stop_pc, to proceed.
3363
22b1c54a
JK
3364 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
3365
b5088d10
JK
3366Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3367
3368 * infcmd.c (signal_command): Accept "signal 0"; the change to not
3369 accept it was accidental. "handle 0" and "info signal 0" remain
3370 illegal, though.
3371
218d43e5
SS
3372Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
3373
3374 * Makefile.in (all): Don't make libgdb-files.
3375 (libgdb): New action, makes libgdb-files.
3376
0f8631fb
PB
3377Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
3378
3379 * stabsread.c (read_enum_type): When pending enum symbols are
3380 put into the enum type, they must be inserted in "backwards
3381 order, in case we've overflowed a struct pending buffer.
3382
218d43e5 3383start-sanitize-gdbtk
4604b34c
SG
3384Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
3385
218d43e5 3386 * gdbtk.c, gdbtk.tcl: Update/add copyright.
4604b34c
SG
3387 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
3388 including dismiss button, and better error handling.
3389 * (create_command_win): Bind button 2 to retrieve selection.
218d43e5 3390end-sanitize-gdbtk
4604b34c 3391
2592eef8
PS
3392Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3393
3394 * README: Add note about SPARCworks cc release 3.0 and higher.
3395
3396 Add procfs support for Alpha OSF/1-2.x.
3397 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
3398 OSF/1 native support.
3399 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
3400 (MUNCH_DEFINE): Removed.
3401 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
3402 for procfs support.
3403 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
3404 release 2.x and higher, else alpha-osf1.mh, as the procfs support
3405 in release 1.x is incomplete.
3406 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
3407 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
3408 fill_fpgregset): New routines for procfs support.
3409 * inftarg.c (_initialize_inftarg): Don't add ptrace support
3410 if we have an optional procfs and /proc is accessible.
3411 * procfs.c: Include sys/fault.h and sys/syscall.h before
3412 including sys/procfs.h.
3413 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
3414 is defined, additionally perform a PIOCSSIG to really terminate
3415 the inferior.
3416 (create_procinfo): Always return a result.
3417 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
3418 PROCFS_DONT_TRACE_IFAULT is defined.
3419 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
3420 argument to startup_inferior if it is defined.
3421 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
3422 of tracing exits from exec system calls. Needed for the user level
3423 loader under Alpha OSF/1.
3424 (do_detach): Clear any pending signal if we want to detach from
3425 a process without a signal.
3426 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
3427 don't issue a PIOCSSIG if pr_cursig already contains the signal we
3428 intend to set.
3429 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
3430 pending signals are numbered from 1 instead of 0.
3431 (info_proc_mappings): Increase size of output format for addresses
3432 if BFD_HOST_64_BIT is defined.
3433 (procfs_stop): Renamed from child_stop.
3434 (_initialize_procfs): Don't add procfs support if we have an
3435 optional procfs and /proc is not accessible.
3436
218d43e5 3437start-sanitize-gdbtk
724498fd
SG
3438Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
3439
280c564c 3440 * gdbtk.tcl: Add button to control mixed source disassembly.
218d43e5 3441 Use text widgets in expr window. The give me more control over
280c564c 3442 layout.
218d43e5
SS
3443 Add auto-updating of exprs in expression window.
3444 Handle expressions out of scope a bit better.
3445 Make selected window pop up to the top when invoked via the
280c564c 3446 menubar.
218d43e5 3447 Make copyright message have raised relief.
280c564c 3448
724498fd
SG
3449 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
3450 during startup.
218d43e5 3451end-sanitize-gdbtk
724498fd 3452
b04a78d4
RS
3453Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
3454
3455 * array-rom.c: Add support for most commands.
3456
3457 * monitor.c: Add GDB remote protocol for the hybrid environment on
3458 the Array board.
3459
b47ae8fb
JL
3460Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
3461
3462 * command.c (show_user_1): Use print_command_line to show a user
3463 defined command (including control structures).
3464
3465 * top.c (init_main): Change documentation for user defined
3466 commands to indicate they may accept up to ten arguments.
3467
1d9489c1
JK
3468Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3469
3470 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
3471 `move $s8, $sp' instruction.
3472
3b55fbe3
JK
3473Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3474
3475 * target.c, target.h (target_signal_from_command): New function.
3476 * infrun.c (handle_command, signals_info), infcmd.c
3477 (signal_command): Use it.
3478 * infrun.c, infcmd.c: Update docstrings for these commands.
3479
3480 * target.h (enum target_signal), target.c (signals), target.c
3481 (target_signal_from_host, target_signal_to_host): Add
3482 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
3483 * config/tm-lynx.h: Define signal numbers for realtime events.
3484
02b40a19
PS
3485Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3486
3487 * dbxread.c (process_one_symbol): Handle N_FUN symbols
3488 for Sun acc 3.0 under SunOS4.
3489
3490 Changes to improve handling of runtime common symbols
3491 under SunOS4.
3492 * minsyms.c (get_symbol_leading_char): New routine to determine
3493 the leading symbol character for an objfile.
3494 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
3495 Use it.
3496 * objfiles.h (rt_common_objfile): New global, points to objfile
3497 containing the runtime common minimal symbols.
3498 * objfiles.c (free_objfile): Mark rt_common_objfile as
3499 unallocated before freeing it.
3500 * solib.c (allocate_rt_common_objfile): New routine to allocate
3501 an objfile for the runtime common minimal symbols.
3502 (solib_add_common_symbols): Allocate an objfile for the runtime
3503 common symbols if necessary and put common symbols into it.
3504 Clean up code and comments.
3505 (solib_add, special_symbol_handling): Cleanup comments regarding
3506 runtime common symbols.
3507 * stabsread.c (scan_file_globals_1): New routine, contains
3508 old scan_file_globals code. Checks if there are any unresolved
3509 global symbols before starting the expensive minimal symbol table
3510 search.
3511 (scan_file_globals): Now calls scan_file_globals_1 for the passed
3512 objfile and eventually for the runtime common objfile. Complains
3513 about any unresolved global symbols and removes them from the
3514 global symbol chain to avoid dangling pointers into the symbol
3515 table if the symbol table is reread.
3516
09722039
SG
3517Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
3518
4a4f9e3b 3519 * Makefile.in (install_only uninstall): Indent for clarity.
09722039
SG
3520
3521 * core.c (dis_asm_read_memory): Add call to
3522 dis_asm_read_memory_hook to provide alternate way for disassembler
3523 to read memory.
3524
3525 * defs.h: Protect from multiple inclusion. Add decl for
3526 dis_asm_read_memory_hook.
3527
4a4f9e3b
SS
3528 * top.c: Make window startup be the default.
3529 * Add dis_asm_read_memory_hook.
3530
3531start-sanitize-gdbtk
09722039
SG
3532 * gdbtk.c (finish_saving_output): Don't do anything if not saving
3533 output.
3534 * (breakpoint_notify): Don't send null filename to tcl.
3535 * (gdb_eval): New tcl command to eval an expression.
3536 * (gdb_disassemble): New tcl command to do disassembly. This
3537 allows tcl code to choose between exec file and target memeory,
3538 and can also do mixed source and assembly.
3539 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
3540 that more of the environment is set up. Also, create link between
3541 gdb and tcl vars disassemble{-_}from{-_}exec.
3542
3543 * gdbtk.tcl: New expression window support.
3544 * Make assembly window be 80 columns wide.
3545 * Use new disassembly method. Add menu items to select
3546 disassembly from exec file or target.
3547 * Change View menubar item to Options.
3548
3549 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
3550 since they don't exist yet.
3551
3552 * Pop up a copyright window on startup.
4a4f9e3b 3553end-sanitize-gdbtk
09722039 3554
117a817d
JL
3555Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
3556
3557 * stabsread.c (define_symbol): Handle `a' symbol type used for
3558 reference parameter passed in a register.
3559
c4a5c37c
SS
3560start-sanitize-gdbtk
3561Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
3562
3563 * gdbtk.tcl (build_framework): Add standard commands menu, more
3564 windows to standard windows menu.
3565 (not_implemented_yet): Clarify message.
3566end-sanitize-gdbtk
3567
034022bf
KH
3568Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
3569
c023fbf4
KH
3570 * defs.h: move include tm.h up, so that the type LONGEST can
3571 also based on the target requirement to determine. In this case
3572 target mips64.
3573
034022bf
KH
3574 * remote-os9k.c (rombug_open): catch exception e in rombug.
3575 * remote-os9k.c (rombug_wait): print message before register display
3576 from rombug.
3577
fd2ae9ec
JK
3578Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3579
3580 * top.c (locate_arg): Call strchr not index.
3581
3bcf4181
PB
3582Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
3583
2d67c7e9
PB
3584 * ch-exp.y (literal): Recognize NULL.
3585 (tuple): Parse simple unlabelled tuples.
3586 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
3587 evaluate brace-initializer-expressions depending on context.
3588 (evaluate_subexp case UNOP_CAST): Pass the target type as
3589 expected type when evaluating the expression.
3590
3bcf4181
PB
3591 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
3592 BOOL from TYPE_NAME.
3593 * ch-valprint.c (chill_print_type_scalar): New function, to handle
3594 TYPE_CODE_RANGE better than print_type_scalar does.
3595 (chill_val_print_array_elements): Use above new function.
3596
6dd6578b
SS
3597Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
3598
3599 * remote-udi.c (udi_load): Tell symbol_file_add that the
3600 program being loaded is the main program.
c4ea046a 3601
986c54ca 3602For older changes see ChangeLog-94
bd5635a1
RP
3603\f
3604Local Variables:
3605mode: indented-text
3606left-margin: 8
3607fill-column: 74
3608version-control: never
3609End:
This page took 0.452097 seconds and 4 git commands to generate.