Commit | Line | Data |
---|---|---|
eae8aa30 FF |
1 | Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com> |
2 | ||
3 | * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef. | |
4 | (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and | |
5 | use it, rather than calling add_psymbol_addr_to_list. | |
6 | (add_psymbol_addr_to_list): Delete. | |
7 | (add_psymbol_to_list): Make psymbol static to avoid random data in | |
8 | gaps due to alignment of structure members. | |
9 | * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST, | |
10 | ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no | |
11 | performance improvements by inlining via complicated macros and | |
12 | they just make gdb larger and harder to maintain. | |
13 | * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST | |
14 | and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to | |
15 | add_psymbol_to_list with appropriate long or CORE_ADDR args. | |
16 | (add_partial_symbol): Ditto. | |
17 | * partial-stab.h: Ditto. | |
18 | * os9kread.c (read_os9k_psymtab): Ditto | |
19 | * mdebugread.c (parse_partial_symbols): Ditto. | |
20 | (handle_psymbol_enumerators): Ditto. | |
21 | (demangle.h): Include. | |
22 | * hpread.c (hpread_build_psymtabs): Ditto. | |
23 | (hpread_build_psymtabs): Ditto. | |
24 | (demangle.h): Include | |
25 | ||
51bea8cf | 26 | start-sanitize-gdbtk |
fda6fadc SS |
27 | Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com> |
28 | ||
29 | * gdbtk.c (running_now): New global variable. | |
30 | (gdb_cmd): Test it before executing any command. | |
31 | (gdbtk_call_command): Set it when inferior is running. | |
32 | * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and | |
33 | disable interaction with command window's text appropriately. | |
34 | ||
8b3f9ed6 MM |
35 | Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
36 | ||
37 | * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since | |
38 | some versions of the kernel don't support it. | |
51bea8cf | 39 | end-sanitize-gdbtk |
8b3f9ed6 | 40 | |
72ae15f6 FF |
41 | Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com> |
42 | ||
43 | * configure.in: Check for setpgid function. | |
44 | * config.in: Regenerate with autoheader. | |
45 | * configure: Regenerate with autoconf. | |
46 | * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL | |
47 | if it is actually defined. | |
48 | (gdb_setpgid): Use HAVE_SETPGID. | |
49 | * ch-exp.c: Change include of <string.h> to "gdb_string.h". | |
fda6fadc SS |
50 | * c-exp.y, f-exp.y, m2-exp.y: Ditto. |
51 | * c-exp.y, serial.c: Include <ctype.h>. | |
72ae15f6 FF |
52 | * config/m68k/nm-news.h: Add typedef for pid_t which is |
53 | apparently missing from <sys/types.h>. Enclose entire | |
54 | file in NM_NEWS_H ifndef and define when included. | |
55 | * config/mips/nm-news-mips.h: Ditto. | |
56 | * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL, | |
57 | REGISTER_CONVERT_TO_RAW): Change name of temporary variable. | |
58 | ||
67c1413d SS |
59 | Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com> |
60 | ||
72c9954b SS |
61 | * arm-xdep.c: Move native-specific code to here from arm-tdep.c. |
62 | * arm-tdep.c (arm_apcs_32): New global. | |
63 | (arm_addr_bits_remove, arm_saved_pc_after_call, | |
64 | arm_push_dummy_frame, arm_pop_frame): New functions. | |
65 | (arm_skip_prologue): Updated version from Richard Earnshaw. | |
66 | (_initialize_arm_tdep): Add set/show "apcs32". | |
67 | * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call | |
68 | arm_addr_bits_remove. | |
69 | (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call. | |
70 | (frame_find_saved_regs): Declare properly. | |
71 | (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame. | |
72 | (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of | |
73 | explicit mask. | |
74 | * config/arm/nm-arm.h: New file. | |
75 | * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS): | |
76 | Move definitions to nm-arm.h. | |
77 | * config/arm/arm.mh (NAT_FILE): Define. | |
78 | ||
67c1413d SS |
79 | * symfile.c (generic_load): Initialize data_count properly. |
80 | ||
3e3ee48f FF |
81 | Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com> |
82 | ||
83 | * symmisc.c (print_objfile_statistics): Print memory used by | |
84 | psymbol cache obstack. | |
85 | ||
72158e71 SS |
86 | Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com> |
87 | ||
88 | * symfile.c (report_transfer_performance): New function. | |
89 | (generic_load): Call it to report transfer rate. | |
90 | * remote-e7000.c (e7000_load): Ditto. | |
91 | ||
761e98aa SS |
92 | Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com> |
93 | ||
94 | * mpw-make.sed: Change references to config.h to be in objdir, | |
95 | edit out rules to rebuild config.h. | |
96 | ||
251b8ab9 FF |
97 | Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com> |
98 | ||
99 | * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before | |
100 | proceeding. | |
101 | ||
771f63d3 FF |
102 | Sun Mar 31 16:15:43 1996 Fred Fish <fnf@.cygnus.com> |
103 | ||
104 | * hppah-nat.c (store_inferior_registers, store_inferior_registers, | |
105 | fetch_register, child_xfer_memory): Use call_ptrace function supplied | |
106 | by infptrace.c rather than calling ptrace directly. | |
107 | ||
32b18604 SS |
108 | Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com> |
109 | ||
110 | * mon960-rom.c: Cleanups and elimination of unused code, | |
111 | clarify documentation string. | |
112 | (mon960_serial, mon960_ttyname): Remove. | |
113 | * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS, | |
114 | ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove. | |
115 | ||
07b77f5c FF |
116 | Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com> |
117 | ||
118 | * configure.in: Check whether printf family supports printing | |
119 | long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so. | |
120 | * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE. | |
121 | * configure: Regenerate. | |
122 | * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE. | |
123 | * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE. | |
124 | * configure.in: Fix have_gregset and have_fpregset autoconf | |
125 | variable names so that they match the pattern required to | |
126 | cache them. | |
127 | ||
b52cac6b FF |
128 | Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com> |
129 | ||
130 | * core-aout.c (fetch_core_registers): Cast core_reg_size to int | |
131 | before testing against reg_ptr. | |
132 | * eval.c (evaluate_subexp_standard): Cast type of | |
133 | TYPE_FN_FIELD_VOFFSET to int. | |
134 | * findvar.c (extract_signed_integer, extract_unsigned_integer, | |
135 | extract_long_unsigned_integer): Cast type of sizeof to int. | |
136 | * values.c (unpack_field_as_long, modify_field): Ditto. | |
137 | * valops.c (value_assign, call_function_by_hand): Ditto. | |
138 | * infcmd.c (do_registers_info): Ditto. | |
fda6fadc | 139 | * ser-tcp.c (tcp_open): Ditto. |
b52cac6b FF |
140 | * remote.c (putpkt): Ditto. |
141 | * dcache.c (dcache_peek): Ditto. | |
142 | * dcache.c (dcache_poke): Ditto. | |
143 | * m2-exp.y (yylex): Ditto. | |
144 | * gnu-regex.c (re_match_2): Ditto. | |
145 | * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef | |
146 | out unused macro definition and variables. | |
147 | * inftarg.c (proc_wait): Move from main.c to here, and make static. | |
148 | * valprint.c (val_print_string): Change bufsize from int to unsigned. | |
fda6fadc | 149 | * main.c (wait.h): Include. |
b52cac6b FF |
150 | * top.c (command_line_input): Remove unused variable "c". |
151 | * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum | |
152 | value TYPE_CODE_TYPEDEF to switch statement. | |
153 | (f_type_print_varspec_suffix): Add missing enum value | |
154 | TYPE_CODE_TYPEDEF to switch statement. | |
155 | * ch-exp.c (parse_primval): Add remaining enumeration values to | |
156 | switch statement, with no specific action. | |
157 | (ch_lex): Add LOC_UNRESOLVED in switch statement. | |
158 | (pushback_token): Ifdef out, since code using it is ifdef'd out. | |
159 | * stabsread.c (cleanup_undefined_types): Remove unused label | |
160 | "badtype". | |
161 | * objfiles.h (print_symbol_bcache_statistics): Add prototype. | |
162 | * maint.c (objfiles.h): Include. | |
163 | (maintenance_print_statistics): Remove unused variable "temp". | |
164 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove | |
165 | unused variable "found_file_symbol". | |
166 | * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch. | |
167 | * language.c (lang_bool_type): Use existing function local type | |
168 | variable rather than create block local variables. | |
169 | * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS. | |
170 | * infptrace.c (wait.h, command.h): Include. | |
171 | * ser-tcp.c (gdb_string.h): Include | |
172 | * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR. | |
173 | (i386_get_frame_setup): Change "pc" from int to CORE_ADDR. | |
174 | * command.c (complete_on_enum): Make assignment used as truth value | |
175 | explictly check against NULL. | |
176 | (wait.h): Include. | |
177 | * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code | |
178 | that uses it is ifdef'd out. | |
179 | * parser-defs.h: Add prototype for write_dollar_variable. | |
180 | * infrun.c: Add prototype for write_pc_pid. | |
181 | * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs. | |
182 | * symmisc.c (bcache.h): Include. | |
183 | * bcache.h: Add prototype for print_bcache_statistics. | |
184 | * symfile.c: Include <time.h>. | |
185 | * printcmd.c (print_scalar_formatted): Change len to unsigned int. | |
186 | * valarith.c (value_equal): Cast result of TYPE_LENGTH to int. | |
187 | * valarith.c (value_binop): Change result_len, promoted_len1, | |
188 | and promoted_len2 to unsigned int. | |
189 | * valarith.c (value_subscripted_rvalue): Change elt_offs and | |
190 | elt_size to unsigned int. | |
191 | * valops.c (value_array): Change typelength to unsigned int. | |
192 | (destructor_name_p): Change len to unsigned int. | |
193 | * scm-lang.h (scm_parse): Add prototype for scm_unpack. | |
194 | * symfile.c (decrement_reading_symtab): Change return type to void. | |
195 | * valarith.c (value_subscript): Remove unused variable "word". | |
196 | (value_subscript): Remove unused variable "tint". | |
197 | * valops.c (auto_abandon): Ifdef out, since code using it is also | |
198 | ifdef'd out. | |
199 | * eval.c (init_array_element): Remove unused variable "val". | |
200 | * Makefile.in (values.o): Depends on scm-lang.h. | |
201 | (command.o): Depends upon wait_h. | |
202 | (ser-tcp.o): Depends upon gdb_string.h. | |
203 | (infptrace.o): Depends upon wait_h and command_h. | |
204 | (maint.o): Depends on objfiles.h and symfile.h. | |
205 | * values.c (allocate_repeat_value): Remove unused variable | |
206 | "element_type". | |
207 | (scm-lang.h): Include. | |
208 | * breakpoint.c (create_longjmp_breakpoint): Enclose in | |
209 | GET_LONGJMP_TARGET define, unused otherwise. | |
210 | * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint, | |
211 | i386_remove_watchpoint and i386_stopped_by_watchpoint. | |
212 | ||
078aeca4 DE |
213 | Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com> |
214 | ||
215 | * configure.in (sparc64-*-solaris2*): Delete. | |
216 | Stick with sparc-*-solaris2*. | |
217 | * configure: Regenerated. | |
218 | ||
75225aa2 FF |
219 | Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com> |
220 | ||
221 | * valops.c (value_assign): Make copy of internal variable value | |
222 | before returning it as a new value, since it is owned by the | |
223 | internal variable and will be freed along with it. | |
224 | ||
fa3764e2 JL |
225 | Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com) |
226 | ||
227 | * From Peter Schauer. | |
228 | * breakpoint.c (breakpoint_re_set_one): Keep temporary | |
229 | breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy | |
230 | and bp_step_resume in case breakpoint_re_set_one is called due | |
231 | to a step over a dlopen call. | |
232 | * infrun.c (wait_for_inferior): Always remove breakpoints from | |
233 | inferior in BPSTAT_WHAT_CHECK_SHLIBS case. | |
234 | ||
7e2ff10d FF |
235 | Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com> |
236 | ||
237 | * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer | |
238 | non-prototyped case over prototyped case for C. | |
239 | * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto. | |
240 | ||
4cfb23a9 FF |
241 | Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com> |
242 | ||
243 | * os9kread.c (os9k_process_one_symbol): Note nonportable | |
244 | assumption that an int can hold a char *. | |
245 | ||
246 | * bcache.h (struct hashlink): Wrap data[] inside union with | |
247 | double to force longest alignment. | |
248 | (BCACHE_DATA): New macro to access data[]. | |
249 | (BCACHE_ALIGNMENT): New macro to get offset to data[]. | |
250 | * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get | |
251 | address of cached data. Use BCACHE_ALIGNMENT to compute | |
252 | amount of space to allocate for each hashlink struct. | |
253 | ||
b9aa6215 FF |
254 | Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com> |
255 | ||
256 | * ch-lang.c (evaluate_subexp_chill): Fix typo. | |
257 | ||
258 | Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com> | |
259 | ||
260 | * Makefile.in (VERSION): Bump version to 4.15.3 | |
261 | ||
18ea4416 ILT |
262 | Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com> |
263 | ||
264 | * config.in: Rename from config.h.in. | |
265 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
266 | Change CONFIG_HEADERS test in AC_OUTPUT accordingly. | |
267 | * configure: Rebuild. | |
268 | * Makefile.in (stamp-h): Depend upon config.in, not config.h.in. | |
269 | Set CONFIG_HEADERS to config.h:config.in. | |
270 | ||
67718369 PS |
271 | Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
272 | ||
273 | * partial-stab.h (case N_ENDM): Finish current partial symbol | |
274 | table for Solaris 2 cc. | |
275 | ||
a466b86a JL |
276 | Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com) |
277 | ||
278 | * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the | |
279 | PC in the registers array. From Peter Schauer. | |
280 | ||
0ef22be9 FF |
281 | Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com> |
282 | ||
283 | * symfile.c (reread_symbols): Reinitialize bcache struct | |
284 | members to zero using memset. Also use memset to reinit | |
285 | global_psymbols and static_psymbols, rather than explicitly | |
286 | resetting each structure member. | |
287 | ||
31520669 FF |
288 | Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com> |
289 | ||
290 | * configure.in: Add fragment to create stamp-h. | |
291 | ||
292 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
293 | * configure.in (AC_CHECK_HEADERS): Check for link.h. | |
294 | * configure: Regenerate with autoconf. | |
295 | * config.h.in: Regenerate with autoheader. | |
296 | * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H | |
297 | is defined. | |
298 | * solib.c: Exclude most of the code if HAVE_LINK_H is not defined. | |
299 | * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for | |
300 | older a.out based systems. | |
301 | ||
bfcf3112 | 302 | Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com> |
db210d08 | 303 | |
bfcf3112 | 304 | * config.h.in: New file. |
db210d08 FF |
305 | * acconfig.h: New file, for autoheader. |
306 | * configure.in (AC_CONFIG_HEADER): Add, generate config.h. | |
307 | * configure: Regenerate. | |
308 | * Makefile.in (defs_h): Add config.h | |
bfcf3112 FF |
309 | (distclean): Remove config.h and stamp-h during distclean. |
310 | (config.h, stamp-h): New targets to remake config.h when necessary. | |
db210d08 FF |
311 | * defs.h (config.h): Include before any other includes or defines. |
312 | * i386-tdep.c (gdb_string.h): Move include after include of defs.h. | |
d58ffc6c | 313 | * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H. |
db210d08 | 314 | |
d5fde1c9 FF |
315 | Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com> |
316 | ||
317 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
318 | * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not | |
319 | result in an empty line, to work around a bug in native Ultrix 4.4 | |
320 | and OSF/1-3.2C make. | |
321 | ||
3dedc867 FF |
322 | Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com> |
323 | ||
324 | * configure.in: Add gdbserver to configdirs under linux. | |
325 | * configure: Regenerate. | |
326 | ||
f727efb5 C |
327 | Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
328 | ||
329 | * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out. | |
330 | * config/i386/tm-nbsd.h (NUM_REGS): Define. | |
331 | ||
a404ea25 JL |
332 | Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com) |
333 | ||
334 | * solib.c (solib_break_names): Add _r_debug_state for | |
335 | vanilla SVR4 implementations. From Peter Schauer. | |
336 | ||
337 | Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
338 | ||
339 | * mon960-rom.c: New file; support mon960 rom monitor on i960. | |
340 | * monitor.c (monitor_debug): Change remotedebug to buffer strings. | |
341 | * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before | |
342 | epecting prompt and echo during open. | |
343 | * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to | |
344 | determine if break should be sent as stop command. | |
345 | * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN. | |
346 | * i960-tdep.c (mon960_frame_chain_valid): New function for getting | |
347 | stack frame on mon960. | |
348 | * Makefile.in: Add mon960 files. | |
349 | * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960; | |
350 | added i960-nindy-coff* and i960-nindy-elf* for target nindy. | |
351 | * configure: Regenerated. | |
352 | * config/i960/mon960.mt, config/i960/tm-mon960.h: New files; | |
353 | support mon960 rom monitor on i960. | |
354 | ||
1ef980b9 SC |
355 | Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com> |
356 | ||
357 | With Michael Snyder: | |
358 | * i386-tdep.c (skip_trampoline_code): Fix strncmp length. | |
359 | * win32-nat.c (CHECK, DEBUG*, debug_*): New. | |
360 | (handle_load_dll): Don't reload symbols. | |
361 | (handle_exception): Use the DEBUG_* names. | |
362 | (child_wait): Add DEBUG_* code. | |
363 | (_initialize_inftarg): Add new commands to set debug_ names. | |
364 | ||
803a31a3 JL |
365 | Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com) |
366 | ||
367 | * From Peter Schauer: | |
368 | * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE. | |
369 | (bpstat_stop_status): Likewise. | |
370 | (remove_solib_event_breakpoints): Likewise. | |
371 | (clear_momentary_breakpoints): Likewise. | |
372 | (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint | |
373 | if we still can't read the memory for that breakpoint. | |
374 | (mention): Add bp_shlib_event case to keep gcc quiet. | |
375 | ||
376 | Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com) | |
377 | ||
378 | * breakpoint.h (enum enable): New enum shlib_disabled for | |
379 | shared library breakpoints that have been temporarily disabled. | |
380 | * breakpoint.c: Handle temporarily disabled shared library | |
381 | breakpoints like disabled breakpoints in most places. | |
382 | (insert_breakpoints): Use shlib_disabled to indicate | |
383 | that an unsettable breakpoint is only temporarily disabled. | |
384 | (re_enable_breakpoints_in_shlibs): New function. | |
385 | * corelow.c (solib_add_stub): After adding shared libraries, | |
386 | try to reenable any temporarily disabled breakpoints. | |
387 | * infcmd.c (attach_command): Likewise. | |
388 | * infrun.c (wait_for_inferior): Likewise. | |
389 | ||
4972c44e ILT |
390 | Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com> |
391 | ||
392 | * defs.h (extract_long_unsigned_integer): Declare. | |
393 | * findvar.c (extract_long_unsigned_integer): New function. | |
394 | * printcmd.c (print_scalar_formatted): Use it. | |
395 | * valprint.c (val_print_type_code_int): Likewise. | |
396 | ||
00dd4fd9 SS |
397 | Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com> |
398 | ||
399 | * infcmd.c (do_registers_info): Ignore anonymous registers. | |
400 | * sh-tdep.c (set processor): New command to set specific | |
401 | processor type. | |
402 | (sh_reg_names, sh3_reg_names): Arrays of register names for | |
403 | SH and SH3 processors. | |
404 | (sh_set_processor_type): New function. | |
405 | * sh3-rom.c (sh3_open): Call it. | |
406 | (sh3_regname): Add names of all the bank registers. | |
407 | (sh3_supply_register): Clean up formatting. | |
408 | * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include | |
409 | bank registers. | |
410 | (REGISTER_NAMES): Add names of bank registers. | |
411 | (FP15_REGNUM): Define. | |
412 | (REGISTER_VIRTUAL_TYPE): Use it. | |
413 | * monitor.c: Clean up some comments. | |
414 | ||
43ece84d C |
415 | Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
416 | ||
417 | * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the | |
418 | s* and t* symbols too. | |
419 | ||
5a367b09 JSC |
420 | Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk> |
421 | ||
422 | * symfile.c (generic_load): Avoid division by zero. | |
423 | ||
653fed07 JL |
424 | Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com) |
425 | ||
426 | * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems, | |
427 | not just those with HANDLE_SVR4_EXEC_EMULATORS. | |
27b6a1fa | 428 | |
00dd4fd9 | 429 | From Peter Schauer: |
27b6a1fa JL |
430 | * breakpoint.c (internal_breakpoint_number): Move to file scope. |
431 | (create_solib_event_breakpoint): Use an internal breakpoint number. | |
432 | ||
bb901438 WM |
433 | Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
434 | ||
435 | * valarith.c (value_in): Change builtin_type_chill_bool to | |
436 | LA_BOOL_TYPE. | |
437 | ||
c105168f WM |
438 | Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
439 | ||
440 | * ch-exp.c (parse_primval): Handle CARD, MAX, MIN. | |
441 | (match_string_literal): Handle control sequence. | |
442 | (match_character_literal): Deto. | |
443 | ||
444 | * ch-lang.c (chill_printchar): Change formating of nonprintable | |
445 | characters from C'xx' to ^(num). | |
446 | (chill_printstr): Deto. | |
447 | (value_chill_card, value_chill_max_min): New functions to process | |
448 | Chill's CARD, MAX, MIN. | |
449 | (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN. | |
450 | ||
451 | * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN | |
452 | for Chill's CARD, MAX, MIN. | |
453 | ||
454 | * valarith.c (value_in): Add processing of TYPE_CODE_RANGE | |
455 | and change return type from builtin_type_int to | |
456 | builtin_type_chill_bool. | |
457 | ||
d009ffd8 SS |
458 | Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com> |
459 | ||
b4692cbc SS |
460 | * config/nm-nbsd.h (link_object, lo_name, etc): Move to here |
461 | from config/nm-nbsd.h. | |
462 | * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here | |
463 | from config/sparc/tm-nbsd.h. | |
464 | ||
d009ffd8 SS |
465 | * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here |
466 | instead of in config/m68k/xm-hp300hpux.h. | |
467 | ||
d554e554 C |
468 | Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
469 | ||
470 | * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide | |
471 | implementation for NetBSD systems. | |
472 | ||
02e6e53d PB |
473 | Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com> |
474 | ||
8d67b75a PB |
475 | * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT. |
476 | (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY). | |
477 | ||
02e6e53d PB |
478 | * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error |
479 | if "function" is pointer to non-function. | |
480 | ||
f935141e SS |
481 | Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com> |
482 | ||
483 | * top.c (print_gdb_version): Update copyright year. | |
484 | ||
11be829f JL |
485 | Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com) |
486 | ||
f935141e | 487 | From Peter Schauer: |
11be829f JL |
488 | * infrun.c (wait_for_inferior): Remove breakpoints and |
489 | switch terminal settings before calling SOLIB_ADD. | |
490 | * solib.c (enable_break, SVR4 variant): Don't map in symbols | |
491 | for the dynamic linker, the namespace pollution causes real | |
492 | problems. | |
493 | ||
4f005fea JSC |
494 | Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk> |
495 | ||
496 | * remote-mips.c (common_breakpoint): Explicitly terminate the | |
497 | returned buffer. | |
498 | ||
cf3c0938 SS |
499 | Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com> |
500 | ||
501 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
502 | * remote.c (remote_detach): Send a command 'D' to the target | |
503 | when detaching, update the function's comments. | |
504 | ||
8fe2b2c5 FF |
505 | Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com> |
506 | ||
507 | * Makefile.in (VERSION): Bump version to 4.15.2 to establish | |
508 | baseline for gdb 4.16 rerelease testing. | |
509 | ||
a4f39c06 JL |
510 | Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com) |
511 | ||
512 | * somsolib.c (som_solib_create_inferior_hook): Before returning | |
513 | call clear_symtab_users. | |
514 | ||
515 | Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com) | |
516 | ||
517 | * remote-e7000.c (e7000_open): Delete all breakpoints when | |
518 | connecting to e7000. Change connect message to allow use of | |
519 | monitor.exp in test suite. | |
520 | * (e7000_load): Print transfer rate of download. | |
521 | * symfile.c (generic_load): Print transfer rate of download. | |
522 | ||
8fa6fcf8 SS |
523 | Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com> |
524 | ||
525 | * configure.in (mips*-*-vxworks*): New config. | |
526 | * configure: Regenerated. | |
527 | ||
528 | * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files. | |
529 | * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
530 | Remove, never used. | |
531 | ||
a97a483c PS |
532 | Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
533 | ||
534 | * partial-stab.h (case N_FUN): Function symbols generated | |
535 | by SPARCworks cc have a meaningless zero value, do not update | |
536 | pst->textlow if the function symbol value is zero. | |
537 | ||
538 | * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field | |
539 | for function prototype declaration symbols. | |
540 | ||
b5eccf74 SG |
541 | Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com) |
542 | ||
543 | * remote-e7000.c (e7000_load): New routine to download via the | |
544 | network. | |
545 | * (e7000_wait): Don't backup PC when we hit a breakpoint. | |
546 | Apparantly new sh2 pods get this right... | |
547 | * (e7000_ops): Add call to e7000_load. | |
548 | ||
b7f3b6d5 C |
549 | Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
550 | ||
551 | * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}, | |
552 | m68knbsd-nat.c: New files, support for NetBSD/m68k. | |
553 | ||
554 | * configure.in (m68k-*-netbsd*): New config. | |
555 | * configure: Regenerated. | |
556 | ||
6a6a552a FF |
557 | Wed Feb 21 19:00:21 1996 Fred Fish <fnf@ninemoons.com> |
558 | ||
559 | * standalone.c (open, _initialize_standalone): Fix obvious typos | |
560 | reported by Martin Pool <martin@citr.uq.oz.au>. | |
561 | ||
13f6c7ea JL |
562 | Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com) |
563 | ||
564 | * solib.c (solib_create_inferior_hook): Fix thinko. | |
565 | ||
464c6c5f JL |
566 | Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com) |
567 | ||
568 | * solib.c (solib_break_names): Define for Solaris and Linux. | |
569 | (enable_break): For SVR4 systems, first try to use the debugger | |
570 | interfaces in the dynamic linker to track shared library events | |
571 | as they happen, then fall back to BKPT_AT_SYMBOL code. Convert | |
572 | BKPT_AT_SYMBOL code to use shared library event breakpoints. | |
573 | (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code, | |
574 | it no longer needs to restart/wait on the inferior. | |
575 | * symfile.c (find_lowest_section): No longer static. | |
576 | * symfile.h (find_lowest_section): Corresponding changes. | |
577 | ||
45c5fa78 FF |
578 | Tue Feb 20 18:54:08 1996 Fred Fish <fnf@rtl.cygnus.com> |
579 | ||
580 | * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value. | |
581 | (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE. | |
582 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1. | |
583 | * config/mips/tm-mips.h: Ditto. | |
584 | * config/pa/tm-hppa.h: Ditto. | |
585 | * config/rs6000/tm-rs6000.h: Ditto. | |
586 | * config/sparc/tm-sparc.h: Ditto. | |
587 | ||
48d27324 C |
588 | Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
589 | ||
eb224848 C |
590 | * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o. |
591 | ||
48d27324 C |
592 | * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined. |
593 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
594 | #ifdef'd out definitions --- Causes serious gdb failures on | |
595 | the i386. Need to investigate further before enabling. | |
596 | ||
597 | * i386b-nat.c (fetch_inferior_registers, store_inferior_registers, | |
598 | fetch_core_registers): New functions. These functions are defined | |
599 | if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored | |
600 | with ptrace PT_GETREGS/PT_SETREGS. | |
601 | ||
95f6f926 SG |
602 | Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com) |
603 | ||
604 | * findvar.c (extract_floating store_floating): Replace `long | |
605 | double' with `DOUBLEST'. | |
606 | ||
cb91ea56 C |
607 | Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
608 | ||
609 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
610 | Define. | |
611 | ||
9263da6f JL |
612 | Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com) |
613 | ||
614 | * symtab.h (looup_minimal_symbol_solib_trampoline): Declare. | |
615 | ||
616 | * breakpoint.h (remove_solib_event_breakpoints): Declare. | |
617 | * breakpoint.c (remove_solib_event_breakpoints): New function. | |
618 | * somsolib.c (solib_create_inferior_hook): Remove all solib event | |
619 | breakpoints before inserting any new ones. Use a solib event | |
620 | breakpoint for the breakpoint at "_start". | |
621 | Remove extraneous "\n" from calls to warning. | |
622 | ||
623 | * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes | |
624 | name array. | |
625 | ||
0708e99f FF |
626 | Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com> |
627 | ||
628 | * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST | |
629 | for CORE_ADDR values. | |
630 | (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values. | |
631 | * symfile.h (add_psymbol_{,addr}to_list): Add prototypes. | |
632 | ||
08dc1eeb PS |
633 | Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
634 | ||
635 | * mipsread.c (mipscoff_symfile_read): Unconditionally add | |
636 | alpha coff dynamic symbols for all symbol files. Makes skipping | |
637 | over the trampoline code work when stepping from a function in a | |
638 | shared library into a function in a different shared library. | |
639 | ||
1d6afd7f SG |
640 | Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com) |
641 | ||
642 | * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define | |
643 | RETURN_VALUE_ON_STACK to return long doubles on the stack. | |
644 | ||
0708e99f | 645 | Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com> |
176b2bee FF |
646 | |
647 | * Makefile.in (ch-exp.o): Add dependencies. | |
648 | (various): Add gdb_string.h to dependencies that need it. | |
649 | ||
dcb6a7c0 FF |
650 | Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com> |
651 | ||
652 | * symmisc.c (print_symbol_bcache_statistics): Update description for | |
653 | printing byte cache statistics. | |
654 | ||
aa220473 SG |
655 | Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com) |
656 | ||
657 | * Add native support for long double data type. | |
658 | * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST | |
659 | to store actual data. Change types of INT and FLOAT tokens to | |
660 | typed_val_int and typed_val_float respectively. Create new token | |
661 | DOUBLE_KEYWORD to specify the string `double'. Make production | |
662 | for FLOAT use type determined by parse_number. Add production for | |
663 | "long double" data type. | |
664 | * (parse_number): Use sscanf to parse numbers as float, double or | |
665 | long double depending upon the type of typed_val_float.dval. Also | |
666 | allow user to specify `f' or `l' suffix to explicitly specify | |
667 | float or long double constants. Change typed_val to | |
668 | typed_val_int. | |
669 | * (yylex): Change typed_val to typed_val_int. Also, scan for | |
670 | "double" keyword. | |
671 | * coffread.c (decode_base_type): Add support for T_LNGDBL basic | |
672 | type. | |
673 | * configure, configure.in: Add check for long double support in | |
674 | the host compiler. | |
675 | * defs.h: Define DOUBLEST appropriatly depending on whether | |
676 | HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes | |
677 | for functions that handle this type. | |
678 | * expression.h (union exp_element): doubleconst is now type | |
679 | DOUBLEST. | |
680 | * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST. | |
681 | * findvar.c (extract_floating): Make return value be DOUBLEST. | |
682 | Also, add support for numbers with size of long double. | |
683 | * (store_floating): Arg `val' is now type DOUBLEST. Handle all | |
684 | floating types. | |
685 | * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now | |
686 | DOUBLEST. | |
687 | * valarith.c (value_binop): Change temp variables v1, v2 and v to | |
688 | type DOUBLEST. Coerce type of result to long double if either op | |
689 | was of that type. | |
690 | * valops.c (value_arg_coerce): If argument type is bigger than | |
691 | double, coerce to long double. | |
692 | * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and | |
693 | arg type is float and > 8 bytes, then use pointer-to-object | |
694 | calling conventions. | |
695 | * valprint.c (print_floating): Arg doub is now type DOUBLEST. | |
696 | Use appropriate format and precision to print out floating point | |
697 | values. | |
698 | * value.h: Fixup prototypes for value_as_double, | |
699 | value_from_double, and unpack_double to use DOUBLEST. | |
700 | * values.c (record_latest_value): Remove check for invalid | |
701 | floats. Allow history to store them so that people may examine | |
702 | them in hex if they want. | |
703 | * (value_as_double unpack_double): Change return value to DOUBLEST. | |
704 | * (value_from_double): Arg `num' is now DOUBLEST. | |
705 | * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target | |
706 | specific) to expect certain types to always be returned on the stack. | |
707 | ||
2ad5709f FF |
708 | Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com> |
709 | ||
710 | * bcache.c, bcache.h: New files to implement a byte cache. | |
711 | * Makefile.in (SFILES): Add bcache.c. | |
712 | (symtab_h): Add bcache.h. | |
713 | (HFILES_NO_SRCDIR): add bcache.h | |
714 | (COMMON_OBJS): Add bcache.o | |
715 | (bcache.o): New target. | |
716 | * dbxread.c (start_psymtab): Make global_syms & static_syms | |
717 | type "partial_symbol **". | |
718 | * hpread.c (hpread_start_symtab): Ditto. | |
719 | * os9kread.c (os9k_start_psymtab): Ditto. | |
720 | * stabsread.h (start_psymtab): Ditto. | |
721 | * {symfile.c, symfile.h} (start_psymtab_common): Ditto. | |
722 | * maint.c (maintenance_print_statistics): Call | |
723 | print_symbol_bcache_statistics. | |
724 | * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc | |
725 | and free pointers. | |
726 | * solib.c (allocate_rt_common_objfile): Ditto. | |
727 | * symfile.c (reread_symbols): Ditto. | |
728 | (free_objfile): Free psymbol bcache when objfile is freed. | |
729 | (objfile_relocate): Use new indirect psymbol pointers. | |
730 | * objfiles.h (struct objfile): Add psymbol cache. | |
731 | * symfile.c (compare_psymbols): Now passed pointers to pointers to | |
732 | psymbols. | |
733 | (reread_symbols): Free psymbol bcache when freeing other objfile | |
734 | resources. | |
735 | (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new | |
736 | psymbol using the psymbol bcache. | |
737 | (init_psymbol_list): Psymbol lists now contain pointers rather than | |
738 | the actual psymbols. | |
739 | * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically | |
740 | grown arrays of pointers. | |
741 | (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol | |
742 | bcache. | |
743 | * symmisc.c (print_partial_symbols): Now takes pointer to pointer | |
744 | to partial symbol. | |
745 | (print_symbol_bcache_statistics): New function to print per objfile | |
746 | bcache statistics. | |
747 | (print_partial_symbol, print_partial_symbols, | |
748 | maintenance_check_symtabs, extend_psymbol_list): | |
749 | Account for change to pointer to pointer to partial symbol. | |
750 | * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2, | |
751 | make_symbol_completion_list): | |
752 | Account for change to pointer to pointer to partial symbol. | |
753 | * symtab.h (bcache.h): Include. | |
754 | * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms | |
755 | type "partial_symbol **". | |
756 | ||
4a1d2ce2 FF |
757 | Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com> |
758 | ||
759 | * dwarfread.c (free_utypes): New function. | |
760 | (read_file_scope): Call free_utypes as cleanup, rather than just | |
761 | freeing the utypes pointer. | |
762 | ||
81afee37 FF |
763 | Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
764 | ||
765 | * demangle.c (is_cplus_marker): New function, checks if a | |
766 | character is one of the commonly used C++ marker characters. | |
767 | * defs.h (is_cplus_marker): Add prototype. | |
768 | * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle), | |
769 | cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol), | |
770 | stabsread.c (define_symbol, read_member_functions, read_struct_fields), | |
771 | symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P), | |
772 | values.c (vb_match): Use is_cplus_marker instead of comparison | |
773 | with CPLUS_MARKER. | |
774 | ||
14b22711 FF |
775 | Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com> |
776 | ||
777 | * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly | |
778 | delete entirely someday. | |
779 | ||
884fb64c SS |
780 | Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
781 | ||
782 | * mpw-make.sed: Edit out makefile rebuild rule. | |
783 | (host_alias, target_alias): Comment out instead of deleting. | |
784 | (@LIBS@): Edit out references. | |
785 | ||
f1d39876 FF |
786 | Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com> |
787 | ||
788 | * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): | |
789 | Use n_psyms in OBJSTAT, not psyms. | |
790 | ||
791 | Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com> | |
792 | ||
793 | * configure.in (sparclet-*-aout*): New config. | |
794 | * configure: Regenerated. | |
795 | ||
c37c7c6c FF |
796 | Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com> |
797 | ||
798 | * somsolib.c (som_solib_add): Use xmalloc rather than bare | |
799 | unchecked call to malloc. | |
800 | * remote-mips.c (pmon_load_fast): ditto. | |
801 | * remote-mm.c (mm_open): ditto. | |
802 | * hpread.c (hpread_lookup_type): ditto. | |
803 | * remote-adapt.c (adapt_open): ditto. | |
804 | ||
6405302d FF |
805 | Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com> |
806 | ||
807 | * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node, | |
808 | allocate_saved_f77_common_node, allocate_common_entry_node, | |
809 | add_common_block): Use xmalloc rather than malloc, some of which | |
810 | were unchecked. | |
811 | * gnu-regex.c: At same point as other gdb specific changes | |
812 | #undef malloc and then #define it to xmalloc. | |
813 | * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than | |
814 | bare unchecked calls to malloc/realloc. | |
815 | * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare | |
816 | unchecked call to malloc. | |
817 | ||
ff7116e2 SG |
818 | Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com) |
819 | ||
820 | * symtab.c (gdb_mangle_name): Change opname var to be const to | |
821 | match return val of cplus_mangle_name. | |
822 | * i960-tdep.c: Change arg types of next_insn to match callers. | |
823 | ||
b0ee0cf2 FF |
824 | Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com> |
825 | ||
826 | * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These | |
827 | apparently aren't needed in any reasonably recent version of | |
828 | linux. | |
829 | ||
ec49fc98 PB |
830 | Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com> |
831 | ||
832 | * stabsread.c (read_range_type): If !self-subrange and language | |
833 | is Chill, assume a true range. If a true_range is a sub_subrange, | |
834 | use builtin_type_int for index_type. | |
835 | ||
836 | Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com> | |
837 | ||
838 | * nindy-share/nindy.c (say): Use stdarg.h macros when compiling | |
839 | with an ANSI compiler. | |
840 | ||
f0b0d915 TT |
841 | start-sanitize-gdbtk |
842 | Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com> | |
843 | ||
844 | * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so | |
845 | double-clicking will work again. | |
846 | (create_asm_win): Put "break" at end of all B1 bindings. | |
847 | (create_file_win): Lower "sel" tag, don't raise it. | |
848 | (ensure_line_visible): New proc. | |
849 | (update_listing, update_assembly): Use it. | |
850 | (create_copyright_window): Destroy window on Leave event. | |
851 | (create_command_window): Put "break" at end of all B2 bindings. | |
852 | ||
853 | end-sanitize-gdbtk | |
263af172 SC |
854 | Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com> |
855 | ||
856 | From Michael_Snyder@NeXT.COM (Michael Snyder): | |
857 | * valops.c (value_arg_coerce): Coerce float to double, unless the | |
858 | function prototype specifies float. | |
859 | ||
fc71ad23 | 860 | Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com> |
8bdae156 | 861 | |
fc71ad23 TT |
862 | * language.c (set_language_command): Use languages table when |
863 | printing available languages. | |
864 | ||
865 | Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com> | |
866 | ||
867 | Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl): | |
868 | * command.c (add_cmd): Add missing initialization for enums member. | |
869 | Reorder members to match structure declaration to make it easier to | |
870 | tell when one is missing. | |
871 | * exec.c (exec_file_command): Fix problem where filename in malloc'd | |
872 | memory is referenced after being freed. | |
8bdae156 | 873 | |
255181a9 PS |
874 | Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
875 | ||
876 | * dwarfread.c (read_func_scope): Avoid GDB core dumps if | |
877 | AT_name tag is missing. | |
878 | ||
879 | * procfs.c (procfs_stopped_by_watchpoint): Fix logic when | |
880 | FLTWATCH and FLTKWATCH are defined. | |
881 | ||
882 | * remote.c (remote_read_bytes): Advance memaddr for transfers, | |
883 | return number of bytes transferred for partial reads. | |
884 | ||
885 | * top.c (init_signals): Reset SIGTRAP to SIG_DFL. | |
886 | ||
454ffae5 SC |
887 | Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com> |
888 | ||
889 | * win32-nat.c (mappings): Add ppc registers. | |
9a763320 | 890 | (child_resume): Turn off step for ppc. |
454ffae5 | 891 | |
3d78f532 SC |
892 | Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com> |
893 | ||
894 | * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, | |
895 | xm-cygwin32.h): New. | |
896 | * config/i386/(*win32*): Becomes *cygwin32*. | |
897 | * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32. | |
898 | (powerpcle-*-cygwin32): New. | |
899 | * configure: Regenerate. | |
900 | * win32-nat.c (child_create_inferior): Call CreateProcess | |
901 | with the right program arg. | |
902 | ||
4ad70253 JL |
903 | Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com) |
904 | ||
905 | * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition. | |
906 | ||
0db5a6fe FF |
907 | Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com> |
908 | ||
909 | * serial.c: Change fputc/fputs/fprintf to _unfiltered forms. | |
910 | ||
28bc5ef7 SS |
911 | Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
912 | ||
97abaf19 SS |
913 | * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove. |
914 | ||
28bc5ef7 SS |
915 | * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used. |
916 | ||
97abaf19 SS |
917 | * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to |
918 | here from config/i386/xm-i386mach.h, fix name. | |
919 | * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h. | |
920 | * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to | |
921 | here from config/i386/xm-ptx4.h. | |
922 | * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h. | |
923 | * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h. | |
924 | * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h. | |
925 | * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h. | |
926 | * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h. | |
927 | ||
28bc5ef7 SS |
928 | * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h. |
929 | (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h. | |
930 | * config/sparc/sun4sol2.mh (NAT_FILE): Update. | |
28bc5ef7 | 931 | |
17280c3f JL |
932 | Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com) |
933 | ||
934 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software | |
935 | floating point correctly. | |
936 | (STORE_RETURN_VALUE): Likewise. | |
937 | * config/pa/tm-pro.h (SOFT_FLOAT): define. | |
938 | ||
44e9f3b3 FF |
939 | Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com> |
940 | ||
941 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
942 | Define to what should be reasonable values. However, apparently | |
943 | a bug in linux mmap prevents mapped symbol tables from working. | |
944 | ||
ad1e42be FF |
945 | Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com> |
946 | ||
947 | * defs.h (errno.h>: Move #include closer to head of file to solve | |
948 | obscure problem with systems that declare perror with const arg, in | |
949 | both errno.h and stdio.h, and const is defined away by intervening | |
950 | local include. | |
951 | ||
d3ba76fc FF |
952 | Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com> |
953 | ||
954 | From Jon Reeves <reeves@zk3.dec.com>: | |
955 | * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr. | |
956 | (mem_fault_routine): Fix misplaced volatile type qualifier in decl. | |
957 | ||
f6ade5dd FF |
958 | Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com> |
959 | ||
960 | * Makefile.in (diststuff): Make all-doc; diststuff target does not | |
961 | exist in doc/Makefile.in. | |
962 | ||
cdea3fd3 SS |
963 | Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
964 | ||
965 | * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used. | |
966 | ||
d221b17e WM |
967 | Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
968 | ||
cdea3fd3 SS |
969 | * ch-valprint.c (calculate_array_length): New function to |
970 | determine the length of an array type. | |
d221b17e WM |
971 | (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an |
972 | array type is zero, call calculate_array_length. | |
973 | ||
cdea3fd3 SS |
974 | * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The |
975 | values may not be sorted. Scan all entries and set the real lower | |
976 | and upper bound. | |
d221b17e | 977 | |
fa9f5840 FF |
978 | Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com> |
979 | ||
980 | * config/xm-linux.h: Move include of solib.h and #define of | |
981 | SVR4_SHARED_LIBS from here ... | |
982 | * config/nm-linux.h: ...to here. | |
983 | ||
4708ac65 FF |
984 | Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com> |
985 | ||
986 | * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h. | |
987 | Also check for gregset_t and fpregset_t types. | |
988 | * configure: Regenerate. | |
989 | * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H | |
990 | is defined. | |
991 | (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T | |
992 | and HAVE_FPREGSET_T are defined. These changes allow systems | |
993 | like linux that are migrating to /proc support to use a single | |
994 | configuration for both new and old versions. | |
995 | ||
996 | * config/i386/linux.mt: Note that this is now for both a.out and | |
997 | ELF systems. | |
998 | * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o, | |
999 | i386v4-nat.o | |
1000 | * config/i386/tm-linux.h (tm-sysv4.h): Include. | |
1001 | * config/i386/xm-linux.h (solib.h): Include | |
1002 | (SVR4_SHARED_LIBS): Define. | |
1003 | * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined. | |
1004 | (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined. | |
cdea3fd3 SS |
1005 | (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T |
1006 | defined. | |
4708ac65 | 1007 | |
a77bf669 SS |
1008 | Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
1009 | ||
1010 | * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used. | |
1011 | * config/i386/xm-sun386.h: Ditto. | |
1012 | * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto. | |
1013 | ||
1014 | Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1015 | ||
1016 | * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@. | |
1017 | ||
a4b4479a SC |
1018 | Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com> |
1019 | ||
1020 | From Greg McGary <gkm@gnu.ai.mit.edu>: | |
1021 | * dcache.c (dcache_peek, dcache_poke): Advance addr for | |
1022 | multi-byte I/O. | |
1023 | ||
4133a76e JL |
1024 | Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com) |
1025 | ||
1026 | * infrun.c (normal_stop): Fix test for shared library event. | |
1027 | ||
146ee7db DE |
1028 | Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com> |
1029 | ||
1030 | * configure.in (sparc64-*-*): Add default host configuration. | |
1031 | start-sanitize-gdbtk | |
1032 | (sparc64-*-solaris2* host): Link statically if GCC used. | |
1033 | end-sanitize-gdbtk | |
1034 | (sparc64-*-solaris2*): Add target configuration. | |
b23b4cb5 | 1035 | * configure: Regenerated. |
146ee7db DE |
1036 | * sparc/sp64sol2.mt: New file. |
1037 | ||
76336191 DE |
1038 | Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com> |
1039 | ||
1040 | * Makefile.in (RUNTEST): srcdir renamed to rootsrc. | |
1041 | ||
1a57cd09 TT |
1042 | Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com> |
1043 | ||
1044 | * Makefile.in (lint): Close backquotes. | |
1045 | ||
1046 | start-sanitize-gdbtk | |
1047 | Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1048 | ||
1049 | * gdbtk.tcl, gdbtk.c: Updated copyrights. | |
1050 | ||
1051 | * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or | |
1052 | greater. | |
1053 | * configure: Rebuilt. | |
1054 | ||
1055 | end-sanitize-gdbtk | |
e8f1ad9a FF |
1056 | Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com> |
1057 | ||
1058 | * NEWS: Make note of new record and replay feature for | |
1059 | remote debug sessions. | |
1060 | * serial.c (gdbcmd.h): Include. | |
1061 | (serial_logfile, serial_logfp, serial_reading, serial_writing): | |
1062 | Define here, for remote debug session logging. | |
1063 | (serial_log_command, serial_logchar, serial_write, serial_readchar): | |
1064 | New functions for remote debug session logging. | |
1065 | (serial_open): Open remote debug session log file when needed. | |
1066 | (serial_close): Close remote debug session log file when needed. | |
1067 | (_initialize_serial): Add set/show commands for name of remote | |
1068 | debug session log file. | |
1069 | * serial.h (serial_readchar): Declare | |
1070 | (SERIAL_READCHAR): Call serial_readchar(). | |
1071 | (SERIAL_WRITE): Call serial_write(). | |
1072 | (serial_close): Declare as extern. | |
1073 | (serial_logfile, serial_logfp): Declare. | |
1074 | * top.c (execute_command): Declare serial_logfp. Log user command | |
1075 | in remote debug session log if log file is open. | |
1076 | * remote-array.c (array_wait): #ifdef out echo to gdb_stdout. | |
1077 | (array_read_inferior_memory): Rewrite to fix memory overwrite bug. | |
1078 | * remote-array.c (SREC_SIZE): Remove, duplicates define in | |
1079 | monitor.h. | |
1080 | * remote-array.c (hexchars, hex2mem): Remove, unused. | |
1081 | * gdbserver/low-linux.c (store_inferior_registers): Remove | |
1082 | unnecessary extern declaration of registers[]. | |
1083 | * gdbserver/Makefile.in (all): Add gdbreplay. | |
1084 | * gdbserver/gdbreplay.c: New file. | |
1085 | * gdbserver/README: Give example of recording a remote | |
1086 | debug session with gdb and then replaying it with gdbreplay. | |
1087 | ||
c6038971 PB |
1088 | Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com> |
1089 | ||
1090 | * stabsread.c (rs6000_builtin_type): Make bool type unsigned. | |
1091 | (read_one_struct_field): Support boolean bitfields. | |
1092 | * c-valprint.c (c_val_print): Print booleans properly. | |
1093 | ||
5a8d8b8d SS |
1094 | Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com> |
1095 | ||
1096 | * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
1097 | Remove, never used. | |
1098 | * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o. | |
1099 | ||
ec5f347c PB |
1100 | Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com> |
1101 | ||
9293e886 PB |
1102 | * ch-exp.c (parse_tuple): Error if invalid mode. |
1103 | ||
533bda77 PB |
1104 | * value.h (COERCE_ARRAY): Don't coerce enums. |
1105 | (COERCE_ENUM): Don't COERCE_REF. | |
1106 | (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM). | |
1107 | * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let | |
1108 | value_cast handle it otherwise); do *not* COERCE_ENUM either way. | |
1109 | * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY. | |
1110 | Add COERCE_REF before COERCE_ENUM. | |
1111 | * values.c (value_as_long): Simplify. | |
1112 | ||
1113 | * valops.c (value_array): Create internalvar if !c_style_arrays. | |
1114 | ||
ec5f347c PB |
1115 | * language.c (lang_bool_type): Add Fortran support. |
1116 | * eval.c (OP_BOOL): Use LA_BOOL_TYPE. | |
1117 | ||
87273c71 JL |
1118 | Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com) |
1119 | ||
1120 | * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup. | |
1121 | All references changed. | |
1122 | * breakpoint.c (bpstat_what): Add shlib_event to the class types. | |
1123 | Update state table. Reformat so that it's still readable. | |
1124 | When we hit the shlib_event breakpoint, set the calss of shlib_event. | |
1125 | (breakpoint_1): Add "shlib events" as a breakpoint type. | |
1126 | Print the shlib_event breakpoint like other breakpoints. | |
1127 | (create_solib_event_breakpoint): New function. | |
1128 | (breakpoint_re_set_one): Handle solib_event breakpoints. | |
1129 | * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. | |
1130 | (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS | |
1131 | action. | |
1132 | (create_solib_event_breakpoint): Declare. | |
1133 | * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. | |
1134 | (normal_stop): Inform the user when the inferior stoped due | |
1135 | to a shared library event. | |
a77bf669 | 1136 | (_initialize_infrun): Add new set/show variable "stop-on-solib-events" |
87273c71 JL |
1137 | to control whether or not gdb continues the inferior or stops it when |
1138 | a shared library event occurs. | |
1139 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. | |
1140 | * somsolib.c (TODO list): Update. | |
1141 | (som_solib_create_inferior_hook): Arrange for gdb to be notified | |
1142 | when significant shared library events occur. | |
1143 | * hppa-tdep.c (find_unwind_entry): No longer static. | |
1144 | ||
fc941258 DE |
1145 | Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com> |
1146 | ||
5a8d8b8d SS |
1147 | * printcmd.c (print_insn): Pass fprintf_unfiltered to |
1148 | INIT_DISASSEMBLE_INFO. | |
1149 | start-sanitize-gdbtk | |
1150 | * gdbtk.c (gdb_disassemble): Likewise. | |
1151 | end-sanitize-gdbtk | |
fc941258 | 1152 | |
b3fd4c06 SS |
1153 | Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com> |
1154 | ||
1155 | * remote.c (remotebreak): New GDB variable. | |
1156 | (remote_break): New global. | |
1157 | (remote_interrupt): Send a break instead of ^C if remote_break. | |
1158 | * NEWS: Describe the new variable. | |
1159 | ||
d2f5fa49 DE |
1160 | Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com> |
1161 | ||
1162 | * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc. | |
1163 | ||
8c038399 FF |
1164 | Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com> |
1165 | ||
1166 | * hp300ux-nat.c (getpagesize): Remove unused function | |
1167 | fetch_core_registers. | |
1168 | (hp300ux_core_fns): Remove, is unused. | |
1169 | (_initialize_core_hp300ux): Remove, is unused. | |
1170 | (gdbcore.h): Remove #include, no longer needed. | |
1171 | ||
a0d76829 JL |
1172 | Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com) |
1173 | ||
1174 | * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid | |
1175 | ptrace bug in aix4.1.3 on the rs6000. | |
1176 | ||
b6768627 SS |
1177 | Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
1178 | ||
1179 | * remote-hms.c (hms_ops): Add value for to_thread_alive. | |
1180 | * remote-nindy.c (nindy_ops): Ditto. | |
1181 | * remote-udi.c (udi_ops): Ditto. | |
1182 | ||
090d784a JSC |
1183 | Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk> |
1184 | ||
1185 | * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset, | |
1186 | pmon_checkset, pmon_make_fastrec, pmon_check_ack, | |
1187 | pmon_load_fast): New functions. Support for the PMON monitor world. | |
1188 | (common_open): New function to merge support for different monitors. | |
1189 | (mips_open): Use common_open(). | |
1190 | (mips_send_command): New function. | |
1191 | (mips_send_packet): Scan out-of-sequence packets. | |
1192 | (mips_enter_debug, mips_exit_debug): New functions. | |
1193 | (pmon_ops): New target definition structure. | |
1194 | ||
4e327047 TT |
1195 | Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com) |
1196 | ||
1197 | * Makefile.in (CLIBS): Add LIBS to allow libraries to be | |
1198 | specified on the make command line (via make LIBS=xxx). | |
1199 | start-sanitize-gm | |
1200 | * configure.in (enable-gm): magic.o -> gmagic.o. | |
1201 | end-sanitize-gm | |
1202 | ||
1203 | start-sanitize-gdbtk | |
1204 | Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1205 | ||
1206 | * gdbtk.tcl (create_expr_window): Many changes to update GUI. | |
1207 | (add_expr): Changes from create_expr_window. | |
1208 | (create_command_window): Set focus. | |
1209 | (delete_expr): Rewrote. | |
1210 | (expr_update_button): New proc. | |
1211 | (add_expr): Put bindings on FocusIn, FocusOut. | |
1212 | Don't allow .file_popup to be torn off. | |
1213 | end-sanitize-gdbtk | |
1214 | ||
1aac3d3c JL |
1215 | Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com) |
1216 | ||
1217 | * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED | |
1218 | is set but there are no psymtabs. | |
1219 | ||
c84e5000 SC |
1220 | Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com> |
1221 | ||
1222 | * dsrec.c (load_srec): Remove unused variable. | |
1ef980b9 | 1223 | * monitor.c (monitor_expect): Don't expect a ^C to echo. |
c84e5000 SC |
1224 | * serial.c (serial_open): Add parallel interface. |
1225 | * sh3-rom.c (parallel, parallel_in_use): New. | |
1226 | (sh3_load): If parallel_in_use, download though the | |
1227 | parallel port. | |
1228 | (sh3_open): Open parallel port if specified. | |
1229 | (sh3_close): New function. | |
1230 | (_inititalize_sh3): Add sh3_close hook and documentation. | |
1231 | * monitor.c (monitor_close): Export. | |
1232 | * monitor.h (monitor_close): Add prototype. | |
1233 | ||
2c441e7f SS |
1234 | Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com> |
1235 | ||
1236 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
1237 | * remote.c (remotetimeout): New GDB variable, use to set the | |
1238 | remote timeout for reading. | |
1239 | ||
4e327047 TT |
1240 | start-sanitize-gdbtk |
1241 | Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1242 | ||
1243 | * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons. | |
1244 | (update_listing): Use lassign. Use "see" to scroll. Don't need | |
1245 | screen_top, screen_bot, screen_height. | |
1246 | (update_assembly): Use "see" to scroll. | |
1247 | (textscrollproc): Removed. | |
1248 | (create_file_win): Don't use textscrollproc. | |
1249 | (asmscrollproc): Removed. | |
1250 | (create_asm_window): Don't use asmscrollproc. | |
1251 | (create_asm_win): Ditto. | |
1252 | (screen_height, screen_top, screen_bot): Removed. | |
1253 | (run_editor): New proc. | |
1254 | (build_framework): Use it. | |
1255 | (create_file_win, create_source_window): Don't use textscrollproc. | |
1256 | (create_breakpoints_window): Set -xscrollcommand on canvas. | |
1257 | (not_implemented_yet): Default button is 0. | |
1258 | (delete_char): Don't use tk_textBackspace. | |
1259 | (create_command_window): Allow Tk bindings to fire after deleting | |
1260 | character. | |
1261 | (create_command_window): Make Delete delete left, not right. | |
1262 | end-sanitize-gdbtk | |
1263 | ||
3730a0ed FF |
1264 | Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com> |
1265 | ||
1266 | * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h | |
1267 | to get "struct core_fns" defined. | |
1268 | * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o): | |
2c441e7f | 1269 | Are dependent upon gdbcore_h. |
3730a0ed | 1270 | |
7ef89313 PB |
1271 | Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com> |
1272 | ||
1273 | * symfile.c (decrement_reading_symtab): New function. | |
1274 | * symfile.c, symtab.h (currently_reading_symtab): New variable. | |
1275 | * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab. | |
1276 | * gdbtypes.c (check_typedef): Don't call lookup_symbol if | |
1277 | currently_reading_symtab (since that could infinitely recurse). | |
1278 | ||
1c486a2b PB |
1279 | Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com> |
1280 | ||
34cfa2da PB |
1281 | * stabsread.c (read_struct_type): Trivial simplification. |
1282 | ||
1c486a2b PB |
1283 | * stabsread.c (define-symbol): Use invisible references |
1284 | for TYPE_CODE_SET and TYPE_CODE_BITSTRING too. | |
34cfa2da | 1285 | * valops.c (call_function_by_hand): Likewise. |
1c486a2b PB |
1286 | * eval.c (evaluate_subexp_standard): When known, use the formal |
1287 | parameter type as the expected type when evaluating arg expressions. | |
1288 | * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT). | |
1289 | ||
4e327047 TT |
1290 | start-sanitize-gdbtk |
1291 | Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1292 | ||
1293 | * main.c (main): Disable window interface if --help or --version | |
1294 | specified. | |
1295 | ||
1296 | * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect. | |
1297 | ||
1298 | Changes in sync with expect: | |
1299 | * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and | |
1300 | CY_AC_PATH_TK. | |
1301 | * aclocal.m4: Replaced with version from expect. | |
1302 | * configure: Regenerated. | |
1303 | end-sanitize-gdbtk | |
a1df8e78 | 1304 | |
a1956677 BK |
1305 | Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
1306 | ||
1307 | * configure.in, configure: Recognize rs6000-*-aix4*. | |
1308 | * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h". | |
1309 | * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h. | |
1310 | * config/rs6000/xm-aix4.h: New file. | |
1311 | * config/xm-aix4.h: New file. | |
1312 | ||
3730a0ed | 1313 | Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com> |
0d14c7df FF |
1314 | |
1315 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
1316 | * gdbserver/low-linux.c: New file. | |
1317 | * remote.c (remote_read_bytes): Fix aborts on larger packets. | |
1318 | ||
1319 | * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS): | |
1320 | Define. | |
1321 | * stabsread.c (define_symbol): If register value is too large, | |
1322 | tell what it is and what max is. | |
1323 | ||
4e327047 TT |
1324 | start-sanitize-gdbtk |
1325 | Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1326 | ||
1327 | * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error, | |
1328 | gdbtk_tcl_flush): Use "see", not "yview". | |
1329 | (gdbtk_tcl_query): Use questhead bitmap. | |
1330 | various: Always wrap condition of 'if' in {...}. | |
1331 | (add_breakpoint_frame): Set -value on radiobuttons. | |
1332 | (lassign): New proc. | |
1333 | (add_breakpoint_frame): Use lassign, not series of assignments. | |
1334 | (decr): Made faster. | |
1335 | (interactive_cmd): Use "see", not "yview". | |
1336 | (not_implemented_yet): Use warning bitmap. | |
1337 | (update_expr): Don't allow $expr to be evalled by Tcl. | |
1338 | (create_expr_window): Don't use "focus". | |
1339 | (delete_char, delete_line): Define globally. | |
1340 | (delete_line, delete_char, create_command_window, update_autocmd, | |
1341 | build_framework, create_asm_win, create_file_win): Use "see", not | |
1342 | "yview". | |
1343 | (create_copyright_window, center_window, bind_widget_after_class): | |
1344 | New procs. | |
1345 | (FSBox,create_command_window, create_autocmd_window): Binding | |
1346 | changes for Tk4. | |
1347 | (textscrollproc): Define globally. | |
1348 | (build_framework): tk_menuBar no longer needed. Keys Prior, Next, | |
1349 | Home, End, Up, and Down are all defined by Tk. | |
1350 | (apply_filespec): Use error bitmap in dialog. | |
1351 | (files_command): Don't use tk_listboxSingleSelect. | |
1352 | (files_command): Don't use "uniq" to remove duplicates from a | |
1353 | list. | |
1354 | (update_assembly): Use lassign. | |
1355 | (create_asm_win): Removed redundant bindings. | |
1356 | (listing_window_button_1, file_popup_menu): Use tk_popup. | |
1357 | (ButtonRelease-1 binding): Just remove tag from window; rest | |
1358 | handled by Tk. | |
1359 | ||
1360 | * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting. | |
1361 | (call_wrapper): Use Tcl_Eval, not Tcl_VarEval. | |
1362 | (gdbtk_call_command): Ditto. | |
1363 | end-sanitize-gdbtk | |
1364 | ||
60d5a517 JL |
1365 | Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com) |
1366 | ||
1367 | * hpread.c (hpread_build_psymtabs): Finish Jan 4th | |
1368 | enum namespace -> enum_namespace change. | |
1369 | ||
d1f5c804 WM |
1370 | Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
1371 | ||
2c441e7f SS |
1372 | * ch-exp.c (parse_primval): In case ARRAY, add missing |
1373 | FORWARD_TOKEN (). | |
d1f5c804 | 1374 | |
1f233758 SS |
1375 | Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
1376 | ||
1377 | * remote-mips.c (mips_receive_header): Recognize \012 instead | |
1378 | of \n, but write \n when program sends a \012. | |
1379 | * ser-mac.c (mac_input_buffer): Increase size of buffer. | |
1380 | ||
ed3b618d JL |
1381 | Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com) |
1382 | ||
1383 | * infptrace.c (initialize_infptrace): Move function out of | |
1384 | #ifdef conditional; put code within the function inside an | |
1385 | #ifdef conditional. | |
436d4143 JL |
1386 | |
1387 | * buildsym.c (end_symtab): Remove sort_pending and sort_linevec | |
1388 | arguments. Sorting is now dependent on OBJF_REORDERED. All | |
1389 | callers/references changed. | |
1390 | * dbxread.c (read_ofile_symtab): Correctly determine value for | |
1391 | last_source_start_addr for reordered executables. | |
1392 | (process_one_symbol): Handle N_FUN with no name as an end of | |
1393 | function marker. | |
1394 | * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE | |
1395 | is the high text address for a psymtab. | |
1396 | (case N_SO): Likewise. | |
1397 | (case N_FUN): Handle N_FUN with no name as an end of function | |
1398 | marker. | |
1399 | * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols | |
1400 | at the same address rather than a random subset of them. | |
1401 | * coffread.c (coff_symfile_init): Set OBJF_REORDERED. | |
1402 | * elfread.c (elf_symfile_init): Similarly. | |
1403 | * somread.c (som_symfile_init): Similarly. | |
1404 | * xcoffread.c (xcoff_symfile_init): Similarly. | |
1405 | ||
5351b2a0 SG |
1406 | Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com) |
1407 | ||
1408 | * stack.c (print_stack_frame print_frame_info) symmisc.c | |
1409 | (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so | |
1410 | that catch_errors doesn't get blindsided by QUIT and lose the | |
1411 | cleanup chain. This fixes a problem where ^C while in a | |
1412 | user-defined command sometimes leaves instream NULL and causes a | |
1413 | segfault in command_loop. | |
1414 | ||
127841e4 BK |
1415 | Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
1416 | ||
1417 | * configure.in, configure: Add `-ldl -lw' for Solaris linking. | |
1418 | ||
6b4fe21d SC |
1419 | Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com> |
1420 | ||
1421 | * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt, | |
1422 | config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt: | |
1423 | srec.o renamed to dsrec.o. | |
1424 | ||
0fe1522a SG |
1425 | Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com) |
1426 | ||
1427 | * breakpoint.c (remove_breakpoint): Change error to warning so | |
1428 | that hardware watchpoint removal problems won't leave breakpoint | |
1429 | traps in the target. | |
d039321c | 1430 | start-sanitize-gdbtk |
0fe1522a | 1431 | * configure configure.in: Make --enable-gdbtk be the default. |
d039321c | 1432 | end-sanitize-gdbtk |
0fe1522a SG |
1433 | * remote-e7000.c (e7000_insert_breakpoint, |
1434 | e7000_remove_breakpoint): Use e7000 based breakpoints, not memory | |
1435 | breakpoints. | |
1436 | * (e7000_wait): Adjust PC back by two when we see a breakpoint to | |
1437 | compensate for e7000 maladjustment. | |
1438 | * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug | |
1439 | which prevented hardware watchpoints from working. | |
1440 | ||
7531f36e FF |
1441 | Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com> |
1442 | ||
1443 | * infptrace.c (udot_info): New function. | |
1444 | (PT_*): Define each individually if that one is not defined. | |
7531f36e FF |
1445 | * rs6000-nat.c (kernel_u_size): New function |
1446 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
1447 | * alpha-nat.c (kernel_u_size): New function. |
1448 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
1449 | * sparc-nat.c (kernel_u_size): New function. |
1450 | Include <sys/user.h> for "struct user" | |
7531f36e | 1451 | * i386b-nat.c (kernel_u_size): New function. |
7531f36e | 1452 | * i386v-nat.c (kernel_u_size): New function. |
7531f36e FF |
1453 | * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define. |
1454 | (kernel_u_size): Declare. | |
7531f36e FF |
1455 | * config/i386/nm-linux.h (KERNEL_U_SIZE): Define. |
1456 | (kernel_u_size): Declare. | |
7531f36e FF |
1457 | * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define. |
1458 | (kernel_u_size): Declare. | |
7531f36e FF |
1459 | * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define. |
1460 | (kernel_u_size): Declare. | |
7531f36e FF |
1461 | * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define. |
1462 | (kernel_u_size): Declare. | |
7531f36e | 1463 | |
1750a5ef SC |
1464 | Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com> |
1465 | ||
1466 | * mdebugread.c (mylookup_symbol): enum namespace becomes | |
1467 | enum_namespace type. | |
1468 | * symfile.c (add_psymbol_to_list) | |
1469 | (add_psymbol_addr_to_list): Ditto. | |
1470 | * symtab.c (lookup_partial_symbol): Ditto. | |
1471 | (lookup_symbol): Ditto. | |
1472 | (lookup_block_symbol): Ditto. | |
1473 | * win32-nat.c (handle_load_dll): Use incoming dll base. | |
1474 | (child_wait): Catch DLL load errors. | |
1475 | (create_child_inferior): Translated between paths correctly. | |
1476 | ||
e33aefba FF |
1477 | Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com> |
1478 | ||
1479 | * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS | |
1480 | from NUM_REGS to get number of general registers that we care about. | |
e33aefba FF |
1481 | * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms |
1482 | of number of general regs and number of floating point regs. | |
e33aefba | 1483 | |
e02a2ad9 SC |
1484 | Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com> |
1485 | ||
a3b64bf9 SC |
1486 | * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New. |
1487 | (SKIP_TRAMPOLINE_CODE): New. | |
1488 | * config/i386/xm-win32.h (CANT_FORK): Deleted. | |
1489 | (SLASH*) Changed to use unix style slash. | |
e02a2ad9 SC |
1490 | * symtab.h (namespace enum): becomes typedef to avoid namespace |
1491 | collision in C++. | |
1492 | * infcmd.c (path_command): Use empty string if PATH name not set. | |
1493 | * i386-tdep.c (skip_trampoline_code): New function. | |
1494 | * srec.c: Renamed dsrec.c to avoid filename collision. | |
1495 | * Makefile.in: Cope with renaming. | |
e02a2ad9 | 1496 | |
ef4d6187 | 1497 | Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com> |
5eccb7dc | 1498 | |
ef4d6187 FF |
1499 | * symmisc.c (print_objfile_statistics): Print memory use statistics |
1500 | for objfile psymbol, symbol, and type obstacks. | |
5eccb7dc | 1501 | |
ef4d6187 | 1502 | Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
3dcd429f | 1503 | |
ef4d6187 FF |
1504 | * config/mips/nm-irix5.h: Restore. |
1505 | (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4; | |
1506 | from Lee Iverson <leei@ai.sri.com>. | |
1507 | * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h. | |
1508 | * config/mips/irix[345].mh (MUNCH_DEFINE): Remove. | |
3dcd429f | 1509 | |
ef4d6187 | 1510 | For older changes see ChangeLog-95 |
bd5635a1 RP |
1511 | \f |
1512 | Local Variables: | |
1513 | mode: indented-text | |
1514 | left-margin: 8 | |
1515 | fill-column: 74 | |
1516 | version-control: never | |
1517 | End: |