1 Mon Aug 28 17:07:26 1995 Kung Hsu <kung@lisa.cygnus.com>
3 * remote.c (remote_wait): Revert 19 July my change which should be
6 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
14 (cross_ref): Handle stIndirect forward reference to btTypedef.
16 * stabsread.c (read_enum_type): Determine signedness of enum
17 type from enumerators.
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
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.
28 Fri Aug 25 11:31:29 1995 Michael Meissner <meissner@tiktok.cygnus.com>
30 * configure.in (powerpc*-*-eabisim*): Only link in the simulator
31 if the target is powerpc{,le}-*-eabisim*, since the simulator
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.
37 Wed Aug 23 16:55:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
39 * config/powerpc/ppc{,le}-eabi.mt (SIM_OBJS, SIM): Link in the
42 Tue Aug 22 02:00:47 1995 Jeff Law (law@snake.cs.utah.edu)
44 * tm-hppa.h (EXTRACT_RETURN_VALUE): Fix for FP values.
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.
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.
57 Mon Aug 21 23:39:56 1995 Jeff Law (law@snake.cs.utah.edu)
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.
65 Mon Aug 21 11:49:17 1995 Kung Hsu <kung@mexican.cygnus.com>
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
71 Mon Aug 21 00:45:17 1995 Jeff Law (law@snake.cs.utah.edu)
73 * Makefile.in (install): Remove "brokensed" hack, unnecessary now
74 that we're using autoconf.
75 (uninstall): Likewise.
77 Sat Aug 19 17:20:22 1995 Michael Tiemann <tiemann@axon.cygnus.com>
79 * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or
81 Also, wire up the breakpoint window so that it can be demo'd.
83 Sat Aug 19 01:19:34 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
85 * gdbtypes.c (recursive_dump_type): Add dont_print_type_obstack
86 to inhibit infinite recursion when printing aggregate types.
88 Fri Aug 18 17:48:55 1995 steve chamberlain <sac@slash.cygnus.com>
90 * dcache.c (dcache_write_line): Write dirty lines right.
92 Fri Aug 18 06:26:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
94 * sparc-tdep.c (isbranch): Fix typo which caused wrong
95 target addresses for annulled branches.
97 Wed Aug 16 21:54:39 1995 Jeff Law (law@snake.cs.utah.edu)
99 * config/pa/tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Define.
101 Tue Aug 15 07:51:21 1995 steve chamberlain <sac@slash.cygnus.com>
103 * remote.c (remote_write_bytes): Chop up large transfers.
105 Mon Aug 14 17:56:36 1995 Stan Shebs <shebs@andros.cygnus.com>
107 * gcc.patch: Remove, relevant only to long-ago versions of GCC.
109 Mon Aug 14 13:43:01 1995 Kung Hsu <kung@mexican.cygnus.com>
111 * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.
112 * blockframe.c (inside_main_func): If main func addr range not set,
115 Sat Aug 12 15:34:54 1995 Jeffrey A. Law <law@rtl.cygnus.com>
117 * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.
118 * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
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.
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
133 * rs6000-tdep.c: Include objfiles.h and symtab.h.
134 (is_magic_function_pointer): New function.
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
141 * rs6000-tdep.c (find_toc_address): Report an error if no toc was
142 found rather than possibly core dumping.
144 * partial-stab.h: Handle extra field generated by the aix4 compiler
146 * stabsread.c (read_enum_type): Likewise.
148 Sat Aug 12 03:18:04 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
150 * rs6000-tdep.c (extract_return_value): Fix returning of values
151 whose length is less than the register size for big endian targets.
153 Fri Aug 11 13:04:32 1995 Kung Hsu <kung@mexican.cygnus.com>
155 * symtab.c (list_symbols): if break command set breakpoint on
158 Wed Aug 9 18:59:05 1995 Fred Fish <fnf@cygnus.com>
160 * defs.h (strchr, strrchr, strstr, strtok, strerror): Enclose in
161 #ifndefs to protect against previous definitions as macros.
163 Wed Aug 9 14:51:36 1995 Kung Hsu <kung@mexican.cygnus.com>
165 * xcoffread.c (xcoff_symfile_offset): Revert an unwanted change
166 that got in accidentally with Aug 1 change.
168 Sat Aug 5 09:07:28 1995 steve chamberlain <sac@slash.cygnus.com>
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.
175 Wed Aug 9 11:42:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
177 * configure.in (powerpc-*-aix*): Recognize as a new gdb host
179 (powerpc-*-eabi*): Don't set configdirs.
180 (powerpcle-*-eabi*): Likewise.
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
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.
190 Wed Aug 9 08:11:45 1995 Stan Shebs <shebs@cygnus.com>
192 * top.c (target_output_hook): Really make it match defs.h (char *
193 is not the same as unsigned char *).
195 Tue Aug 8 15:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
197 * Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgcc
198 unless it is present.
200 Tue Aug 8 10:50:15 1995 Jeffrey A. Law <law@rtl.cygnus.com>
202 * top.c (target_output_hook): Make declaration match the one
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.
209 Mon Aug 7 15:34:29 1995 steve chamberlain <sac@slash.cygnus.com>
211 * top.c (target_output_hook): New definition.
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.
216 Sun Aug 6 22:14:25 1995 Jeff Law (law@snake.cs.utah.edu)
218 * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
219 out of a long branch stub.
221 Fri Aug 4 13:37:31 1995 Jeffrey A. Law <law@rtl.cygnus.com>
223 * xcoffread.c (process_linenos): Fix typo in last change.
225 Thu Aug 3 22:01:26 1995 Fred Fish <fnf@rtl.cygnus.com>
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.
232 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
234 * Update all FSF addresses except those in COPYING* files.
236 Thu Aug 3 01:38:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
248 Wed Aug 2 18:00:36 1995 Stan Shebs <shebs@andros.cygnus.com>
250 * configure.in (m68*-est-*): Use monitor target config.
252 * config/m68k/est.mt, config/m68k/tm-est.h: Delete.
253 * config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.
255 Tue Aug 1 22:52:53 1995 Fred Fish <fnf@cygnus.com>
257 * Makefile.in (VERSION): Bump to 4.14.2
259 Tue Aug 1 16:04:36 1995 Kung Hsu <kung@mexican.cygnus.com>
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.
265 Tue Aug 1 11:44:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
267 * configure.in: Check for working mmap, ansi headers, string.h,
268 strings.h, and memory.h.
269 * configure: Regenerated.
271 * gdb_stat.h: New file, "portable" <sys/stat.h>.
272 * gdb_string.h: New file, "portable" <string.h>.
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>.
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>.
307 * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
308 sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
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.
321 Tue Aug 1 02:08:30 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
323 * mips-tdep.c (mips_extract_return_value): Fix returning of
324 values whose length is less than the register size for big endian
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.
330 Mon Jul 31 19:12:48 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
347 Mon Jul 31 14:32:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
349 * configure.in: Check for unistd.h.
350 * configure: Regenerated.
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.
357 Sun Jul 30 01:40:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
364 Reinstate setting of alloca_reg if setup of a gcc frame pointer
366 (frame_get_cache_fsr): Use new fields in rs6000_framedata.
368 Sat Jul 29 14:43:35 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
374 * Makefile.in (TARDIRS): Remove, no longer used.
376 Sat Jul 29 01:45:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
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.
391 * sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp'
392 instruction to handle functions returning structures with
393 large sizes properly.
395 Fri Jul 28 11:50:17 1995 steve chamberlain <sac@slash.cygnus.com>
397 * configure, configure.in (z8k-*-sim): deleted.
399 Thu Jul 27 12:49:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
401 * lynx-nat.c (child_wait): Handle threads exiting.
403 Thu Jul 27 07:47:50 1995 Michael Meissner <meissner@cygnus.com>
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
409 (frame_saved_pc): Move test for signal before frameless.
411 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Define.
412 * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Redefine.
414 Thu Jul 27 01:22:08 1995 Jeffrey A. Law <law@rtl.cygnus.com>
416 * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for calling
417 into shared libraries.
419 Wed Jul 26 23:33:34 1995 Michael Meissner <meissner@cygnus.com>
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
429 (FRAME_SAVED_PC): Call frame_saved_pc.
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.
443 Wed Jul 26 01:00:37 1995 Jeff Law (law@snake.cs.utah.edu)
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
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
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
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.
470 Tue Jul 25 11:43:44 1995 Stan Shebs <shebs@andros.cygnus.com>
472 * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab
473 line numbers using the psymtab's section offsets.
475 Tue Jul 25 10:43:27 1995 Michael Meissner <meissner@tiktok.cygnus.com>
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.
481 Sat Jul 22 23:44:18 1995 Jeff Law (law@snake.cs.utah.edu)
483 * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.
485 Fri Jul 21 16:50:28 1995 Jeffrey A. Law <law@rtl.cygnus.com>
487 * lynx-nat.c (child_thread_alive): New function. Somehow I
488 forgot to check this in with all the other thread_alive changes.
490 Thu Jul 20 22:22:34 1995 Jeff Law (law@snake.cs.utah.edu)
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.
496 Thu Jul 20 15:04:57 1995 Fred Fish <fnf@cygnus.com>
498 * top.c (show_endian): Cast first arg of printf_unfiltered to
499 correct type of "char *".
501 Thu Jul 20 14:18:51 1995 Jeffrey A. Law <law@rtl.cygnus.com>
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.
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
516 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
518 * config/m68k/tm-m68kv4.h (DWARF_REG_TO_REGNUM): Define to
519 correctly map floating point registers numbers.
521 * dwarfread.c (locval, new_symbol): Handle variables that are
524 * mdebugread.c: Replace all uses of builtin_type_* with
525 mdebug_type_*. Define and initialize mdebug_type_*.
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.
533 * valops.c (value_addr): Don't coerce arrays.
534 (typecmp): Coerce arrays instead of calling value_addr if necessary.
536 Wed Jul 19 18:19:28 1995 Stan Shebs <shebs@andros.cygnus.com>
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().
544 Wed Jul 19 13:15:32 1995 Kung Hsu <kung@mexican.cygnus.com>
546 * remote.c (remote_wait): When getting registers, check endianess and
547 do conversion if necessary.
549 Tue Jul 18 00:41:31 1995 Jeff Law (law@snake.cs.utah.edu)
551 * gdbserver/low-hppabsd.c: New file.
552 * gdbserver/Makefile.in (SFILES): Add low-hppabsd.c.
553 * config/pa/hppabsd.mh (XDEPFILES): Add ser-tcp.o.
554 (GDBSERVER_DEPFILES): Add low-hppabsd.o.
555 * config/pa/hppaosf.mh: Likewise.
557 Mon Jul 17 21:35:18 1995 Fred Fish <fnf@cygnus.com>
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.
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
571 return zero, for type compatibility with other *_thread_alive
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.
576 * defs.h (NORETURN, ATTR_NORETURN): Switch from volatile to
577 __attribute__ method with gcc 2.7, to avoid gcc 2.6.3 bug.
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 *"
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
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
595 * eval.c (evaluate_subexp_standard): Remove unused variable "var".
596 * eval.c (evaluate_subexp_standard): Remove unused variable
598 * valarith.c (value_subscript): Remove unused variable
599 "lowerbound", which is redeclared in a nested scope prior to use.
600 * printcmd.c (print_frame_nameless_args): Use "%ld" to print long
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".
615 * regex.c (re_compile_fastmap, re_match_2): Add remaining enum
616 types and default to switches for completeness.
617 * minsyms.c (lookup_minimal_symbol_text): Delete unused variable
619 (prim_record_minimal_symbol_and_info): Return NULL rather than
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.
625 * f-valprint.c (f_val_print): Remove unused local "straddr".
627 Mon Jul 17 13:08:00 1995 Ian Lance Taylor <ian@cygnus.com>
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
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
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
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
664 * remote-vx.c (vx_ops, vx_run_ops): Initialize new to_thread_alive
667 Sat Jul 15 01:02:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
673 * configure: Updated.
674 * target.c: Include <string.h>.
676 Fri Jul 14 16:16:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
678 * Makefile.in, configure.in: Use one variable, frags, to hold
679 pathnames of makefile fragments.
680 * configure: regenerated.
682 Fri Jul 14 09:49:47 1995 Jeff Law (law@snake.cs.utah.edu)
684 * procfs.c (procfs_ops): Fix typo in last change.
686 Thu Jul 13 13:42:38 1995 Jeffrey A. Law <law@rtl.cygnus.com>
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.
725 Tue Jul 11 11:15:55 1995 Kung Hsu <kung@rtl.cygnus.com>
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.
731 Fri Jul 7 14:41:56 1995 Kung Hsu <kung@rtl.cygnus.com>
733 * elfread.c (elf_symtab_read): Fix a bug ignoring compiler
734 generated internal labels ($LM...).
736 Wed Jul 5 11:38:36 1995 Kung Hsu <kung@rtl.cygnus.com>
738 * defs.h: if __GO32__ or WIN32 the directory separating symbol should
741 * remote-nindy (nindy_wait): Use infinite timeout reading after
744 Tue Jul 4 10:30:22 1995 Jeffrey A. Law <law@rtl.cygnus.com>
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.
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
767 Fri Jun 30 16:15:36 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
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.
780 * Makefile.in (SIM, SIM_OBS): New variables.
781 (CLIBS, CDEPS): Add value of SIM.
782 (DEPFILES): Add value of SIM_OBS
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.
790 * remote-z8k.c: Remove, was superseded by remote-sim.c
791 * Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
793 Sun Jun 25 15:30:43 1995 Stan Shebs <shebs@cygnus.com>
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):
800 (monitor_make_srec): Let compiler figure size of hextab.
802 Sat Jun 24 19:27:37 1995 Jeffrey A. Law <law@rtl.cygnus.com>
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.
808 Fri Jun 23 11:51:58 1995 Kung Hsu <kung@mexican.cygnus.com>
810 * remote-nindy (nindy_load): Put in target specific load, it's
813 Thu Jun 22 20:21:59 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
819 * mac-xdep.c (stdarg.h): Don't include.
821 Thu Jun 22 13:12:33 1995 Kung Hsu <kung@mexican.cygnus.com>
823 * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
825 Wed Jun 21 13:24:41 1995 Jeff Law (law@snake.cs.utah.edu)
827 * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
828 HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
830 Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
832 * monitor.c: Turn on caching.
833 (monitor_printf): If a ^C was sent, don't expect to see its
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
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
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.
856 Tue Jun 20 22:17:44 1995 Jeff Law (law@snake.cs.utah.edu)
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.
863 Tue Jun 20 12:03:36 1995 Stan Shebs <shebs@andros.cygnus.com>
865 * monitor.c (monitor_wait): Don't use the watchdog timeout
867 * w89k-rom.c (w89k_open): Define to be static.
870 Tue Jun 20 10:19:40 1995 Stu Grossman (grossman@cygnus.com)
872 * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
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.
886 Sat Jun 17 10:17:16 1995 Jeff Law (law@snake.cs.utah.edu)
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.
895 Thu Jun 15 14:54:58 1995 Stan Shebs <shebs@andros.cygnus.com>
897 * array-rom.c: Remove, no longer used.
899 * remote-hms.c (hms_open): Make static.
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.
905 Wed Jun 14 14:27:07 1995 Per Bothner <bothner@kalessin.cygnus.com>
907 * ch-exp.y: Remove lots of unsupported productions and names.
908 Add support for IF-expressions, ORIF, ANDIF, NUM, and ADDR.
910 Tue Jun 13 21:40:11 1995 Per Bothner <bothner@kalessin.cygnus.com>
912 * parser-defs.h (enum precedence): Added PREC_BUILTIN_FUNCTION.
913 * expression.h (enum exp_opcode): Added UNOP_LOWER, UNOP_UPPER,
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.
928 Mon Jun 12 12:48:13 1995 Stan Shebs <shebs@andros.cygnus.com>
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
941 Mon Jun 12 12:22:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
943 * Makefile.in (distclean, realclean): Remove config.cache and
946 Mon Jun 12 00:21:59 1995 Jeff Law (law@snake.cs.utah.edu)
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.
952 Sat Jun 10 17:59:11 1995 Jeff Law (law@snake.cs.utah.edu)
954 * hppa-tdep.c (frame_chain): Try to compensate for incomplete
955 register information in core files when backtracing.
957 Fri Jun 9 14:51:38 1995 Stu Grossman (grossman@cygnus.com)
959 * remote-nrom.c: Remove everything but download code. More
962 Thu Jun 8 15:06:00 1995 Stu Grossman (grossman@cygnus.com)
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.
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
978 * remote-nrom.c: Loads of cleanups. Use serial code to open
979 network connections. Use expect() to wait for response to
982 * ser-tcp.c (tcp_open): Retry connection if we get ECONNREFUSED.
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
990 * sparcl-tdep.c: Keep #include <unistd.h> away from GO32.
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.
997 Wed Jun 7 17:40:37 1995 Per Bothner <bothner@kalessin.cygnus.com>
999 * ch-exp.y: Handle <primitive_value> "->" <modename>.
1001 Wed Jun 7 17:46:33 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1003 * mem-break.c (LITTLE_BREAKPOINT): If BREAKPOINT and
1004 {LITTLE,BIG}_BREAKPOINT are all defined, don't redefine.
1005 (BIG_BREAKPOINT): Ditto.
1007 * config/rs6000/tm-rs6000.h (BREAKPOINT): Define as either
1008 BIG_BREAKPOINT or LITTLE_BREAKPOINT depending on the target byte
1011 Wed Jun 7 12:41:42 1995 Jeff Law (law@snake.cs.utah.edu)
1013 * somsolib.c (som_solib_section_offsets): Handle relative pathnames.
1015 * hppa-tdep.c (frame_saved_pc): Handle backtracing through signal
1016 handler in dynamically linked executables.
1018 Tue Jun 6 10:44:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1020 From Andrew Cagney <cagney@highland.com.au>
1021 * rs6000-tdep.c (single_step): Handle both little and big endian
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.
1028 * config/rs6000/tm-rs6000.h (BREAKPOINT): Delete.
1029 (BIG_BREAKPOINT): Define, big endian breakpoint instruction.
1030 (LITTLE_BREAKPOINT): Define, little endian breakpoint instruction.
1032 Sat Jun 3 01:54:56 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1034 * README: Add note about Unixware 2.x.
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.
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).
1043 * value.h (struct value): Change `repetitions' field from
1044 `short' to `int' type.
1047 Fri Jun 2 11:17:23 1995 Doug Evans <dje@canuck.cygnus.com>
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.
1059 Wed May 31 12:04:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1061 * nlm/{configure.in, Makefile.in}: Converted to use autoconf.
1062 * nlm/configure: New file, generated with autoconf 2.3.
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.
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.
1073 * sparclite/{Makefile.in, configure.in}: Converted to use
1075 * sparclite/configure: New file, generated with autoconf 2.3.
1077 Sun May 28 23:10:07 1995 Jeff Law (law@snake.cs.utah.edu)
1079 * defs.h: Include either varargs.h or stdarg.h (for va_list).
1080 Fix stupid thinko in last change ("..." -> "va_list").
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.
1088 Sat May 27 23:54:17 1995 J.T. Conklin <jtc@rtl.cygnus.com>
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
1095 * configure: regenerated.
1097 Sat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
1099 * sparclite/{Makefile,configure}.in: Add hooks for building with
1100 -lsocket & -lnsl for solaris2. Don't build aload/eload for DOS.
1102 Thu May 25 12:46:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1104 * gdbserver/remote-utils.c (prepare_resume_reply): Add FIXME
1105 comment regarding signal numbering.
1107 Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
1109 * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
1112 * arm-tdep.c (convert_from_extended, convert_to_extended):
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.
1118 Mon May 22 19:37:21 1995 Rob Savoye <rob@darkstar.cygnus.com>
1120 * config/idt.mt: replace monitor and array-rom with the new
1123 Mon May 22 15:38:25 1995 Stu Grossman (grossman@cygnus.com)
1125 * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
1128 * breakpoint.c: Move defaults of watchpoint related macros into
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
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.
1139 Mon May 22 06:47:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1141 * breakpoint.c, target.h: Move defaults of watchpoint related
1142 macros back to breakpoint.c. Required to get GDB compiling
1145 Fri May 19 14:49:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
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.
1152 * breakpoint.c (delete_command); source.c (directory_command);
1153 top.c (define_command): Changed call to query() that had too
1155 * printcmd.c (address_info): Changed call to printf_filtered()
1156 that had too many arguments.
1158 Fri May 19 09:52:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
1168 Fri May 19 06:15:40 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
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.
1174 start-sanitize-gdbtk
1175 * gdbtk.c: Likewise.
1178 Thu May 18 15:58:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
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.
1184 * complaints.c (complain): Likewise.
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.
1191 start-sanitize-gdbtk
1192 * gdbtk.c (gdbtk_query): Likewise.
1195 * defs.h, complaints.h, language.h, monitor.h: Add prototypes to
1196 match above changes.
1198 * printcmd.c: Remove uneeded #include <varargs.h>.
1199 * remote-e7000.c: Likewise.
1201 * f-typeprint.c (f_type_print_base): Fix typo found by above
1204 Wed May 17 11:21:32 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1206 * Makefile.in (xcoffread.o): Depend on partial-stab.h.
1208 * xcoffsolib.c (sharedlibrary_command): New command.
1209 * xcoffsolib.c (solib_info): Call xcoff_relocate_symtab.
1210 * xcoffsolib.c: Miscellaneous cleanups.
1212 * partial-stab.h: Ignore symbol descriptor '-' (for local
1213 variables with negative type numbers) without complaint.
1215 * rs6000-nat.c (vmap_ldinfo): Use bfd_stat rather than our own
1216 local emulation thereof. Remove unused variable ostart.
1218 Wed May 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1220 * Makefile.in (config.status): changed target so that
1221 config.status --recheck is executed if configure script changes.
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.
1228 * rom68k-rom.c: Added trailing space to prompt string.
1230 * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed.
1231 * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING):
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.
1239 Tue May 16 13:16:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1241 * Makefile.in (Makefile): Added config.status to dependency list.
1243 * configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
1244 gdb_host_cpu, gdb_target_cpu and nativefile.
1245 * configure: regenerated.
1247 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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'.
1254 Mon May 15 18:37:56 1995 Stu Grossman (grossman@cygnus.com)
1256 * breakpoint.c: Move defaults of watchpoint related macros into
1257 target.h. Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of
1259 * infrun.c (wait_for_inferior): Enhance comment near
1260 STOPPED_BY_WATCHPOINT.
1261 * target.h: Macros from breakpoint.c.
1263 Mon May 15 17:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
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
1269 * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
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.
1275 Mon May 15 14:46:41 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
1281 Mon May 15 12:12:34 1995 Stu Grossman (grossman@cygnus.com)
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
1286 * sparclite/sparclite.h: Add SL933 #ifdef to set __WINSIZE to 6
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
1296 Sat May 13 13:55:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1298 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
1299 mdebugread.c (struct symloc), hpread.c (struct symloc),
1300 xcoffread.c (struct symloc): Fix inaccurate comment introduced
1303 Sat May 13 13:34:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
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
1309 * defs.h: Declare info_verbose.
1310 * xcoffread.c: Extensive changes to support psymtabs.
1312 Fri May 12 13:48:41 1995 Stu Grossman (grossman@andros.cygnus.com)
1314 * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.
1316 Fri May 12 06:39:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1318 * partial-stab.h: Expand comments.
1320 Thu May 11 19:01:37 1995 Jeff Law (law@snake.cs.utah.edu)
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.
1330 (START_INFERIOR_TRAPS_EXPECTED): Delete definition.
1332 Wed May 10 18:59:26 1995 Stu Grossman (grossman@andros.cygnus.com)
1334 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
1335 * (unwind_command): Clean it up and make it print things out
1337 * monitor.c: Add ^C handling capability (mostly ripped off from
1339 * (monitor_printf): Make it check the command echo.
1340 * (monitor_printf_noecho): Similar to above, but doesn't check
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.
1364 Wed May 10 15:59:00 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1366 * remote-est.c (est_open): Make static to match prototype.
1368 Tue May 9 16:58:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1370 * configure.in: Add little endian PowerPC support.
1371 * config/powerpc/ppcle-eabi.mt: New file for little endian PowerPC
1373 * config/powerpc/tm-ppcle-eabi.h: ditto.
1375 Mon May 8 12:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1377 * nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
1378 These variables not used.
1380 * config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o.
1382 Wed May 3 17:54:47 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
1388 Tue May 2 18:32:24 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
1398 * config/arc/arc.mt: Ditto.
1401 Fri Apr 28 23:30:00 1995 Stu Grossman (grossman@cygnus.com)
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.
1407 Thu Apr 27 20:29:34 1995 Doug Evans <dje@canuck.cygnus.com>
1409 * Makefile.in (RUNTEST): Fix reference of `srcdir'.
1411 Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
1413 * remote-hms.c: Rewrite to use new monitor conventions.
1415 Tue Apr 25 11:27:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1417 * dbxread.c: Add comment explaining lowest_text_address.
1418 Add comment regarding stringtab_global and psymtabs.
1420 Sat Apr 22 01:26:29 1995 Jeff Law (law@snake.cs.utah.edu)
1422 * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.
1424 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
1425 handle "short", "int" and small structures returned in registers.
1427 Fri Apr 21 12:57:53 1995 Kung Hsu <kung@mexican.cygnus.com>
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.
1435 Fri Apr 21 12:03:44 1995 Stan Shebs <shebs@andros.cygnus.com>
1437 * sh-tdep.c (sh-opc.h): Don't include.
1438 (gdbcore.h): Include.
1439 (frame_find_saved_regs): Remove unused local.
1441 Thu Apr 20 10:12:21 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1443 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
1444 mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
1447 Wed Apr 19 16:58:11 1995 Stu Grossman (grossman@andros.cygnus.com)
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
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.
1464 Mon Apr 17 15:37:08 1995 Stu Grossman (grossman@andros.cygnus.com)
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.
1472 Sun Apr 16 14:00:55 1995 Stu Grossman (grossman@andros.cygnus.com)
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
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.
1496 Sat Apr 15 18:00:15 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1498 * rem-multi.shar: Removed; superceded by gdbserver.
1500 Fri Apr 14 12:10:24 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1502 * xcoffread.c (xcoff_sym_fns): Revise comment about merging this
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.
1509 * coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
1510 sections, not just SECT_OFF_MAX-1.
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.
1518 Sat Apr 15 14:15:14 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
1524 Sat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
1530 Sat Apr 15 14:04:32 1995 Per Bothner <bothner@cygnus.com>
1532 * alpha-tdep.c (alpha_push_arguments): Only cast to long for
1535 start-sanitize-gdbtk
1536 Sat Apr 15 13:52:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1538 * gdbtk.c (gdb_disassemble): Read from inferior if connected
1539 to a VxWorks target.
1541 Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com)
1543 * README.GDBTK: New file. Contains the obvious.
1546 Thu Apr 13 16:17:04 1995 Rob Savoye <rob@darkstar.cygnus.com>
1548 * remote-array.c: New file for Array Tech LSI33k based controller
1551 Thu Apr 13 12:23:31 1995 Kung Hsu <kung@rtl.cygnus.com>
1553 * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
1555 * remote-vxsparc.c: New file, preliminary check in, this configuration
1557 * remote-vxmips.c: ditto.
1559 Thu Apr 13 12:10:14 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1561 * rs6000-tdep.c (xcoff_add_toc_to_loadinfo): Don't use a prototype
1562 to declare the function.
1564 Wed Apr 12 16:40:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1566 * monitor.h (init_monitor_ops): Declare.
1567 * rom68k-rom.c: Clarify some comments.
1568 (rom68k_open): Define as static, to match decl.
1570 Wed Apr 12 16:36:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1572 * gdb.gdb: New file.
1573 * .gdbinit: Move list-objfiles to gdb.gdb.
1575 * values.c (set_internalvar): Set modifiable flag of newval.
1577 Wed Apr 12 14:34:31 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1579 * xcoffread.c: Call complain() rather than error() or printing a
1583 Wed Apr 12 08:15:27 1995 Doug Evans <dje@canuck.cygnus.com>
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.
1624 Tue Apr 11 16:42:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
1630 Tue Apr 11 13:46:25 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1632 * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
1633 consistency with error_begin. Also print warning_pre_print.
1635 * utils.c (warning): Use it.
1636 * utils.c (error_begin): Doc fix.
1637 * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
1638 symfile_objfile, nuke it.
1640 Tue Apr 11 09:35:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1642 * printcmd.c (print_address_numeric): Pass use_local to
1643 print_longest, rather than always passing 1.
1645 * nlm/Makefile.in: Remove comments discussing munch.
1647 start-sanitize-gdbtk
1648 Tue Apr 11 11:07:12 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1650 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but
1651 F_SETOWN is, use that.
1654 Mon Apr 10 18:31:57 1995 Stan Shebs <shebs@andros.cygnus.com>
1656 Merge in support for Mac MPW as a host.
1657 (Old change descriptions retained for informational value.)
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.
1678 * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.
1680 * main.c, source.c: Remove hacks that replace long strings
1681 with shorter ones, now solved portably.
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.
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.
1694 * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
1695 (ALLDEPFILES): Add somsolib.c.
1696 (somsolib.o): Add some dependencies.
1698 * mpw-config.in: Use nm-empty.h if host is not target.
1699 (xdepfiles): Add mac-xdep.c.o.
1701 * mpw-make.in: Add Fortran files.
1702 (XDEPFILES): Remove.
1704 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
1705 * ser-mac.c (MacSerial.h): Include instead of Serial.h.
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.
1716 * mpw-make.in: Change references from paread.c to somread.c
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
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.
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
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.
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
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.
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.
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
1802 * macgdb.r: New file, Rez (resource compiler) resource
1804 * mac-xdep.c: New file, Mac host interface code.
1805 * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to
1807 (PATHNAME_SEPARATOR_STRING): Remove.
1808 (SIGQUIT, SIGHUP): Define.
1809 (fileno, R_OK): Define.
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.
1816 Mon Apr 10 16:47:57 1995 Kung Hsu <kung@mexican.cygnus.com>
1818 * valprint.c (print_longest): Fix a syntax error in #ifdef
1819 PRINTF_HAS_LONG_LONG.
1821 * config/mips/xm-irix5.h: turn on CC_HAS_LONG_LONG and
1822 PRINTF_HAS_LONG_LONG.
1823 * config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
1825 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
1835 * source.c (line_info): Clear sal.pc for `info line' without
1838 Fri Apr 7 17:43:01 1995 Stu Grossman (grossman@andros.cygnus.com)
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
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
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
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.
1865 * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes):
1866 Reduce tables down to only the load types supported by each
1869 * w89k-rom.c (w89k_supply_register): Parses output of Winbond
1871 * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem.
1872 * (w89k_cmds): Add clear all breakpoints, memory fill, and dump
1875 * config/pa/tm-hppa.h: Define lots register offsets needed by
1879 Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
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.
1886 start-sanitize-gdbtk
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.
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
1897 Wed Apr 5 19:57:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1899 * mips-tdep.c (mips_print_register): Remove unused variable
1900 our_type and call to init_type. Fixes memory leak. Reindent function.
1902 * mips-tdep.c (mips_print_register), findvar.c
1903 (write_register_bytes): Make buffer char[] instead of unsigned
1906 Mon Apr 3 19:28:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1908 * top.c, utils.c, main.c, defs.h: Replace error_pre_print with two
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.
1914 Mon Apr 3 13:48:28 1995 Stu Grossman (grossman@andros.cygnus.com)
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...
1921 * op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions.
1923 Sat Apr 1 03:22:20 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
1930 Thu Mar 30 19:46:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1932 * config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; it
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.
1939 Wed Mar 29 09:56:04 1995 Jason Molenda (crash@phydeaux.cygnus.com)
1941 * configure.in: sparc-*-sunos5* is same as sparc-*-solaris2*.
1943 Wed Mar 29 18:30:03 1995 Stan Shebs <shebs@andros.cygnus.com>
1945 * remote-e7000.c (why_stop): Add new kinds of strings to expect
1947 (e7000_wait): Add interpretations for more stop reasons,
1948 including warnings for write protect and cycle address errors.
1950 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1952 start-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.
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
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.
1970 Wed Mar 29 09:11:51 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1972 * defs.h (atof): Don't provide an external declaration if atof is
1975 Wed Mar 29 00:01:07 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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)'
1981 Tue Mar 28 17:04:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
1990 Mon Mar 27 22:51:54 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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):
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.
2006 Mon Mar 27 14:43:00 1995 Kung Hsu <kung@mexican.cygnus.com>
2008 * vx-share/regPacket.h: a new file interfacing with vxworks.
2010 Sun Mar 26 13:22:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2012 * breakpoint.c (bpstat_do_actions): Once we've executed the
2013 commands, set bs->commands to NULL.
2015 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
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
2032 * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
2033 Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
2035 * procfs.c (info_proc_siginfo): Cast sip->si_addr to
2036 `unsigned long' and use `lx' format for printing it.
2038 Fri Mar 24 15:45:42 1995 Stu Grossman (grossman@cygnus.com)
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
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
2051 * (monitor_open): Check for magic number in monitor_ops struct.
2052 Allow multiple commands as init strings. Also, clear all
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
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
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
2081 Thu Mar 23 23:20:00 1995 Jeff Law (law@snake.cs.utah.edu)
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).
2087 Thu Mar 23 15:07:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2089 * breakpoint.c (bpstat_do_actions): For each element in the bpstat
2090 chain, do all the commands regardless of whether they run the
2093 Wed Mar 22 19:17:06 1995 Doug Evans <dje@cygnus.com>
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.
2104 Tue Mar 21 17:03:17 1995 Kung Hsu <kung@mexican.cygnus.com>
2106 * sparc-stub.c: add nop after 'bg good_wim'.
2107 * sparcl-stub.c: ditto.
2109 Tue Mar 21 13:34:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2111 * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
2112 TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
2114 Mon Mar 20 10:09:59 1995 Jeff Law (law@snake.cs.utah.edu)
2116 * hppab-nat.c (store_inferior_registers): Sync with HPUX version.
2118 Mon Mar 20 07:34:48 1995 Stu Grossman (grossman@cygnus.com)
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.
2125 Sat Mar 18 02:02:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
2131 Thu Mar 16 16:38:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
2137 Thu Mar 16 15:54:00 1995 J.T. Conklin <jtc@rtl.cygnus.com>
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.
2143 Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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>".
2149 * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
2151 Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
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.
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
2170 * (monitor_load_srec): Lower sleep time to 1 second.
2172 * monitor.h (struct monitor_ops): Add register_pattern and
2173 supply_register to monitor_ops.
2175 * rom68k-rom.c: Add new support for handling register dumps.
2176 * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
2179 Wed Mar 15 15:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
2186 Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2188 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
2191 * configure.in (alpha-*-netware*): Removed configuration.
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.
2196 * nlm/gdbserve.c (main): Add support for processing BOARD=
2197 argument, deprecate NODE=.
2199 Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2201 * c-exp.y (yylex): Make an empty character constant an error.
2203 Tue Mar 14 15:00:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
2205 * valops.c (value_arg_coerce): Do possible value_coerce_array
2206 before determining type argument to value_cast.
2208 Tue Mar 14 10:41:41 1995 Kung Hsu <kung@mexican.cygnus.com>
2210 * remote-es.c: Replace ignore with 0.
2212 Tue Mar 14 05:52:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2214 * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
2215 If VALUE_REPEATED is already set, just error out.
2217 * valops.c (value_cast, value_slice), parse.c (follow_types): Add
2218 FIXME-type-allocation comments.
2220 * gdbtypes.h (struct type): Fix comment about what units the
2223 Mon Mar 13 18:27:25 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
2232 Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2234 * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
2235 use the PDR, just examine prologues instead.
2238 Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com>
2240 * config/tm-arc.h: Change arc register names.
2243 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
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
2262 * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>.
2264 * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call
2265 alpha_find_saved_regs if fi->saved_regs is still NULL.
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.
2271 * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
2272 Fix typos in comments.
2274 Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
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.
2282 Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu)
2284 * somsolib.c (som_solib_section_offsets): Get offset of text
2287 Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
2289 start-sanitize-gdbtk
2290 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
2291 type is not bp_breakpoint.
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).
2299 Wed Mar 8 12:51:00 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
2307 Tue Mar 7 19:26:10 1995 Per Bothner <bothner@kalessin.cygnus.com>
2309 * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
2311 Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com)
2313 * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops
2315 * monitor.c (monitor_create_inferior): Allow run command to start
2318 * monitor.c (monitor_load): Set PC to start address when done
2321 * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops.
2322 Remove ref to monitor_create_inferior.
2324 * monitor.c: More general cleanups. Add prototypes, remove
2325 unused routines. Fix bug with wrong number of args to error().
2327 * main.c (main): Don't start up GUI when running under gdb mode
2330 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
2331 Sun make (with VPATH) work...
2333 * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP
2334 (rom68k) target work right.
2335 * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new
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.
2341 * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
2342 ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits
2343 (needed for IDP board?!?!?).
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
2347 putc_unfiltered (it's superfluous).
2349 * command.h, command.c, top.c: Add var_enum command type. It's
2350 like var_string but allows only only one of the specified strings.
2352 Mon Mar 6 15:03:59 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
2358 Fri Mar 3 17:42:48 1995 Per Bothner <bothner@kalessin.cygnus.com>
2360 * valops.c (value_cast): Check for cast to array type *before*
2361 we coerce array to pointer (in case arg2 is already array).
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.
2367 * valops.c (call_function_by_hand): Re-arrange code for pushing
2368 paramaters on the stack so we can do better STACK_ALIGN.
2370 * valops.c (call_function_by_hand): Call error if the number
2371 of arguments is fewer than parameter types in function type.
2373 Fri Mar 3 17:13:05 1995 Doug Evans <dje@canuck.cygnus.com>
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.
2382 Fri Mar 3 15:12:12 1995 Jeff Law (law@snake.cs.utah.edu)
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
2390 (hpread_process_one_debug_symbol): Correctly map source lines.
2392 * somread.c (check_strange_names): Filter names emitted by the HP
2393 compiler when generating PIC code.
2395 * valops.c (value_struct_elt_for_reference): Work around macro
2396 bugs in HP's compilers.
2397 * c-exp.y (block): Likewise.
2399 Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2401 * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
2404 * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
2406 Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>
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.
2412 Fri Mar 3 00:54:58 1995 Doug Evans <dje@canuck.cygnus.com>
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.
2418 Thu Mar 2 22:20:22 1995 Doug Evans <dje@canuck.cygnus.com>
2420 * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
2421 (target_to_host): Change result type to CORE_ADDR.
2423 Thu Mar 2 15:13:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2425 * rs6000-tdep.c: Fix byte-swapping sins.
2427 Thu Mar 2 16:48:45 1995 Michael Meissner <meissner@cygnus.com>
2429 * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
2430 code between branch unconditional and branch conditional cases.
2432 Wed Mar 1 09:41:26 1995 Doug Evans <dje@canuck.cygnus.com>
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)
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
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.
2466 Wed Mar 1 13:14:42 1995 Kung Hsu <kung@mexican.cygnus.com>
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.
2473 Wed Mar 1 13:42:49 1995 Michael Meissner <meissner@tiktok.cygnus.com>
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
2479 * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
2480 write_memory to make things type correct.
2482 Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com>
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
2488 Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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
2496 Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
2498 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
2502 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
2504 * remote-arc.c (arc_wait): when a processor stops, stop other two
2506 * remote-arc.c (switch_command): switch tm_print_insn.
2509 * vx-share/ptrace.h: merge in WRS new ptrace requests.
2511 * defs.h: fix a syntax error.
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.
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.
2522 Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2524 * alpha-tdep.c (find_proc_desc): Only attempt to set
2525 PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
2527 Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
2529 * monitor.c: General gcc -Wall lint cleanup and reformat.
2530 (monitor_command): If no args, send an empty command.
2532 Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com)
2534 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
2535 after send LOAD_CMD to prevent loss of first S-record.
2537 Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
2546 Tue Feb 21 23:29:59 1995 Per Bothner <bothner@rtl.cygnus.com>
2548 * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
2549 (same as C's '(TYPE[])EXPR')
2551 Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
2553 * top.c (print_gdb_version): Update the year.
2555 Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2557 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
2558 `..' not in `../..'.
2560 Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2562 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
2563 in addition to a PIOCSSIG to kill the inferior.
2565 Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
2574 Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2576 * dcache.c (insque, remque): Rewrite Linux support.
2578 Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2580 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
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.
2586 Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
2588 * annotate.c, breakpoint.c, defs.h, top.c: Replace
2589 enable/disable_breakpoint_hook with modify_breakpoint_hook.
2590 start-sanitize-gdbtk
2592 * gdbtk.c: General cleanups, get rid of unused variables. Redo
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
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
2611 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
2612 notification protocol.
2613 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
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
2620 * (create_file_win): Fix margin binding to allow breakpoints to
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
2628 Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2630 * expression.h: Move declaration of evaluate_subexp_with_coercion
2632 * value.h: ...to here.
2633 * expression.h: Don't include value.h
2635 Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2637 * expression.h: Move include of value.h until after declaration of
2640 Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
2649 * irix5-nat.c (string.h): Include near beginning of file.
2651 Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2653 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
2654 arg, it is a value not a symbol.
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.
2662 Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
2679 * ch-exp.y (maybe_expression_list): New non-terminal.
2680 (primitive_value): Allow empty parameter list.
2682 Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
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.
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.
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):
2708 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
2710 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
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.
2718 Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2720 * buildsym.c (start_subfile): Set language for f2c like for cfront.
2722 Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
2724 * op50n-rom.c: Add the control registers.
2726 Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
2734 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
2735 STATIC_NODEBUG_VARS inside case.
2737 Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
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
2744 * sparc-tdep.c (solaris_static_transform_name): New function.
2746 Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
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.
2757 Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
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
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.
2781 Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
2783 * monitor.c: Fix so all the output shows up in the GUI command
2786 Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
2788 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
2789 line, so init.c generation works correctly.
2791 * arc-tdep.c (_initialize_arc_tdep): Ditto.
2794 Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
2796 * config/mips/idt.mt: Add support for the lsi33k target.
2797 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
2798 * array-rom.c: Finish the rest of the support commands needed by
2800 * mips-tdep.c: Add LSI33k register names and processor type.
2802 start-sanitize-gdbtk
2803 Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2805 * gdbtk.c (gdb_disassemble): Deference pointer to function before
2806 calling it (pre-ANSI compilers generally require this).
2809 Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
2811 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
2813 Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
2815 * ser-go32-para.c (dos_read): fix syntax errors.
2817 Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
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.
2822 start-sanitize-gdbtk
2823 * gdbtk.c (gdb_disassemble): Ditto.
2825 * defs.h, printcmd.c: Make print_insn be static.
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
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
2837 Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
2839 * array-rom.c: Remove the non GDB remote protocol config stuff.
2841 * monitor.c: All reading/writing functions for memory and
2844 Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
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
2855 * ser-go32-para.c: new file for go32 parallel port communication.
2857 Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
2859 * Makefile.in (VERSION): Bump to 4.13.2.
2861 Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
2869 Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
2875 * eval.c (evaluate_subscript): Don't call value_subscript, since
2876 it adjusts for lower bound and enforces ranges.
2878 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
2879 * eval.c, parse.c: Removed uses of removed opcodes.
2880 * eval.c (evaluate_subexp): Clean up handling of
2881 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
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).
2886 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
2887 duplicate function made redundant by chill_varying_type.
2889 Re-write of f77 string and complex number support:
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.
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.
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.
2917 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
2919 * parse.c: Update accordingly.
2921 * f-valprint.c (f77_print_cmplx): Removed.
2922 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
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):
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
2935 * eval.c (evaluate_subexp): Update accordingly.
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.
2942 Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
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
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.
2963 Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
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".
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.
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.
2989 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
2990 value_x_binop on a Chill varying string.
2992 Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2994 * config/m68k/monitor.mt,
2995 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
2996 depfiles in TDEPFILES not REMOTE_O.
2998 Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
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.
3006 Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
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
3021 Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
3022 start-sanitize-gdbtk
3023 * gdbtk.tcl (create_file_win): Disable old popup menu for source
3026 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
3027 downloads to SPARClite demo boards.
3029 Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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).
3037 Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
3043 Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
3045 * top.c (use_windows): Clarify comments.
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
3053 * corelow.c (core_open, core_detach): Make static.
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.
3065 Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3067 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
3069 Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
3071 * symtab.c (find_pc_line): When subtracting one to get a line
3072 number, make sure not to end up with zero.
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.
3080 Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
3082 * sparcl-tdep.c: Clean up formatting and indentation.
3084 Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
3086 * remote-hms.c (hms_ops): Change ref of hr_load_image
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
3093 Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
3095 * configure.in: Add support for powerpc-*-eabi.
3097 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
3100 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
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.)
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.
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).
3125 start-sanitize-gdbtk
3126 Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
3128 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
3130 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
3131 popping up expression window for the first time.
3134 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
3136 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
3137 TYPE_LENGTH is length in bytes, not bits.
3139 Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
3145 Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
3147 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
3148 by an ill-advised global search and replace.
3150 Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
3152 * gdbtk.tcl (create_registers_window): Work around a radiobutton
3153 widget bug to make Options|Natural button work.
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,
3160 Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
3162 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
3165 Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
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.
3178 Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
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.
3184 Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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
3190 Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
3192 * remote-hms.c (hms_load): Delete.
3193 (target_ops): Use hr_load_image.
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.
3199 Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
3201 * ser-go32.c: Rewritten by nigel@algor.co.uk.
3203 Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
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.
3221 Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
3223 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
3224 * sh-tdep.c (gdb_print_insn_sh): Ditto.
3226 Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
3228 * remote-os9k.c (rombug_open): Fix a bug in exception handling
3230 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
3233 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3235 * parse.c (_initialize_parse): Improve wording of names of
3238 Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
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.
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.
3254 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3256 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
3258 * parse.c (write_exp_msymbol): Use new variables
3259 msym_*_symbol_type as type of msymbol expression.
3260 (_initialize_parse): Initialize them.
3262 Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
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,
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
3287 * convex-tdep.c (convex_print_insn): New function, was print_insn
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
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
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.
3318 Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
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.
3328 Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
3330 * breakpoint.h (disable_breakpoint, enable_breakpoint):
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.
3355 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
3356 * configure.in: Suppprt for w65,
3359 Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3361 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
3362 not stop_pc, to proceed.
3364 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
3366 Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3368 * infcmd.c (signal_command): Accept "signal 0"; the change to not
3369 accept it was accidental. "handle 0" and "info signal 0" remain
3372 Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
3374 * Makefile.in (all): Don't make libgdb-files.
3375 (libgdb): New action, makes libgdb-files.
3377 Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
3383 start-sanitize-gdbtk
3384 Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
3386 * gdbtk.c, gdbtk.tcl: Update/add copyright.
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.
3392 Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3394 * README: Add note about SPARCworks cc release 3.0 and higher.
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
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
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
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.
3437 start-sanitize-gdbtk
3438 Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
3440 * gdbtk.tcl: Add button to control mixed source disassembly.
3441 Use text widgets in expr window. The give me more control over
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
3447 Make copyright message have raised relief.
3449 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
3453 Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
3455 * array-rom.c: Add support for most commands.
3457 * monitor.c: Add GDB remote protocol for the hybrid environment on
3460 Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
3462 * command.c (show_user_1): Use print_command_line to show a user
3463 defined command (including control structures).
3465 * top.c (init_main): Change documentation for user defined
3466 commands to indicate they may accept up to ten arguments.
3468 Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3470 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
3471 `move $s8, $sp' instruction.
3473 Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
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.
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.
3485 Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3487 * dbxread.c (process_one_symbol): Handle N_FUN symbols
3488 for Sun acc 3.0 under SunOS4.
3490 Changes to improve handling of runtime common symbols
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):
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
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.
3517 Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
3519 * Makefile.in (install_only uninstall): Indent for clarity.
3521 * core.c (dis_asm_read_memory): Add call to
3522 dis_asm_read_memory_hook to provide alternate way for disassembler
3525 * defs.h: Protect from multiple inclusion. Add decl for
3526 dis_asm_read_memory_hook.
3528 * top.c: Make window startup be the default.
3529 * Add dis_asm_read_memory_hook.
3531 start-sanitize-gdbtk
3532 * gdbtk.c (finish_saving_output): Don't do anything if not saving
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.
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.
3549 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
3550 since they don't exist yet.
3552 * Pop up a copyright window on startup.
3555 Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
3557 * stabsread.c (define_symbol): Handle `a' symbol type used for
3558 reference parameter passed in a register.
3560 start-sanitize-gdbtk
3561 Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
3563 * gdbtk.tcl (build_framework): Add standard commands menu, more
3564 windows to standard windows menu.
3565 (not_implemented_yet): Clarify message.
3568 Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
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
3574 * remote-os9k.c (rombug_open): catch exception e in rombug.
3575 * remote-os9k.c (rombug_wait): print message before register display
3578 Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3580 * top.c (locate_arg): Call strchr not index.
3582 Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
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.
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.
3597 Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
3599 * remote-udi.c (udi_load): Tell symbol_file_add that the
3600 program being loaded is the main program.
3602 For older changes see ChangeLog-94
3608 version-control: never