1 Sat May 13 13:55:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
4 mdebugread.c (struct symloc), hpread.c (struct symloc),
5 xcoffread.c (struct symloc): Fix inaccurate comment introduced
8 Sat May 13 13:34:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10 * rs6000-tdep.c (find_toc_address): Revise comment.
11 * symfile.c, symfile.h (init_psymbol_list): New function;
12 consolidate duplicated copies from os9kread.c, dbxread.c
14 * defs.h: Declare info_verbose.
15 * xcoffread.c: Extensive changes to support psymtabs.
17 Fri May 12 13:48:41 1995 Stu Grossman (grossman@andros.cygnus.com)
19 * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.
21 Fri May 12 06:39:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23 * partial-stab.h: Expand comments.
25 Thu May 11 19:01:37 1995 Jeff Law (law@snake.cs.utah.edu)
27 * Support debugging using native MACH primitives on hppa*-*-osf*.
28 * configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore.
29 * config/pa/hppaosf.mh: New file.
30 * config/pa/nm-hppao.h: Likewise.
31 * hppam3-nat.c: Likewise.
32 * config/pa/tm-hppao.h (PSW_SS): Define for single-stepping.
33 (MACHINE_CPROC_*_OFFSET): Define.
35 (START_INFERIOR_TRAPS_EXPECTED): Delete definition.
37 Wed May 10 18:59:26 1995 Stu Grossman (grossman@andros.cygnus.com)
39 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
40 * (unwind_command): Clean it up and make it print things out
42 * monitor.c: Add ^C handling capability (mostly ripped off from
44 * (monitor_printf): Make it check the command echo.
45 * (monitor_printf_noecho): Similar to above, but doesn't check
47 * (monitor_stop): No longer waits for prompt. That is the job of
48 the caller. This makes things work much better for monitor_wait,
49 which waits for the prompt itself.
50 * (monitor_open): Deal with new monitor_stop semantics. Also,
51 flush input after sending init strings to get rid of junk that may
52 be output. Also, don't always send \r to remote. Use
53 monitor_ops->line_term cuz proper character isn't always \r.
54 * (monitor_fetch_register): Switch to completely different
55 algorithm to deal with lame-ass monitors which put spaces in the
56 middle of numbers, and prompt with a space!!!!!
57 * (monitor_read_memory_single): New routine to be used with
58 monitors that can only return one byte/short/long at a time. This
59 is selected via MO_GETMEM_READ_SINGLE.
60 * (monitor_load_srec): Use monitor_printf_noecho for sending S
61 records. Most targets don't echo them.
62 * (monitor.h): Get rid of cmd_delim. Add line_delim.
63 * op50n-rom.c (op50n_cmds): Fill it up. Make it work.
64 * w89k-rom.c: Change all eols from \r to \n. Change load_resp to
65 ^Q to prevent error message.
66 * config/pa/tm-hppa.h (CALL_DUMMY (for hppro)): Add special
67 instruction sequence at end to make restore_pc_queue happy.
69 Wed May 10 15:59:00 1995 Torbjorn Granlund <tege@adder.cygnus.com>
71 * remote-est.c (est_open): Make static to match prototype.
73 Tue May 9 16:58:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
75 * configure.in: Add little endian PowerPC support.
76 * config/powerpc/ppcle-eabi.mt: New file for little endian PowerPC
78 * config/powerpc/tm-ppcle-eabi.h: ditto.
80 Mon May 8 12:11:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
82 * nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
83 These variables not used.
85 * config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o.
87 Wed May 3 17:54:47 1995 Stan Shebs <shebs@andros.cygnus.com>
89 * monitor.c (monitor_command): Don't use PROMPT until monitor
90 target is known to be open.
91 (monitor_make_srec): Don't define size of hextab.
93 Tue May 2 18:32:24 1995 Stan Shebs <shebs@andros.cygnus.com>
95 * configure.in (--enable-netrom): New configuration option.
96 * Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
98 (NETROM_OBS): New variable.
99 * remote-nrom.c: New file, NetROM target support.
100 * config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
101 REMOTE_OBS instead of REMOTE_O.
103 * config/arc/arc.mt: Ditto.
106 Fri Apr 28 23:30:00 1995 Stu Grossman (grossman@cygnus.com)
108 * array-rom.c (_initialize_array array_open): Move baud_rate
109 initialization from _initxxx to array_open to fix bug with
110 overriding -b command line option.
112 Thu Apr 27 20:29:34 1995 Doug Evans <dje@canuck.cygnus.com>
114 * Makefile.in (RUNTEST): Fix reference of `srcdir'.
116 Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
118 * remote-hms.c: Rewrite to use new monitor conventions.
120 Tue Apr 25 11:27:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
122 * dbxread.c: Add comment explaining lowest_text_address.
123 Add comment regarding stringtab_global and psymtabs.
125 Sat Apr 22 01:26:29 1995 Jeff Law (law@snake.cs.utah.edu)
127 * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.
129 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
130 handle "short", "int" and small structures returned in registers.
132 Fri Apr 21 12:57:53 1995 Kung Hsu <kung@mexican.cygnus.com>
134 * minsyms.c: add new function lookup_minimal_symbol_text, to look
135 for text symbol only.
136 * breakpoint.c (create_longjmp_breakpoint): call
137 lookup_minimal_symbol_text instead of lookup_minimal_symbol.
138 * symtab.h: add lookup_minimal_symbol_text prototype.
140 Fri Apr 21 12:03:44 1995 Stan Shebs <shebs@andros.cygnus.com>
142 * sh-tdep.c (sh-opc.h): Don't include.
143 (gdbcore.h): Include.
144 (frame_find_saved_regs): Remove unused local.
146 Thu Apr 20 10:12:21 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
148 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
149 mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
152 Wed Apr 19 16:58:11 1995 Stu Grossman (grossman@andros.cygnus.com)
154 * hppa-tdep.c (deposit_17): New routine to deposit 17 bit
155 constants into PA instructions.
156 * Put #ifdefs around all signal handling code. Not generally
157 needed for embedded boards.
158 * (hppa_fix_call_dummy): Parameterize offsets into call dummy to
159 allow different dummys to be used by this code. Use
160 INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
161 Conditionalize setup of _sr4export fixup. Improve comments.
162 * config/pa/tm-hppa.h: Define INSTRUCTION_SIZE. Use a different
163 call dummy if PA_LEVEL_0 is defined. Better comments for call
164 dummys. Define offsets for LDIL/LDO instructions which load
166 * config/pa/tm-pro.h: Get rid of signal handling stuff. Define
167 PA_LEVEL_0 to disable mucking with space regs and such.
169 Mon Apr 17 15:37:08 1995 Stu Grossman (grossman@andros.cygnus.com)
171 * cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c
172 w89k-rom.c: Remove loadtypes, loadprotos and baudrates.
173 * op50-rom.c: Fix copyrights and add load routine to op50n_cmds.
174 * rom68k-rom.c (_initialize_rom68k): Don't set baud rate.
175 * w89k-rom.c: Fix copyrights.
177 Sun Apr 16 14:00:55 1995 Stu Grossman (grossman@andros.cygnus.com)
179 * monitor.c: Move all xmodem stuff into xmodem.[ch]. Remove
180 unnecessary remoteloadprotocol and remoteloadtype support.
181 * (expect expect_prompt): Change names to monitor_expect and
182 monitor_expect_prompt. Make them global.
183 * (printf_monitor): Change name to monitor_printf. Make global.
184 * (monitor_read_memory): Flush command echo to avoid parsing
185 ambiguity with CPU32Bug monitor.
186 * (monitor_load): Remove remoteloadprotocol and remoteloadtype
187 support. Call target_ops->load_routine, default to
189 * (monitor_load_srec): Remove everything but S-record support.
190 * monitor.h (monitor_ops): Add load_routine to provide monitor
191 specific download capability.
192 * remote-est.c: Clean up copyrights and comments.
193 * w89k-rom.c: Use new xmodem support.
194 * xmodem.c xmodem.h: New files to support xmodem downloads.
195 * rom68k-rom.c remote-est.c: Fix copyrights, add load_routine
196 entry to monitor_ops.
197 * cpu32bug-rom.c: New file to support Moto BCC debuggers.
198 * config/m68k/est.mt (TDEPFILES): Add cpu32bug.o.
199 * config/pa/hppapro.mt (TDEPFILES): Add xmodem.o.
201 Sat Apr 15 18:00:15 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
203 * rem-multi.shar: Removed; superceded by gdbserver.
205 Fri Apr 14 12:10:24 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
207 * xcoffread.c (xcoff_sym_fns): Revise comment about merging this
210 * breakpoint.c (fixup_breakpoints): Removed.
211 * rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints.
212 (vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set.
214 * coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
215 sections, not just SECT_OFF_MAX-1.
217 * rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets
218 to be indexed by SECT_OFF_* instead of xcoff section numbers.
219 * objfiles.c, remote.c: Remove comments regarding SECT_OFF_*.
220 * symtab.h: Revise comment about block_line_section.
221 * rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.
223 Sat Apr 15 14:15:14 1995 Stan Shebs <shebs@andros.cygnus.com>
225 * mpw-make.in (init.c): Don't try to do symbolic {o} in sed
226 command, not allowed by some version of MPW Make.
227 * ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
229 Sat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
231 * alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE ->
232 VALUE_TYPE). Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR,
233 TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT.
235 Sat Apr 15 14:04:32 1995 Per Bothner <bothner@cygnus.com>
237 * alpha-tdep.c (alpha_push_arguments): Only cast to long for
241 Sat Apr 15 13:52:24 1995 Stan Shebs <shebs@andros.cygnus.com>
243 * gdbtk.c (gdb_disassemble): Read from inferior if connected
246 Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com)
248 * README.GDBTK: New file. Contains the obvious.
251 Thu Apr 13 16:17:04 1995 Rob Savoye <rob@darkstar.cygnus.com>
253 * remote-array.c: New file for Array Tech LSI33k based controller
256 Thu Apr 13 12:23:31 1995 Kung Hsu <kung@rtl.cygnus.com>
258 * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
260 * remote-vxsparc.c: New file, preliminary check in, this configuration
262 * remote-vxmips.c: ditto.
264 Thu Apr 13 12:10:14 1995 Michael Meissner <meissner@tiktok.cygnus.com>
266 * rs6000-tdep.c (xcoff_add_toc_to_loadinfo): Don't use a prototype
267 to declare the function.
269 Wed Apr 12 16:40:20 1995 Stan Shebs <shebs@andros.cygnus.com>
271 * monitor.h (init_monitor_ops): Declare.
272 * rom68k-rom.c: Clarify some comments.
273 (rom68k_open): Define as static, to match decl.
275 Wed Apr 12 16:36:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
278 * .gdbinit: Move list-objfiles to gdb.gdb.
280 * values.c (set_internalvar): Set modifiable flag of newval.
282 Wed Apr 12 14:34:31 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
284 * xcoffread.c: Call complain() rather than error() or printing a
288 Wed Apr 12 08:15:27 1995 Doug Evans <dje@canuck.cygnus.com>
290 * arc-tdep.c: #include "gdbcmd.h".
291 (codestream_seek): Pass CORE_ADDR.
292 (arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals.
293 (debug_pipeline_p): Likewise.
294 (X_...): Instruction field access macros.
295 (BUILD_INSN): Define.
296 (codestream_tell): Allow for stream elements > 1 byte.
297 (codestream_fill): Likewise.
298 (setup_prologue_scan): New function.
299 (arc_get_frame_setup): Call it. Update to current spec
300 regarding prologues. Use BUILD_INSN.
301 (skip_prologue): New argument `frameless_p'. Use BUILD_INSN.
302 (arc_frame_saved_pc): New function.
303 (frame_find_saved_regs): Use BUILD_INSN.
304 (get_insn_type, single_step): New functions.
305 (one_stepped): New global.
306 (arc_set_cpu_type_command, arc_show_cpu_type_command): New functions.
307 (arc_set_cpu_type): New function.
308 (_initialize_arc_tdep): Define new `set' commands `cpu',
309 `displaypipeline', and `debugpipeline'.
310 * remote-arc.c (break_insn): Add bi-endian support.
311 (arc_insert_breakpoint): Likewise.
312 (arc_remove_breakpoint): Likewise.
313 (switch_command): Delete.
314 * arc/tm-arc.h (TARGET_BYTE_ORDER): Delete.
315 (TARGET_BYTE_ORDER_SELECTABLE): Define.
316 (DEFAULT_ARC_CPU_TYPE): Define.
317 (SKIP_PROLOGUE_FRAMELESS_P): Define.
318 (BREAKPOINT): Delete.
319 (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define.
320 (DECR_PC_AFTER_BREAK): Change to 8.
321 (NO_SINGLE_STEP): Define.
322 (ARC_PC_TO_REAL_ADDRESS): Define.
323 (SAVED_PC_AFTER_CALL): Use it.
324 (NUM_REGS, REGISTER_BYTES): Fix.
325 (FRAME_SAVED_PC): Call arc_frame_saved_pc.
326 (FRAME_LOCALS_ADDRESS): Fix.
329 Tue Apr 11 16:42:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
331 * top.c, utils.c, defs.h: Remove error_hook. It is currently
332 unused and would need to hook into error_begin()/return_to_top_level(),
333 instead of error(), if it were to be used.
335 Tue Apr 11 13:46:25 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
337 * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
338 consistency with error_begin. Also print warning_pre_print.
340 * utils.c (warning): Use it.
341 * utils.c (error_begin): Doc fix.
342 * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
343 symfile_objfile, nuke it.
345 Tue Apr 11 09:35:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
347 * printcmd.c (print_address_numeric): Pass use_local to
348 print_longest, rather than always passing 1.
350 * nlm/Makefile.in: Remove comments discussing munch.
353 Tue Apr 11 11:07:12 1995 Michael Meissner <meissner@tiktok.cygnus.com>
355 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but
356 F_SETOWN is, use that.
359 Mon Apr 10 18:31:57 1995 Stan Shebs <shebs@andros.cygnus.com>
361 Merge in support for Mac MPW as a host.
362 (Old change descriptions retained for informational value.)
364 * mpw-config.in (i386-unknown-go32): Change from aout.
365 (sh-hitachi-hms): New target.
366 * mpw-make.in (BISON): Use byacc instead of bison.
367 (VERSION): Bump to 4.14.1.
368 (*-pinsn.*): Remove mentions everywhere.
369 (all): Don't build MacGDB.
370 (gdb, SiowGDB): Depend on Version.r.
371 (Version.r): Generate from version info.
372 * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS.
373 (main) [MPW]: Remove debugging hook.
374 * mac-xdep.c (debug_openp): New flag.
375 (mac_init): Set flag if env variable defined.
376 * ser-mac.c (mac_open): Clarify error message.
377 (mac_readchar): Call PROGRESS while looping.
378 (mac_write): Call sleep instead of sec_sleep.
380 * source.c (openp) [MPW]: Only print debugging info if debugging.
381 * utils.c (query) [MPW]: Clarify that behavior is a bug.
383 * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.
385 * main.c, source.c: Remove hacks that replace long strings
386 with shorter ones, now solved portably.
388 * config/m68k/xm-mpw.h (spin.h): Include.
389 (ALMOST_STDC): Only define if MPW_C.
390 * config/m68k/tm-mac.h: New file, Mac target definitions.
392 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
393 i386-unknown-aout): New targets.
394 (mk.tmp): Add *DEPFILES definitions.
395 * mpw-make.in: Remove gC rules, clean up definitions for other
396 include files, bump version, fix bogus \ that should be \Option-d.
397 (init.c): Build correctly.
399 * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
400 (ALLDEPFILES): Add somsolib.c.
401 (somsolib.o): Add some dependencies.
403 * mpw-config.in: Use nm-empty.h if host is not target.
404 (xdepfiles): Add mac-xdep.c.o.
406 * mpw-make.in: Add Fortran files.
409 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
410 * ser-mac.c (MacSerial.h): Include instead of Serial.h.
412 * mpw-make.in: Use {s} instead of {srcdir} everywhere.
413 (bindir, libdir): Remove extra colon.
414 (source.c): Compile with C instead of gC.
415 (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}.
416 (install-only): Don't install MacGDB.
417 * source.c (openp) [MPW]: Add a debugging display.
418 (open_source_file) [MPW]: Use MPW basename finders.
419 [MPW_C]: Briefer versions of help for line and list commands.
421 * mpw-make.in: Change references from paread.c to somread.c
423 * mpw-make.in (VERSION): Update to 4.12.3.
424 (SiowGDB): New target, GDB using SIOW library.
425 (init-new.c): New target, attempt to generate init.c from sources.
426 (main.c.o, top.c.o): Put each in its own segment.
427 * main.c (main) [MPW]: Always call mac_init.
428 * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output
429 an extra newline otherwise.
430 * mac-xdep.c: More comments in various places, remove junk.
431 (mac_init): Add tests for MPW and SIOW.
432 (use_wne, has_color_qd): Renamed.
433 (use_color_qd): New variable.
434 (grow_window): Only do console resizing to console window,
435 call resize_console_window.
436 (zoom_window): Call resize_console_window.
437 (resize_console_window, scroll_text): New functions.
438 (adjust_console_sizes): Always align viewrect to even multiples of
440 (adjust_console_text): Always scroll by whole lines.
441 (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a
442 recalculation of scroll positions if a newline was output.
443 (hacked_fflush): Similarly, for flushing.
444 (hacked_fgetc): New function, aborts if called in MacGDB.
445 * ser-mac.c (mac_readchar): Rename starttime to start_time,
446 remove debugging printf.
447 (mac_write): Sleep on first 4 writes.
448 (sec_sleep): New function, works like standard sleep.
449 * macgdb.r: Adjust positioning and contents of About box.
450 Set minimum size to 2000K, preferred size to 5000K.
451 * config/m68k/xm-mpw.h (fgetc): Define as a macro.
453 * mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_.
454 (top.c.o, annotate.c.o): Add build rules.
455 * macgdb.r (SysTypes.r): Include.
456 ('vers'): New resource, version info.
457 (mFile, mEdit, mDebug): Enable all menu items.
458 (mDebug): Add key equivalents for continue, step, next.
459 (wConsole): Add zoom and close boxes to window.
460 * mac-xdep.c (new_console_window): New function, code taken from
462 (mac_command_loop): Use GetCaretTime for wait interval, call
463 do_idle on null events.
464 (do_idle): New function.
465 (zoom_window): Implement zooming.
466 (v_scroll_proc): New function, handles vertical scrolling.
467 (activate_window): Do activation of console window.
468 (do_menu_command): Implement items of file, edit, and debug menus.
469 (do_keyboard_command): Fix command extraction.
470 (adjust_console_sizes, adjust_console_text): New functions.
471 (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc,
472 hacked_putc): Don't call draw_console.
473 * ser-mac.c (mac_open): Add an error message for invalid ports.
474 (first_mac_write): New global.
475 (mac_write): Use first_mac_write to sleep on first several writes.
477 * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir.
478 (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment.
479 (TSOBS): Don't compile inflow.c.
480 (all, install): Add MacGDB.
481 * main.c (main): Do Mac-specific init and command loop if a
482 standalone app, skip full option help message if compiling
484 (gdb_readline): If MPW, add a newline after the (gdb) prompt.
485 * utils.c (_initialize_utils): If MPW, don't try to use termcap to
486 compute the window size.
487 * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc,
488 fflush): Define as macros that expand into hacked_... versions.
489 (StandAlone, mac_app): Declare.
490 * macgdb.r (SIZE): Set the default partition to 4000K.
491 * mac-xdep.c (readline.h, history.h): Include.
492 (terminal.h): Don't include.
494 (gdb_has_a_terminal): Define Mac-specific version.
495 (do_keyboard_command): Simplify search for command string.
496 (readline): Define as gdb_readline.
497 Add other history/readline stubs to make main gdb link.
498 (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs,
499 hacked_fputc, hacked_fflush): New functions, intercept output to
500 stdout and stderr, send to console window.
502 * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb.
504 (main.c.o): Compile with gC instead of C.
505 * mac-defs.h: New file, menu etc definitions shared between
507 * macgdb.r: New file, Rez (resource compiler) resource
509 * mac-xdep.c: New file, Mac host interface code.
510 * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to
512 (PATHNAME_SEPARATOR_STRING): Remove.
513 (SIGQUIT, SIGHUP): Define.
514 (fileno, R_OK): Define.
516 * mpw-config.in: New file, MPW configuration fragment.
517 * mpw-make.in: New file, MPW makefile fragment.
518 * config/m68k/xm-mpw.h: New file, MPW host definitions.
519 * ser-mac.c: New file, Mac serial interface.
521 Mon Apr 10 16:47:57 1995 Kung Hsu <kung@mexican.cygnus.com>
523 * valprint.c (print_longest): Fix a syntax error in #ifdef
524 PRINTF_HAS_LONG_LONG.
526 * config/mips/xm-irix5.h: turn on CC_HAS_LONG_LONG and
527 PRINTF_HAS_LONG_LONG.
528 * config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
530 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
532 * mdebugread.c (parse_symbol): Use new variable
533 nodebug_var_symbol_type as type of variables which don't have any
534 ecoff debug info associated with them.
535 (parse_symbol, parse_procedure): Use heuristics to determine if
536 functions were compiled without debugging info and change their
537 type to nodebug_function_symbol_type.
538 (_initialize_mdebugread): Initialize nodebug_*_symbol_type.
540 * source.c (line_info): Clear sal.pc for `info line' without
543 Fri Apr 7 17:43:01 1995 Stu Grossman (grossman@andros.cygnus.com)
545 * monitor.c: make_xmodem_packet and print_xmodem_packet go away.
546 send_xmodem_packet shows up to do the obvious. Lots of fixes to
547 xmodem downloads including resetting of block number at start of
548 new transfers, fix for buffer overrun problem, addition of CRC
550 * (monitor_open): loadtype_str and loadproto_str now default to
551 first entry in monitor_ops->loadtypes.
552 * (monitor_wait): Lengthen register dump buf, because of verbose
554 * (monitor_fetch_register): Report unimplemented registers as 0.
555 * (monitor_read_memory): Only do 16 byte aligned transfers
556 because of formatting weirdness with the Winbond monitor. Also,
557 ignore non-hex, non-whitespace formatting between bytes (same
559 * (monitor_load): Clean up logic.
560 * (monitor_load_srec): Re-do xmodem support. Move lots of it
561 into send_xmodem_packet.
562 * (getacknak): Get rid of polls and timeouts. Handle CRC
563 requests from receiver.
564 * (monitor_make_srec): Efficiency improvements. Don't call
565 sprintf to output two digit hex numbers.
566 * (crcinit, docrc): New, CRC-16 support routines.
567 * (send_xmodem_packet): New routine to generate either CRC-16 or
568 checksummed xmodem packets.
570 * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes):
571 Reduce tables down to only the load types supported by each
574 * w89k-rom.c (w89k_supply_register): Parses output of Winbond
576 * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem.
577 * (w89k_cmds): Add clear all breakpoints, memory fill, and dump
580 * config/pa/tm-hppa.h: Define lots register offsets needed by
584 Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
586 * Makefile.in (X11_INCLUDES): Define as empty.
587 (X11_CFLAGS): Define as including $(X11_INCLUDES).
588 (X11_LIB_SWITCHES): Define as empty.
589 (X11_LIBS): Define as -lX11.
592 * configure.in (enable_gdbtk): If gdbtk, support the --x-includes
593 and --x-libraries switches, setting the X11_INCLUDES and
594 X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11
595 in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables.
597 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use
598 it. This means that the stop button doesn't work, but is better
602 Wed Apr 5 19:57:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
604 * mips-tdep.c (mips_print_register): Remove unused variable
605 our_type and call to init_type. Fixes memory leak. Reindent function.
607 * mips-tdep.c (mips_print_register), findvar.c
608 (write_register_bytes): Make buffer char[] instead of unsigned
611 Mon Apr 3 19:28:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
613 * top.c, utils.c, main.c, defs.h: Replace error_pre_print with two
614 variables: error_pre_print (for RETURN_ERROR) and quit_pre_print
615 (for RETURN_QUIT). Fixes a bug whereby typing ^C (e.g. in "maint
616 print sym") could output extraneous stuff.
617 * objfiles.c: Don't declare error_pre_print; defs.h does it.
619 Mon Apr 3 13:48:28 1995 Stu Grossman (grossman@andros.cygnus.com)
621 * monitor.h: Add MO_GETMEM_NEEDS_RANGE flag.
622 * monitor.c (monitor_read_memory): Use previously mentioned flag
623 to send proper format memory examine commands to the w89k monitor.
624 Also, try to handle bizarre format of memory dump...
626 * op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions.
628 Sat Apr 1 03:22:20 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
630 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
631 Handle relocated symbol address.
632 * partial-stab.h, case N_SO, SOFUN_ADDRESS_MAYBE_MISSING:
633 Do not relocate a zero address.
635 Thu Mar 30 19:46:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
637 * config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; it
640 * stabsread.c (read_range_type): Remove FIXME comment about
641 type-id (I presume this meant a number followed by = followed by a
642 type) versus type number; Per fixed it.
644 Wed Mar 29 09:56:04 1995 Jason Molenda (crash@phydeaux.cygnus.com)
646 * configure.in: sparc-*-sunos5* is same as sparc-*-solaris2*.
648 Wed Mar 29 18:30:03 1995 Stan Shebs <shebs@andros.cygnus.com>
650 * remote-e7000.c (why_stop): Add new kinds of strings to expect
652 (e7000_wait): Add interpretations for more stop reasons,
653 including warnings for write protect and cycle address errors.
655 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
658 * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate
659 locations (per-host) for X11 include files.
660 * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force
661 the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs
662 of the R5 include files.
664 * monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of
665 support for interrupting target.
666 * monitor.c (monitor_open): Send stop command before doing
668 * (monitor_load_srec): Fix record size calculation to prevent end
669 of segment from getting trashed.
670 * rom68k-rom.c: Update to latest version of struct monitor_ops.
671 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order
672 problems. Makes DOS hosted function calling work.
673 * sparclite/crt0.s: Define _start to make COFF happy.
675 Wed Mar 29 09:11:51 1995 Michael Meissner <meissner@tiktok.cygnus.com>
677 * defs.h (atof): Don't provide an external declaration if atof is
680 Wed Mar 29 00:01:07 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
682 * rs6000-tdep.c (skip_prologue): Skip saving of LR and CR in
683 the stack frame, fix typos in `st rx,NUM(r1)' and `stu r1,NUM(r1)'
686 Tue Mar 28 17:04:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
688 * gdbtypes.c (create_range_type): If indextype has TYPE_FLAG_STUB
689 set, set TYPE_FLAG_TARGET_STUB.
690 (check_stub_type): Recalculate TYPE_LENGTH for range type.
691 * stabsread.c (read_range_type): If index type number is followed
692 by '=', back up, call read_type. and assume we have a true range.
693 * gdbtypes.h (TYPE_FLAG_TARGET_STUB): Update comment.
695 Mon Mar 27 22:51:54 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
697 * alpha-nat.c, irix4-nat.c, irix5-nat.c, mipsv4-nat.c,
698 sparc-tdep.c (supply_gregset, supply_fpregset): Fill inaccessible
699 registers with zero to handle recent read_register_bytes change.
700 * irix4-nat.c, irix5-nat.c, mipsv4-nat.c (supply_gregset,
701 fill_gregset): Fix handling of CAUSE_REGNUM.
702 * mips-nat.c (store_inferior_registers): Handle unwritable
703 registers when storing a single register.
704 * config/mips/tm-irix3.h (CAUSE_REGNUM, BADVADDR_REGNUM):
707 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Clear
708 allocated mips_extra_func_info, if the debug info is corrupt,
709 the PDR to fill it in might be missing.
711 Mon Mar 27 14:43:00 1995 Kung Hsu <kung@mexican.cygnus.com>
713 * vx-share/regPacket.h: a new file interfacing with vxworks.
715 Sun Mar 26 13:22:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
717 * breakpoint.c (bpstat_do_actions): Once we've executed the
718 commands, set bs->commands to NULL.
720 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
722 * buildsym.c (patch_subfile_name): Update last_source_file
723 with the real source file name.
724 * dbxread.c (end_psymtab): Handle static functions in the
725 SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
726 to lookup_minimal_symbol.
727 (process_one_symbol): Ignore extra outermost context from
729 * stabsread.c (define_symbol): Do not complain for SunPRO
730 static variable encoding if STATIC_TRANSFORM_NAME is defined.
731 * sparc-tdep.c, config/sparc/tm-sun4sol2.h
732 (sunpro_static_transform_name): Renamed from
733 solaris_static_transform_name.
734 * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
735 Define to sunpro_static_transform_name for acc 3.0 compiled
737 * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
738 Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
740 * procfs.c (info_proc_siginfo): Cast sip->si_addr to
741 `unsigned long' and use `lx' format for printing it.
743 Fri Mar 24 15:45:42 1995 Stu Grossman (grossman@cygnus.com)
745 * configure.in: Move test for m68*-est-* before m68*-*-coff*.
746 * findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
747 the beginning of the code.
748 * (write_register_gen): New routine. Analogous to
750 * (write_register_bytes): Another rewrite! Make it smarter about
751 not updating regs with the same value.
752 * monitor.c (printf_monitor readchar): Use stderr instead of
753 stdout to output debug info. Also cleanup readchar a little.
754 * (expect): Make sure that excessive responses are null
756 * (monitor_open): Check for magic number in monitor_ops struct.
757 Allow multiple commands as init strings. Also, clear all
759 * (monitor_resume monitor_wait): Send a command to dump all the
760 regs for those targets which don't do so when waking up after a
762 * (monitor_wait): Handle excessive response output better.
763 * (monitor_write_memory): Use block fill, word, and long word
764 commands (if they exist) to write memory more efficiently.
765 * General cleanups to use flag bits instead of individual flag
766 words in monitor_ops struct.
767 * (monitor_command): Return output from command.
768 * (monitor_load_srec): Allocate buffer only once. Use alloca.
769 Wait for load response string instead of using a timeout to start
770 sending S-records. Fix bug where value of srec_frame shrinks. If
771 hashmark is set, print `-' for retransmissions. General cleanups.
772 * (monitor_make_srec): Get rid of S-record default type kludge.
773 * monitor.h: Use seperate struct for memory and register
774 read/write commands. Memory commands can come in byte, word,
775 long, and longlong forms.
776 * (monitor_ops): Change lots of fields. Generalize some stuff.
777 Put all flags into flags word. Allow init to be a list of commands.
778 Add command for clearing all breakpoints, block fill, dumping all
780 * remote-est.c: Rewrite to use new monitor conventions.
781 * config/m68k/est.mt (TDEPFILES): Add monitor.o.
782 * config/m68k/tm-est.h: Set NUM_REGS to 18.
783 * testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test
786 Thu Mar 23 23:20:00 1995 Jeff Law (law@snake.cs.utah.edu)
788 * somsolib.c (som_solib_add): Handle case where a shared library
789 referenced by a core file has sections without the SEC_ALLOC bit
790 set (eg stabs sections).
792 Thu Mar 23 15:07:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
794 * breakpoint.c (bpstat_do_actions): For each element in the bpstat
795 chain, do all the commands regardless of whether they run the
798 Wed Mar 22 19:17:06 1995 Doug Evans <dje@cygnus.com>
800 * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as
801 BREAKPOINT if mono-endian.
802 (break_insn): Deleted.
803 (big_break_insn, little_break_insn): Define.
804 (memory_insert_breakpoint): Handle bi-endian cpus.
805 (BREAKPOINT_LEN): Define.
806 (memory_remove_breakpoint): Use it.
807 (memory_breakpoint_size): Likewise.
809 Tue Mar 21 17:03:17 1995 Kung Hsu <kung@mexican.cygnus.com>
811 * sparc-stub.c: add nop after 'bg good_wim'.
812 * sparcl-stub.c: ditto.
814 Tue Mar 21 13:34:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
816 * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
817 TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
819 Mon Mar 20 10:09:59 1995 Jeff Law (law@snake.cs.utah.edu)
821 * hppab-nat.c (store_inferior_registers): Sync with HPUX version.
823 Mon Mar 20 07:34:48 1995 Stu Grossman (grossman@cygnus.com)
825 * hppah-nat.c (store_inferior_registers): Move check for
826 CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors
827 found by test suite during function calls, which attempts to write
828 unwritable registers.
830 Sat Mar 18 02:02:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
832 * mdebugread.c (parse_symbol): If finishing a function without
833 known parameter type info, set that from parameter symbols.
834 Remove commented-out add_param_to_type support.
836 Thu Mar 16 16:38:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
838 * xcoffread.c (process_linenos): Make sure filename we pass to
839 start_subfile will cause deduce_language_from_filename to return
840 the correct thing. Reindent function to GNU standards.
842 Thu Mar 16 15:54:00 1995 J.T. Conklin <jtc@rtl.cygnus.com>
844 * nlm/gdbserve.c (handle_exception): #if out call to StopBell,
845 as it is not available on NetWare 3 or PIN.
846 * nlm/ppc.c (StopBell): Removed.
848 Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
850 * xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
851 inferred from the traceback tags, give its type the name
852 "<non-float parameter>".
854 * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
856 Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
858 * findvar.c (read_register_bytes write_register_bytes): Make
859 these routines much smarter about updating registers from the
860 target, only doing so when absolutely necessary. This really
861 speeds up register modification on some remote targets.
863 * monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
864 BFD makes this unnecessary. Lots of debugging speedups.
865 * (expect): NULL terminate return string.
866 * (monitor_open monitor_supply_register parse_register_dump
867 monitor_wait monitor_fetch_register): Switch to using GNU regexp
868 library to parse multi-register displays.
869 * (monitor_read_memory): Read multiple bytes (up to 16) at once.
870 * (monitor_create_inferior): Call clear_proceed_status to make run
871 command notice first breakpoint.
872 * (monitor_load): Clean up. Reset inferior_pid, set pc to start
873 address and reset symbol table stuff to make loads put things into
875 * (monitor_load_srec): Lower sleep time to 1 second.
877 * monitor.h (struct monitor_ops): Add register_pattern and
878 supply_register to monitor_ops.
880 * rom68k-rom.c: Add new support for handling register dumps.
881 * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
884 Wed Mar 15 15:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
886 * utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make
887 argument be an int, not a char. Using a prototype followed by an
888 old-style function definition in a case where an argument is
889 widened is a GCC-ism not supported by the native AIX compiler.
891 Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
893 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
896 * configure.in (alpha-*-netware*): Removed configuration.
897 * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
898 * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
899 alpha.c, alpha.h, altdebug.h}: Removed.
901 * nlm/gdbserve.c (main): Add support for processing BOARD=
902 argument, deprecate NODE=.
904 Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
906 * c-exp.y (yylex): Make an empty character constant an error.
908 Tue Mar 14 15:00:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
910 * valops.c (value_arg_coerce): Do possible value_coerce_array
911 before determining type argument to value_cast.
913 Tue Mar 14 10:41:41 1995 Kung Hsu <kung@mexican.cygnus.com>
915 * remote-es.c: Replace ignore with 0.
917 Tue Mar 14 05:52:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
919 * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
920 If VALUE_REPEATED is already set, just error out.
922 * valops.c (value_cast, value_slice), parse.c (follow_types): Add
923 FIXME-type-allocation comments.
925 * gdbtypes.h (struct type): Fix comment about what units the
928 Mon Mar 13 18:27:25 1995 Stan Shebs <shebs@andros.cygnus.com>
930 * ch-valprint.c (annotate.h): Include.
931 * eval.c (evaluate_subexp_standard): Remove unused variable.
932 (calc_f77_array_dims): Add parens to expression.
933 * f-exp.y (yylex): Add parens to expression, remove unused label.
934 * f-lang.h (calc_f77_array_dims): Declare.
935 * f-valprint.c (f_val_print): Remove unused variables.
937 Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
939 * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
940 use the PDR, just examine prologues instead.
943 Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com>
945 * config/tm-arc.h: Change arc register names.
948 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
950 Fix problems with infinite recursion when printing a class
951 that contains a static instance of the class.
952 * cp-valprint.c (dont_print_vb_obstack): Renamed from
953 dont_print_obstack, made static.
954 (dont_print_statmem_obstack): New obstack, controls printing
955 of static member classes.
956 (_initialize_cp_valprint): Initialize it.
957 (cp_print_static_field): New function, handles printing of
959 (cp_print_value_fields): New parameter dont_print_statmem to
960 handle recursive printing of static member classes, use
961 cp_print_static_field to handle printing of static members.
962 * c-valprint.c (cp_print_value_fields): Update prototype and
963 call to include additional dont_print_statmem parameter.
964 * c-valprint.c, f-valprint.c (dont_print_obstack): Remove unused
967 * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>.
969 * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call
970 alpha_find_saved_regs if fi->saved_regs is still NULL.
972 * elfread.c (elf_symtab_read): Ensure that the filename field
973 of a minsym is nonempty. Ignore solib trampoline symbols from
974 the main symbol table, they might have a bogus value.
976 * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
977 Fix typos in comments.
979 Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
981 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
982 pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way
983 we know whether the PDR ever got set.
984 * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
985 use the PDR, just examine prologues instead.
987 Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu)
989 * somsolib.c (som_solib_section_offsets): Get offset of text
992 Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
995 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
996 type is not bp_breakpoint.
999 * source.c (forward_search_command reverse_search_command): Set
1000 convenience variable $_ to be the line # of the match.
1001 * symtab.c (decode_line_1): Allow convenience variables to be
1002 used in line specs (for breakpoints and such).
1004 Wed Mar 8 12:51:00 1995 Stan Shebs <shebs@andros.cygnus.com>
1006 * Makefile.in (VERSION): Bump to 4.14.1.
1007 * NEWS, README: Update for 4.14.
1008 * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
1009 (i386_insert_nonaligned_watchpoint): Call aligned instead of
1010 generic watchpoint insertion.
1012 Tue Mar 7 19:26:10 1995 Per Bothner <bothner@kalessin.cygnus.com>
1014 * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
1016 Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com)
1018 * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops
1020 * monitor.c (monitor_create_inferior): Allow run command to start
1023 * monitor.c (monitor_load): Set PC to start address when done
1026 * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops.
1027 Remove ref to monitor_create_inferior.
1029 * monitor.c: More general cleanups. Add prototypes, remove
1030 unused routines. Fix bug with wrong number of args to error().
1032 * main.c (main): Don't start up GUI when running under gdb mode
1035 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
1036 Sun make (with VPATH) work...
1038 * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP
1039 (rom68k) target work right.
1040 * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new
1041 monitor.c interface. More work needs to be done here.
1042 * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to
1043 match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no
1044 floating-point for this card.
1046 * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
1047 ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits
1048 (needed for IDP board?!?!?).
1050 * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c: Fix defs
1051 and usage of fputc_unfiltered and putchar_unfiltered. Eliminate
1052 putc_unfiltered (it's superfluous).
1054 * command.h, command.c, top.c: Add var_enum command type. It's
1055 like var_string but allows only only one of the specified strings.
1057 Mon Mar 6 15:03:59 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1059 * valops.c (value_cast): Don't use backslash newline--pre-ANSI
1060 compilers (such as SunOS4 /bin/cc) don't generally support it
1061 except in some contexts.
1063 Fri Mar 3 17:42:48 1995 Per Bothner <bothner@kalessin.cygnus.com>
1065 * valops.c (value_cast): Check for cast to array type *before*
1066 we coerce array to pointer (in case arg2 is already array).
1068 * valops.c (call_function_by_hand): Set using_gcc to 2 if using
1069 gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc.
1070 Also check REG_STRUCT_HAS_ADDR for union, array and string types.
1072 * valops.c (call_function_by_hand): Re-arrange code for pushing
1073 paramaters on the stack so we can do better STACK_ALIGN.
1075 * valops.c (call_function_by_hand): Call error if the number
1076 of arguments is fewer than parameter types in function type.
1078 Fri Mar 3 17:13:05 1995 Doug Evans <dje@canuck.cygnus.com>
1080 * sparc-tdep.c (sparc_extract_struct_value_address): Move
1081 sparc64 support to here.
1082 (sparc64_extract_struct_value_address): Deleted.
1083 (dump_ccreg): Add a prototype so long long arg -> int.
1084 * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
1085 (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1087 Fri Mar 3 15:12:12 1995 Jeff Law (law@snake.cs.utah.edu)
1089 * hpread.c (hpread_record_lines): New argument "offset". All
1090 callers changed. Use it to handle dynamic address relocation.
1091 (hpread_build_psymtabs): Adjust texthigh as we read each function
1092 debug symbol. Fix computation of texthigh.
1093 (hpread_read_subrange_type): Work around macro bugs in HP's
1095 (hpread_process_one_debug_symbol): Correctly map source lines.
1097 * somread.c (check_strange_names): Filter names emitted by the HP
1098 compiler when generating PIC code.
1100 * valops.c (value_struct_elt_for_reference): Work around macro
1101 bugs in HP's compilers.
1102 * c-exp.y (block): Likewise.
1104 Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1106 * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
1109 * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
1111 Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1113 * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
1114 registers that GCC emits on the PowerPC by default in addition to
1115 the store multiple instruction used on the Power series.
1117 Fri Mar 3 00:54:58 1995 Doug Evans <dje@canuck.cygnus.com>
1119 * sparc-tdep.c (decode_asi): New function.
1120 (sparc_print_register_hook): Pretty print more v9 registers.
1121 * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
1123 Thu Mar 2 22:20:22 1995 Doug Evans <dje@canuck.cygnus.com>
1125 * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
1126 (target_to_host): Change result type to CORE_ADDR.
1128 Thu Mar 2 15:13:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1130 * rs6000-tdep.c: Fix byte-swapping sins.
1132 Thu Mar 2 16:48:45 1995 Michael Meissner <meissner@cygnus.com>
1134 * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
1135 code between branch unconditional and branch conditional cases.
1137 Wed Mar 1 09:41:26 1995 Doug Evans <dje@canuck.cygnus.com>
1139 Various changes for sparc64.
1140 * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
1141 (SPARC_INTREG_SIZE): Define.
1142 (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
1144 (enum branch_type): New value `done_retry'.
1145 (isbranch): Renamed from isannulled. All callers changed.
1146 Support new sparc64 branch insns.
1147 (single_step): Handle done_retry.
1148 (sparc_extract_struct_value_address): Don't assume 4 byte regs.
1149 (get_saved_register): Likewise.
1150 (sparc_push_dummy_frame): Likewise.
1151 (sparc_frame_find_saved_regs): Likewise.
1152 (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM,
1153 or PS_REGNUM if not sparc64. sparc64 has 64 fp regs.
1154 (sparc64_extract_struct_value_address): New function.
1155 (dump_ccreg, sparc_print_register_hook): Likewise.
1156 * sp64-tdep.c: Deleted.
1157 * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
1158 (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
1159 (CC_HAS_LONG_LONG): Define.
1160 (REGISTER_NAMES): Delete cle/tle and reorganize.
1161 (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
1163 (REGISTER_BYTES): Update.
1164 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
1165 (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h.
1166 (NO_SINGLE_STEP): Likewise.
1167 * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
1168 * sparc/sp64.mt: Move simulator support ...
1169 * sparc/sp64sim.mt: ... to here.
1171 Wed Mar 1 13:14:42 1995 Kung Hsu <kung@mexican.cygnus.com>
1173 * remote-vx960.c: new file for target specific register packaging.
1174 * remote-vx68.c: ditto.
1175 * config/i960/vxworks960.mt: add remote-vx960.o.
1176 * config/m68k/vxworks68.mt: add remote-vx68.o.
1178 Wed Mar 1 13:42:49 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1180 * remote.c (remote_wait): Make calls to strtol be type correct by
1181 passing the address of a char * pointer instead of an unsigned
1184 * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
1185 write_memory to make things type correct.
1187 Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com>
1189 * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
1190 standard Linux yacc by adding more names to be redefined with a
1193 Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1195 * hppa-tdep.c (pa_print_registers), monitor.c: Use
1196 extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
1197 * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
1198 Rename it to SWAP_FLOATING to make it clear it is no longer for
1201 Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
1203 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
1207 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
1209 * remote-arc.c (arc_wait): when a processor stops, stop other two
1211 * remote-arc.c (switch_command): switch tm_print_insn.
1214 * vx-share/ptrace.h: merge in WRS new ptrace requests.
1216 * defs.h: fix a syntax error.
1218 * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
1219 * remote-vx.c: move read_register and write_register out to
1220 target specific files.
1221 * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
1223 * defs.h: define SWAP_TARGET_AND_HOST macro.
1224 * findvar.c, monitor.c, hppa-tdep.c: remove definition of
1225 SWAP_TARGET_AND_HOST.
1227 Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1229 * alpha-tdep.c (find_proc_desc): Only attempt to set
1230 PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
1232 Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
1234 * monitor.c: General gcc -Wall lint cleanup and reformat.
1235 (monitor_command): If no args, send an empty command.
1237 Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com)
1239 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
1240 after send LOAD_CMD to prevent loss of first S-record.
1242 Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
1244 * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2.
1245 Call error if too few arguments.
1246 If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
1247 copy and convert to reference *before* we calculate alignment.
1248 Also, make sure structs allocated for return values and invisible
1249 reference don't violate STACK_ALIGN.
1251 Tue Feb 21 23:29:59 1995 Per Bothner <bothner@rtl.cygnus.com>
1253 * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
1254 (same as C's '(TYPE[])EXPR')
1256 Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
1258 * top.c (print_gdb_version): Update the year.
1260 Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1262 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
1263 `..' not in `../..'.
1265 Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1267 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
1268 in addition to a PIOCSSIG to kill the inferior.
1270 Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
1272 * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
1273 create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
1274 * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
1275 of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
1276 * c-typeprint.c (c_type_print_varspec_suffix): If array length
1277 is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
1279 Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1281 * dcache.c (insque, remque): Rewrite Linux support.
1283 Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1285 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
1287 * dcache.c (insque, remque): If compiling in standard C on Linux,
1288 protect insque and remque with macros to cast the pointer
1289 arguments to the proper type.
1291 Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
1293 * annotate.c, breakpoint.c, defs.h, top.c: Replace
1294 enable/disable_breakpoint_hook with modify_breakpoint_hook.
1295 start-sanitize-gdbtk
1297 * gdbtk.c: General cleanups, get rid of unused variables. Redo
1298 handling of stdout/stderr to just return output as the result of
1299 the tcl command that caused the output. Cleanup -Wall stuff.
1300 * (breakpoint_notify): Now returns just action and breakpoint
1302 * (gdb_get_breakpoint_list): New routine. Does the obvious.
1303 * (gdb_get_breakpoint_info): Mostly derived from the old
1304 breakpoint_notify, but returns lots more info.
1305 * (dsprintf_append_element): Helper routine, works like printf,
1306 but appends a tcl element onto the specified DString. Good for
1307 building up lists as return values.
1308 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
1309 gdbtk_modify_breakpoint.
1310 * (*many routines*): Use new result protocol.
1311 * (call_wrapper): Make sure that recursive calls don't trash results.
1312 * gdbtk.tcl: New windows, autocmd, and breakpoints.
1313 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
1314 anymore. It's not needed (in fact, this routine may not be needed
1316 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
1317 notification protocol.
1318 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
1320 * (interactive_cmd): Use this wrapper around button invocations
1321 of many commands. This will catch errors and put the results into
1322 the command window. It also updates all the other windows.
1323 * Also, change reliefs of most things to sunken. This actually
1325 * (create_file_win): Fix margin binding to allow breakpoints to
1327 * (create_asm_win): Use return value of gdb_disassemble instead
1328 of implicit I/O to the command window.
1329 * (create_command_window): Use new result protocol to get output
1333 Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1335 * expression.h: Move declaration of evaluate_subexp_with_coercion
1337 * value.h: ...to here.
1338 * expression.h: Don't include value.h
1340 Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1342 * expression.h: Move include of value.h until after declaration of
1345 Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
1347 * remote-e7000.c: Comprehensive cleanup; removal of dead code,
1348 simplify code, declare things, format to standards.
1349 (inferior.h, value.h, command.h, remote-utils.h): Include.
1350 (e7000_login): Rename to e7000_login_command.
1351 (e7000_ftp): Rename to e7000_ftp_command.
1352 (e7000_drain): Rename to e7000_drain_command.
1354 * irix5-nat.c (string.h): Include near beginning of file.
1356 Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1358 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
1359 arg, it is a value not a symbol.
1362 * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
1363 * expression.h: ..to here.
1364 * expression.h: Include value.h.
1365 * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
1367 Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
1369 * language.h (struct language_defn): New field evaluate_exp.
1370 * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
1371 f-lang.c (f_language_defn), language.c (unknown_language_defn,
1372 auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
1373 Set evaluate_exp to evaluate_subexp_standard.
1374 * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
1375 support for MULTI_SUBSCRIPT.
1376 (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
1377 * eval.c (enum noside): Move from here ....
1378 * expression.h (enum noside): ... to here.
1379 (evaluate_subexp_standard): New prototype.
1380 * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
1381 Removed lo-longer-needed test for chill_varying_type.
1382 (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
1384 * ch-exp.y (maybe_expression_list): New non-terminal.
1385 (primitive_value): Allow empty parameter list.
1387 Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
1389 * buildsym.c (finish_block): If finishing a function without known
1390 parameter type info, set that from parameter symbols.
1391 * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
1392 print parameter types, if available.
1393 * ch-typeprint.c (chill_type_print_base): Likewise.
1395 * gdbtypes.h (struct type): Remove function type field.
1396 (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
1397 function types now that we're also storing parameter types.
1398 And the payoff is much less.
1399 * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
1400 (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
1401 * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
1403 * valops.c (value_arg_coerce): Now takes param_type argument.
1404 (call_function_by_hand): Convert arguments with value_arg_coerce
1405 early, and overwrite original args with converted args.
1406 No longer need multiple calls to value_arg_coerce.
1407 (value_arg_push): Removed.
1408 * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
1409 * mips-tdep.c (mips_push_arguments): Likewise.
1410 * alpha-tdep.c (alpha_push_arguments): Likewise.
1411 * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
1413 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
1415 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
1417 * symtab.c (add_param_to_type): Remove (commented-out) function,
1418 since that functionality has been re-written.
1419 * coffread.c: Remove commented-out add_param_to_type support.
1420 * mdebugread.c (parse_symbol): Likewise.
1421 * stabsread.c (define_symbol): Likewise.
1423 Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1425 * buildsym.c (start_subfile): Set language for f2c like for cfront.
1427 Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
1429 * op50n-rom.c: Add the control registers.
1431 Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
1433 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
1434 after, any host/target/native libraries.
1435 * dcache.c (insque, remque): Remove declarations.
1436 * gdbtypes.h (type_code): Remove trailing comma.
1439 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
1440 STATIC_NODEBUG_VARS inside case.
1442 Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1444 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
1445 * partial-stab.h: Call it.
1446 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
1447 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
1449 * sparc-tdep.c (solaris_static_transform_name): New function.
1451 Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
1453 * somread.c (som_symtab_read): Handle dynamic relocation for both
1454 text and data symbols.
1455 (som_symfile_offsets): If objfile is a shared library, then get
1456 text and data offsets from the shared library structures.
1457 * somsolib.c (som_solib_add): Copy the bfd pointer from the
1458 objfile rather than reopening the file again.
1459 (som_solib_section_offsets): New function.
1460 * somsolib.h (som_solib_section_offsets): Declare.
1462 Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1464 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
1465 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
1466 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
1468 * elfread.c (record_minimal_symbol_and_info),
1469 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
1470 newly created symbol.
1471 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
1472 Set filename field of minimal symbol.
1473 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
1474 Print filename field.
1475 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
1476 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
1477 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
1478 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
1479 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
1480 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
1481 Find address of function from minimal symbols.
1482 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
1483 instead of getting pst->textlow from the stab.
1484 * minsyms.c (find_stab_function_addr): New function.
1486 Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
1488 * monitor.c: Fix so all the output shows up in the GUI command
1491 Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
1493 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
1494 line, so init.c generation works correctly.
1496 * arc-tdep.c (_initialize_arc_tdep): Ditto.
1499 Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
1501 * config/mips/idt.mt: Add support for the lsi33k target.
1502 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
1503 * array-rom.c: Finish the rest of the support commands needed by
1505 * mips-tdep.c: Add LSI33k register names and processor type.
1507 start-sanitize-gdbtk
1508 Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1510 * gdbtk.c (gdb_disassemble): Deference pointer to function before
1511 calling it (pre-ANSI compilers generally require this).
1514 Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
1516 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
1518 Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
1520 * ser-go32-para.c (dos_read): fix syntax errors.
1522 Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
1524 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
1525 dis_asm_read_memory_hook. We can now call the disassemblers
1526 directly and have no need for this hook anymore.
1527 start-sanitize-gdbtk
1528 * gdbtk.c (gdb_disassemble): Ditto.
1530 * defs.h, printcmd.c: Make print_insn be static.
1532 * ser-go32.c (dos_comisr): Make this 8 bit clean.
1533 * (dos_open dos_close): Allow multiple opens to the same device.
1534 Use a ref count to prevent unwanted deallocations.
1535 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
1537 * (sparclite_ops): Switch to download_stratum.
1538 * target.h (enum strata): Move download_stratum before
1539 process_stratum so that executable targets get pushed on top of
1542 Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
1544 * array-rom.c: Remove the non GDB remote protocol config stuff.
1546 * monitor.c: All reading/writing functions for memory and
1549 Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
1552 * config/arc/arc.mt: new target makefile for arc processor.
1553 * config/arc/tm-arc.h: new target header for arc processor.
1554 * config/arc/go32.mh: new go32 host makefile for arc processor.
1555 * config/arc/xm-go32.h: new go32 host header for arc processor.
1556 * arc-tdep.c: new target dependent codes for arc processor.
1557 * remote-arc.c: new file for arc-specific protocol through
1560 * ser-go32-para.c: new file for go32 parallel port communication.
1562 Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
1564 * Makefile.in (VERSION): Bump to 4.13.2.
1566 Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1568 Fix compiler warnings:
1569 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
1570 and have the caller do the sprintf. Saves us from varargs hell.
1571 (normal): Define before use.
1572 * remote-e7000.c: Reindent a few things.
1574 Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
1576 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
1577 ranges in reverse order.
1578 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
1580 * eval.c (evaluate_subscript): Don't call value_subscript, since
1581 it adjusts for lower bound and enforces ranges.
1583 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
1584 * eval.c, parse.c: Removed uses of removed opcodes.
1585 * eval.c (evaluate_subexp): Clean up handling of
1586 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
1588 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
1589 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
1591 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
1592 duplicate function made redundant by chill_varying_type.
1594 Re-write of f77 string and complex number support:
1596 * language.h (struct language_defn): New fields string_lower_bound
1597 and string_char_type.
1598 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
1599 language.c (unknown_language_defn, auto_language_defn,
1600 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
1601 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
1602 * gdbtypes.c (create_string_type): Use new string_char_type field.
1603 * valops.c (value_string): Use new string_lower_bound field.
1605 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
1606 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
1607 m2-lang.c (m2_create_fundamental_type),
1608 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
1609 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
1610 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
1611 Removed. Use builtin_type_complex and builtin_type_double_complex.
1613 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
1614 and TYPE_CODE_LITERAL_COMPLEX.
1615 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
1616 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
1617 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
1618 f77_create_literal_string_type): Removed.
1619 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
1620 VALUE_SUBSTRING_MYADDR): Removed.
1622 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
1624 * parse.c: Update accordingly.
1626 * f-valprint.c (f77_print_cmplx): Removed.
1627 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
1629 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
1630 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
1631 f77_value_literal_string.
1632 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
1633 f77_assign_from_literal_string, f77_assign_from_literal_complex):
1635 (value_assign): No longer need to handle literal types.
1636 * valops.c (f77_value_literal_complex), value.h: Re-written and
1637 renamed to value_literal_complex. Last arg is now a (complex) type.
1638 * valops.c (f77_cast_into_complex): Re-written and renamed to
1640 * eval.c (evaluate_subexp): Update accordingly.
1642 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
1643 print address for non-'s'-formats.
1644 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
1645 of chill_is_varying_struct.
1647 Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
1650 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
1651 (after_prologue): Remove unused local b.
1652 * procfs.c (thread.h): Include.
1653 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
1654 nested braces in initializer.
1655 * top.c (initialize_targets, initialize_utils): Declare.
1656 (locate_arg, insert_args): Add parens around tested assignments.
1657 * remote-utils.c (sr_scan_args): Remove decl of strtol.
1658 * remote.c (thread.h): Include.
1659 (remote_wait): Remove unused local p2.
1660 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
1663 defs.h (stdlib.h): Include.
1664 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
1665 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
1666 strtok, strerror): Don't specify parameter types in declaration.
1668 Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
1670 * ch-exp.y (value_string_element, string_primitive_value,
1671 start_element, left_element, right_element, slice_size,
1672 lower_element, upper_element, first_element): Removed.
1673 (value_string_slice, value_array_slice): Replaced by ...
1674 (slice): New non-terminal, with working slice support.
1675 (primitive_value_lparen, rparen): New non-terminals.
1676 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
1677 (idtokentab): Added "up".
1679 * value.h (COERCE_VARYING_ARRAY): New macro.
1680 * valarith.c (value_subscript): Use it.
1681 * valops.c (value_cast): Likewise. Also, do nothing if already
1682 correct type, and allow converting from/to range to/from scalar.
1684 * valops.c, value.h (varying_to_slice, value_slice): New functions.
1685 * eval.c (OP_ARRAY): Add cast for array element.
1686 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
1687 * valops.c (chill_varying_type): Moved function frp, here ...
1688 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
1689 * parse.c (length_of_subexp, prefixify_subexp): Add support
1690 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
1691 * expprint.c (print_subexp, dump_expression): Likewise.
1692 * eval.c (evaluate_subexp): Likewise.
1694 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
1695 value_x_binop on a Chill varying string.
1697 Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1699 * config/m68k/monitor.mt,
1700 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
1701 depfiles in TDEPFILES not REMOTE_O.
1703 Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
1705 From nigel@algor.co.uk.
1706 * ser-go32.c (dos_close): Don't crash if scb null.
1707 (dos_sendbreak): New function.
1708 (dos_ops): Point to dos_sendbreak.
1709 (dos_info): Calculate COM number correctly.
1711 Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1713 * xcoffread.c (process_xcoff_symbol): Use new variables
1714 func_symbol_type and var_symbol_type as type of functions and
1715 variables which don't have any stabs associated with them.
1716 Reindent most of function.
1717 (_initialize_xcoffread): Initialize *_symbol_type.
1719 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
1720 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
1721 them (this part commented out as I didn't quite get it to work).
1722 (cs_to_section, find_targ_sec): New functions, to support above code.
1723 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
1726 Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
1727 start-sanitize-gdbtk
1728 * gdbtk.tcl (create_file_win): Disable old popup menu for source
1731 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
1732 downloads to SPARClite demo boards.
1734 Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1736 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
1737 no hope of working as is for a long time (in particular, shebs' 27
1738 Jan 95 change confuses the issue further--target_read_memory and
1739 xfer_core_file do *not* do the same thing in this context).
1742 Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1744 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
1745 procedure linkage table symbols, it is no longer set due to the
1746 Jan 6 BFD change in bfd/elfcode.h.
1748 Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
1750 * top.c (use_windows): Clarify comments.
1752 * convex-tdep.c (xfer_core_file): Comment out.
1753 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
1754 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
1755 references to target_read_memory.
1756 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
1758 * corelow.c (core_open, core_detach): Make static.
1760 * arm-tdep.c: Make it compile.
1761 (exec_file_command, xfer_core_file): Comment out.
1762 (arm_print_insn): Remove, now in libopcodes.
1763 (skip_prologue): Comment out most of body.
1764 (arm_frame_find_saved_regs): Move here from tm-arm.h.
1765 (_initialize_arm_tdep): Set tm_print_insn.
1766 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
1767 (XFER_CORE_FILE): Remove.
1768 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
1770 Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1772 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
1774 Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1776 * symtab.c (find_pc_line): When subtracting one to get a line
1777 number, make sure not to end up with zero.
1779 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
1780 problems with those changes were (a) the file didn't compile, (b)
1781 they changed memset to bzero--memset is correct, (c) they took out
1782 code to deal with boards lacking floating point, (d) who knows
1783 what I didn't discover in a quick read.
1785 Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
1787 * sparcl-tdep.c: Clean up formatting and indentation.
1789 Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
1791 * remote-hms.c (hms_ops): Change ref of hr_load_image
1793 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
1794 dcache_poke, dcache_init): Deleted.
1795 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
1796 Use dcache routines provided by remote-util.h
1798 Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
1800 * configure.in: Add support for powerpc-*-eabi.
1802 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
1805 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
1807 * language.h (struct language_defn): New field c_style_arrays.
1808 * language.c (unknown_language_defn, auto_language_defn,
1809 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
1810 asm_language_defn): Set c_style_arrays to true.
1811 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
1812 f-lang.c (f_language_defn): Set c_style_arrays to false.
1813 * valops.c (value_string): If c_style_array is not set,
1814 allocate string in gdb (not inferior) using allocate_value.
1816 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
1817 Only call value_coerce_array if current_language->c_style_arrays.
1818 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
1820 * valops.c (chill_varying_type): New predicate.
1821 * valops.c (value_cast): Support assigning a fixed string or array
1822 to a variable string/array structure.
1824 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
1825 Check index>=lowerbound, and then add lowerbound to index here,
1826 instead of in caller. Generalize to arbitrary lval_types.
1827 (value_subscript): Use enhanced value_subscripted_rvalue if
1828 c_style_arrays is false (and index is in range).
1830 start-sanitize-gdbtk
1831 Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
1833 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
1835 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
1836 popping up expression window for the first time.
1839 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
1841 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
1842 TYPE_LENGTH is length in bytes, not bits.
1844 Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1846 * infrun.c (proceed): Flush stdout before resuming inferior.
1847 * infcmd.c (step_1), annotate.c (annotate_starting):
1848 Don't bother to flush here.
1850 Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
1852 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
1853 by an ill-advised global search and replace.
1855 Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
1857 * gdbtk.tcl (create_registers_window): Work around a radiobutton
1858 widget bug to make Options|Natural button work.
1860 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
1861 g++ caused by out-of-order pc's.
1862 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
1865 Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
1867 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
1870 Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
1872 Add support for Chill bitstring literals (e.h. H'FF00').
1873 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
1874 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
1875 just print B'<unimlemented>'.
1876 * gdbtypes.c (create_set_type): Fix bug in length calculation.
1877 * valops.c, value.h (value_bitstring): New function.
1878 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
1880 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
1881 check that return type is non-void, and print in proper Chill syntax.
1883 Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
1885 * Makefile.in: Remove references to remote-mon.c.
1886 * remote-mon.c: remove. Replaced by rom68k-rom.c.
1887 * rom68k-rom.c: Support for Rom68k monitor.
1889 Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1891 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
1892 gcc/ch/runtime not chillrt, since that is where the chill runtime
1895 Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
1897 * remote-hms.c (hms_load): Delete.
1898 (target_ops): Use hr_load_image.
1900 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
1901 Define memory_insert/remove_breakpoint.
1902 * xm-go32.h: Remove redundant SIGs.
1904 Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
1906 * ser-go32.c: Rewritten by nigel@algor.co.uk.
1908 Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
1910 * expression.h (OP_LABELED): New operator, for Chill
1911 labeled structre tuples.
1912 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
1913 New non-terminals, to handle labeled structure tuples.
1914 (tuple): Re-define using tuple_elements.
1915 * eval.c (evaluate_labeled_field_init): New function, to handle
1916 initialization of structure fields, possibly using OP_LABELED.
1917 (evaluate_subexp): Use it.
1918 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
1919 for Chill. Handled OP_LABELED.
1920 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
1922 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
1923 * valarith.c (value_bit_index): Just treat bitstring as represented
1924 by an array of bytes. Alignment is handled by compiler.
1926 Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
1928 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
1929 * sh-tdep.c (gdb_print_insn_sh): Ditto.
1931 Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
1933 * remote-os9k.c (rombug_open): Fix a bug in exception handling
1935 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
1938 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1940 * parse.c (_initialize_parse): Improve wording of names of
1943 Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
1945 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
1946 (mips_fpu): Change type to enum mips_fpu_type.
1947 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
1948 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
1950 (mips_fpu_string): New static variable.
1951 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
1952 (mips_pop_frame): Likewise.
1953 (mips_extract_return_value): Likewise.
1954 (mips_store_return_value): Likewise.
1955 (mips_set_fpu_command): New static function.
1956 (mips_show_fpu_command): New static function.
1957 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
1959 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1961 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
1963 * parse.c (write_exp_msymbol): Use new variables
1964 msym_*_symbol_type as type of msymbol expression.
1965 (_initialize_parse): Initialize them.
1967 Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
1969 General cleanup and simplication of disassembler interface.
1970 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
1971 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
1972 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
1973 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
1974 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
1975 had been -pinsn.c files.
1976 * Makefile.in (ALLDEPFILES): Remove removed files.
1977 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
1978 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
1979 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
1980 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
1981 Remove compile actions.
1982 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
1983 vax-tdep.o: Add compile actions.
1984 * defs.h (tm_print_insn): New global.
1985 * a29k-tdep.c (gdb_print_insn_a29k): New function.
1986 (_initialize_a29k_tdep): Rename from _initialize_29k,
1988 * alpha-tdep.c (print_insn): Remove.
1989 (_initialize_alpha_tdep): Set tm_print_insn.
1990 * arm-tdep.c (arm_print_insn): New function, was print_insn
1992 * convex-tdep.c (convex_print_insn): New function, was print_insn
1994 * h8300-tdep.c (print_insn): Remove.
1995 (gdb_print_insn_h8300): New function.
1996 (_initialize_h8300_tdep): New function.
1997 * h8500-tdep.c (print_insn): Remove.
1998 (_initialize_h8500_tdep): New function.
1999 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
2000 * i386-tdep.c (_initialize_i386_tdep): New function.
2001 * i960-tdep.c (mem, next_insn): New functions, were in
2003 (_initialize_i960_tdep): Set tm_print_insn.
2004 * m68k-tdep.c (_initialize_m68k_tdep): New function.
2005 * m88k-tdep.c (_initialize_m88k_tdep): New function.
2006 * mips-tdep.c (gdb_print_insn_mips): New function.
2007 (_initialize_mips_tdep): Set tm_print_insn.
2008 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
2010 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
2011 * sh-tdep.c (print_insn): Remove.
2012 (gdb_print_insn_sh): New function.
2013 (_initialize_sh_tdep): Set tm_print_insn.
2014 * sparc-tdep.c (_initialize_sparc_tdep): New function.
2015 * w65-tdep.c (print_insn): Remove.
2016 (_initialize_w65_tdep): New function.
2017 * z8k-tdep.c (print_insn): Remove.
2018 (gdb_print_insn_z8k): New function.
2019 (_initialize_z8k_tdep): Set tm_print_insn.
2020 * printcmd.c (print_insn): New function, generic disassembler.
2021 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
2023 Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
2025 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
2026 and config/a29k/vx29k.mt.
2027 * configure.in: add new configuration a29k-*-vxworks.
2028 * remote-vx29k.c: new file merged from WRS.
2029 * remote-vx.c: merge changes from WRS.
2030 * config/a29k/vx29k.mt: new file for new configuration.
2031 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
2033 Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
2035 * breakpoint.h (disable_breakpoint, enable_breakpoint):
2037 (enum bpdisp): Change name of 'delete' member to 'del'.
2038 (struct bpstat): Changed name to 'bpstats'.
2039 * breakpoint.c (disable_breakpoint, enable_breakpoint,
2040 breakpoint_chain): Made globally visible.
2041 (bpstat_stop_status): Use new name for bpstat.
2042 (break_command_1, watch_command_1, catch_command_1,
2043 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
2044 instead of 'delete'.
2045 (set_breakpoint_sal): New function.
2046 * defs.h (registers_changed_hook): New declaration.
2047 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
2048 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
2049 * main.c (main): Don't scan options when in WIN32 and exit
2050 without entering main loop.
2051 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
2052 * symtab.h (struct symbol, struct partial_symbol): Changed name of
2053 member 'class' to 'aclass'.
2054 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
2055 * top.c (registers_changed_hook): New definition.
2056 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
2057 in same way as __GO32__.
2058 * value.h (c_typedef_print): Rename 'new' argument.
2060 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
2061 * configure.in: Suppprt for w65,
2064 Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2066 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
2067 not stop_pc, to proceed.
2069 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
2071 Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2073 * infcmd.c (signal_command): Accept "signal 0"; the change to not
2074 accept it was accidental. "handle 0" and "info signal 0" remain
2077 Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
2079 * Makefile.in (all): Don't make libgdb-files.
2080 (libgdb): New action, makes libgdb-files.
2082 Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
2084 * stabsread.c (read_enum_type): When pending enum symbols are
2085 put into the enum type, they must be inserted in "backwards
2086 order, in case we've overflowed a struct pending buffer.
2088 start-sanitize-gdbtk
2089 Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
2091 * gdbtk.c, gdbtk.tcl: Update/add copyright.
2092 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
2093 including dismiss button, and better error handling.
2094 * (create_command_win): Bind button 2 to retrieve selection.
2097 Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2099 * README: Add note about SPARCworks cc release 3.0 and higher.
2101 Add procfs support for Alpha OSF/1-2.x.
2102 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
2103 OSF/1 native support.
2104 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
2105 (MUNCH_DEFINE): Removed.
2106 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
2108 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
2109 release 2.x and higher, else alpha-osf1.mh, as the procfs support
2110 in release 1.x is incomplete.
2111 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
2112 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
2113 fill_fpgregset): New routines for procfs support.
2114 * inftarg.c (_initialize_inftarg): Don't add ptrace support
2115 if we have an optional procfs and /proc is accessible.
2116 * procfs.c: Include sys/fault.h and sys/syscall.h before
2117 including sys/procfs.h.
2118 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
2119 is defined, additionally perform a PIOCSSIG to really terminate
2121 (create_procinfo): Always return a result.
2122 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
2123 PROCFS_DONT_TRACE_IFAULT is defined.
2124 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
2125 argument to startup_inferior if it is defined.
2126 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
2127 of tracing exits from exec system calls. Needed for the user level
2128 loader under Alpha OSF/1.
2129 (do_detach): Clear any pending signal if we want to detach from
2130 a process without a signal.
2131 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
2132 don't issue a PIOCSSIG if pr_cursig already contains the signal we
2134 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
2135 pending signals are numbered from 1 instead of 0.
2136 (info_proc_mappings): Increase size of output format for addresses
2137 if BFD_HOST_64_BIT is defined.
2138 (procfs_stop): Renamed from child_stop.
2139 (_initialize_procfs): Don't add procfs support if we have an
2140 optional procfs and /proc is not accessible.
2142 start-sanitize-gdbtk
2143 Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
2145 * gdbtk.tcl: Add button to control mixed source disassembly.
2146 Use text widgets in expr window. The give me more control over
2148 Add auto-updating of exprs in expression window.
2149 Handle expressions out of scope a bit better.
2150 Make selected window pop up to the top when invoked via the
2152 Make copyright message have raised relief.
2154 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
2158 Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
2160 * array-rom.c: Add support for most commands.
2162 * monitor.c: Add GDB remote protocol for the hybrid environment on
2165 Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
2167 * command.c (show_user_1): Use print_command_line to show a user
2168 defined command (including control structures).
2170 * top.c (init_main): Change documentation for user defined
2171 commands to indicate they may accept up to ten arguments.
2173 Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2175 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
2176 `move $s8, $sp' instruction.
2178 Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2180 * target.c, target.h (target_signal_from_command): New function.
2181 * infrun.c (handle_command, signals_info), infcmd.c
2182 (signal_command): Use it.
2183 * infrun.c, infcmd.c: Update docstrings for these commands.
2185 * target.h (enum target_signal), target.c (signals), target.c
2186 (target_signal_from_host, target_signal_to_host): Add
2187 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
2188 * config/tm-lynx.h: Define signal numbers for realtime events.
2190 Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2192 * dbxread.c (process_one_symbol): Handle N_FUN symbols
2193 for Sun acc 3.0 under SunOS4.
2195 Changes to improve handling of runtime common symbols
2197 * minsyms.c (get_symbol_leading_char): New routine to determine
2198 the leading symbol character for an objfile.
2199 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
2201 * objfiles.h (rt_common_objfile): New global, points to objfile
2202 containing the runtime common minimal symbols.
2203 * objfiles.c (free_objfile): Mark rt_common_objfile as
2204 unallocated before freeing it.
2205 * solib.c (allocate_rt_common_objfile): New routine to allocate
2206 an objfile for the runtime common minimal symbols.
2207 (solib_add_common_symbols): Allocate an objfile for the runtime
2208 common symbols if necessary and put common symbols into it.
2209 Clean up code and comments.
2210 (solib_add, special_symbol_handling): Cleanup comments regarding
2211 runtime common symbols.
2212 * stabsread.c (scan_file_globals_1): New routine, contains
2213 old scan_file_globals code. Checks if there are any unresolved
2214 global symbols before starting the expensive minimal symbol table
2216 (scan_file_globals): Now calls scan_file_globals_1 for the passed
2217 objfile and eventually for the runtime common objfile. Complains
2218 about any unresolved global symbols and removes them from the
2219 global symbol chain to avoid dangling pointers into the symbol
2220 table if the symbol table is reread.
2222 Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
2224 * Makefile.in (install_only uninstall): Indent for clarity.
2226 * core.c (dis_asm_read_memory): Add call to
2227 dis_asm_read_memory_hook to provide alternate way for disassembler
2230 * defs.h: Protect from multiple inclusion. Add decl for
2231 dis_asm_read_memory_hook.
2233 * top.c: Make window startup be the default.
2234 * Add dis_asm_read_memory_hook.
2236 start-sanitize-gdbtk
2237 * gdbtk.c (finish_saving_output): Don't do anything if not saving
2239 * (breakpoint_notify): Don't send null filename to tcl.
2240 * (gdb_eval): New tcl command to eval an expression.
2241 * (gdb_disassemble): New tcl command to do disassembly. This
2242 allows tcl code to choose between exec file and target memeory,
2243 and can also do mixed source and assembly.
2244 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
2245 that more of the environment is set up. Also, create link between
2246 gdb and tcl vars disassemble{-_}from{-_}exec.
2248 * gdbtk.tcl: New expression window support.
2249 * Make assembly window be 80 columns wide.
2250 * Use new disassembly method. Add menu items to select
2251 disassembly from exec file or target.
2252 * Change View menubar item to Options.
2254 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
2255 since they don't exist yet.
2257 * Pop up a copyright window on startup.
2260 Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
2262 * stabsread.c (define_symbol): Handle `a' symbol type used for
2263 reference parameter passed in a register.
2265 start-sanitize-gdbtk
2266 Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
2268 * gdbtk.tcl (build_framework): Add standard commands menu, more
2269 windows to standard windows menu.
2270 (not_implemented_yet): Clarify message.
2273 Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
2275 * defs.h: move include tm.h up, so that the type LONGEST can
2276 also based on the target requirement to determine. In this case
2279 * remote-os9k.c (rombug_open): catch exception e in rombug.
2280 * remote-os9k.c (rombug_wait): print message before register display
2283 Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2285 * top.c (locate_arg): Call strchr not index.
2287 Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
2289 * ch-exp.y (literal): Recognize NULL.
2290 (tuple): Parse simple unlabelled tuples.
2291 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
2292 evaluate brace-initializer-expressions depending on context.
2293 (evaluate_subexp case UNOP_CAST): Pass the target type as
2294 expected type when evaluating the expression.
2296 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
2297 BOOL from TYPE_NAME.
2298 * ch-valprint.c (chill_print_type_scalar): New function, to handle
2299 TYPE_CODE_RANGE better than print_type_scalar does.
2300 (chill_val_print_array_elements): Use above new function.
2302 Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
2304 * remote-udi.c (udi_load): Tell symbol_file_add that the
2305 program being loaded is the main program.
2307 For older changes see ChangeLog-94
2313 version-control: never