1 Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
3 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
4 (mips_fpu): Change type to enum mips_fpu_type.
5 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
6 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
8 (mips_fpu_string): New static variable.
9 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
10 (mips_pop_frame): Likewise.
11 (mips_extract_return_value): Likewise.
12 (mips_store_return_value): Likewise.
13 (mips_set_fpu_command): New static function.
14 (mips_show_fpu_command): New static function.
15 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
17 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
21 * parse.c (write_exp_msymbol): Use new variables
22 msym_*_symbol_type as type of msymbol expression.
23 (_initialize_parse): Initialize them.
25 Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
27 General cleanup and simplication of disassembler interface.
28 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
29 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
30 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
31 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
32 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
33 had been -pinsn.c files.
34 * Makefile.in (ALLDEPFILES): Remove removed files.
35 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
36 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
37 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
38 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
39 Remove compile actions.
40 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
41 vax-tdep.o: Add compile actions.
42 * defs.h (tm_print_insn): New global.
43 * a29k-tdep.c (gdb_print_insn_a29k): New function.
44 (_initialize_a29k_tdep): Rename from _initialize_29k,
46 * alpha-tdep.c (print_insn): Remove.
47 (_initialize_alpha_tdep): Set tm_print_insn.
48 * arm-tdep.c (arm_print_insn): New function, was print_insn
50 * convex-tdep.c (convex_print_insn): New function, was print_insn
52 * h8300-tdep.c (print_insn): Remove.
53 (gdb_print_insn_h8300): New function.
54 (_initialize_h8300_tdep): New function.
55 * h8500-tdep.c (print_insn): Remove.
56 (_initialize_h8500_tdep): New function.
57 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
58 * i386-tdep.c (_initialize_i386_tdep): New function.
59 * i960-tdep.c (mem, next_insn): New functions, were in
61 (_initialize_i960_tdep): Set tm_print_insn.
62 * m68k-tdep.c (_initialize_m68k_tdep): New function.
63 * m88k-tdep.c (_initialize_m88k_tdep): New function.
64 * mips-tdep.c (gdb_print_insn_mips): New function.
65 (_initialize_mips_tdep): Set tm_print_insn.
66 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
68 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
69 * sh-tdep.c (print_insn): Remove.
70 (gdb_print_insn_sh): New function.
71 (_initialize_sh_tdep): Set tm_print_insn.
72 * sparc-tdep.c (_initialize_sparc_tdep): New function.
73 * w65-tdep.c (print_insn): Remove.
74 (_initialize_w65_tdep): New function.
75 * z8k-tdep.c (print_insn): Remove.
76 (gdb_print_insn_z8k): New function.
77 (_initialize_z8k_tdep): Set tm_print_insn.
78 * printcmd.c (print_insn): New function, generic disassembler.
79 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
81 Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
83 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
84 and config/a29k/vx29k.mt.
85 * configure.in: add new configuration a29k-*-vxworks.
86 * remote-vx29k.c: new file merged from WRS.
87 * remote-vx.c: merge changes from WRS.
88 * config/a29k/vx29k.mt: new file for new configuration.
89 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
91 Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
93 * breakpoint.h (disable_breakpoint, enable_breakpoint):
95 (enum bpdisp): Change name of 'delete' member to 'del'.
96 (struct bpstat): Changed name to 'bpstats'.
97 * breakpoint.c (disable_breakpoint, enable_breakpoint,
98 breakpoint_chain): Made globally visible.
99 (bpstat_stop_status): Use new name for bpstat.
100 (break_command_1, watch_command_1, catch_command_1,
101 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
103 (set_breakpoint_sal): New function.
104 * defs.h (registers_changed_hook): New declaration.
105 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
106 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
107 * main.c (main): Don't scan options when in WIN32 and exit
108 without entering main loop.
109 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
110 * symtab.h (struct symbol, struct partial_symbol): Changed name of
111 member 'class' to 'aclass'.
112 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
113 * top.c (registers_changed_hook): New definition.
114 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
115 in same way as __GO32__.
116 * value.h (c_typedef_print): Rename 'new' argument.
118 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
119 * configure.in: Suppprt for w65,
122 Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
124 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
125 not stop_pc, to proceed.
127 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
129 Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
131 * infcmd.c (signal_command): Accept "signal 0"; the change to not
132 accept it was accidental. "handle 0" and "info signal 0" remain
135 Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
137 * Makefile.in (all): Don't make libgdb-files.
138 (libgdb): New action, makes libgdb-files.
140 Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
142 * stabsread.c (read_enum_type): When pending enum symbols are
143 put into the enum type, they must be inserted in "backwards
144 order, in case we've overflowed a struct pending buffer.
147 Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
149 * gdbtk.c, gdbtk.tcl: Update/add copyright.
150 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
151 including dismiss button, and better error handling.
152 * (create_command_win): Bind button 2 to retrieve selection.
155 Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
157 * README: Add note about SPARCworks cc release 3.0 and higher.
159 Add procfs support for Alpha OSF/1-2.x.
160 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
161 OSF/1 native support.
162 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
163 (MUNCH_DEFINE): Removed.
164 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
166 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
167 release 2.x and higher, else alpha-osf1.mh, as the procfs support
168 in release 1.x is incomplete.
169 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
170 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
171 fill_fpgregset): New routines for procfs support.
172 * inftarg.c (_initialize_inftarg): Don't add ptrace support
173 if we have an optional procfs and /proc is accessible.
174 * procfs.c: Include sys/fault.h and sys/syscall.h before
175 including sys/procfs.h.
176 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
177 is defined, additionally perform a PIOCSSIG to really terminate
179 (create_procinfo): Always return a result.
180 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
181 PROCFS_DONT_TRACE_IFAULT is defined.
182 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
183 argument to startup_inferior if it is defined.
184 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
185 of tracing exits from exec system calls. Needed for the user level
186 loader under Alpha OSF/1.
187 (do_detach): Clear any pending signal if we want to detach from
188 a process without a signal.
189 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
190 don't issue a PIOCSSIG if pr_cursig already contains the signal we
192 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
193 pending signals are numbered from 1 instead of 0.
194 (info_proc_mappings): Increase size of output format for addresses
195 if BFD_HOST_64_BIT is defined.
196 (procfs_stop): Renamed from child_stop.
197 (_initialize_procfs): Don't add procfs support if we have an
198 optional procfs and /proc is not accessible.
201 Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
203 * gdbtk.tcl: Add button to control mixed source disassembly.
204 Use text widgets in expr window. The give me more control over
206 Add auto-updating of exprs in expression window.
207 Handle expressions out of scope a bit better.
208 Make selected window pop up to the top when invoked via the
210 Make copyright message have raised relief.
212 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
216 Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
218 * array-rom.c: Add support for most commands.
220 * monitor.c: Add GDB remote protocol for the hybrid environment on
223 Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
225 * command.c (show_user_1): Use print_command_line to show a user
226 defined command (including control structures).
228 * top.c (init_main): Change documentation for user defined
229 commands to indicate they may accept up to ten arguments.
231 Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
233 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
234 `move $s8, $sp' instruction.
236 Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
238 * target.c, target.h (target_signal_from_command): New function.
239 * infrun.c (handle_command, signals_info), infcmd.c
240 (signal_command): Use it.
241 * infrun.c, infcmd.c: Update docstrings for these commands.
243 * target.h (enum target_signal), target.c (signals), target.c
244 (target_signal_from_host, target_signal_to_host): Add
245 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
246 * config/tm-lynx.h: Define signal numbers for realtime events.
248 Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
250 * dbxread.c (process_one_symbol): Handle N_FUN symbols
251 for Sun acc 3.0 under SunOS4.
253 Changes to improve handling of runtime common symbols
255 * minsyms.c (get_symbol_leading_char): New routine to determine
256 the leading symbol character for an objfile.
257 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
259 * objfiles.h (rt_common_objfile): New global, points to objfile
260 containing the runtime common minimal symbols.
261 * objfiles.c (free_objfile): Mark rt_common_objfile as
262 unallocated before freeing it.
263 * solib.c (allocate_rt_common_objfile): New routine to allocate
264 an objfile for the runtime common minimal symbols.
265 (solib_add_common_symbols): Allocate an objfile for the runtime
266 common symbols if necessary and put common symbols into it.
267 Clean up code and comments.
268 (solib_add, special_symbol_handling): Cleanup comments regarding
269 runtime common symbols.
270 * stabsread.c (scan_file_globals_1): New routine, contains
271 old scan_file_globals code. Checks if there are any unresolved
272 global symbols before starting the expensive minimal symbol table
274 (scan_file_globals): Now calls scan_file_globals_1 for the passed
275 objfile and eventually for the runtime common objfile. Complains
276 about any unresolved global symbols and removes them from the
277 global symbol chain to avoid dangling pointers into the symbol
278 table if the symbol table is reread.
280 Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
282 * Makefile.in (install_only uninstall): Indent for clarity.
284 * core.c (dis_asm_read_memory): Add call to
285 dis_asm_read_memory_hook to provide alternate way for disassembler
288 * defs.h: Protect from multiple inclusion. Add decl for
289 dis_asm_read_memory_hook.
291 * top.c: Make window startup be the default.
292 * Add dis_asm_read_memory_hook.
295 * gdbtk.c (finish_saving_output): Don't do anything if not saving
297 * (breakpoint_notify): Don't send null filename to tcl.
298 * (gdb_eval): New tcl command to eval an expression.
299 * (gdb_disassemble): New tcl command to do disassembly. This
300 allows tcl code to choose between exec file and target memeory,
301 and can also do mixed source and assembly.
302 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
303 that more of the environment is set up. Also, create link between
304 gdb and tcl vars disassemble{-_}from{-_}exec.
306 * gdbtk.tcl: New expression window support.
307 * Make assembly window be 80 columns wide.
308 * Use new disassembly method. Add menu items to select
309 disassembly from exec file or target.
310 * Change View menubar item to Options.
312 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
313 since they don't exist yet.
315 * Pop up a copyright window on startup.
318 Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
320 * stabsread.c (define_symbol): Handle `a' symbol type used for
321 reference parameter passed in a register.
324 Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
326 * gdbtk.tcl (build_framework): Add standard commands menu, more
327 windows to standard windows menu.
328 (not_implemented_yet): Clarify message.
331 Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
333 * defs.h: move include tm.h up, so that the type LONGEST can
334 also based on the target requirement to determine. In this case
337 * remote-os9k.c (rombug_open): catch exception e in rombug.
338 * remote-os9k.c (rombug_wait): print message before register display
341 Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
343 * top.c (locate_arg): Call strchr not index.
345 Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
347 * ch-exp.y (literal): Recognize NULL.
348 (tuple): Parse simple unlabelled tuples.
349 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
350 evaluate brace-initializer-expressions depending on context.
351 (evaluate_subexp case UNOP_CAST): Pass the target type as
352 expected type when evaluating the expression.
354 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
356 * ch-valprint.c (chill_print_type_scalar): New function, to handle
357 TYPE_CODE_RANGE better than print_type_scalar does.
358 (chill_val_print_array_elements): Use above new function.
360 Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
362 * remote-udi.c (udi_load): Tell symbol_file_add that the
363 program being loaded is the main program.
365 For older changes see ChangeLog-94
371 version-control: never