Commit | Line | Data |
---|---|---|
0d43c8e7 JL |
1 | Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com) |
2 | ||
8d038451 JL |
3 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for |
4 | structures > 4 bytes in size. | |
5 | ||
0d43c8e7 JL |
6 | * valops.c (call_function_by_hand): Handle aligning stacks that |
7 | grow up correctly. | |
8 | * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define. | |
9 | (STACK_ALIGN): Define. | |
10 | * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte | |
11 | alignment on structs/unions. | |
12 | ||
769d0c90 FF |
13 | Sun Aug 4 16:22:42 1996 Fred Fish <fnf@cygnus.com> |
14 | ||
15 | * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *", | |
16 | which is the documented type under at least AIX 3 and AIX 4. | |
17 | ||
6b24a9f6 FF |
18 | Sat Aug 3 04:02:46 1996 Fred Fish <fnf@cygnus.com> |
19 | ||
20 | * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to | |
21 | xm-alphaosf.h. | |
38eee4a9 FF |
22 | (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency |
23 | checks. | |
6b24a9f6 | 24 | |
047465fd TT |
25 | start-sanitize-gdbtk |
26 | Thu Aug 1 20:35:01 1996 Tom Tromey <tromey@creche.cygnus.com> | |
27 | ||
28 | * gdbtk.c (mainWindow): Deleted. | |
29 | (cleanup_init): Don't destroy main window. | |
30 | (gdbtk_init): Main window now created by Tk_Init. | |
31 | ||
32 | * configure.in: Most X checks now handled automatically by Tk. | |
33 | Use new macros to find Tcl/Tk. | |
34 | * aclocal.m4: New version for new Tcl/Tk; from Don Libes. | |
35 | * config.in, configure: Regenerated. | |
36 | ||
37 | * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS, | |
38 | X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk. | |
39 | ||
40 | end-sanitize-gdbtk | |
8efb8079 FF |
41 | Thu Aug 1 10:11:34 1996 Fred Fish <fnf@cygnus.com> |
42 | ||
43 | * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in | |
44 | this, define when contents are included. | |
45 | (mips_read_processor_type): Add prototype. | |
46 | * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h | |
47 | * mdebugread.c (ecoff_relocate_efi): Add prototype. | |
48 | (fixup_sigtramp): Only needed when TM_MIPS_H is defined. | |
49 | ||
e822a3db JM |
50 | start-sanitize-gdbtk |
51 | Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
52 | ||
53 | * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir). | |
54 | ||
55 | end-sanitize-gdbtk | |
a95d92fa FF |
56 | Wed Jul 31 20:21:24 1996 Fred Fish <fnf@cygnus.com> |
57 | ||
58 | * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value. | |
59 | (vmap_ldinfo): Ensure got_exec_file is not used uninitialized. | |
60 | (fetch_core_registers): Add prototype. | |
61 | (vmap_symtab): Ditto. | |
62 | (objfile_symbol_add): Ditto. | |
63 | (add_vmap): Ditto. | |
64 | (vmap_ldinfo): Ditto. | |
65 | (vmap_exec): Ditto. | |
66 | ||
cb74cc24 SS |
67 | Tue Jul 30 17:57:46 1996 Stan Shebs <shebs@andros.cygnus.com> |
68 | ||
69 | * stabsread.c (get_substring): Declare second arg as int. | |
70 | ||
71 | * remote-es.c: Include gdb_string.h after defs.h. | |
72 | ||
80f600a4 FF |
73 | Mon Jul 29 21:13:20 1996 Fred Fish <fnf@cygnus.com> |
74 | ||
368f1e77 FF |
75 | * rs6000-tdep.c (push_arguments): Remove unused variable "pc". |
76 | (branch_dest): Remove unused variable "offset". | |
77 | (pop_dummy_frame): Add prototype and make static. | |
78 | (push_arguments): Guard against using len uninitialized. | |
79 | (push_arguments): Guard against using arg uninitialized. | |
80 | (frame_saved_pc): Remove unused variable "frameless". | |
81 | (free_loadinfo): Ifdef out unused function. | |
82 | ||
6e0949ae FF |
83 | * xcoffread.c (compare_lte): Change prototype and function to |
84 | be correct type for passing to qsort. | |
85 | (add_stab_to_list): Ifdef out unused function and prototype. | |
86 | (compare_lte): Add prototype | |
87 | (arrange_linetable): Ditto. | |
88 | (record_include_begin): Ditto. | |
89 | (record_include_end): Ditto. | |
90 | (process_linenos): Ditto. | |
91 | (xcoff_next_symbol_text): Ditto. | |
92 | (scan_xcoff_symtab): Ditto. | |
93 | (xcoff_initial_scan): Ditto. | |
94 | ||
80e0e92a FF |
95 | * mips-tdep.c (mips_read_processor_type): Add parens around |
96 | bitwise-and operands in comparison; previous expression always | |
97 | evaluated to 0 because of equality comparison of two constants. | |
98 | ||
58b4fad2 FF |
99 | * rs6000-tdep.c (skip_prologue): Add missing parens around |
100 | operands of logical-or so that first operand does not bind | |
101 | to previous logical-and. | |
102 | ||
80f600a4 FF |
103 | * configure.in: Expand "long long" test to include code that triggers |
104 | known problem on HPUX with native compiler. | |
105 | (configure): Regenerated. | |
106 | ||
6f359895 JL |
107 | Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com) |
108 | ||
109 | * somsolib.c (som_solib_create_inferior_hook): Don't | |
110 | warn if __d_pid can't be found. | |
111 | ||
f2bf454e FF |
112 | Sun Jul 28 10:46:39 1996 Fred Fish <fnf@cygnus.com> |
113 | ||
114 | * config/mips/tm-mips.h (struct frame_info): Forward decl. | |
115 | (struct type): Ditto. | |
116 | (struct value): Ditto. | |
117 | ||
118 | * config/mips/tm-mips.h (sigtramp_address): Move extern decl | |
119 | from mips-tdep.c to here. | |
120 | (sigtramp_end): Ditto. | |
121 | (fixup_sigtramp): Ditto. | |
122 | ||
123 | * config/mips/tm-mips.h (init_extra_frame_info): Add prototype. | |
124 | (mips_frame_chain): Ditto. | |
125 | (mips_step_skips_delay): Ditto. | |
126 | (mips_frame_saved_pc): Ditto. | |
127 | (mips_find_saved_regs): Ditto. | |
128 | (mips_frame_num_args): Ditto. | |
129 | (mips_pop_frame): Ditto. | |
130 | (mips_extract_return_value): Ditto. | |
131 | (mips_store_return_value): Ditto. | |
132 | (mips_push_dummy_frame): Ditto. | |
133 | (mips_push_arguments): Ditto. | |
134 | (mips_do_registers_info): Ditto. | |
135 | (ecoff_relocate_efi): Ditto. | |
136 | (ecoff_relocate_efi): Ditto. | |
137 | * irix4-nat.c (fetch_core_registers): Add prototype. | |
138 | * mips-tdep.c (read_next_frame_reg): Add prototype | |
139 | (heuristic_proc_start): Ditto. | |
140 | (heuristic_proc_desc): Ditto. | |
141 | (mips_print_register): Ditto. | |
142 | * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype. | |
143 | (procfs_stopped_by_watchpoint): Ditto. | |
144 | * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype. | |
145 | (procfs_stopped_by_watchpoint): Ditto. | |
146 | * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype. | |
147 | (struct symbol): Add forward decl for prototype. | |
148 | ||
149 | * breakpoint.c (internal_breakpoint_number): Only needed if | |
150 | GET_LONGJMP_TARGET or SOLIB_ADD is defined. | |
151 | ||
152 | * objfiles.c (ecoff_relocate_efi): Remove prototype. | |
153 | ||
3f550b59 FF |
154 | Sat Jul 27 17:47:35 1996 Fred Fish <fnf@cygnus.com> |
155 | ||
156 | * configure.in: Add test for "long long" support. | |
157 | * configure: Regenerate with autoconf. | |
158 | * acconfig.h: Add CC_HAS_LONG_LONG | |
159 | * config.in: Regenerate with autoheader. | |
160 | * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove | |
161 | * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove. | |
162 | * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove. | |
163 | * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove. | |
164 | * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove | |
165 | (PRINTF_HAS_LONG_LONG): Remove. | |
166 | (FORCE_LONG_LONG): Remove. | |
167 | * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version. | |
168 | * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove | |
169 | (PRINTF_HAS_LONG_LONG): Remove. | |
170 | * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove. | |
171 | (PRINTF_HAS_LONG_LONG): Remove. | |
172 | * config/pa/tm-hppa.h (GET_FIELD): Put parens around | |
173 | subtraction inside shift. Put parens around subtraction | |
174 | in operand of bitwise and. | |
175 | (struct frame_info): Forward declare | |
176 | if __STDC__ defined. | |
177 | (frame_saved_regs): Ditto. | |
178 | (struct value): Ditto. | |
179 | (struct type): Ditto. | |
180 | (struct inferior_status): Ditto. | |
181 | (init_extra_frame_info): Add prototype. | |
182 | (skip_prologue): Ditto. | |
183 | (frameless_function_invocation): Ditto. | |
184 | (frame_chain): Ditto. | |
185 | (frame_chain_valid): Ditto. | |
186 | (saved_pc_after_call): Ditto. | |
187 | (hppa_fix_call_dummy): Ditto. | |
188 | (hppa_push_arguments): Ditto. | |
189 | (pa_do_registers_info): Ditto. | |
190 | (in_solib_call_trampoline): Ditto. | |
191 | (in_solib_return_trampoline): Ditto. | |
192 | (push_dummy_frame): Ditto. | |
193 | * convex-tdep.c (decout): Use print_longest rather than | |
194 | fprintf_filtered. | |
195 | * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set | |
196 | CC_HAS_LONG_LONG. | |
197 | (INT_MIN): Fix so it works correctly when assigned to a long long. | |
198 | * valprint.c (longest_to_int): Rewrite to remove dependence | |
199 | on INT_MIN and INT_MAX. | |
200 | (print_longest): Rewrite the code that falls back to synthesized | |
201 | hex output when LONGEST value is not representable as in a long and | |
202 | printf doesn't support printing long longs. | |
203 | * ch-valprint.c (chill_val_print): Cast 2nd arg of | |
204 | chill_print_type_scalar to LONGEST. | |
205 | chill_print_type_scalar): Make static and add prototype. | |
206 | * hppa-tdep.c (get_field): Ifdef out unused function. | |
207 | (set_field): Ditto. | |
208 | (extract_3): Ditto. | |
209 | (extract_5_store): Ditto. | |
210 | (extract_11): Ditto. | |
211 | (extract_12): Ditto. | |
212 | (deposit_17): Ditto. | |
213 | (extract_14): Convert to static and add prototype. | |
214 | (deposit_14): Ditto. | |
215 | (extract_21): Ditto. | |
216 | (deposit_21): Ditto. | |
217 | (extract_17): Ditto. | |
218 | (extract_5r_store): Ditto. | |
219 | (extract_5R_store): Ditto. | |
220 | (extract_5_load): Ditto. | |
221 | (find_proc_framesize): Ditto. | |
222 | (find_dummy_frame_regs): Ditto. | |
223 | (sign_extend): Ditto. | |
224 | (find_unwind_entry): Add prototype. | |
225 | (find_return_regnum): Ditto. | |
226 | (unwind_command): Ditto. | |
227 | (find_dummy_frame_regs): Add parens around subtraction in operand | |
228 | of bitwise-and. | |
229 | (skip_prologue): Add parens around operands of logical-and inside | |
230 | operand of logical-or. | |
231 | (sign_extend): Add parens around operands of subtraction inside | |
232 | operand of shift. | |
233 | (low_sign_extend): Ditto. | |
234 | * top.c (filename_completer): Convert old style decl of | |
235 | filename_completion_function into prototype. | |
236 | * f-lang.c (patch_common_entries): Ifdef out unused function. | |
237 | * stabsread.c (read_cfront_baseclasses): Remove unused local | |
238 | variable "msg_noterm". | |
239 | (resolve_cfront_continuation): Remove unused local variable "fip". | |
240 | (read_type): Remove unused variable xtypenums. | |
241 | (read_cfront_static_fields): Remove unused variable "i". | |
242 | (read_cfront_static_fields): Remove unused variable "nfields". | |
243 | (read_cfront_member_functions): Add missing comment terminator. | |
244 | (read_cfront_static_fields): Return 1 rather than random value. | |
245 | (read_cfront_baseclasses): Ditto. | |
246 | (read_cfront_baseclasses): Ditto. | |
247 | (read_cfront_baseclasses): Ditto. | |
248 | * somsolib.c (som_solib_create_inferior_hook): Remove unused | |
249 | variable "u". | |
250 | (som_solib_create_inferior_hook): Remove unused variable | |
251 | shadow_contents. | |
252 | (language.h): Add for needed prototypes. | |
253 | (som_solib_sharedlibrary_command): Add prototype. | |
254 | * hpread.c: (hpread_read_array_type): Add prototype. | |
255 | * somread.c (hpread_build_pysmtabs): Add prototype. | |
256 | (hpread_symfile_finish): Ditto. | |
257 | (hpread_symfile_init): Ditto. | |
258 | * hppah-nat.c (fetch_register): Convert old style decl | |
259 | to prototype. | |
260 | (gdbcore.h): Include for needed prototypes. | |
261 | (fetch_register): Remove unused variable "mess". | |
262 | * remote-pa.c (get_offsets): Ifdef out unused function. | |
263 | (remote_start_remote): Remove unused variable "timeout". | |
264 | (boot_board): Add prototype. | |
265 | (reaad_frame): Add prototype. | |
266 | (getpkt): Remove unused variable "bp". | |
267 | (remote_kill): Add prototype. | |
268 | (remote_mourn): Add prototype. | |
269 | (remote_insert_breakpoint): Add prototype. | |
270 | (remote_remove_breakpoint): Add prototype. | |
271 | * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined. | |
272 | * infcmd.c (do_registers_info): Only need prototype if | |
273 | DO_REGISTERS_INFO is not defined. | |
274 | (breakpoint_auto_delete_contents): Only need if | |
275 | CALL_DUMMY_BREAKPOINT_OFFSET is defined. | |
276 | ||
68aadb90 FF |
277 | Sat Jul 27 08:49:49 1996 Fred Fish <fnf@cygnus.com> |
278 | ||
279 | * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter. | |
280 | (END_PSYMTAB): Ditto. | |
281 | (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set. | |
282 | ||
caeec767 ILT |
283 | Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com> |
284 | ||
285 | * printcmd.c (_initialize_printcmd): Initialize | |
286 | tm_print_insn_info.flavour. | |
cb74cc24 | 287 | start-sanitize-gdbtk |
caeec767 | 288 | * gdbtk.c (gdb_disassemble): Initialize di.flavour. |
cb74cc24 | 289 | end-sanitize-gdbtk |
caeec767 | 290 | |
b607efe7 FF |
291 | Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> |
292 | ||
293 | * Makefile.in (scm-valprint.o): Depends upon gdbcore_h. | |
294 | (arm-tdep.o): Ditto. | |
295 | (dcache.o): Ditto. | |
296 | (i386ly-tdep.o): Ditto. | |
297 | (i960-tdep.o): Ditto. | |
298 | (m68k-tdep.o): Ditto. | |
299 | (nindy-tdep.o): Ditto. | |
300 | (scm-lang.o): Ditto. | |
301 | (w65-tdep.o): Ditto. | |
302 | (z8k-tdep.o): Ditto. | |
303 | (m68k-tdep.o): Depends upon value_h and gdb_string.h | |
304 | (m2-valprint.o): Depends upon m2-lang.h. | |
305 | (sparc-tdep.o): Depends upon gdb_string.h | |
306 | (valprint.o): Depends upon valprint.h | |
307 | ||
308 | * remote-e7000.c (notice_quit): Remove prototype. | |
309 | * top.c (initialize_targets): Remove prototype, now in target.h. | |
310 | * stabsread.c (resolve_cfront_continuation): Remove prototype. | |
311 | * dbxread.c (resolve_cfront_continuation): Remove prototype. | |
312 | * symfile.h (set_demangling_style): Remove prototype. | |
313 | * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h. | |
314 | * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in | |
315 | target.h. | |
316 | * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls, | |
317 | now in target.h. | |
318 | * ser-unix.c (hardwire_restore): Remove obsolete prototype. | |
319 | * sparc-tdep.c (single_step): Remove forward decl of isbranch. | |
320 | * scm-lang.c (find_function_in_inferior): Remove prototype. | |
321 | (value_allocate_space_in_inferior): Ditto. | |
322 | * infrun.c (write_pc_pid): Remove prototype, now in inferior.h. | |
323 | * defs.h (strchr): Remove declarations, they are declared in | |
324 | gdb_string.h also. | |
325 | (strrchr): Ditto. | |
326 | (strstr): Ditto. | |
327 | (strtok): Ditto. | |
328 | (strerror): Ditto. | |
329 | * f-valprint.c (f77_print_array_1): Remove extra arg that was being | |
330 | passed to f77_print_array_1. | |
b607efe7 FF |
331 | * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr. |
332 | * scm-exp.c (scm_istr2int): Remove unused variable "j". | |
333 | (scm_parse): Remove unused variable "str". | |
334 | * hp300ux-nat.c (store_inferior_register): Remove unused variable | |
335 | "buf". | |
336 | (store_inferior_registers): Remove unnecessary decl "registers". | |
337 | * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi". | |
338 | * scm-lang.c (scm_get_field): Remove unused variable "val". | |
339 | (scm_lookup_name): Remove unused variable "symval". | |
340 | * objfiles.c (map_to_file): Remove unused local variable "tempfd". | |
341 | * procfs.c (do_attach, do_detach): Remove unused variable "result". | |
342 | (last_resume_pid): Remove unused static variable. | |
343 | * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable | |
344 | "res". | |
345 | * objfiles.c (map_to_address): Remove unused function. | |
346 | * f-valprint.c (print_max): Remove extraneous extern decl, | |
347 | in valprint.h. | |
348 | (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h. | |
349 | * ch-exp.c (write_lower_upper_value): Remove prototype for | |
350 | type_lower_upper. | |
351 | ||
352 | * gdbtypes.c (cfront_mangle_name): #ifdef out unused function. | |
353 | * ch-exp.c (parse_mode_call): Ditto. | |
354 | * f-valprint.c (there_is_a_visible_common_named): Ditto. | |
355 | * f-lang.c (clear_function_list): Ditto. | |
356 | (get_bf_for_fcn): Ditto. | |
357 | (clear_bf_list): Ditto. | |
358 | (add_common_block): Ditto. | |
359 | (patch_all_commons_by_name): Ditto. | |
360 | (find_first_common_named): Ditto. | |
361 | (add_common_entry): Ditto. | |
362 | (allocate_saved_function_node): Ditto. | |
363 | (allocate_saved_bf_node): Ditto. | |
364 | (allocate_common_entry_node): Ditto. | |
365 | (allocate_saved_f77_common_node): Ditto. | |
366 | ||
367 | * arm-tdep.c (gdbcore.h): Include for necessary prototypes. | |
368 | * dcache.c (gdbcore.h): Ditto. | |
369 | * i386ly-tdep.c (gdbcore.h): Ditto. | |
370 | * i960-tdep.c (gdbcore.h): Ditto. | |
371 | * m2-valprint.c (m2-lang.h): Ditto. | |
372 | * m68k-tdep.c (gdbcore.h): Ditto. | |
373 | (value.h): Ditto. | |
374 | (gdb_string.h): Ditto. | |
375 | * nindy-tdep.c (gdbcore.h): Ditto. | |
376 | * scm-lang.c (gdbcore.h): Ditto. | |
377 | * scm-valprint.c (gdbcore.h): Ditto. | |
378 | * w65-tdep.c (gdbcore.h): Ditto. | |
379 | * z8k-tdep.c (gdbcore.h): Ditto. | |
380 | * sparc-tdep.c (gdb_string.h): Include. | |
381 | * valprint.c (valprint.h): Include. | |
382 | ||
383 | * config/xm-lynx.h: Remove part of comment about INT_MIN | |
384 | redefined warnings from defs.h, since INT_MIN define in | |
385 | defs.h is now protected by #ifndef INT_MIN. | |
386 | * config/i386/xm-i386bsd.h: Ditto. | |
387 | * config/m68k/xm-hp300bsd.h: Ditto. | |
388 | * config/m68k/xm-news.h: Ditto. | |
389 | ||
390 | * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN | |
391 | definition as 0x80000000. The macro in defs.h is better. | |
392 | * config/i386/xm-i386m3.h (INT_MIN): Ditto. | |
393 | * config/i386/xm-i386mach.h (INT_MIN): Ditto. | |
394 | * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto. | |
395 | * config/pa/xm-hppab.h: Ditto. | |
396 | ||
397 | * core-aout.c (fetch_core_registers): Add prototype. | |
398 | * hp300ux-nat.c (fetch_inferior_register): Ditto. | |
399 | (store_inferior_register_1): Ditto. | |
400 | (store_inferior_register): Ditto. | |
401 | * config/m68k/tm-m68k.h (find_saved_regs): Ditto. | |
402 | *scm-valprint.c (c_val_print): Ditto. | |
403 | * procfs.c (add_fd): Ditto. | |
404 | (remove_fd): Ditto. | |
405 | (wait_fd): Ditto. | |
406 | (sigcodename): Ditto. | |
407 | (sigcodedesc): Ditto. | |
408 | (procfs_kill_inferior): Ditto. | |
409 | (procfs_xfer_memory): Ditto. | |
410 | (procfs_store_registers): Ditto. | |
411 | (create_procinfo): Ditto. | |
412 | (procfs_init_inferior): Ditto. | |
413 | (proc_set_exec_trap): Ditto. | |
414 | (procfs_attach): Ditto. | |
415 | (procfs_detach): Ditto. | |
416 | (procfs_prepare_to_store): Ditto. | |
417 | (procfs_files_info): Ditto. | |
418 | (procfs_open): Ditto. | |
419 | (procfs_wait): Ditto. | |
420 | (procfs_fetch_registers): Ditto. | |
421 | (procfs_mourn_inferior): Ditto. | |
422 | (procfs_can_run): Ditto. | |
423 | (procfs_thread_alive): Ditto. | |
424 | (procfs_stop): Ditto. | |
425 | * alpha-nat.c (fetch_core_registers): Ditto. | |
426 | * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto. | |
427 | * objfiles.c (ecoff_relocate_efi): Ditto. | |
428 | * inflow.c (pass_signal): Ditto. | |
429 | (handle_sigio): Ditto. | |
430 | * annotate.c (breakpoint_changed): Ditto. | |
431 | * callback.c (wrap): Ditto. | |
432 | (fdbad): Ditto. | |
433 | (fdmap): Ditto. | |
434 | * utils.c (malloc_botch): Ditto. | |
435 | (fputs_maybe_filtered): Ditto. | |
436 | (vfprintf_maybe_filtered): Ditto. | |
437 | * defs.h (notice_quit): Ditto. | |
438 | * defs.h (xmalloc, xrealloc): Ditto. | |
439 | * top.c (stop_sig): Ditto. | |
440 | (init_signals): Ditto. | |
441 | (user_defined_command): Ditto. | |
442 | (source_cleanup_lines): Ditto. | |
443 | (dont_repeat_command): Ditto. | |
444 | (serial_log_command): Ditto. | |
445 | (disconnect): Ditto. | |
446 | * target.h (initialize_targets): Ditto. | |
447 | * os9kread.c (read_minimal_symbols): Ditto. | |
448 | * mdebugread.c (mdebug_psymtab_to_symtab): Ditto. | |
449 | (fdr_name): Ditto. | |
450 | (push_parse_stack): Ditto. | |
451 | (pop_parse_stack): Ditto. | |
452 | (is_pending_symbol): Ditto. | |
453 | (add_pending): Ditto. | |
454 | * serial.c (serial_logchar): Ditto. | |
455 | (serial_interface_lookup): Ditto. | |
456 | * serial.h (serial_log_command): Ditto. | |
457 | * f-valprint.c (info_common_command): Ditto. | |
458 | * gdbtypes.h (print_type_scalar): Ditto. | |
459 | * scm-valprint.c (scm_scmlist_print): Ditto. | |
460 | (scm_ipruk): Ditto. | |
461 | * scm-lang.c (scm_printstr): Ditto. | |
462 | (in_eval_c): Ditto. | |
463 | (evaluate_subexp_scm): Ditto. | |
464 | * scm-exp.c (scm_read_token): Ditto. | |
465 | (scm_skip_ws): Ditto. | |
466 | (scm_lreadparen): Ditto. | |
467 | * m2-lang.c (emit_char): Ditto. | |
468 | (m2_printchar): Ditto. | |
469 | (m2_printstr): Ditto. | |
470 | (m2_create_fundamental_type): Ditto. | |
471 | * f-lang.c (emit_char): Ditto. | |
472 | (f_printchar): Ditto. | |
473 | (f_printstr): Ditto. | |
474 | (f_create_fundamental_type): Ditto. | |
475 | * ch-lang.c (chill_printchar): Ditto. | |
476 | (chill_printstr): Ditto. | |
477 | (chill_create_fundamental_type): Ditto. | |
478 | (value_chill_length): Ditto. | |
479 | (value_chill_card): Ditto. | |
480 | (value_chill_max_min): Ditto. | |
481 | (evaluate_subexp_chill): Ditto. | |
482 | * ch-exp.c (PEEK_TOKEN): Ditto. | |
483 | (peek_token_): Ditto. | |
484 | (forward_token_): Ditto. | |
485 | (parse_case_label): Ditto. | |
486 | (parse_opt_untyped_expr): Ditto. | |
487 | (parse_unary_call): Ditto. | |
488 | (parse_call): Ditto. | |
489 | (parse_named_record_element): Ditto. | |
490 | (parse_tuple_element): Ditto. | |
491 | (parse_opt_element_list): Ditto. | |
492 | (parse_tuple): Ditto. | |
493 | (parse_primval): Ditto. | |
494 | (parse_operand6): Ditto. | |
495 | (parse_operand5): Ditto. | |
496 | (parse_operand4): Ditto. | |
497 | (parse_operand3): Ditto. | |
498 | (parse_operand2): Ditto. | |
499 | (parse_operand1): Ditto. | |
500 | (parse_operand0): Ditto. | |
501 | (parse_expr): Ditto. | |
502 | (parse_then_alternative): Ditto. | |
503 | (parse_else_alternative): Ditto. | |
504 | (parse_if_expression): Ditto. | |
505 | (parse_untyped_expr): Ditto. | |
506 | (growbuf_by_size): Ditto. | |
507 | (match_simple_name_string): Ditto. | |
508 | (decode_integer_value): Ditto. | |
509 | (decode_integer_literal): Ditto. | |
510 | (match_float_literal): Ditto. | |
511 | (match_float_literal): Ditto. | |
512 | (match_string_literal): Ditto. | |
513 | (match_character_literal): Ditto. | |
514 | (match_integer_literal): Ditto. | |
515 | (match_bitstring_literal): Ditto. | |
516 | (write_lower_upper_value): Ditto. | |
517 | * ch-lang.h (type_lower_upper): Ditto. | |
518 | * c-lang.c (emit_char): Ditto. | |
519 | * dwarfread.c (free_utypes): Ditto. | |
520 | * stabsread.h (resolve_cfront_continuation): Ditto. | |
521 | * stabsread.c (get_substring): Ditto. | |
522 | (read_one_struct_field): Ditto. | |
523 | * stabsread.h (process_later): Ditto. | |
524 | * demangle.c (set_demangling_command): Ditto. | |
525 | * defs.h (set_demangling_style): Ditto. | |
526 | * maint.c (maintenance_info_command): Ditto. | |
527 | (print_section_table): Ditto. | |
528 | (maintenance_info_sections): Ditto. | |
529 | (maintenance_print_command): Ditto. | |
530 | * symtab.h (maintenance_print_statistics): Ditto. | |
531 | * objfiles.h (in_plt_section): Ditto. | |
532 | * objfiles.c (add_to_objfile_sections): Ditto. | |
533 | * bcache.c (hash): Ditto. | |
534 | (lookup_cache): Ditto. | |
535 | * exec.c (bfdsec_to_vmap): Ditto. | |
536 | (ignore): Ditto. | |
537 | * f-exp.y (growbuf_by_size, match_string_literal): Ditto. | |
538 | * language.c (unk_lang_printchar): Ditto. | |
539 | (unk_lang_printstr): Ditto. | |
540 | (unk_lang_create_fundamental_type): Ditto. | |
541 | (unk_lang_print_type): Ditto. | |
542 | (unk_lang_val_print): Ditto. | |
543 | (unk_lang_value_print): Ditto. | |
544 | * target.c (update_current_target): Ditto. | |
545 | (debug_to_open): Ditto. | |
546 | (debug_to_close): Ditto. | |
547 | (debug_to_attach): Ditto. | |
548 | (debug_to_detach): Ditto. | |
549 | (debug_to_resume): Ditto. | |
550 | (debug_to_wait): Ditto. | |
551 | (debug_to_fetch_registers): Ditto. | |
552 | (debug_to_store_registers): Ditto. | |
553 | (debug_to_prepare_to_store): Ditto. | |
554 | (debug_to_xfer_memory): Ditto. | |
555 | (debug_to_files_info): Ditto. | |
556 | (debug_to_insert_breakpoint): Ditto. | |
557 | (debug_to_remove_breakpoint): Ditto. | |
558 | (debug_to_terminal_init): Ditto. | |
559 | (debug_to_terminal_inferior): Ditto. | |
560 | (debug_to_terminal_ours_for_output): Ditto. | |
561 | (debug_to_terminal_ours): Ditto. | |
562 | (debug_to_terminal_info): Ditto. | |
563 | (debug_to_kill): Ditto. | |
564 | (debug_to_load): Ditto. | |
565 | (debug_to_lookup_symbol): Ditto. | |
566 | (debug_to_create_inferior): Ditto. | |
567 | (debug_to_mourn_inferior): Ditto. | |
568 | (debug_to_can_run): Ditto. | |
569 | (debug_to_notice_signals): Ditto. | |
570 | (debug_to_thread_alive): Ditto. | |
571 | (debug_to_stop): Ditto. | |
cb74cc24 | 572 | start-sanitize-gdbtk |
b607efe7 FF |
573 | * gdbtk.c (null_routine): Ditto. |
574 | (gdbtk_flush): Ditto. | |
575 | (gdbtk_fputs): Ditto. | |
576 | (gdbtk_query): Ditto. | |
577 | (gdbtk_readline): Ditto. | |
578 | (gdbtk_readline_end): Ditto. | |
579 | (gdb_get_breakpoint_list): Ditto. | |
580 | (gdb_get_breakpoint_info): Ditto. | |
581 | (breakpoint_notify): Ditto. | |
582 | (gdbtk_create_breakpoint): Ditto. | |
583 | (gdbtk_delete_breakpoint): Ditto. | |
584 | (gdbtk_modify_breakpoint): Ditto. | |
585 | (gdb_loc): Ditto. | |
586 | (gdb_eval): Ditto. | |
587 | (gdb_sourcelines): Ditto. | |
588 | (map_arg_registers): Ditto. | |
589 | (get_register_name): Ditto. | |
590 | (gdb_regnames): Ditto. | |
591 | (get_register): Ditto. | |
592 | (gdb_fetch_registers): Ditto. | |
593 | (register_changed_p): Ditto. | |
594 | (gdb_changed_register_list): Ditto. | |
595 | (gdb_cmd): Ditto. | |
596 | (call_wrapper): Ditto. | |
597 | (gdb_listfiles): Ditto. | |
598 | (gdb_stop): Ditto. | |
599 | (gdbtk_dis_asm_read_memory): Ditto. | |
600 | (compare_lines): Ditto. | |
601 | (gdb_disassemble): Ditto. | |
602 | (tk_command): Ditto. | |
603 | (cleanup_init): Ditto. | |
604 | (gdbtk_interactive): Ditto. | |
605 | (x_event): Ditto. | |
606 | (gdbtk_wait): Ditto. | |
607 | (gdbtk_call_command): Ditto. | |
608 | (tk_command_loop): Ditto. | |
609 | (gdbtk_init): Ditto. | |
cb74cc24 | 610 | end-sanitize-gdbtk |
b607efe7 FF |
611 | * breakpoint.h (set_breakpoint_sal): Ditto. |
612 | * remote-utils.c (usage): Ditto. | |
613 | * remote.c (set_thread): Ditto. | |
614 | (remote_thread_alive): Ditto. | |
615 | (get_offsets): Ditto. | |
616 | (read_frame): Ditto. | |
617 | (remote_insert_breakpoint): Ditto. | |
618 | (remote_remove_breakpoint): Ditto. | |
619 | * sparc-nat.c (fetch_core_registers): Ditto. | |
620 | * corelow.c (add_to_thread_list): Ditto. | |
621 | (ignore): Ditto. | |
622 | * inftarg.c (proc_wait): Ditto. | |
623 | * infptrace.c (udot_info): Ditto. | |
624 | (fetch_register): Ditto. | |
625 | * ser-unix.c (hardwire_noflush_set_tty_state): Ditto. | |
626 | (hardwire_print_tty_state): Ditto. | |
627 | (hardwire_flush_output): Ditto. | |
628 | (hardwire_flush_input): Ditto. | |
629 | (hardwire_send_break): Ditto. | |
630 | (hardwire_setstopbits): Ditto. | |
631 | * ser-tcp.c (tcp_return_0): Ditto. | |
632 | (tcp_noflush_set_tty_state): Ditto. | |
633 | (tcp_print_tty_state): Ditto. | |
634 | * solib.c (match_main): Ditto. | |
635 | * gdbtypes.c (print_bit_vector): Ditto. | |
636 | (print_arg_types): Ditto. | |
637 | (dump_fn_fieldlists): Ditto. | |
638 | (print_cplus_stuff): Ditto. | |
639 | * symfile.h (entry_point_address): Ditto. | |
640 | * symfile.c (decrement_reading_symtab): Ditto. | |
641 | * valops.c (value_arg_coerce): Ditto. | |
642 | * value.h (find_function_in_inferior): Ditto. | |
643 | (value_allocate_space_in_inferior): Ditto. | |
644 | * values.c (vb_match): Ditto. | |
645 | * thread.c (info_thread_command): Ditto. | |
646 | (restore_current_thread): Ditto. | |
647 | (thread_apply_all_command): Ditto. | |
648 | (thread_apply_command): Ditto. | |
649 | * inferior.h (write_pc_pid): Ditto. | |
650 | * infrun.c (delete_breakpoint_current_contents): Ditto. | |
651 | * breakpoint.c (print_it_normal): Ditto. | |
652 | (watchpoint_check): Ditto. | |
653 | (print_it_done): Ditto. | |
654 | (print_it_noop): Ditto. | |
655 | (maintenance_info_breakpoints): Ditto. | |
656 | (create_longjmp_breakpoint): Ditto. | |
657 | (hbreak_command): Ditto. | |
658 | (thbreak_command): Ditto. | |
659 | (watch_commnd_1): Ditto. | |
660 | (rwatch_command): Ditto. | |
661 | (awatch_command): Ditto. | |
662 | (do_enable_breakpoint): Ditto. | |
663 | * ch-valprint.c (chill_val_print_array_elements): Ditto. | |
664 | * eval.c (evaluate_subexp): Ditto. | |
665 | (get_label): Ditto. | |
666 | (evaluate_struct_tuple): Ditto. | |
667 | * eval.c (init_array_element): Ditto. | |
668 | ||
669 | * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static. | |
670 | * breakpoint.c (hw_breakpoint_used_count): Ditto. | |
671 | (hw_watchpoint_used_count): Ditto. | |
672 | * findvar.c (write_register_gen): Ditto. | |
673 | (read_register_pid): Ditto. | |
674 | * symtab.c (cplusplus_hint): Ditto. | |
675 | * infcmd.c (breakpoint_auto_delete_contents): Ditto. | |
676 | * ch-valprint.c (chill_print_type_scalar): Ditto. | |
677 | * gdbtypes.c (add_name): Ditto. | |
678 | (add_mangled_type): Ditto. | |
679 | (cfront_mangle_name): Ditto. | |
680 | * sparc-tdep.c (isbranch): Ditto. | |
681 | * inftarg.c (child_stop): Ditto. | |
682 | * win32-nat.c (child_stop): Ditto. | |
683 | * mac-nat.c (child_stop): Ditto. | |
684 | * remote-utils.c (sr_com): Ditto. | |
685 | * dbxread.c (process_now): Ditto. | |
686 | * ch-exp.c (require): Ditto. | |
687 | (check_token): Ditto. | |
688 | (expect): Ditto. | |
689 | (parse_mode_call): Ditto. | |
690 | (parse_mode_or_normal_call): Ditto. | |
691 | * scm-lang.c (scm_lookup_name): Ditto | |
692 | * f-lang.c (allocate_saved_bf_node): Ditto. | |
693 | (allocate_saved_function_node): Ditto. | |
694 | (allocate_saved_f77_common_node): Ditto. | |
695 | (allocate_common_entry_node): Ditto. | |
696 | (add_common_block): Ditto. | |
697 | (add_common_entry): Ditto. | |
698 | (find_first_common_named): Ditto. | |
699 | (patch_common_entries): Ditto. | |
700 | (patch_all_commons_by_name): Ditto. | |
701 | (clear_bf_list): Ditto. | |
702 | (get_bf_for_fcn): Ditto. | |
703 | (clear_function_list): Ditto. | |
704 | * scm-exp.c (scm_istr2int): Ditto. | |
705 | (scm_istring2number): Ditto. | |
706 | * scm-valprint.c (scm_inferior_print): Ditto. | |
707 | * f-typeprint.c (print_equivalent_f77_float_type): Ditto. | |
708 | * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto. | |
709 | (f77_create_arrayprint_offset_tbl): Ditto. | |
710 | (f77_print_array_1): Ditto. | |
711 | (f77_print_array): Ditto. | |
712 | (list_all_visible_commons): Ditto. | |
713 | (there_is_a_visible_common_named): Ditto. | |
714 | * mdebugread.c (ecoff_relocate_efi): Ditto. | |
715 | * callback.c (os_close): Ditto. | |
716 | (os_get_errno): Ditto. | |
717 | (os_isatty): Ditto. | |
718 | (os_lseek): Ditto. | |
719 | (os_open): Ditto. | |
720 | (os_read): Ditto. | |
721 | (os_read_stdin): Ditto. | |
722 | (os_write): Ditto. | |
723 | (os_write_stdout): Ditto. | |
724 | (os_rename): Ditto. | |
725 | (os_system): Ditto. | |
726 | (os_time): Ditto. | |
727 | (os_unlink): Ditto. | |
728 | (os_shutdown): Ditto. | |
729 | (os_init): Ditto. | |
730 | (os_printf_filtered): Ditto. | |
731 | ||
732 | * scm-lang.h (scm_parse): Change old style decl to prototype. | |
733 | * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto. | |
734 | * top.c (init_proc): Ditto. | |
735 | (query_hook): Ditto. | |
736 | (error_hook): Ditto. | |
737 | * f-lang.c (c_value_print): Ditto. | |
738 | * ch-exp.c (parse_expression): Ditto. | |
739 | (parse_primval): Ditto. | |
740 | (parse_untyped_expr): Ditto. | |
741 | (parse_opt_untyped_expr): Ditto. | |
742 | (ch_lex): Ditto. | |
743 | * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto. | |
744 | (sparc_frame_saved_pc): Ditto. | |
745 | (sparc_push_dummy_frame): Ditto. | |
746 | (sparc_pop_frame): Ditto. | |
747 | * defs.h (fclose): Ditto. | |
748 | (atof): Ditto. | |
749 | (error_hook): Ditto. | |
750 | ||
751 | * arc-tdep.c (single_step): Change arg to type "enum target_signal". | |
752 | * rs6000-tdep.c (single_step): Ditto. | |
753 | * sparc-tdep.c (single_step): Ditto. | |
754 | ||
755 | * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type | |
756 | to PTR which is what make_cleanup expects. | |
757 | * utils.c (null_cleanup): Change arg type to PTR. | |
758 | * defs.h (null_cleanup): Change prototype to match actual function. | |
759 | * config/sparc/tm-sparc.h (struct frame_info): Move forward decl. | |
760 | * ch-valprint.c (chill_val_print): Cast 2nd arg of | |
761 | chill_print_type_scalar to LONGEST. | |
762 | * infrun.c (wait_for_inferior): Have empty switch case for | |
763 | BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined. | |
764 | (stop_on_solib_events): Only needed if SOLIB_ADD is defined. | |
765 | * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD | |
766 | is defined. | |
767 | * symfile.c (generic_load): Scan long int using a long int spec, | |
768 | not an int spec. | |
769 | * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE | |
770 | is defined. | |
771 | (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is | |
772 | not defined. | |
773 | * inflow.c (handle_sigio): Only need prototype when the actual | |
774 | function is compiled in. | |
775 | * valprint.c (longest_to_int): Expand error message to be | |
776 | separate messages for args larger than largest signed int | |
777 | and args smaller than smallest signed int. | |
778 | * valprint.c (print_longest): Fix problems with support for case | |
779 | where compiler supports type "long long" but the runtime doesn't | |
780 | support printing them with "%ll". | |
781 | * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change | |
782 | return types to void since we don't actually return anything | |
783 | meaningful and callees ignore the values anyway. | |
784 | * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET | |
785 | ifdef. | |
786 | (modify_run_on_last_close_flag): Ditto. | |
787 | (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL | |
788 | ifdef | |
789 | * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than | |
790 | random value. | |
791 | * infrun.c (wait_for_inferior): Ensure random_signal is not used | |
792 | uninitialized. | |
793 | * valops.c (call_function_by_hand): Ensure struct_addr is not used | |
794 | uninitialized. | |
795 | * breakpoint.c (watch_command_1): Ensure prev_frame is not used | |
796 | uninitialized. | |
797 | * utils.c (vfprintf_maybe_filtered): Change second arg from "char *" | |
798 | to "const char *". | |
cb74cc24 | 799 | start-sanitize-gdbtk |
b607efe7 FF |
800 | * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers |
801 | to proper pointer type, from int. | |
802 | (gdbtk_query): Change first arg to "const char *" from "char *". | |
cb74cc24 | 803 | end-sanitize-gdbtk |
b607efe7 FF |
804 | * infptrace.c (udot_info): Add two dummy args so that the type is |
805 | correct for passing to add_info. | |
806 | * f-lang.c (saved_fcn): Move decl to head of file so it can be used | |
807 | in prototypes. | |
808 | (saved_bf_symnum): Ditto. | |
809 | (SAVED_FUNCTION): Ditto. | |
810 | (SAVED_FUNCTION_PTR): Ditto. | |
811 | (SAVED_BF): Ditto. | |
812 | (SAVED_BF_PTR): Ditto. | |
813 | * ch-exp.c (parse_named_record_element): Build error message in | |
814 | temporary buffer before passing it to expect, rather than passing | |
815 | wrong number of args to expect. | |
816 | * demangle.c (set_demangling_style): Call set_demangling_command with | |
817 | correct number of arguments. | |
818 | * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to | |
819 | int to match actual function. | |
820 | (os_isatty): Call fdmap with right number of arguments, was missing | |
821 | the host_callback* arg. | |
822 | * target.c (cleanup_target): Prototype all functions casts. | |
823 | * target.h (one_stepped, single_step): Declare here and convert | |
824 | single_step to prototype. | |
825 | * infrun.c (one_stepped, single_step): Don't declare externs | |
826 | here, they have moved to target.h. | |
827 | * eval.c (init_array_element): Declare previously undeclared | |
828 | last two args as LONGEST. | |
829 | * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form. | |
cb74cc24 SS |
830 | start-sanitize-gdbtk |
831 | * gdbtk.c (register_changed_p): Remove unused local variable "buf". | |
832 | end-sanitize-gdbtk | |
b607efe7 | 833 | |
dc88c64e DE |
834 | Thu Jul 25 16:11:54 1996 Doug Evans <dje@canuck.cygnus.com> |
835 | ||
836 | * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS. | |
837 | ||
3a179be1 SG |
838 | Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com) |
839 | ||
840 | * Makefile.in (os9kread.o): Remove dependency on partial-stab.h. | |
841 | * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't | |
842 | use partial_symtab->textlow==0 as a flag, as 0 is a legitimate | |
843 | text address. Use a seperate flag (textlow_not_set) instead. | |
844 | This makes stabs in ELF .o files work a lot better. | |
845 | * mdebugread.c xcoffread.c: Define textlow_not_set for | |
846 | partial-stab.h. | |
847 | * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype. | |
848 | ||
cb74cc24 | 849 | start-sanitize-gdbtk |
396bf873 FF |
850 | Sat Jul 20 17:46:40 1996 Fred Fish <fnf@cygnus.com> |
851 | ||
852 | * gdbtk.tcl (files_command): Reorder the binding tags for | |
853 | the listbox widget to avoid referencing the listbox after | |
854 | the containing widget has been destroyed by the action of | |
855 | a previous binding. | |
cb74cc24 | 856 | end-sanitize-gdbtk |
396bf873 | 857 | |
9422fadb FF |
858 | Sat Jul 20 10:41:06 1996 Fred Fish <fnf@cygnus.com> |
859 | ||
860 | * dwarf2read.c (struct filenames): Change internal "struct file" | |
861 | to "struct fileinfo" to avoid conflict with "struct file" in | |
862 | <sys/file.h> on HPUX and Solaris. | |
863 | ||
cb74cc24 | 864 | start-sanitize-gdbtk |
efd14e45 FF |
865 | Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com> |
866 | ||
867 | * gdbtk.tcl (delete_expr): Unset corresponding element of | |
868 | expr_update_list when destroying an expression. | |
869 | (create_expr_window): Initialize expr_num, delete_expr_num, | |
870 | and expr_update_list here when each new expression window | |
871 | is created, rather than once at startup. | |
cb74cc24 | 872 | end-sanitize-gdbtk |
efd14e45 | 873 | |
fcf05549 SS |
874 | Fri Jul 19 14:05:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
875 | ||
876 | * dwarf2read.c: New file, DWARF 2 reader originally contributed by | |
877 | Brent Benson, with additions by Gary Funck and Jerry Kreuscher. | |
878 | * Makefile.in (COMMON_OBS): Add dwarf2read.o. | |
879 | (SFILES): Add dwarf2read.c. | |
880 | (dwarf2read.o): Add build rule. | |
881 | * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare | |
882 | exported functions. | |
883 | * elfread.c (elf_symfile_read): Call them. | |
884 | (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols. | |
885 | ||
3f17fed8 GN |
886 | Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com> |
887 | ||
888 | * symfile.c (symfile_bfd_open): | |
889 | * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems, | |
890 | free the user from having to type the .exe extension. | |
891 | ||
2531b169 MA |
892 | Wed Jul 17 06:54:50 1996 Mark Alexander <marka@cygnus.com> |
893 | ||
894 | * mon960-rom.c: Shorten the mon960_inits string to a single | |
895 | carriage return; this prevents a hang on connecting immediately | |
896 | after powerup, when MON960 is attempting autobaud detection. | |
897 | ||
48b497ed MA |
898 | Tue Jul 16 23:47:04 1996 Mark Alexander <marka@cygnus.com> |
899 | ||
900 | * a29k-tdep.c (get_saved_register): Allow PC to be modified | |
901 | when innermost frame is selected, but not in outer frames. | |
902 | ||
76420d46 SG |
903 | Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com) |
904 | ||
905 | * command.c (do_setshow_command): Don't segfault when showing | |
906 | var_string and var_string_noescape vars that are NULL. | |
907 | ||
2dcfc9c7 DE |
908 | Mon Jul 15 16:55:48 1996 Doug Evans <dje@canuck.cygnus.com> |
909 | ||
910 | * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to | |
911 | cygwin32_conv_to_posix_path. | |
912 | (child_create_inferior): unix_path_to_dos_path renamed to | |
913 | cygwin32_conv_to_win32_path. Rewrite code to translate PATH. | |
914 | ||
91550191 SG |
915 | Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com) |
916 | ||
917 | * defs.h printcmd.c: Create global disassemble_info structure | |
918 | tm_print_insn_info. | |
cb74cc24 | 919 | start-sanitize-gdbtk |
91550191 SG |
920 | * gdbtk.c (gdb_disassemble): Setup di.mach from |
921 | tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. | |
cb74cc24 | 922 | end-sanitize-gdbtk |
91550191 SG |
923 | * i386-tdep.c (set_assembly_language_command): set |
924 | tm_print_insn_info.mach to the appropriate value for 386 or 8086 | |
925 | disassembly. | |
926 | * printcmd.c (print_insn): Move init of disassembler_info to | |
927 | _initialize_printcmd. Set endian for disassembler here. | |
928 | * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to | |
929 | select sparc/sparclite. | |
930 | * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of | |
931 | TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to | |
932 | bfd_mach_sparc/bfd_mach_sparc_sparclite. | |
933 | ||
d369b213 FF |
934 | Fri Jul 12 19:04:32 1996 Fred Fish <fnf@cygnus.com> |
935 | ||
936 | * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather | |
937 | than xmalloc/xrealloc. | |
938 | ||
c0e6ae2e FF |
939 | Fri Jul 12 17:59:47 1996 Fred Fish <fnf@ninemoons.com> |
940 | ||
941 | * objfiles.c (map_to_file): Error return from mmalloc_findbase is | |
942 | a NULL pointer, not a -1. | |
943 | ||
f33b2c13 SG |
944 | Fri Jul 12 10:16:24 1996 Stu Grossman (grossman@critters.cygnus.com) |
945 | ||
946 | * i386-tdep.c (set_assembly_language_command): New routine to | |
947 | select between i386 and i8086 instruction sets for disassembly. | |
948 | New command `set assembly-language {i386 i8086}'. | |
949 | ||
f3138a7c MA |
950 | Thu Jul 11 21:13:21 1996 Mark Alexander <marka@cygnus.com> |
951 | ||
952 | * monitor.c (monitor_write_memory, monitor_read_memory_single): | |
953 | Disable use of "long long" memory read/write commands; can't | |
954 | use them because we hold the values to read/write in an int | |
955 | variable, and because strtoul fails on values that exceed the | |
956 | size of a long. This fixes breakpoint problems on MON960. | |
957 | ||
4853b6d1 FF |
958 | Thu Jul 11 11:39:31 1996 Fred Fish <fnf@cygnus.com> |
959 | ||
960 | * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition. | |
961 | * config/pa/xm-hppah.h (HAVE_MMAP): Ditto. | |
962 | ||
54109914 FF |
963 | Wed Jul 10 16:54:41 1996 Fred Fish <fnf@cygnus.com> |
964 | ||
965 | * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE | |
966 | and MMALLOC_CHECK macros, and add comment indicating how host dependent | |
967 | makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or | |
968 | to use it but to not do heap corruption checking. | |
969 | * gdbserver/Makefile.in: Ditto. | |
970 | * utils.c (init_malloc): Replace warning() use with direct call of | |
971 | fprintf_unfiltered, since current_target has not yet been set and thus | |
972 | we cannot use warning(). If we try to use mmcheck and it fails, | |
973 | suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE | |
974 | defined. Other small mmalloc related cleanups. | |
975 | * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. | |
976 | * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK. | |
977 | ||
978 | * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
979 | * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
980 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
981 | * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
982 | * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT); | |
983 | * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
984 | * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
985 | * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
986 | Remove obsolete defines. | |
987 | ||
988 | * config/alpha/alpha-linux.mh (MMALLOC_DISABLE): | |
989 | * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE): | |
990 | * config/rs6000/rs6000.mh (MMALLOC_DISABLE): | |
991 | * config/rs6000/aix4.mh (MMALLOC_DISABLE): | |
992 | * config/powerpc/aix4.mh (MMALLOC_DISABLE): | |
993 | * config/powerpc/aix.mh (MMALLOC_DISABLE): | |
994 | * config/ns32k/ns32km3.mh (MMALLOC_DISABLE): | |
995 | * config/mips/mipsm3.mh (MMALLOC_DISABLE): | |
996 | * config/mips/decstation.mh (MMALLOC_DISABLE): | |
997 | * config/m88k/cxux.mh (MMALLOC_DISABLE): | |
998 | * config/i386/i386mk.mh (MMALLOC_DISABLE): | |
999 | * config/i386/i386m3.mh (MMALLOC_DISABLE): | |
1000 | * config/i386/i386gnu.mh (MMALLOC_DISABLE): | |
1001 | Use MMALLOC_CFLAGS instead. | |
1002 | ||
4679717d JL |
1003 | Tue Jul 9 22:41:12 1996 Jeffrey A Law (law@cygnus.com) |
1004 | ||
1005 | * h8300-tdep.c: Remove some outdated comments. | |
1006 | (h8300_skip_prologue): Rework to be more correct for the H8/300H. | |
1007 | Handle stm.l insns for the H8/S. | |
1008 | (examine_prologue): Likewise. | |
1009 | ||
15aec61c RJ |
1010 | Tue Jul 9 16:48:55 1996 Raymond Jou <rjou@mexican.cygnus.com> |
1011 | ||
1012 | * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf. | |
1013 | ||
ee7b308f MA |
1014 | Mon Jul 08 08:50:39 1996 Mark Alexander <marka@cygnus.com> |
1015 | ||
1016 | * mon960-rom.c (mon960_open): Add floating point detection to | |
1017 | prevent hang on non-FPU processors (PR 9775). | |
1018 | (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem | |
1019 | setting breakpoints and improve loading speed. | |
1020 | ||
ace4b8d7 FF |
1021 | Sun Jul 7 14:57:34 1996 Fred Fish <fnf@cygnus.com> |
1022 | ||
1023 | * coffread.c (record_minimal_symbol): Don't presave name string | |
1024 | on symbol_obstack before passing to prim_record_minimal_symbol. | |
1025 | It now handles saving the string itself. | |
1026 | * dbxread.c (read_dbx_dynamic_symtab): Ditto. | |
1027 | * mipsread.c (read_alphacoff_dynamic_symtab): Ditto. | |
1028 | * os9kread.c (record_minimal_symbol): Ditto. | |
1029 | * solib.c (solib_add_common_symbols): Ditto. | |
1030 | ||
1031 | * coffread.c (coff_symtab_read): Don't presave name string on | |
1032 | symbol_obstack before passing to prim_record_minimal_symbol_and_info. | |
1033 | It now handles saving the string itself. | |
1034 | * dbxread.c (record_minimal_symbol): Ditto. | |
1035 | * elfread.c (record_minimal_symbol_and_info): Ditto. | |
1036 | ||
1037 | * dstread.c (record_minimal_symbol): Remove static function that just | |
1038 | called prim_record_minimal_symbol with the same args (after change to | |
1039 | prim_record_minimal_symbol to do it's own name string saves). | |
1040 | * nlmread.c (record_minimal_symbol): Ditto. | |
1041 | * somread.c (record_minimal_symbol): Ditto. | |
1042 | ||
1043 | * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack. | |
1044 | (hpread_read_function_type): Ditto. | |
1045 | (hpread_process_one_debug_symbol): Ditto. | |
1046 | * mdebugread.c (parse_symbol): Ditto. | |
1047 | (new_symbol): Ditto. | |
1048 | * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. | |
1049 | ||
1050 | * coffread.c (process_coff_symbol): Use obsavestring to save | |
1051 | SYMBOL_NAME, rather than obstack_copy0. | |
1052 | * dstread.c (create_new_symbol): Ditto | |
1053 | * symfile.c (obconcat): Ditto. | |
1054 | * stabsread.c (patch_block_stabs): Ditto. | |
1055 | * xcoffread.c (SYMNAME_ALLOC): Ditto. | |
1056 | ||
1057 | * symfile.c (obsavestring): Update comments | |
1058 | * solib.c (solib_add_common_symbols): Remove local var origname. | |
1059 | ||
89e673a4 SG |
1060 | Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com) |
1061 | ||
bc859e63 SG |
1062 | * configure: Re-build with autoconf-2.10. |
1063 | ||
89e673a4 SG |
1064 | * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h, |
1065 | config/sparc/tm-sparclite.h: Initialize tm_print_insn from | |
1066 | TM_PRINT_INSN, which comes from the tm file. | |
1067 | ||
e74acce4 MA |
1068 | Tue Jul 02 21:41:20 1996 Mark Alexander <marka@cygnus.com> |
1069 | ||
1070 | * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, | |
1071 | os9kread.c: Replace identical sym_offsets functions with | |
1072 | default_symfile_offsets. | |
1073 | * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS | |
1074 | macro to allocate section_offsets. | |
1075 | * symfile.c (default_symfile_offsets): New function. | |
1076 | * symfile.h: Declare default_symfile_offsets. | |
1077 | * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to | |
1078 | simplify allocation of section_offsets. | |
1079 | ||
89e673a4 SG |
1080 | Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com) |
1081 | ||
1082 | * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. | |
1083 | * configure configure.in: Only make sol-thread.o for native. | |
1084 | Also, switch to dlopened libthread_db.so.1. | |
1085 | * sol-thread.c: Switch to using dlopen to get the thread_db | |
1086 | library. | |
1087 | ||
1088 | Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1089 | ||
1090 | * configure, configure.in: Change test for libthread_db to only | |
1091 | work for configs where build/host/target are the same. | |
1092 | ||
eafdda3d MM |
1093 | Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1094 | ||
1095 | * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on | |
1096 | PowerPC. | |
1097 | ||
1098 | * configure.in (powerpc-*-linux): Add Linux, System V, and ELF | |
1099 | support. | |
1100 | * configure: Regenerate. | |
1101 | ||
6687c953 SS |
1102 | Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com> |
1103 | ||
1104 | From Raymond Jou <rjou@mexican.cygnus.com>: | |
1105 | * mpw-make.sed: Add lines to whack out autoconf hook | |
1106 | @CONFIG_LDFLAGS@. | |
1107 | ||
97fd185a | 1108 | Mon Jul 01 11:07:15 1996 Mark Alexander <marka@cygnus.com> |
012be3ce | 1109 | |
97fd185a | 1110 | * remote-e7000.c (e7000_stop): New function. |
012be3ce DP |
1111 | |
1112 | Fri Jun 28 06:34:19 1996 Dawn Perchik <dawn@cygnus.com> | |
1113 | ||
6687c953 SS |
1114 | * configure, configure.in: Add target sparclet. |
1115 | * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM | |
1116 | (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if | |
1117 | command to start process running on target is different from one | |
1118 | to continue execution), MO_HEX_PREFIX (if addresses from monitor | |
1119 | have a "0x" prefix). | |
1120 | * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the | |
1121 | registers array. This is to allow NULLs to be place holders in | |
1122 | the tm-*.h file so that only minor changes are needed when a new | |
1123 | processor is introduced (eg, one without floating point). | |
1124 | * sparc-tdep.c: Conditionally remove dependancies on floating | |
1125 | point. | |
1126 | * sparclet-rom.c, config/sparc/sparclet.mt, | |
1127 | config/sparc/tm-sparclet.h: New files for target sparclet. | |
1128 | * symfile.c (load_command): Add option for 2nd parameter; a load | |
1129 | offset added to the vma of each section. | |
012be3ce | 1130 | |
265c044a DP |
1131 | Fri Jun 28 05:39:19 1996 Dawn Perchik <dawn@cygnus.com> |
1132 | ||
1133 | * main.c (main): Add option "l" for setting remote_timeout. | |
1134 | ||
cb1709ae DP |
1135 | Fri Jun 28 05:25:18 1996 Dawn Perchik <dawn@cygnus.com> |
1136 | ||
6687c953 SS |
1137 | * remote-e7000.c, remote.c, target.h, top.c: Add set option |
1138 | "remote_timeout" for setting remote_timeout. Add set option | |
1139 | "use_hard_breakpoints" for setting hardware .vs. memory | |
1140 | breakpoints. | |
cb1709ae | 1141 | |
56a4bf53 DP |
1142 | Fri Jun 28 04:32:18 1996 Dawn Perchik <dawn@cygnus.com> |
1143 | ||
1144 | * remote-e7000.c (e7000_parse_device): New function. | |
1145 | Add option "tcp_remote" to target command if using | |
1146 | tcp to connect to a remote host which is then connected | |
1147 | via serial port to the e7000 (for exampole, a port master). | |
1148 | (e7000_open): Change to call e7000_parse_device. | |
1149 | ||
f7ce02f4 DP |
1150 | Fri Jun 28 03:47:17 1996 Dawn Perchik <dawn@cygnus.com> |
1151 | ||
1152 | * monitor.c (monitor_debug): Fix remotedebug buffering. | |
1153 | ||
99afd188 SS |
1154 | Thu Jun 27 18:24:17 1996 Stan Shebs <shebs@andros.cygnus.com> |
1155 | ||
1156 | * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh | |
1157 | (NATDEPFILES): Add a space. | |
1158 | ||
81508b27 WM |
1159 | Wed Jun 26 06:05:39 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
1160 | ||
1161 | * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type) | |
1162 | is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type. | |
1163 | ||
1164 | * ch-exp.c (calculate_array_length): Function removed. | |
1165 | ||
ebea0366 MH |
1166 | Tue Jun 25 17:41:06 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
1167 | ||
1168 | * remote-e7000.c (e7000_read_inferior_memory_large): New function. | |
1169 | (e7000_xfer_inferior_memory): Call it. | |
1170 | ||
a69b7bdc JM |
1171 | Tue Jun 25 23:14:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) |
1172 | ||
1173 | * gdb/gdbserver/Makefile.in (docdir): Removed. | |
1174 | ||
5d8b7982 JM |
1175 | Tue Jun 25 22:05:38 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) |
1176 | ||
1177 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir): | |
1178 | Use autoconf set values. | |
1179 | (docdir): Removed. | |
1180 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
1181 | * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir, | |
1182 | includedir): Use autoconf set values. | |
1183 | (docdir): Removed. | |
1184 | * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
1185 | * nlm/configure: Rebuilt. | |
1186 | * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share. | |
1187 | ||
1188 | Mon Jun 24 09:56:14 1996 Angela Marie Thomas (angela@cygnus.com) | |
1189 | ||
1190 | * stabsread.c (read_cfront_member_functions): add type | |
1191 | ||
1192 | Sun Jun 23 23:40:48 1996 Doug Evans <dje@canuck.cygnus.com> | |
1193 | ||
1194 | * win32-nat.c: #include <unistd.h>. | |
1195 | (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete. | |
1196 | (child_create_inferior): Convert only env var PATH to win32 style. | |
1197 | (set_pathstyle_dos): Delete. | |
1198 | (_initialize_inftarg): Delete dos-path-style command. | |
1199 | ||
3d9f68c0 | 1200 | start-sanitize-gdbtk |
ab5c0a12 FF |
1201 | Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com> |
1202 | ||
1203 | * gdbtk.tcl (create_register_windows): Include missing '$'s. | |
1204 | Add global declarations for various reg_format_* variables. | |
4149b5f4 FF |
1205 | * gdbtk.tcl (populate_register_window): Make initial window one |
1206 | line taller to account for new column header line. | |
ab5c0a12 FF |
1207 | |
1208 | Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com> | |
3d9f68c0 FF |
1209 | |
1210 | * gdbtk.c (get_register): Support for printing raw formats. | |
1211 | * gdbtk.tcl: Add hint for using debug_interface. | |
1212 | (center_window, add_breakpoint_frame, delete_breakpoint_frame): | |
1213 | Enclose arg in braces for consistency. | |
1214 | (create_registers_window, populate_reg_window, update_registers): | |
ab5c0a12 FF |
1215 | Major rewrite to support displaying multiple formats in the register |
1216 | window. | |
3d9f68c0 FF |
1217 | (init_reg_info): New function. |
1218 | (recompute_reg_display_list): Reset reg_display_list, start | |
1219 | register display lines at line 2. | |
1220 | ||
1221 | end-sanitize-gdbtk | |
1a7b4b7c DE |
1222 | Thu Jun 20 13:42:23 1996 Doug Evans <dje@canuck.cygnus.com> |
1223 | ||
1224 | * configure.in: Revise sol-thread.o test. | |
1225 | * configure: Regenerated. | |
1226 | ||
1227 | * source.c (find_source_lines): Reassign size to result of read. | |
1228 | ||
b613bfbf | 1229 | start-sanitize-gdbtk |
3f8eefba FF |
1230 | Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com> |
1231 | ||
1232 | * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to | |
1233 | avoid backing up over prompt. At every input, make sure insert | |
1234 | point is at least after command start, handle control-u to delete | |
1235 | current input line. | |
1236 | (tclsh): Handle backspace to avoid backing up over prompt. Handle | |
1237 | control-u to delete current input line. | |
1238 | ||
b613bfbf GN |
1239 | Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com> |
1240 | ||
1241 | * configure.in: disable gdbtk for *cygwin32* hosted compiles | |
1242 | * configure: regenerated with autoconf 2.8 | |
1243 | ||
1244 | end-sanitize-gdbtk | |
b613bfbf GN |
1245 | Tue Jun 18 16:25:54 1996 Jeffrey A. Law <law@rtl.cygnus.com> |
1246 | ||
1247 | * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S. | |
1248 | (h8300_command): Likewise. | |
1249 | (set_machine): Likewise. | |
1250 | (set_machine_hook): Likewise. | |
1251 | (_initialize_h8300m): Likewise. | |
1252 | ||
1253 | * config/h8300/tm-h8300.h (h8300smode): Declare. | |
1254 | ||
5499f9a1 JL |
1255 | Sun Jun 16 15:21:51 1996 Jeffrey A. Law <law@rtl.cygnus.com> |
1256 | ||
1257 | * somsolib.c (som_solib_create_inferior_hook): Handle tracking | |
1258 | of shl_load calls for hpux10. | |
1259 | ||
1260 | Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com> | |
1261 | ||
1262 | * config.in: Regenerated. | |
1263 | * acconfig.h (HAVE_THREAD_DB_LIB): Added entry. | |
1264 | ||
1265 | * configure: Regenerated. | |
1266 | * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to | |
1267 | avoid name clashes with SunOS headers. | |
1268 | ||
9d111656 FF |
1269 | Tue Jun 11 19:52:50 1996 Fred Fish <fnf@cygnus.com> |
1270 | ||
1271 | From Michael Snyder <Michael_Snyder@next.com>: | |
1272 | * bcache.c (print_bcache_statistics): Avoid divide-by-zero | |
1273 | exception if one or more objfile has no symbols, such as when | |
1274 | a dynamic library has been stripped. | |
1275 | ||
1276 | Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1277 | ||
1278 | * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. | |
1279 | * configure configure.in: Only make sol-thread.o for native. | |
1280 | Also, switch to dlopened libthread_db.so.1. | |
1281 | * sol-thread.c: Switch to using dlopen to get the thread_db | |
1282 | library. | |
1283 | ||
f023ce5c FF |
1284 | Mon Jun 10 14:17:19 1996 Fred Fish <fnf@cygnus.com> |
1285 | ||
1286 | * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS): | |
1287 | Change from 0xE0000000 to 0xC0000000. | |
1288 | ||
1289 | Thu Jun 6 17:10:32 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1290 | ||
1291 | * config/powerpc/xm-solaris.h: Initial version of support for | |
1292 | Solaris on PowerPC. | |
1293 | ||
911026aa JSC |
1294 | Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk> |
1295 | ||
1296 | * configure.in (configdirs): Force 4100 builds to use 4300 GDB | |
1297 | target. | |
1298 | * configure: Rebuild. | |
1299 | ||
1300 | * config/mips/vr4300el.mt (SIM_OBS): Include simulator in | |
1301 | little-endian builds. | |
1302 | ||
093c1a2f JL |
1303 | Mon Jun 3 11:48:29 1996 Jeffrey A Law (law@cygnus.com) |
1304 | ||
f4c952e4 JL |
1305 | * inftarg.c (child_thread_alive): Protect declaration with |
1306 | #ifndef CHILD_THREAD_ALIVE. | |
1307 | ||
093c1a2f JL |
1308 | * source.c (find_source_lines): Check the time on the symtab's bfd if |
1309 | it exists, else check the time on the exec_bfd. | |
1310 | ||
f6decc18 MA |
1311 | Thu May 30 09:43:17 1996 Mark Alexander <marka@cygnus.com> |
1312 | ||
1313 | * dsrec.c (make_srec): Fix calculation of address size | |
1314 | to allow addresses less than 0x100. | |
1315 | ||
3db21ca5 WM |
1316 | Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
1317 | ||
1318 | * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length. | |
1319 | ||
3308a107 GN |
1320 | Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com> |
1321 | ||
1322 | * remote-mips.c: cannot use EINVAL for breakpoint test since | |
1323 | its value varies for different hosts (e.g. go32's is 19, while | |
1324 | sunos is 22). Changed to hardcoded 22 since that is what the | |
1325 | mips boards return. | |
1326 | ||
e44d1491 TT |
1327 | Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com> |
1328 | ||
1329 | * configure: Regenerated. | |
1330 | * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN. | |
1331 | (CY_AC_PATH_TKH): Don't use AC_TRY_RUN. | |
1332 | ||
76420d46 SG |
1333 | Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu> |
1334 | ||
1335 | * solib.c (solib_absolute_prefix, solib_search_path): New variables. | |
1336 | (_initialize_solib): Add set/show commands for those variables. | |
1337 | (solib_map_sections): Implement searching using them. | |
1338 | ||
9391c997 FF |
1339 | Sun May 26 14:14:49 1996 Fred Fish <fnf@cygnus.com> |
1340 | ||
1341 | Changes from: David Mosberger-Tang <davidm@azstarnet.com> | |
1342 | ||
1343 | * NEWS: Add Alpha Linux as a new native configuration. | |
1344 | ||
1345 | * mdebugread.c (parse_symbol): When we find a malloc() symbol with | |
1346 | return type VOID, assume no debugging info is available for that | |
1347 | object file and patch the return value into VOID *. Otherwise, | |
1348 | operations requiring an implicit call to malloc() will fail. | |
1349 | ||
1350 | * infrun.c (wait_for_inferior): The criterion to detect entering a | |
1351 | sigtramp handler is now: (a) the current pc is inside a sigtramp | |
1352 | handler, (b) the previous pc is not in a sigtramp handler, and (c) | |
1353 | the current stack pointer is "inner" than the old one. Condition | |
1354 | (c) is new to avoid mistaking a return from a signal handler into | |
1355 | sigtramp as a new sigtramp invocation. | |
1356 | ||
1357 | * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An | |
1358 | int may not be big enough to hold an address. | |
1359 | (dcache_hit): Ditto. | |
1360 | (dcache_peek_byte): Fix indentation. | |
1361 | ||
1362 | * configure.in (alpha-*-linux*): Add target. | |
1363 | * configure: Rebuild | |
1364 | ||
1365 | * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro. | |
1366 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
1367 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
1368 | (SIGCONTEXT_ADDR): Ditto. | |
1369 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
1370 | ||
1371 | * config/alpha/alpha-linux.mh: New file. | |
1372 | * config/alpha/alpha-linux.mt: Ditto. | |
1373 | * config/alpha/nm-linux.h: Ditto. | |
1374 | * config/alpha/tm-alphalinux.h: Ditto. | |
1375 | * config/alpha/xm-alphalinux.h: Ditto. | |
1376 | * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h. | |
1377 | * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to | |
1378 | xm-alphaosf.h. | |
1379 | * config/alpha/alpha-osf2.mh: Ditto. | |
1380 | ||
1381 | * blockframe.c (find_pc_partial_function): Pass PC to | |
1382 | SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems | |
1383 | that detect sigtramp code via designated code sequences (as is the | |
1384 | case for Linux/Alpha, for example). | |
1385 | ||
1386 | * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END | |
1387 | to ignore new PC argument. | |
1388 | * config/m68k/tm-hp300bsd.h: Ditto. | |
1389 | * config/vax/tm-vax.h: Ditto. | |
1390 | ||
1391 | * alpha-tdep.c (alpha_linux_sigtramp_offset): New function. | |
1392 | (alpha_osf_skip_sigtramp_frame): Ditto. | |
1393 | (push_sigtramp_desc): Ditto. | |
1394 | (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract | |
1395 | sigcontext address from frame. | |
1396 | (alpha_saved_pc_after_call): When in sigtramp, use | |
1397 | alpha_frame_saved_pc() instead of read-register(). | |
1398 | (after_prologue): When inside a dynamically generated sigtramp | |
1399 | function, there is no prologue, so return address of first | |
1400 | instruction. | |
1401 | (alpha_in_prologue): Fix typo in comment. | |
1402 | (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine | |
1403 | whether we're inside a dynamicaly generated sigtramp function. If | |
1404 | so, create and push and appropriate procedure descriptor. | |
1405 | (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain | |
1406 | the frame past a sigtramp frame (if the current frame is indeed a | |
1407 | sigtramp function). | |
1408 | (init_extra_frame_info): Don't read next frame register off of | |
1409 | stack-pointer when inside a dynamiccaly generated sigtramp. | |
1410 | (alpha_pop_frame): Also unlink and destroy procedure descriptors | |
1411 | created for dynamically generated sigtramp functions. | |
1412 | ||
1413 | * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and | |
1414 | <alpha/ptrace.h> instead of <machine/reg.h> | |
1415 | ||
647e52ea SG |
1416 | Tue Jul 2 13:58:10 1996 Miles Bader <miles@gnu.ai.mit.edu> |
1417 | ||
1418 | * gnu-nat.c (inf_validate_task_sc): | |
1419 | Give terminal to gdb while asking question. | |
1420 | (inf_resume): Don't validate the task suspend-count while execing. | |
1421 | ||
1422 | Thu Jun 13 11:04:52 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
1423 | ||
1424 | * gnu-nat.c (inf_validate_task_sc): Query user before clearing any | |
1425 | additional suspend count. | |
1426 | (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc. | |
1427 | (inf_resume): Call inf_validate_task_sc here. | |
1428 | (gnu_resume): Call inf_update_procs to ensure noticing new threads. | |
1429 | ||
1430 | Fri Jun 7 17:00:43 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
1431 | ||
1432 | * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID. | |
1433 | ||
52f74d48 JL |
1434 | Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com) |
1435 | ||
31778db0 JL |
1436 | * h8300-tdep.c (IS_PUSH): Refine. |
1437 | (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints. | |
1438 | (IS_SUB4_SP, IS_SUBL_SP): New macros. | |
1439 | (h8300_skip_prologue): Handle H8/300H prologue code sequences. | |
1440 | (examine_prologue): Handle addresses from 0x010000 to 0xffffff | |
1441 | when in H8/300H mode. Get the return pointer's address correctly | |
1442 | for the H8/300H. Handle H8/300H prolouge code sequences. | |
1443 | ||
52f74d48 JL |
1444 | * symfile.c (generic_load): Print the starting address |
1445 | of the file just loaded. | |
1446 | ||
e7600d8e SS |
1447 | Thu May 23 12:09:52 1996 Stan Shebs <shebs@andros.cygnus.com> |
1448 | ||
1449 | * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile. | |
1450 | ||
1451 | Tue May 21 11:53:56 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
1452 | ||
1453 | * breakpoint.c (bpstat_do_actions): Avoid endless recursion | |
1454 | if a `source' command is contained in bs->commands. | |
1455 | ||
1456 | * infrun.c (wait_for_inferior): Update step_frame_address when | |
1457 | stepping into a new line. | |
1458 | ||
1459 | From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab): | |
1460 | * breakpoint.c (breakpoint_1): Add shlib_disabled case to | |
1461 | bpenables array. | |
1462 | ||
c92f31c6 MA |
1463 | Mon May 20 22:52:00 1996 Mark Alexander <marka@cygnus.com> |
1464 | ||
1465 | * dsrec.c (load_srec): Add WAITACK parameter, for machines | |
1466 | like EST visionICE that send back an ACK after each S-record. | |
1467 | * monitor.c (monitor_wait_srec_ack): New function. | |
1468 | (monitor_load): Pass monitor_wait_srec_ack to load_srec | |
1469 | if the monitor's MO_SREC_ACK flag is set. | |
1470 | * monitor.h: Define MO_SREC_ACK flag. | |
1471 | * remote-est.c (est_cmds): Add MO_SREC_ACK flag. | |
1472 | * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype. | |
1473 | * srec.h: Add WAITACK parameter to load_srec prototype. | |
1474 | ||
6a4bfd83 RS |
1475 | Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll> |
1476 | ||
1477 | * config/sparc/sparclite.mt: Add the sparc simulator. | |
1478 | ||
41756e56 FF |
1479 | Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com> |
1480 | ||
1481 | * defs.h (read_command_lines, query_hook): Update prototypes. | |
1482 | (readline_begin_hook, readline_hook, readline_end_hook): Declare. | |
1483 | * breakpoint.c (commands_command): Build message in temporary buffer | |
1484 | and pass that, as well as tty control flag, to read_command_lines. | |
1485 | * top.c (readline_begin_hook, readline_hook, readline_end_hook): | |
1486 | Define here. | |
1487 | (command_loop): Check for non-NULL instream before looping. | |
1488 | (command_line_input): Use readline_hook when appropriate, to get | |
1489 | user input from a GUI window. | |
1490 | (read_next_line): Also build prompt if getting user input from a GUI. | |
1491 | (recurse_read_control_structure): Fix typo in comment. | |
1492 | (read_command_lines): Use passed in prompt and tty flag to decide how | |
1493 | to build message. Use readline_begin_hook when appropriate, to set | |
1494 | up a GUI interaction window. Just return head, whether NULL or not, | |
1495 | after using readline_end_hook to complete GUI interaction. | |
1496 | (define_command, document_command): Build message in a temporary | |
1497 | buffer and pass it to read_command_lines, along with tty flag. | |
1498 | ||
1499 | start-sanitize-gdbtk | |
1500 | * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end): | |
1501 | New functions. | |
1502 | (tk_command_loop): Set instream to NULL to enable Tk user interaction. | |
1503 | (gdbtk_init): Set readline_begin_hook, readline_hook, | |
1504 | and readline_end_hook. | |
1505 | * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline, | |
1506 | gdbtk_tcl_readline_end): New functions. | |
1507 | (tclsh): Pack scroll bar on right side of window, not left. | |
1508 | end-sanitize-gdbtk | |
1509 | ||
f0c56658 PS |
1510 | Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1511 | ||
1512 | * blockframe.c (frameless_look_for_prologue): | |
1513 | Add FUNCTION_START_OFFSET only if func_start is non-zero. | |
1514 | * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if | |
1515 | pc is not in a known section. | |
1516 | * stack.c (print_frame_info): Remove check for fi->pc in known | |
1517 | section, now handled by lookup_minimal_symbol_by_pc. | |
1518 | ||
81ae689a FF |
1519 | start-sanitize-gdbtk |
1520 | Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com> | |
1521 | ||
1522 | * gdbtk.tcl (create_command_window): Change a misspelled "get" | |
1523 | to the intended "cget". | |
1524 | (delete_line): Fix so it deletes the current line at the | |
1525 | insertion cursor. | |
1526 | end-sanitize-gdbtk | |
1527 | ||
6a4547c0 SS |
1528 | Fri May 17 13:31:04 1996 Stan Shebs <shebs@andros.cygnus.com> |
1529 | ||
1530 | * sh-stub.c: New file, was config/sh/stub.c. | |
1531 | ||
b8f3d4c6 | 1532 | start-sanitize-gdbtk |
5bac2b50 FF |
1533 | Thu May 16 19:20:29 1996 Fred Fish <fnf@fishfood.ninemoons.com> |
1534 | ||
1535 | * gdbtk.tcl (gdb_prompt): Set this early on. | |
1536 | (create_command_window): Use gdb_prompt rather than "(gdb) ". | |
1537 | (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop. | |
1538 | (tclsh): If an evaluation window already exists, just bring it | |
1539 | to the front instead of trying to create another. | |
1540 | * gdbtk.c (tk_command_loop): New function. | |
1541 | (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop. | |
1542 | ||
954a4a2a FF |
1543 | Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com> |
1544 | ||
1545 | * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that | |
1546 | implement a tcl evaluation window for gdbtk maintainers to use. | |
1547 | ||
76e641bd TT |
1548 | Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com> |
1549 | ||
f4e769dc TT |
1550 | * gdbtk.tcl (files_command): Correctly insert list of files into |
1551 | listbox widget. | |
1552 | ||
76e641bd TT |
1553 | * gdbtk.tcl (files_command): listbox command no longer accepts |
1554 | -geometry. | |
1555 | ||
b8f3d4c6 SS |
1556 | Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com> |
1557 | ||
1558 | * gdbtk.tcl (create_command_window): If command window's buffer | |
1559 | is disabled, don't execute any of the key bindings. | |
1560 | end-sanitize-gdbtk | |
1561 | ||
6bafbdfb JL |
1562 | Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com) |
1563 | ||
e7600d8e | 1564 | * top.c (read_next_line): Fix thinkos. From Donn Seeley. |
ecebd693 | 1565 | |
6bafbdfb JL |
1566 | * coffread.c (coff_symtab_read): Handle C_LABEL symbols like |
1567 | C_STAT symbols. | |
1568 | * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly. | |
1569 | Flush cached frames just before exiting. | |
1570 | * remote-sim.c (gdbsim_resume): Complain if the program isn't | |
1571 | being run. | |
1572 | * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define. | |
1573 | ||
9b33e492 SG |
1574 | Tue May 14 18:05:16 1996 Stu Grossman (grossman@critters.cygnus.com) |
1575 | ||
1576 | * procfs.c (procfs_thread_alive procfs_stop): Make static. | |
e7600d8e | 1577 | (procfs_pid_to_str): New routine to print out thread id's in an |
9b33e492 SG |
1578 | intelligible manner. |
1579 | * sol-thread.c (sol_thread_fetch_registers): Re-order manner in | |
b8f3d4c6 | 1580 | which supply_register is called to fix bug with writing |
9b33e492 SG |
1581 | individual regs. |
1582 | * config/sparc/tm-sun4sol2.h: Define default for | |
1583 | target_pid_to_str in case host lacks libthread_db. | |
1584 | ||
47ef0da5 SG |
1585 | Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com) |
1586 | ||
1587 | * Makefile.in config.in configure configure.in | |
1588 | config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh | |
1589 | config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread | |
1590 | and pthread support, since pre-2.5 systems don't come with | |
1591 | libthread_db.so.1. | |
1592 | ||
1593 | * procfs.c (info_proc): Use int instead of id_t. Old versions of | |
e7600d8e | 1594 | Irix don't seem to define this. |
47ef0da5 | 1595 | |
572977a5 FF |
1596 | start-sanitize-gdbtk |
1597 | Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com> | |
1598 | ||
1599 | * gdbtk.c (tk_command): Catch case where no argument is given | |
1600 | since this will cause the tcl interpreter to dump core. | |
1601 | end-sanitize-gdbtk | |
1602 | ||
24ecc17a JL |
1603 | Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com) |
1604 | ||
1605 | * top.c (execute_control_command, case while_control): Allow | |
1606 | a while command to be interrupted. | |
1607 | ||
a50cedad SG |
1608 | Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com) |
1609 | ||
1610 | * sol-thread.c: More cleanup, add comments. | |
b8f3d4c6 | 1611 | (sol_thread_resume): Prevent people from trying to step |
a50cedad | 1612 | inactive threads. |
b8f3d4c6 | 1613 | (sol_thread_wait sol_thread_fetch_registers |
a50cedad SG |
1614 | sol_thread_store_registers): Remove unnecessary check for |
1615 | sol_thread_active. These routines won't get called unless threads | |
1616 | are active. | |
1617 | ||
05535e79 SS |
1618 | Mon May 13 11:29:37 1996 Stan Shebs <shebs@andros.cygnus.com> |
1619 | ||
1620 | SH3-E support from Allan Tajii <atajii@hmsi.com>: | |
1621 | * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for | |
1622 | float registers. | |
1623 | (sh3e_reg_names): New register name array. | |
1624 | (sh_processor_type_table): Add sh3e processor type. | |
1625 | * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test. | |
1626 | (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for | |
1627 | full set of registers. | |
1628 | * remote-e7000.c (want_sh3, want_sh3_nopc): New globals. | |
1629 | (e7000_fetch_registers, e7000_wait): Use them. | |
1630 | * sh3-rom.c (sh3_regnames): Add float registers. | |
1631 | (sh3e_cmds, sh3e_ops): New globals. | |
1632 | (sh3e_open): New function. | |
1633 | (_initialize_sh3_rom): Rename from _initialize_sh3, set up | |
1634 | sh3e target vector. | |
1635 | ||
934741a1 SG |
1636 | Fri May 10 15:53:38 1996 Stu Grossman (grossman@lisa.cygnus.com) |
1637 | ||
1638 | * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes. | |
1639 | Print out messages instead of codes for thread_db errors. Make | |
1640 | access macros for thread and lwp manipulation. Make cleanups to | |
1641 | fixup inferior_pid in case of errors. | |
1642 | ||
31ed312c FF |
1643 | Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com> |
1644 | ||
1645 | * aclocal.m4: Remove unused definition of AC_C_CROSS. | |
1646 | * configure.in: Add powerpcle-*-solaris* host and target config | |
1647 | so April 30th change does not get lost next time configure is | |
1648 | rebuilt. | |
1649 | ||
fdfa3315 SG |
1650 | Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com) |
1651 | ||
1652 | * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c, | |
1653 | infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c, | |
1654 | win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to | |
1655 | avoid conflict with Solaris /usr/include/thread.h. | |
1656 | ||
7574859f RS |
1657 | Thu May 9 12:33:32 1996 Rob Savoye <rob@chinadoll.cygnus.com> |
1658 | ||
1659 | * abug-rom.c: Config file for the older style ABug monitor that | |
1660 | runs on the mvme13x boards. | |
1661 | * config/m68k/monitor.mt: Add abug support for m68k cross | |
1662 | debugging. | |
1663 | ||
2ae2f078 | 1664 | Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com> |
3f37b696 | 1665 | |
2ae2f078 FF |
1666 | * infcmd.c (do_registers_info): Always print the raw floating |
1667 | point value's bytes in big endian order, so the the leftmost bit | |
1668 | is the most significant. | |
3f37b696 FF |
1669 | * breakpoint.c (clear_momentary_breakpoints): Remove dead code |
1670 | that is referenced nowhere else. | |
1671 | (set_breakpoint): Ditto. | |
1672 | (do_enable_breakpoint): Created from enable_once_breakpoint | |
1673 | with a couple of changes. | |
1674 | (enable_breakpoint): Call do_enable_breakpoint with an appropriate | |
1675 | bpdisp enum value to set disposition of breakpoint. | |
1676 | (enable_once_breakpoint): Ditto. | |
1677 | (enable_delete_breakpoint): Ditto. | |
1678 | * breakpoint.h (clear_momentary_breakpoints): Remove prototype. | |
1679 | * symtab.c (find_pc_line): Improve comments. | |
572977a5 | 1680 | start-sanitize-gdbtk |
3f37b696 | 1681 | * gdbtk.c: Fix a couple of misspellings. |
572977a5 | 1682 | end-sanitize-gdbtk |
3f37b696 FF |
1683 | * xcoffread.c: Ditto. |
1684 | ||
37316b52 SS |
1685 | Tue May 7 18:37:06 1996 Stan Shebs <shebs@andros.cygnus.com> |
1686 | ||
1687 | * target.c (debug_to_xfer_memory): Insert line breaks when | |
1688 | dumping the memory block. | |
1689 | ||
8fc2b417 SG |
1690 | Mon May 6 13:52:52 1996 Stu Grossman (grossman@critters.cygnus.com) |
1691 | ||
1692 | * fork-child.c (fork_inferior), inferior.h: init_trace_fun now | |
1693 | returns a possibly modified pid. | |
1694 | * inftarg.c (ptrace_him): Now returns pid; | |
1695 | * m3-nat.c (m3_trace_him): Now returns pid; | |
1696 | * infcmd.c (run_command): Minor cleanup. | |
1697 | * infrun.c (wait_for_inferior): Add another check for one_stepped | |
1698 | near where we read the pc to avoid erroneously setting | |
1699 | random_signal for multi-threaded support. | |
1700 | * procfs.c: Add support for Solaris LWPs. Remove def of | |
1701 | LOSING_POLL. Many cleanups... Several workarounds for Solaris | |
1702 | lossage. System call entry and exit are now handled by | |
1703 | dynamically registered handlers. | |
1704 | * (syscallname): Don't barf when handed an unknown syscall | |
1705 | number. | |
1706 | * (info_proc_syscalls): Ditto. | |
1707 | * sol-thread.c: New file. Implements Solaris thread support. | |
1708 | * symfile.c (symbol_file_add): Add call to target_new_objfile to | |
1709 | notify target-dependent code about new symbol tables. | |
1710 | * (clear_symtab_users): Call target_new_objfile to notify it of | |
1711 | the removal of all symbol tables. | |
1712 | * target.c (push_target): Make sure that to_close is non-zero | |
1713 | before calling it. | |
1714 | * target.h (target_new_objfile): Provide default. | |
1715 | * config/alpha/nm-osf2.h: Define LOSING_POLL because this version | |
1716 | of OSF can't hack using poll with /proc. | |
1717 | * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be | |
1718 | sol-thread-new-objfile. | |
1719 | * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and | |
1720 | add libthread_db.so.1 to NAT_CLIBS. | |
1721 | * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and | |
1722 | target_pid_to_str. | |
1723 | ||
1724 | Sat May 4 02:13:34 1996 N Srin Kumar <nsrin@wipinfo.soft.net> | |
1725 | ||
1726 | * procfs.c (remove_fd): Fix copy of fds to fill hole left after | |
1727 | removal of the requested fd. | |
1728 | ||
8678180e MM |
1729 | Mon May 6 07:52:48 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1730 | ||
1731 | * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific | |
1732 | hooks under ELF. | |
1733 | ||
1734 | * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT. | |
1735 | ||
9e9cf822 SS |
1736 | start-sanitize-gdbtk |
1737 | Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1738 | ||
1739 | * gdbtk.tcl (debug_interface): New global, use to aid debugging. | |
1740 | (insert_breakpoint_tag, delete_breakpoint_tag): Fix range. | |
1741 | (file_popup_menu): Delete, never used. | |
1742 | (listing_window_popup): Rename from listing_window_button_1, | |
1743 | remove breakpoint toggling code. | |
1744 | (toggle_breakpoint): New procedure. | |
1745 | (create_file_win): Bind popup menu to button 2, toggle breakpoints | |
1746 | with button 1 in breakpoint area, add display of tagged areas if | |
1747 | debugging on. | |
1748 | end-sanitize-gdbtk | |
1749 | ||
e51481f9 JL |
1750 | Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com) |
1751 | ||
9e9cf822 | 1752 | From Peter Schauer: |
e51481f9 JL |
1753 | * breakpoint.h (enum bpdisp): Add del_at_next_stop. |
1754 | * breakpoint.c (insert_breakpoints, watchpoint_check, | |
1755 | bpstat_stop_status): Avoid bad references to memory freed via | |
1756 | delete_breakpoint on watchpoints going out of scope. | |
1757 | Do not delete these watchpoints, disable them and change their | |
1758 | disposition to del_at_next_stop instead. | |
1759 | (breakpoint_auto_delete): Delete all breakpoints whose disposition | |
1760 | is del_at_next_stop. | |
1761 | (breakpoint_init_inferior): Use switch to avoid reference to | |
1762 | already deleted breakpoint. | |
1763 | ||
062cb0d3 FF |
1764 | Wed May 1 17:29:18 1996 Fred Fish <fnf@cygnus.com> |
1765 | ||
9e9cf822 | 1766 | * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h. |
062cb0d3 | 1767 | * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ... |
9e9cf822 | 1768 | * config/rs6000/rs6000.mt (TDEPFILES): ... to here. |
062cb0d3 FF |
1769 | * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize. |
1770 | (solib_info): Call xcoff_relocate_symtab via the hook. | |
1771 | (sharedlibrary_command): Ditto. | |
1772 | * xcoffread.c: Remove all FAKING_RS6000 comments and defines. | |
1773 | (xcoff_add_toc_to_loadinfo_hook): Define and initialize here. | |
1774 | (xcoff_init_loadinfo_hook): Define and initialize here. | |
1775 | (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook. | |
1776 | (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook. | |
1777 | * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func. | |
1778 | * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations | |
1779 | of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook. | |
1780 | * rs6000-nat.c (_initialize_core_rs6000): Add initialization | |
1781 | of xcoff_relocate_symtab_hook. | |
1782 | ||
fe8d28cf MM |
1783 | Tue Apr 30 13:22:02 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1784 | ||
1785 | * configure (powerpcle-*-solaris*): Add Solaris support. | |
1786 | ||
1787 | * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for | |
1788 | Solaris support. | |
aad09779 DP |
1789 | |
1790 | Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com> | |
9e9cf822 | 1791 | |
aad09779 DP |
1792 | * c-valprint.c (c_val_print): Fix printing for arrays defined |
1793 | with 0 length. | |
1794 | ||
5a2934b4 SS |
1795 | Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com> |
1796 | ||
fea17b55 SS |
1797 | Support for bi-endian remote breakpoints. |
1798 | * remote.c (big_break_insn, little_break_insn): New globals. | |
1799 | (break_insn): Remove. | |
1800 | (remote_insert_breakpoint, remote_remove_breakpoint): Use own | |
1801 | code if REMOTE_BREAKPOINT defined, otherwise call memory | |
1802 | breakpoint functions. | |
1803 | * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove. | |
1804 | (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define. | |
1805 | ||
5a2934b4 SS |
1806 | * mon960-rom.c (mon960_cmds): Remove forward decl. |
1807 | (mon960_load): Use current_monitor instead of mon960_cmds. | |
1808 | (mon960_regnames): Remove backslashes from line ends. | |
1809 | (_initialize_mon960): Fix documentation string. | |
1810 | ||
d2c17d4f FF |
1811 | Sun Apr 28 12:10:35 1996 Fred Fish <fnf@cygnus.com> |
1812 | ||
1813 | * symfile.h (psymbol_allocation_list): Expand comments which | |
1814 | describe the psymbol allocation list and how each field is | |
1815 | used. | |
1816 | ||
39ce6829 PS |
1817 | Sun Apr 28 03:44:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1818 | ||
1819 | * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp | |
1820 | storage leaks. | |
1821 | (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks. | |
1822 | ||
1823 | * infcmd.c (run_command), solib.c (locate_base): Check for | |
1824 | target_has_execution in addition to inferior_pid, a core file | |
1825 | from a threaded program is yielding a non-zero inferior_pid. | |
1826 | ||
1827 | * sparc-tdep.c (get_saved_register): Handle window registers | |
1828 | in a dummy frame correctly. | |
1829 | ||
6c0643e3 FF |
1830 | Sat Apr 27 20:38:32 1996 Fred Fish <fnf@cygnus.com> |
1831 | ||
1832 | * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs, | |
1833 | so that anything that wants an allocation function not yet pulled | |
1834 | in, will get it from mmalloc rather than a system library. | |
1835 | * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS, | |
1836 | to avoid surprising results when used. | |
1837 | ||
00d93b6d DP |
1838 | Sat Apr 27 00:12:05 1996 Dawn Perchik (dawn@cygnus.com) |
1839 | ||
1840 | * stabsread.c: Changes and bug fixes for cfront support. | |
1841 | Fix bug for class data members. | |
1842 | Fix parsing bug when no base classes exist. | |
1843 | Fix memory bug - allocate space for cplusplus specific info. | |
1844 | Add support for static data. | |
1845 | Add prototypes for static functions. | |
1846 | Enhance comments to show what each function expects to parse. | |
1847 | Cleanup code. | |
1848 | * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename | |
1849 | function to resolve_cfront_continuation. | |
1850 | ||
7dbb5eed JL |
1851 | Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com) |
1852 | ||
1853 | * infrun.c (wait_for_inferior): Call registers_changed when | |
6cc17fd5 | 1854 | restarting the inferior to get over a nullified instruction. |
7dbb5eed | 1855 | |
73e75264 | 1856 | Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com) |
7dbb5eed | 1857 | |
73e75264 DP |
1858 | * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c: |
1859 | Add new support for parsing cfront stabs. | |
1860 | ||
894d8e69 JL |
1861 | Wed Apr 24 00:32:55 1996 Jeffrey A Law (law@cygnus.com) |
1862 | ||
1863 | * infrun.c (wait_for_inferior): Move "have_waited" label | |
1864 | outside of #ifdef conditionals. Don't trash the wait status | |
1865 | if we get a signal and the current instruction is nullified. | |
1866 | ||
1867 | Mon Apr 22 20:17:01 1996 Fred Fish <fnf@cygnus.com> | |
1868 | ||
9e9cf822 | 1869 | * Makefile.in (VERSION): Bump version number to 4.16.1. |
894d8e69 JL |
1870 | * NEWS: Update for 4.16 release. |
1871 | ||
178ed338 SS |
1872 | Mon Apr 22 16:32:29 1996 Stan Shebs <shebs@andros.cygnus.com> |
1873 | ||
1874 | * monitor.h: Clean up comment formatting. | |
1875 | (current_monitor): Remove decl. | |
1876 | (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions. | |
1877 | (push_monitor, SREC_SIZE): Remove. | |
1878 | * monitor.c: Expand old macro into current_monitor derefs | |
1879 | everywhere. | |
1880 | * remote-os9k.c (current_monitor): Remove definition. | |
1881 | ||
f9fedc48 MA |
1882 | Mon Apr 22 14:54:45 1996 Mark Alexander <marka@superball.cygnus.com> |
1883 | ||
1884 | * corefile.c (specify_exec_file_hook): Allow arbitrary number of | |
1885 | hooks. | |
1886 | (call_extra_exec_file_hooks): New function. | |
1887 | * h8300-tdep.c: Lint; add .h files to provide missing declarations, | |
1888 | remove unused variables. | |
1889 | (set_machine_hook): New function. | |
1890 | (_initialize_h8300m): Initialize it. | |
1891 | ||
102f473b ILT |
1892 | Fri Apr 19 15:03:49 1996 Ian Lance Taylor <ian@cygnus.com> |
1893 | ||
1894 | * remote-mips.c (encoding): Don't specify size, to avoid bug in | |
1895 | SunOS native compiler. | |
1896 | ||
69159fad SS |
1897 | Thu Apr 18 18:46:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
1898 | ||
1899 | * monitor.c: Use int rather than LONGEST for values, since | |
1900 | the formatting strings are not prepared to accept long longs. | |
1901 | ||
e1b4f287 DE |
1902 | Wed Apr 17 20:17:27 1996 Doug Evans <dje@canuck.cygnus.com> |
1903 | ||
1904 | * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'. | |
1905 | ||
8eff3c7f SG |
1906 | Tue Apr 16 17:38:23 1996 Stu Grossman (grossman@critters.cygnus.com) |
1907 | ||
1908 | * corelow.c (add_to_thread_list): Make sure reg_sect is non-null | |
1909 | before de-referencing it. Prevents deref of NULL pointer if core | |
1910 | file lacks .reg section. | |
1911 | * defs.h: Rename floatformat_{to from}_long_double to | |
1912 | floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO | |
1913 | FROM}... macros. | |
1914 | * findvar.c (extract_floating store_floating): Change all refs to | |
1915 | FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest. | |
1916 | * utils.c: Change floatformat_{to from}_long_double to | |
1917 | floatformat_{to from}_doublest cuz the new routines will use | |
1918 | whatever size (double or long double) is appropriate. | |
1919 | * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL | |
1920 | REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to | |
1921 | floatformat... routine calls. | |
1922 | ||
15b03b57 PB |
1923 | Mon Apr 15 16:34:11 1996 Per Bothner <bothner@kalessin.cygnus.com> |
1924 | ||
1925 | * stabsread.c (read_type): Move handling of '@' from type | |
1926 | number handling to handling of types proper (as emitted by gcc!). | |
1927 | For typedefs, allocate the typedef type before reading its | |
1928 | definition, to properly handling recursive types. | |
1929 | ||
c5ee9d00 JL |
1930 | Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com) |
1931 | ||
1932 | * ch-exp.c (calculate_array_length): Fix prototype. | |
1933 | ||
449abd89 SG |
1934 | Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com) |
1935 | ||
1936 | * remote-nindy.c (nindy_open): Acquire more target state so that | |
1937 | user can attach to a previously running program. | |
1938 | * (nindy_fetch_registers nindy_store_registers): Get rid of fp | |
1939 | conversion code. That's all handled in {extract store}_floating | |
1940 | now. | |
1941 | * utils.c (floatformat_to_double): Don't bias exponent when | |
1942 | handling zero's, denorms or NaNs. | |
1943 | * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL | |
1944 | REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and | |
1945 | FLOATFORMAT_TO/FROM_DOUBLEST macros. | |
1946 | * config/i960/tm-nindy960.h: Undefine | |
1947 | REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and | |
1948 | REGISTER_CONVERTIBLE. These are no longer necessary now that all | |
1949 | the magic happens in extract/store_floating. | |
1950 | ||
9898b3b7 PS |
1951 | Sat Apr 13 02:58:02 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1952 | ||
1953 | * eval.c (evaluate_subexp_standard): Report error when attempting to | |
1954 | evaluate subscripts for types which cannot be subscripted. | |
1955 | ||
1956 | * valarith.c (value_x_binop, value_x_unop): Add noside parameter. | |
1957 | Return a zero value with the return type of the member function | |
1958 | if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member | |
1959 | function. | |
1960 | * values.h (value_x_binop, value_x_unop): Update prototypes | |
1961 | accordingly. | |
1962 | * eval.c (evaluate_subexp_standard): Update all callers of | |
1963 | value_x_binop, value_x_unop accordingly. | |
1964 | ||
1965 | * valarith.c (value_neg, value_complement): Perform ANSI C/C++ | |
1966 | integral promotion on operands. | |
1967 | ||
38d715a4 FF |
1968 | Fri Apr 12 13:19:27 1996 Fred Fish <fnf@cygnus.com> |
1969 | ||
1970 | * README: Update for 4.16 release. | |
1971 | * configure.in (AC_CHECK_FUNCS): Also check for sbrk. | |
1972 | * configure: Regenerate with autoconf. | |
1973 | * config.in: Regenerate with autoheader. | |
1974 | * main.c (main): Only use sbrk() when HAVE_SBRK is defined. | |
1975 | * top.c (command_loop): Ditto. | |
1976 | ||
c6fbd98b SG |
1977 | Fri Apr 12 09:45:29 1996 Stu Grossman (grossman@critters.cygnus.com) |
1978 | ||
1979 | * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT | |
1980 | defaults for bi-endian targets. Replace function pointers for | |
1981 | floatformat routines with macros. No need for these to be runtime | |
1982 | selectable. | |
1983 | * findvar.c: Get rid of floatformat function pointers. Use | |
1984 | macros in extract_floating and store_floating. | |
1985 | * remote-nindy.c (nindy_fetch_registers nindy_store_registers): | |
1986 | Use floatformat macros. | |
1987 | ||
d8efbc66 FF |
1988 | Thu Apr 11 21:28:02 1996 Fred Fish <fnf@cygnus.com> |
1989 | ||
1990 | From: Miles Bader <miles@gnu.ai.mit.edu> | |
1991 | * configure.in (AC_CHECK_HEADERS): check for endian.h. | |
1992 | Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK. | |
1993 | Add host & target cases for i[345]86-*-gnu*. | |
1994 | * config.in: Regenerate with autoheader. | |
1995 | * configure: Regenerate with autoconf. | |
1996 | * Makefile.in (AR, AWK): Set from corresponding autoconf substs. | |
1997 | (init.c): Don't scan mig-generated files. | |
1998 | * defs.h (endian.h): Include if HAVE_ENDIAN_H defined. | |
1999 | * config/nm-m3.h (ATTACH_NO_WAIT): Define. | |
2000 | * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT" | |
2001 | rather than "#ifndef MACH". | |
2002 | ||
4eaf7c0a SS |
2003 | Thu Apr 11 18:49:42 1996 Stan Shebs <shebs@andros.cygnus.com> |
2004 | ||
2005 | * remote.c (remotewritesize): New GDB variable, controls size | |
2006 | of memory packets sent to the target. | |
2007 | ||
a243a22f SG |
2008 | Thu Apr 11 13:47:52 1996 Stu Grossman (grossman@critters.cygnus.com) |
2009 | ||
2010 | * dcache.c: Add prototypes. Make many functions static. | |
2011 | * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and | |
2012 | dcache_poke call dcache_xfer_memory directly in order to fix | |
2013 | problems with turning off dcache. dcache_peek is now unnecessary, | |
2014 | so it goes away. | |
2015 | ||
2016 | * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT | |
2017 | and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer | |
2018 | to a struct floatformat. This allows for better handling of | |
2019 | targets whose floating point formats differ from the host by more | |
2020 | than just byte order. | |
2021 | * (floatformat_to_long_double floatformat_from_long_double): | |
2022 | Prototypes for new functions in utils.c. | |
2023 | * (floatformat_to_doublest floatformat_from_doublest): Prototypes | |
2024 | for pointers to floating point conversion functions. The actual | |
2025 | function uses either double or long double if the host supports it. | |
2026 | * findvar.c (floatformat_to_doublest floatformat_from_doublest): | |
2027 | Initialize to point at correct function depending on HAVE_LONG_DOUBLE. | |
2028 | * (extract_floating store_floating): Rewrite. Now, if host fp | |
2029 | format is the same as the target, we just do a copy. Otherwise, | |
2030 | we call floatformat_{to from}_doublest. | |
2031 | * remote-nindy.c (nindy_xfer_inferior_memory): Change param | |
2032 | `write' to `should_write'. | |
2033 | * utils.c (floatformat_to_long_double | |
2034 | floatformat_from_long_double): New routines that implement long | |
2035 | double versions of functions in libiberty/floatformat.c. | |
2036 | * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for | |
2037 | i960 extended real (80 bit) numbers. | |
2038 | * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes | |
2039 | actually read or written. | |
2040 | ||
f046f4c8 WM |
2041 | Wed Apr 10 02:56:06 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
2042 | ||
2043 | * ch-valprint.c (chill_val_print): Remove call to calculate_array_length. | |
2044 | (calculate_array_length): Move function from here ... | |
2045 | ||
2046 | * ch-exp.c (calculate_array_length): ... to here. | |
2047 | (parse_primval): If we have a symbol with an array type | |
2048 | and the length is 0, call calculate_array_length. | |
2049 | ||
a539f6d8 WM |
2050 | Tue Apr 9 01:23:05 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
2051 | ||
2052 | * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET: | |
2053 | Add some checks for powerset compatibility. | |
2054 | ||
2055 | * valops.c (value_slice): Use lowbound instead of lowerbound for | |
2056 | call to slice_range_type to get correct bounds. | |
2057 | ||
d8efbc66 | 2058 | Mon Apr 8 12:53:56 1996 Fred Fish <fnf@cygnus.com> |
5579919f FF |
2059 | |
2060 | * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and | |
2061 | dependencies. | |
2062 | * scm-lang.c (gdb_string.h): Include. | |
2063 | * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow | |
2064 | call to correct type (char *). | |
2065 | * cp-valprint.c (cp_print_static_field): Ditto. | |
2066 | * somsolib.c (som_solib_create_inferior_hook): Add a declaration | |
2067 | for external find_unwind_entry function (from hppa-tdep.c). | |
2068 | * remote-pa.c (remote_write_bytes, remote_read_bytes): Change | |
2069 | type of second arg to "char *" to be type compatible with | |
2070 | dcache. | |
2071 | (remote_wait): Cast second arg to strtol to correct type. | |
2072 | * hppa-tdep.c (compare_unwind_entries): Change argument types to | |
2073 | "const void *" to be type compatible with qsort, and then | |
2074 | assign to local args prior to use. | |
2075 | ||
75eb5231 JL |
2076 | Mon Apr 8 15:35:52 1996 Jeffrey A Law (law@cygnus.com) |
2077 | ||
2078 | * infptrace.c (kill_inferior): Remove call to "kill"; update | |
2079 | comments. | |
2080 | ||
7782ee45 GN |
2081 | Mon Apr 8 14:05:07 1996 Geoffrey Noer <noer@cygnus.com> |
2082 | ||
2083 | * remote-e7000.c: don't append :23 to target port if __WIN32__ | |
2084 | is defined (it's WinGDB). | |
2085 | ||
ce0787ef FF |
2086 | Sun Apr 7 22:34:29 1996 Fred Fish <fnf@cygnus.com> |
2087 | ||
2088 | From: Miles Bader <miles@gnu.ai.mit.edu> | |
2089 | * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c, | |
2090 | msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk, | |
2091 | config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h, | |
2092 | m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd. | |
2093 | ||
2094 | Sun Apr 7 13:32:41 1996 Fred Fish <fnf@cygnus.com> | |
125c17af FF |
2095 | |
2096 | * configure.in (case host): Add i386sco5 host. | |
2097 | * configure: Regenerate. | |
2098 | ||
2099 | From: Robert Lipe <robertl@dgii.com> | |
2100 | Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This | |
2101 | target is an SVR3.2 with COFF, ELF, and shared libes, but | |
2102 | no /proc. | |
2103 | * config/i386/i386sco5.mh: New file. | |
2104 | * config/i386/nm-i386sco5.h: New file. | |
2105 | ||
a6b65627 FF |
2106 | Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com> |
2107 | ||
2108 | * bcache.c (bcache): When size of chunk to cache is exactly equal to | |
2109 | BCACHE_MAXLENGTH, stash chunk as unique copy. | |
2110 | ||
eae8aa30 FF |
2111 | Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com> |
2112 | ||
2113 | * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef. | |
2114 | (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and | |
2115 | use it, rather than calling add_psymbol_addr_to_list. | |
2116 | (add_psymbol_addr_to_list): Delete. | |
2117 | (add_psymbol_to_list): Make psymbol static to avoid random data in | |
2118 | gaps due to alignment of structure members. | |
2119 | * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST, | |
2120 | ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no | |
2121 | performance improvements by inlining via complicated macros and | |
2122 | they just make gdb larger and harder to maintain. | |
2123 | * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST | |
2124 | and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to | |
2125 | add_psymbol_to_list with appropriate long or CORE_ADDR args. | |
2126 | (add_partial_symbol): Ditto. | |
2127 | * partial-stab.h: Ditto. | |
2128 | * os9kread.c (read_os9k_psymtab): Ditto | |
2129 | * mdebugread.c (parse_partial_symbols): Ditto. | |
2130 | (handle_psymbol_enumerators): Ditto. | |
2131 | (demangle.h): Include. | |
2132 | * hpread.c (hpread_build_psymtabs): Ditto. | |
2133 | (hpread_build_psymtabs): Ditto. | |
2134 | (demangle.h): Include | |
2135 | ||
51bea8cf | 2136 | start-sanitize-gdbtk |
fda6fadc SS |
2137 | Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com> |
2138 | ||
2139 | * gdbtk.c (running_now): New global variable. | |
2140 | (gdb_cmd): Test it before executing any command. | |
2141 | (gdbtk_call_command): Set it when inferior is running. | |
2142 | * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and | |
2143 | disable interaction with command window's text appropriately. | |
2144 | ||
8b3f9ed6 MM |
2145 | Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
2146 | ||
2147 | * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since | |
2148 | some versions of the kernel don't support it. | |
51bea8cf | 2149 | end-sanitize-gdbtk |
8b3f9ed6 | 2150 | |
72ae15f6 FF |
2151 | Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com> |
2152 | ||
2153 | * configure.in: Check for setpgid function. | |
2154 | * config.in: Regenerate with autoheader. | |
2155 | * configure: Regenerate with autoconf. | |
2156 | * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL | |
2157 | if it is actually defined. | |
2158 | (gdb_setpgid): Use HAVE_SETPGID. | |
2159 | * ch-exp.c: Change include of <string.h> to "gdb_string.h". | |
fda6fadc SS |
2160 | * c-exp.y, f-exp.y, m2-exp.y: Ditto. |
2161 | * c-exp.y, serial.c: Include <ctype.h>. | |
72ae15f6 FF |
2162 | * config/m68k/nm-news.h: Add typedef for pid_t which is |
2163 | apparently missing from <sys/types.h>. Enclose entire | |
2164 | file in NM_NEWS_H ifndef and define when included. | |
2165 | * config/mips/nm-news-mips.h: Ditto. | |
2166 | * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL, | |
2167 | REGISTER_CONVERT_TO_RAW): Change name of temporary variable. | |
2168 | ||
67c1413d SS |
2169 | Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com> |
2170 | ||
72c9954b SS |
2171 | * arm-xdep.c: Move native-specific code to here from arm-tdep.c. |
2172 | * arm-tdep.c (arm_apcs_32): New global. | |
2173 | (arm_addr_bits_remove, arm_saved_pc_after_call, | |
2174 | arm_push_dummy_frame, arm_pop_frame): New functions. | |
2175 | (arm_skip_prologue): Updated version from Richard Earnshaw. | |
2176 | (_initialize_arm_tdep): Add set/show "apcs32". | |
2177 | * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call | |
2178 | arm_addr_bits_remove. | |
2179 | (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call. | |
2180 | (frame_find_saved_regs): Declare properly. | |
2181 | (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame. | |
2182 | (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of | |
2183 | explicit mask. | |
2184 | * config/arm/nm-arm.h: New file. | |
2185 | * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS): | |
2186 | Move definitions to nm-arm.h. | |
2187 | * config/arm/arm.mh (NAT_FILE): Define. | |
2188 | ||
67c1413d SS |
2189 | * symfile.c (generic_load): Initialize data_count properly. |
2190 | ||
3e3ee48f FF |
2191 | Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com> |
2192 | ||
2193 | * symmisc.c (print_objfile_statistics): Print memory used by | |
2194 | psymbol cache obstack. | |
2195 | ||
72158e71 SS |
2196 | Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com> |
2197 | ||
2198 | * symfile.c (report_transfer_performance): New function. | |
2199 | (generic_load): Call it to report transfer rate. | |
2200 | * remote-e7000.c (e7000_load): Ditto. | |
2201 | ||
761e98aa SS |
2202 | Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com> |
2203 | ||
2204 | * mpw-make.sed: Change references to config.h to be in objdir, | |
2205 | edit out rules to rebuild config.h. | |
2206 | ||
251b8ab9 FF |
2207 | Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com> |
2208 | ||
2209 | * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before | |
2210 | proceeding. | |
2211 | ||
517cb8d7 | 2212 | Sun Mar 31 16:15:43 1996 Fred Fish <fnf@cygnus.com> |
771f63d3 FF |
2213 | |
2214 | * hppah-nat.c (store_inferior_registers, store_inferior_registers, | |
2215 | fetch_register, child_xfer_memory): Use call_ptrace function supplied | |
2216 | by infptrace.c rather than calling ptrace directly. | |
2217 | ||
32b18604 SS |
2218 | Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com> |
2219 | ||
2220 | * mon960-rom.c: Cleanups and elimination of unused code, | |
2221 | clarify documentation string. | |
2222 | (mon960_serial, mon960_ttyname): Remove. | |
2223 | * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS, | |
2224 | ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove. | |
2225 | ||
07b77f5c FF |
2226 | Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com> |
2227 | ||
2228 | * configure.in: Check whether printf family supports printing | |
2229 | long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so. | |
2230 | * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE. | |
2231 | * configure: Regenerate. | |
2232 | * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE. | |
2233 | * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE. | |
2234 | * configure.in: Fix have_gregset and have_fpregset autoconf | |
2235 | variable names so that they match the pattern required to | |
2236 | cache them. | |
2237 | ||
b52cac6b FF |
2238 | Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com> |
2239 | ||
2240 | * core-aout.c (fetch_core_registers): Cast core_reg_size to int | |
2241 | before testing against reg_ptr. | |
2242 | * eval.c (evaluate_subexp_standard): Cast type of | |
2243 | TYPE_FN_FIELD_VOFFSET to int. | |
2244 | * findvar.c (extract_signed_integer, extract_unsigned_integer, | |
2245 | extract_long_unsigned_integer): Cast type of sizeof to int. | |
2246 | * values.c (unpack_field_as_long, modify_field): Ditto. | |
2247 | * valops.c (value_assign, call_function_by_hand): Ditto. | |
2248 | * infcmd.c (do_registers_info): Ditto. | |
fda6fadc | 2249 | * ser-tcp.c (tcp_open): Ditto. |
b52cac6b FF |
2250 | * remote.c (putpkt): Ditto. |
2251 | * dcache.c (dcache_peek): Ditto. | |
2252 | * dcache.c (dcache_poke): Ditto. | |
2253 | * m2-exp.y (yylex): Ditto. | |
2254 | * gnu-regex.c (re_match_2): Ditto. | |
2255 | * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef | |
2256 | out unused macro definition and variables. | |
2257 | * inftarg.c (proc_wait): Move from main.c to here, and make static. | |
2258 | * valprint.c (val_print_string): Change bufsize from int to unsigned. | |
fda6fadc | 2259 | * main.c (wait.h): Include. |
b52cac6b FF |
2260 | * top.c (command_line_input): Remove unused variable "c". |
2261 | * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum | |
2262 | value TYPE_CODE_TYPEDEF to switch statement. | |
2263 | (f_type_print_varspec_suffix): Add missing enum value | |
2264 | TYPE_CODE_TYPEDEF to switch statement. | |
2265 | * ch-exp.c (parse_primval): Add remaining enumeration values to | |
2266 | switch statement, with no specific action. | |
2267 | (ch_lex): Add LOC_UNRESOLVED in switch statement. | |
2268 | (pushback_token): Ifdef out, since code using it is ifdef'd out. | |
2269 | * stabsread.c (cleanup_undefined_types): Remove unused label | |
2270 | "badtype". | |
2271 | * objfiles.h (print_symbol_bcache_statistics): Add prototype. | |
2272 | * maint.c (objfiles.h): Include. | |
2273 | (maintenance_print_statistics): Remove unused variable "temp". | |
2274 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove | |
2275 | unused variable "found_file_symbol". | |
2276 | * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch. | |
2277 | * language.c (lang_bool_type): Use existing function local type | |
2278 | variable rather than create block local variables. | |
2279 | * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS. | |
2280 | * infptrace.c (wait.h, command.h): Include. | |
2281 | * ser-tcp.c (gdb_string.h): Include | |
2282 | * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR. | |
2283 | (i386_get_frame_setup): Change "pc" from int to CORE_ADDR. | |
2284 | * command.c (complete_on_enum): Make assignment used as truth value | |
2285 | explictly check against NULL. | |
2286 | (wait.h): Include. | |
2287 | * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code | |
2288 | that uses it is ifdef'd out. | |
2289 | * parser-defs.h: Add prototype for write_dollar_variable. | |
2290 | * infrun.c: Add prototype for write_pc_pid. | |
2291 | * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs. | |
2292 | * symmisc.c (bcache.h): Include. | |
2293 | * bcache.h: Add prototype for print_bcache_statistics. | |
2294 | * symfile.c: Include <time.h>. | |
2295 | * printcmd.c (print_scalar_formatted): Change len to unsigned int. | |
2296 | * valarith.c (value_equal): Cast result of TYPE_LENGTH to int. | |
2297 | * valarith.c (value_binop): Change result_len, promoted_len1, | |
2298 | and promoted_len2 to unsigned int. | |
2299 | * valarith.c (value_subscripted_rvalue): Change elt_offs and | |
2300 | elt_size to unsigned int. | |
2301 | * valops.c (value_array): Change typelength to unsigned int. | |
2302 | (destructor_name_p): Change len to unsigned int. | |
2303 | * scm-lang.h (scm_parse): Add prototype for scm_unpack. | |
2304 | * symfile.c (decrement_reading_symtab): Change return type to void. | |
2305 | * valarith.c (value_subscript): Remove unused variable "word". | |
2306 | (value_subscript): Remove unused variable "tint". | |
2307 | * valops.c (auto_abandon): Ifdef out, since code using it is also | |
2308 | ifdef'd out. | |
2309 | * eval.c (init_array_element): Remove unused variable "val". | |
2310 | * Makefile.in (values.o): Depends on scm-lang.h. | |
2311 | (command.o): Depends upon wait_h. | |
2312 | (ser-tcp.o): Depends upon gdb_string.h. | |
2313 | (infptrace.o): Depends upon wait_h and command_h. | |
2314 | (maint.o): Depends on objfiles.h and symfile.h. | |
2315 | * values.c (allocate_repeat_value): Remove unused variable | |
2316 | "element_type". | |
2317 | (scm-lang.h): Include. | |
2318 | * breakpoint.c (create_longjmp_breakpoint): Enclose in | |
2319 | GET_LONGJMP_TARGET define, unused otherwise. | |
2320 | * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint, | |
2321 | i386_remove_watchpoint and i386_stopped_by_watchpoint. | |
2322 | ||
078aeca4 DE |
2323 | Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com> |
2324 | ||
2325 | * configure.in (sparc64-*-solaris2*): Delete. | |
2326 | Stick with sparc-*-solaris2*. | |
2327 | * configure: Regenerated. | |
2328 | ||
75225aa2 FF |
2329 | Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com> |
2330 | ||
2331 | * valops.c (value_assign): Make copy of internal variable value | |
2332 | before returning it as a new value, since it is owned by the | |
2333 | internal variable and will be freed along with it. | |
2334 | ||
fa3764e2 JL |
2335 | Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com) |
2336 | ||
2337 | * From Peter Schauer. | |
2338 | * breakpoint.c (breakpoint_re_set_one): Keep temporary | |
2339 | breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy | |
2340 | and bp_step_resume in case breakpoint_re_set_one is called due | |
2341 | to a step over a dlopen call. | |
2342 | * infrun.c (wait_for_inferior): Always remove breakpoints from | |
2343 | inferior in BPSTAT_WHAT_CHECK_SHLIBS case. | |
2344 | ||
7e2ff10d FF |
2345 | Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com> |
2346 | ||
2347 | * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer | |
2348 | non-prototyped case over prototyped case for C. | |
2349 | * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto. | |
2350 | ||
4cfb23a9 FF |
2351 | Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com> |
2352 | ||
2353 | * os9kread.c (os9k_process_one_symbol): Note nonportable | |
2354 | assumption that an int can hold a char *. | |
2355 | ||
2356 | * bcache.h (struct hashlink): Wrap data[] inside union with | |
2357 | double to force longest alignment. | |
2358 | (BCACHE_DATA): New macro to access data[]. | |
2359 | (BCACHE_ALIGNMENT): New macro to get offset to data[]. | |
2360 | * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get | |
2361 | address of cached data. Use BCACHE_ALIGNMENT to compute | |
2362 | amount of space to allocate for each hashlink struct. | |
2363 | ||
b9aa6215 FF |
2364 | Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com> |
2365 | ||
2366 | * ch-lang.c (evaluate_subexp_chill): Fix typo. | |
2367 | ||
2368 | Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com> | |
2369 | ||
2370 | * Makefile.in (VERSION): Bump version to 4.15.3 | |
2371 | ||
18ea4416 ILT |
2372 | Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com> |
2373 | ||
2374 | * config.in: Rename from config.h.in. | |
2375 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
2376 | Change CONFIG_HEADERS test in AC_OUTPUT accordingly. | |
2377 | * configure: Rebuild. | |
2378 | * Makefile.in (stamp-h): Depend upon config.in, not config.h.in. | |
2379 | Set CONFIG_HEADERS to config.h:config.in. | |
2380 | ||
67718369 PS |
2381 | Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2382 | ||
2383 | * partial-stab.h (case N_ENDM): Finish current partial symbol | |
2384 | table for Solaris 2 cc. | |
2385 | ||
a466b86a JL |
2386 | Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com) |
2387 | ||
2388 | * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the | |
2389 | PC in the registers array. From Peter Schauer. | |
2390 | ||
0ef22be9 FF |
2391 | Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com> |
2392 | ||
2393 | * symfile.c (reread_symbols): Reinitialize bcache struct | |
2394 | members to zero using memset. Also use memset to reinit | |
2395 | global_psymbols and static_psymbols, rather than explicitly | |
2396 | resetting each structure member. | |
2397 | ||
31520669 FF |
2398 | Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com> |
2399 | ||
2400 | * configure.in: Add fragment to create stamp-h. | |
2401 | ||
2402 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
2403 | * configure.in (AC_CHECK_HEADERS): Check for link.h. | |
2404 | * configure: Regenerate with autoconf. | |
2405 | * config.h.in: Regenerate with autoheader. | |
2406 | * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H | |
2407 | is defined. | |
2408 | * solib.c: Exclude most of the code if HAVE_LINK_H is not defined. | |
2409 | * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for | |
2410 | older a.out based systems. | |
2411 | ||
bfcf3112 | 2412 | Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com> |
db210d08 | 2413 | |
bfcf3112 | 2414 | * config.h.in: New file. |
db210d08 FF |
2415 | * acconfig.h: New file, for autoheader. |
2416 | * configure.in (AC_CONFIG_HEADER): Add, generate config.h. | |
2417 | * configure: Regenerate. | |
2418 | * Makefile.in (defs_h): Add config.h | |
bfcf3112 FF |
2419 | (distclean): Remove config.h and stamp-h during distclean. |
2420 | (config.h, stamp-h): New targets to remake config.h when necessary. | |
db210d08 FF |
2421 | * defs.h (config.h): Include before any other includes or defines. |
2422 | * i386-tdep.c (gdb_string.h): Move include after include of defs.h. | |
d58ffc6c | 2423 | * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H. |
db210d08 | 2424 | |
d5fde1c9 FF |
2425 | Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com> |
2426 | ||
2427 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
2428 | * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not | |
2429 | result in an empty line, to work around a bug in native Ultrix 4.4 | |
2430 | and OSF/1-3.2C make. | |
2431 | ||
3dedc867 FF |
2432 | Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com> |
2433 | ||
2434 | * configure.in: Add gdbserver to configdirs under linux. | |
2435 | * configure: Regenerate. | |
2436 | ||
f727efb5 C |
2437 | Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
2438 | ||
2439 | * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out. | |
2440 | * config/i386/tm-nbsd.h (NUM_REGS): Define. | |
2441 | ||
a404ea25 JL |
2442 | Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com) |
2443 | ||
2444 | * solib.c (solib_break_names): Add _r_debug_state for | |
2445 | vanilla SVR4 implementations. From Peter Schauer. | |
2446 | ||
2447 | Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
2448 | ||
2449 | * mon960-rom.c: New file; support mon960 rom monitor on i960. | |
2450 | * monitor.c (monitor_debug): Change remotedebug to buffer strings. | |
2451 | * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before | |
2452 | epecting prompt and echo during open. | |
2453 | * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to | |
2454 | determine if break should be sent as stop command. | |
2455 | * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN. | |
2456 | * i960-tdep.c (mon960_frame_chain_valid): New function for getting | |
2457 | stack frame on mon960. | |
2458 | * Makefile.in: Add mon960 files. | |
2459 | * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960; | |
2460 | added i960-nindy-coff* and i960-nindy-elf* for target nindy. | |
2461 | * configure: Regenerated. | |
2462 | * config/i960/mon960.mt, config/i960/tm-mon960.h: New files; | |
2463 | support mon960 rom monitor on i960. | |
2464 | ||
1ef980b9 SC |
2465 | Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com> |
2466 | ||
2467 | With Michael Snyder: | |
2468 | * i386-tdep.c (skip_trampoline_code): Fix strncmp length. | |
2469 | * win32-nat.c (CHECK, DEBUG*, debug_*): New. | |
2470 | (handle_load_dll): Don't reload symbols. | |
2471 | (handle_exception): Use the DEBUG_* names. | |
2472 | (child_wait): Add DEBUG_* code. | |
2473 | (_initialize_inftarg): Add new commands to set debug_ names. | |
2474 | ||
803a31a3 JL |
2475 | Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com) |
2476 | ||
2477 | * From Peter Schauer: | |
2478 | * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE. | |
2479 | (bpstat_stop_status): Likewise. | |
2480 | (remove_solib_event_breakpoints): Likewise. | |
2481 | (clear_momentary_breakpoints): Likewise. | |
2482 | (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint | |
2483 | if we still can't read the memory for that breakpoint. | |
2484 | (mention): Add bp_shlib_event case to keep gcc quiet. | |
2485 | ||
2486 | Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com) | |
2487 | ||
2488 | * breakpoint.h (enum enable): New enum shlib_disabled for | |
2489 | shared library breakpoints that have been temporarily disabled. | |
2490 | * breakpoint.c: Handle temporarily disabled shared library | |
2491 | breakpoints like disabled breakpoints in most places. | |
2492 | (insert_breakpoints): Use shlib_disabled to indicate | |
2493 | that an unsettable breakpoint is only temporarily disabled. | |
2494 | (re_enable_breakpoints_in_shlibs): New function. | |
2495 | * corelow.c (solib_add_stub): After adding shared libraries, | |
2496 | try to reenable any temporarily disabled breakpoints. | |
2497 | * infcmd.c (attach_command): Likewise. | |
2498 | * infrun.c (wait_for_inferior): Likewise. | |
2499 | ||
4972c44e ILT |
2500 | Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com> |
2501 | ||
2502 | * defs.h (extract_long_unsigned_integer): Declare. | |
2503 | * findvar.c (extract_long_unsigned_integer): New function. | |
2504 | * printcmd.c (print_scalar_formatted): Use it. | |
2505 | * valprint.c (val_print_type_code_int): Likewise. | |
2506 | ||
00dd4fd9 SS |
2507 | Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com> |
2508 | ||
2509 | * infcmd.c (do_registers_info): Ignore anonymous registers. | |
2510 | * sh-tdep.c (set processor): New command to set specific | |
2511 | processor type. | |
2512 | (sh_reg_names, sh3_reg_names): Arrays of register names for | |
2513 | SH and SH3 processors. | |
2514 | (sh_set_processor_type): New function. | |
2515 | * sh3-rom.c (sh3_open): Call it. | |
2516 | (sh3_regname): Add names of all the bank registers. | |
2517 | (sh3_supply_register): Clean up formatting. | |
2518 | * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include | |
2519 | bank registers. | |
2520 | (REGISTER_NAMES): Add names of bank registers. | |
2521 | (FP15_REGNUM): Define. | |
2522 | (REGISTER_VIRTUAL_TYPE): Use it. | |
2523 | * monitor.c: Clean up some comments. | |
2524 | ||
43ece84d C |
2525 | Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
2526 | ||
2527 | * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the | |
2528 | s* and t* symbols too. | |
2529 | ||
5a367b09 JSC |
2530 | Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk> |
2531 | ||
2532 | * symfile.c (generic_load): Avoid division by zero. | |
2533 | ||
653fed07 JL |
2534 | Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com) |
2535 | ||
2536 | * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems, | |
2537 | not just those with HANDLE_SVR4_EXEC_EMULATORS. | |
27b6a1fa | 2538 | |
00dd4fd9 | 2539 | From Peter Schauer: |
27b6a1fa JL |
2540 | * breakpoint.c (internal_breakpoint_number): Move to file scope. |
2541 | (create_solib_event_breakpoint): Use an internal breakpoint number. | |
2542 | ||
bb901438 WM |
2543 | Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
2544 | ||
2545 | * valarith.c (value_in): Change builtin_type_chill_bool to | |
2546 | LA_BOOL_TYPE. | |
2547 | ||
c105168f WM |
2548 | Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
2549 | ||
2550 | * ch-exp.c (parse_primval): Handle CARD, MAX, MIN. | |
2551 | (match_string_literal): Handle control sequence. | |
2552 | (match_character_literal): Deto. | |
2553 | ||
2554 | * ch-lang.c (chill_printchar): Change formating of nonprintable | |
2555 | characters from C'xx' to ^(num). | |
2556 | (chill_printstr): Deto. | |
2557 | (value_chill_card, value_chill_max_min): New functions to process | |
2558 | Chill's CARD, MAX, MIN. | |
2559 | (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN. | |
2560 | ||
2561 | * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN | |
2562 | for Chill's CARD, MAX, MIN. | |
2563 | ||
2564 | * valarith.c (value_in): Add processing of TYPE_CODE_RANGE | |
2565 | and change return type from builtin_type_int to | |
2566 | builtin_type_chill_bool. | |
2567 | ||
d009ffd8 SS |
2568 | Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com> |
2569 | ||
b4692cbc SS |
2570 | * config/nm-nbsd.h (link_object, lo_name, etc): Move to here |
2571 | from config/nm-nbsd.h. | |
2572 | * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here | |
2573 | from config/sparc/tm-nbsd.h. | |
2574 | ||
d009ffd8 SS |
2575 | * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here |
2576 | instead of in config/m68k/xm-hp300hpux.h. | |
2577 | ||
d554e554 C |
2578 | Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
2579 | ||
2580 | * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide | |
2581 | implementation for NetBSD systems. | |
2582 | ||
02e6e53d PB |
2583 | Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com> |
2584 | ||
8d67b75a PB |
2585 | * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT. |
2586 | (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY). | |
2587 | ||
02e6e53d PB |
2588 | * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error |
2589 | if "function" is pointer to non-function. | |
2590 | ||
f935141e SS |
2591 | Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com> |
2592 | ||
2593 | * top.c (print_gdb_version): Update copyright year. | |
2594 | ||
11be829f JL |
2595 | Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com) |
2596 | ||
f935141e | 2597 | From Peter Schauer: |
11be829f JL |
2598 | * infrun.c (wait_for_inferior): Remove breakpoints and |
2599 | switch terminal settings before calling SOLIB_ADD. | |
2600 | * solib.c (enable_break, SVR4 variant): Don't map in symbols | |
2601 | for the dynamic linker, the namespace pollution causes real | |
2602 | problems. | |
2603 | ||
4f005fea JSC |
2604 | Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk> |
2605 | ||
2606 | * remote-mips.c (common_breakpoint): Explicitly terminate the | |
2607 | returned buffer. | |
2608 | ||
cf3c0938 SS |
2609 | Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com> |
2610 | ||
2611 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
2612 | * remote.c (remote_detach): Send a command 'D' to the target | |
2613 | when detaching, update the function's comments. | |
2614 | ||
647e52ea SG |
2615 | Thu Jun 6 16:11:38 1996 Miles Bader <miles@gnu.ai.mit.edu> |
2616 | ||
2617 | * gnu-nat.c (thread_cmd_list): New declaration. | |
2618 | (parse_int_arg): New function. | |
2619 | ||
2620 | Wed Jun 5 17:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2621 | ||
2622 | * gnu-nat.h (struct proc): Add DETACH_SC field. | |
2623 | * gnu-nat.c (make_proc): Set DETACH_SC. | |
2624 | (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. | |
2625 | (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. | |
2626 | (add_thread_commands): Add set/show for detach-suspend-count. | |
2627 | Add takeover-suspend-count cmd. | |
2628 | (inf_detach): Set suspend counts to the detach SC, not 0. | |
2629 | (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd, | |
2630 | set_task_detach_sc_cmd, show_task_detach_sc_cmd, | |
2631 | set_thread_default_thread_detach_sc_cmd, | |
2632 | show_thread_default_thread_detach_sc_cmd): New functions. | |
2633 | (show_task_cmd): Also show detach-suspend-count values. | |
2634 | (thread_takeover_sc_cmd): New function. | |
2635 | ||
2636 | Fri May 31 16:49:24 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2637 | ||
2638 | * gnu-nat.c (show_thread_run_cmd): Actually print state. | |
2639 | ||
2640 | Thu May 30 10:47:56 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2641 | ||
2642 | * gnu-nat.c (inf_signal): Make unforwardable exceptions an error. | |
2643 | ||
2644 | Tue May 28 17:06:36 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2645 | ||
2646 | * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a | |
2647 | pointer to the flags now, not the flags themselves. | |
2648 | ||
2649 | Mon May 27 13:31:17 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2650 | ||
2651 | * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs. | |
2652 | (gnu_create_inferior): Check return from ptrace. | |
2653 | ||
2654 | Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2655 | ||
2656 | * gnu-nat.h (struct proc): Add DEAD field. | |
2657 | * gnu-nat.c (make_proc): Initialize DEAD. | |
2658 | (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it. | |
2659 | (gnu_wait): Only abort for 0 threads if the task isn't dead. | |
2660 | ||
2661 | Sat May 25 17:06:05 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2662 | ||
2663 | * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal. | |
2664 | ||
2665 | Wed May 22 18:44:28 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2666 | ||
2667 | * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument. | |
2668 | (inf_set_traced): Only give no-signal-thread error message if | |
2669 | turning *on* tracing. | |
2670 | ||
2671 | Wed May 15 13:03:16 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2672 | ||
2673 | * gnu-nat.c (inf_validate_procs): If INF has no threads, always | |
2674 | set inf->threads_up_to_date to 0. | |
2675 | (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced. | |
2676 | (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation. | |
2677 | (proc_update_sc): Cast thread state arg to thread_set_state. | |
2678 | (proc_get_state): Cast thread state arg to thread_get_state. | |
2679 | (inf_validate_task_sc): Cast task_basic_info arg to task_info. | |
2680 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call | |
2681 | inf_update_procs before we lookup the thread. | |
2682 | * config/i386/i386gnu.mh (MH_CFLAGS): New variable. | |
2683 | ||
2684 | Tue May 7 17:52:33 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2685 | ||
2686 | * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task. | |
2687 | ||
2688 | Mon May 6 19:06:49 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2689 | ||
2690 | * gnu-nat.c (inf_set_traced): Use msg_set_init_int with | |
2691 | INIT_TRACEMASK instead of setting the exec flags. | |
2692 | ||
2693 | Fri May 3 19:10:57 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2694 | ||
2695 | * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find | |
2696 | the task's died, so others have a chance at it. | |
2697 | (gnu_resume): When single-stepping a single thread, given an error | |
2698 | if there is no such thread. When single-stepping one but running | |
2699 | the others, just given a warning and still run all the threads. | |
2700 | (gnu_wait): If there seem to be no threads, look harder, and | |
2701 | signal an error if there really aren't any. | |
2702 | (gnu_attach): Reset thread numbering to 0. | |
2703 | ||
2704 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give | |
2705 | thread name in warning messages. | |
2706 | ||
2707 | * gnu-nat.c (active_inf): New function. | |
2708 | (show_sig_thread_cmd, show_stopped_cmd): Use it. | |
2709 | (info_port_rights, info_send_rights_cmd, info_port_sets_cmd, | |
2710 | info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd): | |
2711 | New functions. | |
2712 | (add_task_commands): Add new port-right info commands. | |
2713 | ||
2714 | Fri Apr 26 20:42:16 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2715 | ||
2716 | * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just | |
2717 | use mach_msg with MACH_RCV_INTERRUPT. | |
2718 | (set_noninvasive_cmd): New function. | |
2719 | (add_task_commands): Add command entry for `set noninvasive'. | |
2720 | ||
2721 | Mon Mar 4 14:12:02 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2722 | ||
2723 | * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy. | |
2724 | (safe_bcopy): Function removed. | |
2725 | ||
2726 | Mon Dec 4 14:18:26 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
2727 | ||
2728 | * gnu-nat.c (proc_update_sc): Assert only threads can have state. | |
2729 | (make_proc): Initialize state_valid & state_changed fields. | |
2730 | ||
2731 | Tue Nov 28 17:51:21 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
2732 | ||
2733 | * reply_mig_hack.awk: New file. | |
2734 | ||
2735 | Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
2736 | ||
2737 | * breakpoint.c (breakpoint_1): Print breakpoint thread field. | |
2738 | ||
2739 | * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new | |
2740 | threads. | |
2741 | ||
2742 | Mon Nov 13 18:30:53 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
2743 | ||
2744 | * target.c (debug_to_check_threads): New function. | |
2745 | ||
2746 | * inflow.c (terminal_init_inferior_with_pgrp): New function. | |
2747 | (terminal_init_inferior): Call terminal_init_inferior_with_pgrp. | |
2748 | * inferior.h (terminal_init_inferior_with_pgrp): New declaration, | |
2749 | but only if PROCESS_GROUP_TYPE is defined. | |
2750 | ||
2751 | Mon Nov 6 16:42:09 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
2752 | ||
2753 | * target.c (debug_to_thread_alive): Pass through the return value. | |
2754 | ||
2755 | Thu Nov 2 18:05:00 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
2756 | ||
2757 | * target.c (signals, target_signal_from_host, target_signal_to_host): | |
2758 | Add mach exceptions. | |
2759 | * target.h (enum target_signal): Add mach exceptions. | |
2760 | ||
2761 | Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
2762 | ||
2763 | * gnu-nat.c: New file: gnu native backend. | |
2764 | * i386gnu-nat.c: New file: i386-specific part of gnu native backend. | |
2765 | * gnu-nat.h: New file. | |
2766 | * config/nm-gnu.h: New file. | |
2767 | * config/tm-i386gnu.h: New file. | |
2768 | * config/xm-i386gnu.h: New file. | |
2769 | * config/i386/i386gnu.mh: New file. | |
2770 | * config/i386/i386gnu.mt: New file. | |
2771 | ||
8fe2b2c5 FF |
2772 | Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com> |
2773 | ||
2774 | * Makefile.in (VERSION): Bump version to 4.15.2 to establish | |
2775 | baseline for gdb 4.16 rerelease testing. | |
2776 | ||
a4f39c06 JL |
2777 | Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com) |
2778 | ||
2779 | * somsolib.c (som_solib_create_inferior_hook): Before returning | |
2780 | call clear_symtab_users. | |
2781 | ||
2782 | Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2783 | ||
2784 | * remote-e7000.c (e7000_open): Delete all breakpoints when | |
2785 | connecting to e7000. Change connect message to allow use of | |
2786 | monitor.exp in test suite. | |
2787 | * (e7000_load): Print transfer rate of download. | |
2788 | * symfile.c (generic_load): Print transfer rate of download. | |
2789 | ||
8fa6fcf8 SS |
2790 | Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com> |
2791 | ||
2792 | * configure.in (mips*-*-vxworks*): New config. | |
2793 | * configure: Regenerated. | |
2794 | ||
2795 | * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files. | |
2796 | * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
2797 | Remove, never used. | |
2798 | ||
a97a483c PS |
2799 | Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2800 | ||
2801 | * partial-stab.h (case N_FUN): Function symbols generated | |
2802 | by SPARCworks cc have a meaningless zero value, do not update | |
2803 | pst->textlow if the function symbol value is zero. | |
2804 | ||
2805 | * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field | |
2806 | for function prototype declaration symbols. | |
2807 | ||
b5eccf74 SG |
2808 | Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com) |
2809 | ||
2810 | * remote-e7000.c (e7000_load): New routine to download via the | |
2811 | network. | |
2812 | * (e7000_wait): Don't backup PC when we hit a breakpoint. | |
2813 | Apparantly new sh2 pods get this right... | |
2814 | * (e7000_ops): Add call to e7000_load. | |
2815 | ||
b7f3b6d5 C |
2816 | Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
2817 | ||
2818 | * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}, | |
2819 | m68knbsd-nat.c: New files, support for NetBSD/m68k. | |
2820 | ||
2821 | * configure.in (m68k-*-netbsd*): New config. | |
2822 | * configure: Regenerated. | |
2823 | ||
517cb8d7 | 2824 | Wed Feb 21 19:00:21 1996 Fred Fish <fnf@cygnus.com> |
6a6a552a FF |
2825 | |
2826 | * standalone.c (open, _initialize_standalone): Fix obvious typos | |
2827 | reported by Martin Pool <martin@citr.uq.oz.au>. | |
2828 | ||
13f6c7ea JL |
2829 | Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com) |
2830 | ||
2831 | * solib.c (solib_create_inferior_hook): Fix thinko. | |
2832 | ||
464c6c5f JL |
2833 | Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com) |
2834 | ||
2835 | * solib.c (solib_break_names): Define for Solaris and Linux. | |
2836 | (enable_break): For SVR4 systems, first try to use the debugger | |
2837 | interfaces in the dynamic linker to track shared library events | |
2838 | as they happen, then fall back to BKPT_AT_SYMBOL code. Convert | |
2839 | BKPT_AT_SYMBOL code to use shared library event breakpoints. | |
2840 | (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code, | |
2841 | it no longer needs to restart/wait on the inferior. | |
2842 | * symfile.c (find_lowest_section): No longer static. | |
2843 | * symfile.h (find_lowest_section): Corresponding changes. | |
2844 | ||
517cb8d7 | 2845 | Tue Feb 20 18:54:08 1996 Fred Fish <fnf@cygnus.com> |
45c5fa78 FF |
2846 | |
2847 | * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value. | |
2848 | (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE. | |
2849 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1. | |
2850 | * config/mips/tm-mips.h: Ditto. | |
2851 | * config/pa/tm-hppa.h: Ditto. | |
2852 | * config/rs6000/tm-rs6000.h: Ditto. | |
2853 | * config/sparc/tm-sparc.h: Ditto. | |
2854 | ||
48d27324 C |
2855 | Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
2856 | ||
eb224848 C |
2857 | * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o. |
2858 | ||
48d27324 C |
2859 | * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined. |
2860 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
2861 | #ifdef'd out definitions --- Causes serious gdb failures on | |
2862 | the i386. Need to investigate further before enabling. | |
2863 | ||
2864 | * i386b-nat.c (fetch_inferior_registers, store_inferior_registers, | |
2865 | fetch_core_registers): New functions. These functions are defined | |
2866 | if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored | |
2867 | with ptrace PT_GETREGS/PT_SETREGS. | |
2868 | ||
95f6f926 SG |
2869 | Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com) |
2870 | ||
2871 | * findvar.c (extract_floating store_floating): Replace `long | |
2872 | double' with `DOUBLEST'. | |
2873 | ||
cb91ea56 C |
2874 | Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
2875 | ||
2876 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
2877 | Define. | |
2878 | ||
9263da6f JL |
2879 | Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com) |
2880 | ||
2881 | * symtab.h (looup_minimal_symbol_solib_trampoline): Declare. | |
2882 | ||
2883 | * breakpoint.h (remove_solib_event_breakpoints): Declare. | |
2884 | * breakpoint.c (remove_solib_event_breakpoints): New function. | |
2885 | * somsolib.c (solib_create_inferior_hook): Remove all solib event | |
2886 | breakpoints before inserting any new ones. Use a solib event | |
2887 | breakpoint for the breakpoint at "_start". | |
2888 | Remove extraneous "\n" from calls to warning. | |
2889 | ||
2890 | * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes | |
2891 | name array. | |
2892 | ||
0708e99f FF |
2893 | Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com> |
2894 | ||
2895 | * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST | |
2896 | for CORE_ADDR values. | |
2897 | (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values. | |
2898 | * symfile.h (add_psymbol_{,addr}to_list): Add prototypes. | |
2899 | ||
08dc1eeb PS |
2900 | Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2901 | ||
2902 | * mipsread.c (mipscoff_symfile_read): Unconditionally add | |
2903 | alpha coff dynamic symbols for all symbol files. Makes skipping | |
2904 | over the trampoline code work when stepping from a function in a | |
2905 | shared library into a function in a different shared library. | |
2906 | ||
1d6afd7f SG |
2907 | Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com) |
2908 | ||
2909 | * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define | |
2910 | RETURN_VALUE_ON_STACK to return long doubles on the stack. | |
2911 | ||
0708e99f | 2912 | Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com> |
176b2bee FF |
2913 | |
2914 | * Makefile.in (ch-exp.o): Add dependencies. | |
2915 | (various): Add gdb_string.h to dependencies that need it. | |
2916 | ||
dcb6a7c0 FF |
2917 | Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com> |
2918 | ||
2919 | * symmisc.c (print_symbol_bcache_statistics): Update description for | |
2920 | printing byte cache statistics. | |
2921 | ||
aa220473 SG |
2922 | Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com) |
2923 | ||
2924 | * Add native support for long double data type. | |
2925 | * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST | |
2926 | to store actual data. Change types of INT and FLOAT tokens to | |
2927 | typed_val_int and typed_val_float respectively. Create new token | |
2928 | DOUBLE_KEYWORD to specify the string `double'. Make production | |
2929 | for FLOAT use type determined by parse_number. Add production for | |
2930 | "long double" data type. | |
2931 | * (parse_number): Use sscanf to parse numbers as float, double or | |
2932 | long double depending upon the type of typed_val_float.dval. Also | |
2933 | allow user to specify `f' or `l' suffix to explicitly specify | |
2934 | float or long double constants. Change typed_val to | |
2935 | typed_val_int. | |
2936 | * (yylex): Change typed_val to typed_val_int. Also, scan for | |
2937 | "double" keyword. | |
2938 | * coffread.c (decode_base_type): Add support for T_LNGDBL basic | |
2939 | type. | |
2940 | * configure, configure.in: Add check for long double support in | |
2941 | the host compiler. | |
2942 | * defs.h: Define DOUBLEST appropriatly depending on whether | |
2943 | HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes | |
2944 | for functions that handle this type. | |
2945 | * expression.h (union exp_element): doubleconst is now type | |
2946 | DOUBLEST. | |
2947 | * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST. | |
2948 | * findvar.c (extract_floating): Make return value be DOUBLEST. | |
2949 | Also, add support for numbers with size of long double. | |
2950 | * (store_floating): Arg `val' is now type DOUBLEST. Handle all | |
2951 | floating types. | |
2952 | * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now | |
2953 | DOUBLEST. | |
2954 | * valarith.c (value_binop): Change temp variables v1, v2 and v to | |
2955 | type DOUBLEST. Coerce type of result to long double if either op | |
2956 | was of that type. | |
2957 | * valops.c (value_arg_coerce): If argument type is bigger than | |
2958 | double, coerce to long double. | |
2959 | * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and | |
2960 | arg type is float and > 8 bytes, then use pointer-to-object | |
2961 | calling conventions. | |
2962 | * valprint.c (print_floating): Arg doub is now type DOUBLEST. | |
2963 | Use appropriate format and precision to print out floating point | |
2964 | values. | |
2965 | * value.h: Fixup prototypes for value_as_double, | |
2966 | value_from_double, and unpack_double to use DOUBLEST. | |
2967 | * values.c (record_latest_value): Remove check for invalid | |
2968 | floats. Allow history to store them so that people may examine | |
2969 | them in hex if they want. | |
2970 | * (value_as_double unpack_double): Change return value to DOUBLEST. | |
2971 | * (value_from_double): Arg `num' is now DOUBLEST. | |
2972 | * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target | |
2973 | specific) to expect certain types to always be returned on the stack. | |
2974 | ||
2ad5709f FF |
2975 | Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com> |
2976 | ||
2977 | * bcache.c, bcache.h: New files to implement a byte cache. | |
2978 | * Makefile.in (SFILES): Add bcache.c. | |
2979 | (symtab_h): Add bcache.h. | |
2980 | (HFILES_NO_SRCDIR): add bcache.h | |
2981 | (COMMON_OBJS): Add bcache.o | |
2982 | (bcache.o): New target. | |
2983 | * dbxread.c (start_psymtab): Make global_syms & static_syms | |
2984 | type "partial_symbol **". | |
2985 | * hpread.c (hpread_start_symtab): Ditto. | |
2986 | * os9kread.c (os9k_start_psymtab): Ditto. | |
2987 | * stabsread.h (start_psymtab): Ditto. | |
2988 | * {symfile.c, symfile.h} (start_psymtab_common): Ditto. | |
2989 | * maint.c (maintenance_print_statistics): Call | |
2990 | print_symbol_bcache_statistics. | |
2991 | * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc | |
2992 | and free pointers. | |
2993 | * solib.c (allocate_rt_common_objfile): Ditto. | |
2994 | * symfile.c (reread_symbols): Ditto. | |
2995 | (free_objfile): Free psymbol bcache when objfile is freed. | |
2996 | (objfile_relocate): Use new indirect psymbol pointers. | |
2997 | * objfiles.h (struct objfile): Add psymbol cache. | |
2998 | * symfile.c (compare_psymbols): Now passed pointers to pointers to | |
2999 | psymbols. | |
3000 | (reread_symbols): Free psymbol bcache when freeing other objfile | |
3001 | resources. | |
3002 | (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new | |
3003 | psymbol using the psymbol bcache. | |
3004 | (init_psymbol_list): Psymbol lists now contain pointers rather than | |
3005 | the actual psymbols. | |
3006 | * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically | |
3007 | grown arrays of pointers. | |
3008 | (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol | |
3009 | bcache. | |
3010 | * symmisc.c (print_partial_symbols): Now takes pointer to pointer | |
3011 | to partial symbol. | |
3012 | (print_symbol_bcache_statistics): New function to print per objfile | |
3013 | bcache statistics. | |
3014 | (print_partial_symbol, print_partial_symbols, | |
3015 | maintenance_check_symtabs, extend_psymbol_list): | |
3016 | Account for change to pointer to pointer to partial symbol. | |
3017 | * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2, | |
3018 | make_symbol_completion_list): | |
3019 | Account for change to pointer to pointer to partial symbol. | |
3020 | * symtab.h (bcache.h): Include. | |
3021 | * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms | |
3022 | type "partial_symbol **". | |
3023 | ||
4a1d2ce2 FF |
3024 | Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com> |
3025 | ||
3026 | * dwarfread.c (free_utypes): New function. | |
3027 | (read_file_scope): Call free_utypes as cleanup, rather than just | |
3028 | freeing the utypes pointer. | |
3029 | ||
81afee37 FF |
3030 | Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3031 | ||
3032 | * demangle.c (is_cplus_marker): New function, checks if a | |
3033 | character is one of the commonly used C++ marker characters. | |
3034 | * defs.h (is_cplus_marker): Add prototype. | |
3035 | * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle), | |
3036 | cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol), | |
3037 | stabsread.c (define_symbol, read_member_functions, read_struct_fields), | |
3038 | symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P), | |
3039 | values.c (vb_match): Use is_cplus_marker instead of comparison | |
3040 | with CPLUS_MARKER. | |
3041 | ||
14b22711 FF |
3042 | Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com> |
3043 | ||
3044 | * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly | |
3045 | delete entirely someday. | |
3046 | ||
884fb64c SS |
3047 | Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
3048 | ||
3049 | * mpw-make.sed: Edit out makefile rebuild rule. | |
3050 | (host_alias, target_alias): Comment out instead of deleting. | |
3051 | (@LIBS@): Edit out references. | |
3052 | ||
f1d39876 FF |
3053 | Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com> |
3054 | ||
3055 | * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): | |
3056 | Use n_psyms in OBJSTAT, not psyms. | |
3057 | ||
3058 | Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com> | |
3059 | ||
3060 | * configure.in (sparclet-*-aout*): New config. | |
3061 | * configure: Regenerated. | |
3062 | ||
c37c7c6c FF |
3063 | Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com> |
3064 | ||
3065 | * somsolib.c (som_solib_add): Use xmalloc rather than bare | |
3066 | unchecked call to malloc. | |
3067 | * remote-mips.c (pmon_load_fast): ditto. | |
3068 | * remote-mm.c (mm_open): ditto. | |
3069 | * hpread.c (hpread_lookup_type): ditto. | |
3070 | * remote-adapt.c (adapt_open): ditto. | |
3071 | ||
6405302d FF |
3072 | Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com> |
3073 | ||
3074 | * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node, | |
3075 | allocate_saved_f77_common_node, allocate_common_entry_node, | |
3076 | add_common_block): Use xmalloc rather than malloc, some of which | |
3077 | were unchecked. | |
3078 | * gnu-regex.c: At same point as other gdb specific changes | |
3079 | #undef malloc and then #define it to xmalloc. | |
3080 | * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than | |
3081 | bare unchecked calls to malloc/realloc. | |
3082 | * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare | |
3083 | unchecked call to malloc. | |
3084 | ||
ff7116e2 SG |
3085 | Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com) |
3086 | ||
3087 | * symtab.c (gdb_mangle_name): Change opname var to be const to | |
3088 | match return val of cplus_mangle_name. | |
3089 | * i960-tdep.c: Change arg types of next_insn to match callers. | |
3090 | ||
b0ee0cf2 FF |
3091 | Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com> |
3092 | ||
3093 | * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These | |
3094 | apparently aren't needed in any reasonably recent version of | |
3095 | linux. | |
3096 | ||
ec49fc98 PB |
3097 | Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com> |
3098 | ||
3099 | * stabsread.c (read_range_type): If !self-subrange and language | |
3100 | is Chill, assume a true range. If a true_range is a sub_subrange, | |
3101 | use builtin_type_int for index_type. | |
3102 | ||
3103 | Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com> | |
3104 | ||
3105 | * nindy-share/nindy.c (say): Use stdarg.h macros when compiling | |
3106 | with an ANSI compiler. | |
3107 | ||
f0b0d915 TT |
3108 | start-sanitize-gdbtk |
3109 | Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com> | |
3110 | ||
3111 | * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so | |
3112 | double-clicking will work again. | |
3113 | (create_asm_win): Put "break" at end of all B1 bindings. | |
3114 | (create_file_win): Lower "sel" tag, don't raise it. | |
3115 | (ensure_line_visible): New proc. | |
3116 | (update_listing, update_assembly): Use it. | |
3117 | (create_copyright_window): Destroy window on Leave event. | |
3118 | (create_command_window): Put "break" at end of all B2 bindings. | |
3119 | ||
3120 | end-sanitize-gdbtk | |
263af172 SC |
3121 | Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com> |
3122 | ||
3123 | From Michael_Snyder@NeXT.COM (Michael Snyder): | |
3124 | * valops.c (value_arg_coerce): Coerce float to double, unless the | |
3125 | function prototype specifies float. | |
3126 | ||
fc71ad23 | 3127 | Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com> |
8bdae156 | 3128 | |
fc71ad23 TT |
3129 | * language.c (set_language_command): Use languages table when |
3130 | printing available languages. | |
3131 | ||
3132 | Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com> | |
3133 | ||
3134 | Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl): | |
3135 | * command.c (add_cmd): Add missing initialization for enums member. | |
3136 | Reorder members to match structure declaration to make it easier to | |
3137 | tell when one is missing. | |
3138 | * exec.c (exec_file_command): Fix problem where filename in malloc'd | |
3139 | memory is referenced after being freed. | |
8bdae156 | 3140 | |
255181a9 PS |
3141 | Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3142 | ||
3143 | * dwarfread.c (read_func_scope): Avoid GDB core dumps if | |
3144 | AT_name tag is missing. | |
3145 | ||
3146 | * procfs.c (procfs_stopped_by_watchpoint): Fix logic when | |
3147 | FLTWATCH and FLTKWATCH are defined. | |
3148 | ||
3149 | * remote.c (remote_read_bytes): Advance memaddr for transfers, | |
3150 | return number of bytes transferred for partial reads. | |
3151 | ||
3152 | * top.c (init_signals): Reset SIGTRAP to SIG_DFL. | |
3153 | ||
454ffae5 SC |
3154 | Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com> |
3155 | ||
3156 | * win32-nat.c (mappings): Add ppc registers. | |
9a763320 | 3157 | (child_resume): Turn off step for ppc. |
454ffae5 | 3158 | |
3d78f532 SC |
3159 | Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com> |
3160 | ||
3161 | * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, | |
3162 | xm-cygwin32.h): New. | |
3163 | * config/i386/(*win32*): Becomes *cygwin32*. | |
3164 | * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32. | |
3165 | (powerpcle-*-cygwin32): New. | |
3166 | * configure: Regenerate. | |
3167 | * win32-nat.c (child_create_inferior): Call CreateProcess | |
3168 | with the right program arg. | |
3169 | ||
4ad70253 JL |
3170 | Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com) |
3171 | ||
3172 | * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition. | |
3173 | ||
0db5a6fe FF |
3174 | Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com> |
3175 | ||
3176 | * serial.c: Change fputc/fputs/fprintf to _unfiltered forms. | |
3177 | ||
28bc5ef7 SS |
3178 | Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
3179 | ||
97abaf19 SS |
3180 | * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove. |
3181 | ||
28bc5ef7 SS |
3182 | * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used. |
3183 | ||
97abaf19 SS |
3184 | * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to |
3185 | here from config/i386/xm-i386mach.h, fix name. | |
3186 | * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h. | |
3187 | * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to | |
3188 | here from config/i386/xm-ptx4.h. | |
3189 | * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h. | |
3190 | * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h. | |
3191 | * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h. | |
3192 | * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h. | |
3193 | * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h. | |
3194 | ||
28bc5ef7 SS |
3195 | * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h. |
3196 | (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h. | |
3197 | * config/sparc/sun4sol2.mh (NAT_FILE): Update. | |
28bc5ef7 | 3198 | |
17280c3f JL |
3199 | Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com) |
3200 | ||
3201 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software | |
3202 | floating point correctly. | |
3203 | (STORE_RETURN_VALUE): Likewise. | |
3204 | * config/pa/tm-pro.h (SOFT_FLOAT): define. | |
3205 | ||
44e9f3b3 FF |
3206 | Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com> |
3207 | ||
3208 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
3209 | Define to what should be reasonable values. However, apparently | |
3210 | a bug in linux mmap prevents mapped symbol tables from working. | |
3211 | ||
ad1e42be FF |
3212 | Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com> |
3213 | ||
3214 | * defs.h (errno.h>: Move #include closer to head of file to solve | |
3215 | obscure problem with systems that declare perror with const arg, in | |
3216 | both errno.h and stdio.h, and const is defined away by intervening | |
3217 | local include. | |
3218 | ||
d3ba76fc FF |
3219 | Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com> |
3220 | ||
3221 | From Jon Reeves <reeves@zk3.dec.com>: | |
3222 | * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr. | |
3223 | (mem_fault_routine): Fix misplaced volatile type qualifier in decl. | |
3224 | ||
f6ade5dd FF |
3225 | Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com> |
3226 | ||
3227 | * Makefile.in (diststuff): Make all-doc; diststuff target does not | |
3228 | exist in doc/Makefile.in. | |
3229 | ||
cdea3fd3 SS |
3230 | Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
3231 | ||
3232 | * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used. | |
3233 | ||
d221b17e WM |
3234 | Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
3235 | ||
cdea3fd3 SS |
3236 | * ch-valprint.c (calculate_array_length): New function to |
3237 | determine the length of an array type. | |
d221b17e WM |
3238 | (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an |
3239 | array type is zero, call calculate_array_length. | |
3240 | ||
cdea3fd3 SS |
3241 | * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The |
3242 | values may not be sorted. Scan all entries and set the real lower | |
3243 | and upper bound. | |
d221b17e | 3244 | |
fa9f5840 FF |
3245 | Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com> |
3246 | ||
3247 | * config/xm-linux.h: Move include of solib.h and #define of | |
3248 | SVR4_SHARED_LIBS from here ... | |
3249 | * config/nm-linux.h: ...to here. | |
3250 | ||
4708ac65 FF |
3251 | Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com> |
3252 | ||
3253 | * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h. | |
3254 | Also check for gregset_t and fpregset_t types. | |
3255 | * configure: Regenerate. | |
3256 | * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H | |
3257 | is defined. | |
3258 | (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T | |
3259 | and HAVE_FPREGSET_T are defined. These changes allow systems | |
3260 | like linux that are migrating to /proc support to use a single | |
3261 | configuration for both new and old versions. | |
3262 | ||
3263 | * config/i386/linux.mt: Note that this is now for both a.out and | |
3264 | ELF systems. | |
3265 | * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o, | |
3266 | i386v4-nat.o | |
3267 | * config/i386/tm-linux.h (tm-sysv4.h): Include. | |
3268 | * config/i386/xm-linux.h (solib.h): Include | |
3269 | (SVR4_SHARED_LIBS): Define. | |
3270 | * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined. | |
3271 | (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined. | |
cdea3fd3 SS |
3272 | (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T |
3273 | defined. | |
4708ac65 | 3274 | |
a77bf669 SS |
3275 | Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
3276 | ||
3277 | * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used. | |
3278 | * config/i386/xm-sun386.h: Ditto. | |
3279 | * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto. | |
3280 | ||
3281 | Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com> | |
3282 | ||
3283 | * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@. | |
3284 | ||
a4b4479a SC |
3285 | Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com> |
3286 | ||
3287 | From Greg McGary <gkm@gnu.ai.mit.edu>: | |
3288 | * dcache.c (dcache_peek, dcache_poke): Advance addr for | |
3289 | multi-byte I/O. | |
3290 | ||
4133a76e JL |
3291 | Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com) |
3292 | ||
3293 | * infrun.c (normal_stop): Fix test for shared library event. | |
3294 | ||
146ee7db DE |
3295 | Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com> |
3296 | ||
3297 | * configure.in (sparc64-*-*): Add default host configuration. | |
3298 | start-sanitize-gdbtk | |
3299 | (sparc64-*-solaris2* host): Link statically if GCC used. | |
3300 | end-sanitize-gdbtk | |
3301 | (sparc64-*-solaris2*): Add target configuration. | |
b23b4cb5 | 3302 | * configure: Regenerated. |
146ee7db DE |
3303 | * sparc/sp64sol2.mt: New file. |
3304 | ||
76336191 DE |
3305 | Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com> |
3306 | ||
3307 | * Makefile.in (RUNTEST): srcdir renamed to rootsrc. | |
3308 | ||
1a57cd09 TT |
3309 | Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com> |
3310 | ||
3311 | * Makefile.in (lint): Close backquotes. | |
3312 | ||
3313 | start-sanitize-gdbtk | |
3314 | Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
3315 | ||
3316 | * gdbtk.tcl, gdbtk.c: Updated copyrights. | |
3317 | ||
3318 | * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or | |
3319 | greater. | |
3320 | * configure: Rebuilt. | |
3321 | ||
3322 | end-sanitize-gdbtk | |
e8f1ad9a FF |
3323 | Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com> |
3324 | ||
3325 | * NEWS: Make note of new record and replay feature for | |
3326 | remote debug sessions. | |
3327 | * serial.c (gdbcmd.h): Include. | |
3328 | (serial_logfile, serial_logfp, serial_reading, serial_writing): | |
3329 | Define here, for remote debug session logging. | |
3330 | (serial_log_command, serial_logchar, serial_write, serial_readchar): | |
3331 | New functions for remote debug session logging. | |
3332 | (serial_open): Open remote debug session log file when needed. | |
3333 | (serial_close): Close remote debug session log file when needed. | |
3334 | (_initialize_serial): Add set/show commands for name of remote | |
3335 | debug session log file. | |
3336 | * serial.h (serial_readchar): Declare | |
3337 | (SERIAL_READCHAR): Call serial_readchar(). | |
3338 | (SERIAL_WRITE): Call serial_write(). | |
3339 | (serial_close): Declare as extern. | |
3340 | (serial_logfile, serial_logfp): Declare. | |
3341 | * top.c (execute_command): Declare serial_logfp. Log user command | |
3342 | in remote debug session log if log file is open. | |
3343 | * remote-array.c (array_wait): #ifdef out echo to gdb_stdout. | |
3344 | (array_read_inferior_memory): Rewrite to fix memory overwrite bug. | |
3345 | * remote-array.c (SREC_SIZE): Remove, duplicates define in | |
3346 | monitor.h. | |
3347 | * remote-array.c (hexchars, hex2mem): Remove, unused. | |
3348 | * gdbserver/low-linux.c (store_inferior_registers): Remove | |
3349 | unnecessary extern declaration of registers[]. | |
3350 | * gdbserver/Makefile.in (all): Add gdbreplay. | |
3351 | * gdbserver/gdbreplay.c: New file. | |
3352 | * gdbserver/README: Give example of recording a remote | |
3353 | debug session with gdb and then replaying it with gdbreplay. | |
3354 | ||
c6038971 PB |
3355 | Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com> |
3356 | ||
3357 | * stabsread.c (rs6000_builtin_type): Make bool type unsigned. | |
3358 | (read_one_struct_field): Support boolean bitfields. | |
3359 | * c-valprint.c (c_val_print): Print booleans properly. | |
3360 | ||
5a8d8b8d SS |
3361 | Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com> |
3362 | ||
3363 | * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
3364 | Remove, never used. | |
3365 | * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o. | |
3366 | ||
ec5f347c PB |
3367 | Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com> |
3368 | ||
9293e886 PB |
3369 | * ch-exp.c (parse_tuple): Error if invalid mode. |
3370 | ||
533bda77 PB |
3371 | * value.h (COERCE_ARRAY): Don't coerce enums. |
3372 | (COERCE_ENUM): Don't COERCE_REF. | |
3373 | (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM). | |
3374 | * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let | |
3375 | value_cast handle it otherwise); do *not* COERCE_ENUM either way. | |
3376 | * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY. | |
3377 | Add COERCE_REF before COERCE_ENUM. | |
3378 | * values.c (value_as_long): Simplify. | |
3379 | ||
3380 | * valops.c (value_array): Create internalvar if !c_style_arrays. | |
3381 | ||
ec5f347c PB |
3382 | * language.c (lang_bool_type): Add Fortran support. |
3383 | * eval.c (OP_BOOL): Use LA_BOOL_TYPE. | |
3384 | ||
87273c71 JL |
3385 | Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com) |
3386 | ||
3387 | * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup. | |
3388 | All references changed. | |
3389 | * breakpoint.c (bpstat_what): Add shlib_event to the class types. | |
3390 | Update state table. Reformat so that it's still readable. | |
3391 | When we hit the shlib_event breakpoint, set the calss of shlib_event. | |
3392 | (breakpoint_1): Add "shlib events" as a breakpoint type. | |
3393 | Print the shlib_event breakpoint like other breakpoints. | |
3394 | (create_solib_event_breakpoint): New function. | |
3395 | (breakpoint_re_set_one): Handle solib_event breakpoints. | |
3396 | * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. | |
3397 | (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS | |
3398 | action. | |
3399 | (create_solib_event_breakpoint): Declare. | |
3400 | * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. | |
3401 | (normal_stop): Inform the user when the inferior stoped due | |
3402 | to a shared library event. | |
a77bf669 | 3403 | (_initialize_infrun): Add new set/show variable "stop-on-solib-events" |
87273c71 JL |
3404 | to control whether or not gdb continues the inferior or stops it when |
3405 | a shared library event occurs. | |
3406 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. | |
3407 | * somsolib.c (TODO list): Update. | |
3408 | (som_solib_create_inferior_hook): Arrange for gdb to be notified | |
3409 | when significant shared library events occur. | |
3410 | * hppa-tdep.c (find_unwind_entry): No longer static. | |
3411 | ||
fc941258 DE |
3412 | Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com> |
3413 | ||
5a8d8b8d SS |
3414 | * printcmd.c (print_insn): Pass fprintf_unfiltered to |
3415 | INIT_DISASSEMBLE_INFO. | |
3416 | start-sanitize-gdbtk | |
3417 | * gdbtk.c (gdb_disassemble): Likewise. | |
3418 | end-sanitize-gdbtk | |
fc941258 | 3419 | |
b3fd4c06 SS |
3420 | Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com> |
3421 | ||
3422 | * remote.c (remotebreak): New GDB variable. | |
3423 | (remote_break): New global. | |
3424 | (remote_interrupt): Send a break instead of ^C if remote_break. | |
3425 | * NEWS: Describe the new variable. | |
3426 | ||
d2f5fa49 DE |
3427 | Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com> |
3428 | ||
3429 | * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc. | |
3430 | ||
8c038399 FF |
3431 | Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com> |
3432 | ||
3433 | * hp300ux-nat.c (getpagesize): Remove unused function | |
3434 | fetch_core_registers. | |
3435 | (hp300ux_core_fns): Remove, is unused. | |
3436 | (_initialize_core_hp300ux): Remove, is unused. | |
3437 | (gdbcore.h): Remove #include, no longer needed. | |
3438 | ||
a0d76829 JL |
3439 | Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com) |
3440 | ||
3441 | * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid | |
3442 | ptrace bug in aix4.1.3 on the rs6000. | |
3443 | ||
b6768627 SS |
3444 | Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
3445 | ||
3446 | * remote-hms.c (hms_ops): Add value for to_thread_alive. | |
3447 | * remote-nindy.c (nindy_ops): Ditto. | |
3448 | * remote-udi.c (udi_ops): Ditto. | |
3449 | ||
090d784a JSC |
3450 | Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk> |
3451 | ||
3452 | * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset, | |
3453 | pmon_checkset, pmon_make_fastrec, pmon_check_ack, | |
3454 | pmon_load_fast): New functions. Support for the PMON monitor world. | |
3455 | (common_open): New function to merge support for different monitors. | |
3456 | (mips_open): Use common_open(). | |
3457 | (mips_send_command): New function. | |
3458 | (mips_send_packet): Scan out-of-sequence packets. | |
3459 | (mips_enter_debug, mips_exit_debug): New functions. | |
3460 | (pmon_ops): New target definition structure. | |
3461 | ||
4e327047 TT |
3462 | Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com) |
3463 | ||
3464 | * Makefile.in (CLIBS): Add LIBS to allow libraries to be | |
3465 | specified on the make command line (via make LIBS=xxx). | |
3466 | start-sanitize-gm | |
3467 | * configure.in (enable-gm): magic.o -> gmagic.o. | |
3468 | end-sanitize-gm | |
3469 | ||
3470 | start-sanitize-gdbtk | |
3471 | Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
3472 | ||
3473 | * gdbtk.tcl (create_expr_window): Many changes to update GUI. | |
3474 | (add_expr): Changes from create_expr_window. | |
3475 | (create_command_window): Set focus. | |
3476 | (delete_expr): Rewrote. | |
3477 | (expr_update_button): New proc. | |
3478 | (add_expr): Put bindings on FocusIn, FocusOut. | |
3479 | Don't allow .file_popup to be torn off. | |
3480 | end-sanitize-gdbtk | |
3481 | ||
1aac3d3c JL |
3482 | Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com) |
3483 | ||
3484 | * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED | |
3485 | is set but there are no psymtabs. | |
3486 | ||
c84e5000 SC |
3487 | Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com> |
3488 | ||
3489 | * dsrec.c (load_srec): Remove unused variable. | |
1ef980b9 | 3490 | * monitor.c (monitor_expect): Don't expect a ^C to echo. |
c84e5000 SC |
3491 | * serial.c (serial_open): Add parallel interface. |
3492 | * sh3-rom.c (parallel, parallel_in_use): New. | |
3493 | (sh3_load): If parallel_in_use, download though the | |
3494 | parallel port. | |
3495 | (sh3_open): Open parallel port if specified. | |
3496 | (sh3_close): New function. | |
3497 | (_inititalize_sh3): Add sh3_close hook and documentation. | |
3498 | * monitor.c (monitor_close): Export. | |
3499 | * monitor.h (monitor_close): Add prototype. | |
3500 | ||
2c441e7f SS |
3501 | Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com> |
3502 | ||
3503 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
3504 | * remote.c (remotetimeout): New GDB variable, use to set the | |
3505 | remote timeout for reading. | |
3506 | ||
4e327047 TT |
3507 | start-sanitize-gdbtk |
3508 | Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com> | |
3509 | ||
3510 | * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons. | |
3511 | (update_listing): Use lassign. Use "see" to scroll. Don't need | |
3512 | screen_top, screen_bot, screen_height. | |
3513 | (update_assembly): Use "see" to scroll. | |
3514 | (textscrollproc): Removed. | |
3515 | (create_file_win): Don't use textscrollproc. | |
3516 | (asmscrollproc): Removed. | |
3517 | (create_asm_window): Don't use asmscrollproc. | |
3518 | (create_asm_win): Ditto. | |
3519 | (screen_height, screen_top, screen_bot): Removed. | |
3520 | (run_editor): New proc. | |
3521 | (build_framework): Use it. | |
3522 | (create_file_win, create_source_window): Don't use textscrollproc. | |
3523 | (create_breakpoints_window): Set -xscrollcommand on canvas. | |
3524 | (not_implemented_yet): Default button is 0. | |
3525 | (delete_char): Don't use tk_textBackspace. | |
3526 | (create_command_window): Allow Tk bindings to fire after deleting | |
3527 | character. | |
3528 | (create_command_window): Make Delete delete left, not right. | |
3529 | end-sanitize-gdbtk | |
3530 | ||
517cb8d7 | 3531 | Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cygnus.com> |
3730a0ed FF |
3532 | |
3533 | * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h | |
3534 | to get "struct core_fns" defined. | |
3535 | * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o): | |
2c441e7f | 3536 | Are dependent upon gdbcore_h. |
3730a0ed | 3537 | |
7ef89313 PB |
3538 | Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com> |
3539 | ||
3540 | * symfile.c (decrement_reading_symtab): New function. | |
3541 | * symfile.c, symtab.h (currently_reading_symtab): New variable. | |
3542 | * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab. | |
3543 | * gdbtypes.c (check_typedef): Don't call lookup_symbol if | |
3544 | currently_reading_symtab (since that could infinitely recurse). | |
3545 | ||
1c486a2b PB |
3546 | Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com> |
3547 | ||
34cfa2da PB |
3548 | * stabsread.c (read_struct_type): Trivial simplification. |
3549 | ||
1c486a2b PB |
3550 | * stabsread.c (define-symbol): Use invisible references |
3551 | for TYPE_CODE_SET and TYPE_CODE_BITSTRING too. | |
34cfa2da | 3552 | * valops.c (call_function_by_hand): Likewise. |
1c486a2b PB |
3553 | * eval.c (evaluate_subexp_standard): When known, use the formal |
3554 | parameter type as the expected type when evaluating arg expressions. | |
3555 | * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT). | |
3556 | ||
4e327047 TT |
3557 | start-sanitize-gdbtk |
3558 | Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com> | |
3559 | ||
3560 | * main.c (main): Disable window interface if --help or --version | |
3561 | specified. | |
3562 | ||
3563 | * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect. | |
3564 | ||
3565 | Changes in sync with expect: | |
3566 | * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and | |
3567 | CY_AC_PATH_TK. | |
3568 | * aclocal.m4: Replaced with version from expect. | |
3569 | * configure: Regenerated. | |
3570 | end-sanitize-gdbtk | |
a1df8e78 | 3571 | |
a1956677 BK |
3572 | Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
3573 | ||
3574 | * configure.in, configure: Recognize rs6000-*-aix4*. | |
3575 | * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h". | |
3576 | * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h. | |
3577 | * config/rs6000/xm-aix4.h: New file. | |
3578 | * config/xm-aix4.h: New file. | |
3579 | ||
3730a0ed | 3580 | Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com> |
0d14c7df FF |
3581 | |
3582 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
3583 | * gdbserver/low-linux.c: New file. | |
3584 | * remote.c (remote_read_bytes): Fix aborts on larger packets. | |
3585 | ||
3586 | * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS): | |
3587 | Define. | |
3588 | * stabsread.c (define_symbol): If register value is too large, | |
3589 | tell what it is and what max is. | |
3590 | ||
4e327047 TT |
3591 | start-sanitize-gdbtk |
3592 | Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com> | |
3593 | ||
3594 | * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error, | |
3595 | gdbtk_tcl_flush): Use "see", not "yview". | |
3596 | (gdbtk_tcl_query): Use questhead bitmap. | |
3597 | various: Always wrap condition of 'if' in {...}. | |
3598 | (add_breakpoint_frame): Set -value on radiobuttons. | |
3599 | (lassign): New proc. | |
3600 | (add_breakpoint_frame): Use lassign, not series of assignments. | |
3601 | (decr): Made faster. | |
3602 | (interactive_cmd): Use "see", not "yview". | |
3603 | (not_implemented_yet): Use warning bitmap. | |
3604 | (update_expr): Don't allow $expr to be evalled by Tcl. | |
3605 | (create_expr_window): Don't use "focus". | |
3606 | (delete_char, delete_line): Define globally. | |
3607 | (delete_line, delete_char, create_command_window, update_autocmd, | |
3608 | build_framework, create_asm_win, create_file_win): Use "see", not | |
3609 | "yview". | |
3610 | (create_copyright_window, center_window, bind_widget_after_class): | |
3611 | New procs. | |
3612 | (FSBox,create_command_window, create_autocmd_window): Binding | |
3613 | changes for Tk4. | |
3614 | (textscrollproc): Define globally. | |
3615 | (build_framework): tk_menuBar no longer needed. Keys Prior, Next, | |
3616 | Home, End, Up, and Down are all defined by Tk. | |
3617 | (apply_filespec): Use error bitmap in dialog. | |
3618 | (files_command): Don't use tk_listboxSingleSelect. | |
3619 | (files_command): Don't use "uniq" to remove duplicates from a | |
3620 | list. | |
3621 | (update_assembly): Use lassign. | |
3622 | (create_asm_win): Removed redundant bindings. | |
3623 | (listing_window_button_1, file_popup_menu): Use tk_popup. | |
3624 | (ButtonRelease-1 binding): Just remove tag from window; rest | |
3625 | handled by Tk. | |
3626 | ||
3627 | * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting. | |
3628 | (call_wrapper): Use Tcl_Eval, not Tcl_VarEval. | |
3629 | (gdbtk_call_command): Ditto. | |
3630 | end-sanitize-gdbtk | |
3631 | ||
60d5a517 JL |
3632 | Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com) |
3633 | ||
3634 | * hpread.c (hpread_build_psymtabs): Finish Jan 4th | |
3635 | enum namespace -> enum_namespace change. | |
3636 | ||
d1f5c804 WM |
3637 | Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
3638 | ||
2c441e7f SS |
3639 | * ch-exp.c (parse_primval): In case ARRAY, add missing |
3640 | FORWARD_TOKEN (). | |
d1f5c804 | 3641 | |
1f233758 SS |
3642 | Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
3643 | ||
3644 | * remote-mips.c (mips_receive_header): Recognize \012 instead | |
3645 | of \n, but write \n when program sends a \012. | |
3646 | * ser-mac.c (mac_input_buffer): Increase size of buffer. | |
3647 | ||
ed3b618d JL |
3648 | Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com) |
3649 | ||
3650 | * infptrace.c (initialize_infptrace): Move function out of | |
3651 | #ifdef conditional; put code within the function inside an | |
3652 | #ifdef conditional. | |
436d4143 JL |
3653 | |
3654 | * buildsym.c (end_symtab): Remove sort_pending and sort_linevec | |
3655 | arguments. Sorting is now dependent on OBJF_REORDERED. All | |
3656 | callers/references changed. | |
3657 | * dbxread.c (read_ofile_symtab): Correctly determine value for | |
3658 | last_source_start_addr for reordered executables. | |
3659 | (process_one_symbol): Handle N_FUN with no name as an end of | |
3660 | function marker. | |
3661 | * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE | |
3662 | is the high text address for a psymtab. | |
3663 | (case N_SO): Likewise. | |
3664 | (case N_FUN): Handle N_FUN with no name as an end of function | |
3665 | marker. | |
3666 | * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols | |
3667 | at the same address rather than a random subset of them. | |
3668 | * coffread.c (coff_symfile_init): Set OBJF_REORDERED. | |
3669 | * elfread.c (elf_symfile_init): Similarly. | |
3670 | * somread.c (som_symfile_init): Similarly. | |
3671 | * xcoffread.c (xcoff_symfile_init): Similarly. | |
3672 | ||
5351b2a0 SG |
3673 | Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com) |
3674 | ||
3675 | * stack.c (print_stack_frame print_frame_info) symmisc.c | |
3676 | (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so | |
3677 | that catch_errors doesn't get blindsided by QUIT and lose the | |
3678 | cleanup chain. This fixes a problem where ^C while in a | |
3679 | user-defined command sometimes leaves instream NULL and causes a | |
3680 | segfault in command_loop. | |
3681 | ||
127841e4 BK |
3682 | Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
3683 | ||
3684 | * configure.in, configure: Add `-ldl -lw' for Solaris linking. | |
3685 | ||
6b4fe21d SC |
3686 | Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com> |
3687 | ||
3688 | * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt, | |
3689 | config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt: | |
3690 | srec.o renamed to dsrec.o. | |
3691 | ||
0fe1522a SG |
3692 | Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com) |
3693 | ||
3694 | * breakpoint.c (remove_breakpoint): Change error to warning so | |
3695 | that hardware watchpoint removal problems won't leave breakpoint | |
3696 | traps in the target. | |
d039321c | 3697 | start-sanitize-gdbtk |
0fe1522a | 3698 | * configure configure.in: Make --enable-gdbtk be the default. |
d039321c | 3699 | end-sanitize-gdbtk |
0fe1522a SG |
3700 | * remote-e7000.c (e7000_insert_breakpoint, |
3701 | e7000_remove_breakpoint): Use e7000 based breakpoints, not memory | |
3702 | breakpoints. | |
3703 | * (e7000_wait): Adjust PC back by two when we see a breakpoint to | |
3704 | compensate for e7000 maladjustment. | |
3705 | * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug | |
3706 | which prevented hardware watchpoints from working. | |
3707 | ||
517cb8d7 | 3708 | Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cygnus.com> |
7531f36e FF |
3709 | |
3710 | * infptrace.c (udot_info): New function. | |
3711 | (PT_*): Define each individually if that one is not defined. | |
7531f36e FF |
3712 | * rs6000-nat.c (kernel_u_size): New function |
3713 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
3714 | * alpha-nat.c (kernel_u_size): New function. |
3715 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
3716 | * sparc-nat.c (kernel_u_size): New function. |
3717 | Include <sys/user.h> for "struct user" | |
7531f36e | 3718 | * i386b-nat.c (kernel_u_size): New function. |
7531f36e | 3719 | * i386v-nat.c (kernel_u_size): New function. |
7531f36e FF |
3720 | * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define. |
3721 | (kernel_u_size): Declare. | |
7531f36e FF |
3722 | * config/i386/nm-linux.h (KERNEL_U_SIZE): Define. |
3723 | (kernel_u_size): Declare. | |
7531f36e FF |
3724 | * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define. |
3725 | (kernel_u_size): Declare. | |
7531f36e FF |
3726 | * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define. |
3727 | (kernel_u_size): Declare. | |
7531f36e FF |
3728 | * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define. |
3729 | (kernel_u_size): Declare. | |
7531f36e | 3730 | |
1750a5ef SC |
3731 | Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com> |
3732 | ||
3733 | * mdebugread.c (mylookup_symbol): enum namespace becomes | |
3734 | enum_namespace type. | |
3735 | * symfile.c (add_psymbol_to_list) | |
3736 | (add_psymbol_addr_to_list): Ditto. | |
3737 | * symtab.c (lookup_partial_symbol): Ditto. | |
3738 | (lookup_symbol): Ditto. | |
3739 | (lookup_block_symbol): Ditto. | |
3740 | * win32-nat.c (handle_load_dll): Use incoming dll base. | |
3741 | (child_wait): Catch DLL load errors. | |
3742 | (create_child_inferior): Translated between paths correctly. | |
3743 | ||
e33aefba FF |
3744 | Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com> |
3745 | ||
3746 | * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS | |
3747 | from NUM_REGS to get number of general registers that we care about. | |
e33aefba FF |
3748 | * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms |
3749 | of number of general regs and number of floating point regs. | |
e33aefba | 3750 | |
e02a2ad9 SC |
3751 | Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com> |
3752 | ||
a3b64bf9 SC |
3753 | * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New. |
3754 | (SKIP_TRAMPOLINE_CODE): New. | |
3755 | * config/i386/xm-win32.h (CANT_FORK): Deleted. | |
3756 | (SLASH*) Changed to use unix style slash. | |
e02a2ad9 SC |
3757 | * symtab.h (namespace enum): becomes typedef to avoid namespace |
3758 | collision in C++. | |
3759 | * infcmd.c (path_command): Use empty string if PATH name not set. | |
3760 | * i386-tdep.c (skip_trampoline_code): New function. | |
3761 | * srec.c: Renamed dsrec.c to avoid filename collision. | |
3762 | * Makefile.in: Cope with renaming. | |
e02a2ad9 | 3763 | |
ef4d6187 | 3764 | Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com> |
5eccb7dc | 3765 | |
ef4d6187 FF |
3766 | * symmisc.c (print_objfile_statistics): Print memory use statistics |
3767 | for objfile psymbol, symbol, and type obstacks. | |
5eccb7dc | 3768 | |
ef4d6187 | 3769 | Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
3dcd429f | 3770 | |
ef4d6187 FF |
3771 | * config/mips/nm-irix5.h: Restore. |
3772 | (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4; | |
3773 | from Lee Iverson <leei@ai.sri.com>. | |
3774 | * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h. | |
3775 | * config/mips/irix[345].mh (MUNCH_DEFINE): Remove. | |
3dcd429f | 3776 | |
ef4d6187 | 3777 | For older changes see ChangeLog-95 |
bd5635a1 RP |
3778 | \f |
3779 | Local Variables: | |
3780 | mode: indented-text | |
3781 | left-margin: 8 | |
3782 | fill-column: 74 | |
3783 | version-control: never | |
3784 | End: |