Commit | Line | Data |
---|---|---|
48712b30 SS |
1 | start-sanitize-d10v |
2 | Thu Dec 5 23:30:44 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3 | ||
4 | * d10v-tdep.c: Add support for examination and interpretation | |
5 | of instruction trace buffer. | |
6 | (trace, untrace, info trace, tdisassemble): New commands. | |
7 | ||
8 | end-sanitize-d10v | |
d0e51077 DE |
9 | Thu Dec 5 14:06:23 1996 Doug Evans <dje@canuck.cygnus.com> |
10 | ||
11 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef. | |
12 | (TARGET_BYTE_ORDER_SELECTABLE): Define. | |
13 | (BREAKPOINT): Undef. | |
14 | ({BIG,LITTLE}_BREAKPOINT): Define. | |
cf869869 | 15 | (TM_PRINT_INSN_MACH): Redefine for sparclet. |
d0e51077 | 16 | |
6823374b GN |
17 | Wed Dec 4 16:34:05 1996 Geoffrey Noer <noer@cygnus.com> |
18 | ||
48712b30 | 19 | * config/mn10300/mn10300.mt, config/mn10300/tm-mn10300.h: New. |
6823374b GN |
20 | |
21 | Tue Dec 3 13:02:08 1996 Fred Fish <fnf@ninemoons.com> | |
22 | ||
23 | * infptrace.c (store_inferior_registers): Move some common code out | |
24 | to store_register, like fetch_inferior_registers & fetch_register. | |
25 | (store_register): New function, from store_inferior_registers. | |
26 | (fetch_inferior_registers, fetch_register): Minor code tweaks to | |
27 | make {fetch,store}_inferior_registers and {fetch,store}_register | |
28 | routines as similar in structure as possible. | |
29 | (fetch_inferior_registers, store_inferior_registers): Eliminate | |
30 | local variable numregs and just use ARCH_NUM_REGS directly. | |
31 | ||
e47d1a4e MS |
32 | Tue Dec 3 11:38:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
33 | ||
34 | * blockframe.c: add macro USE_GENERIC_DUMMY_FRAMES to enable/disable | |
35 | code for generic call_dummy frames. | |
36 | * config/h8300/tm-h8300.h: turn on USE_GENERIC_DUMMY_FRAMES | |
37 | start-sanitize-m32r | |
48712b30 | 38 | * config/m32r/tm-m32r.h: Ditto. |
e47d1a4e | 39 | end-sanitize-m32r |
48712b30 | 40 | * config/sh/tm-sh.h: Ditto. |
e47d1a4e | 41 | start-sanitize-v850 |
48712b30 | 42 | * config/v850/tm-v850.h: Ditto. |
e47d1a4e MS |
43 | end-sanitize-v850 |
44 | ||
94cff946 PS |
45 | Sun Dec 1 00:41:47 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
46 | ||
47 | * vax-tdep.c (vax_print_insn, print_insn_arg): Use info functions | |
48 | for printing. From Valeriy Ushakov <uwe@ptc.spbu.ru>. | |
49 | ||
e47d1a4e MS |
50 | Sun Dec 1 00:40:46 1996 Geoffrey Noer <noer@cygnus.com> |
51 | ||
48712b30 | 52 | * configure.tgt: Add new mn10300 entry. |
e47d1a4e | 53 | |
0db3fe94 PS |
54 | Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
55 | ||
56 | Add support for Irix 6.2 native O32 and N32 ABI. | |
57 | ||
58 | * config.in, configure.in, configure: Check for <objlist.h>. | |
59 | * configure.tgt: Handle mips*-sgi-irix6* like irix5 for now. | |
60 | ||
61 | * cp-valprint.c (cp_print_value_fields): Use SYMBOL_VALUE_ADDRESS | |
62 | instead of SYMBOL_BLOCK_VALUE to get the address of a static member. | |
63 | ||
64 | * dwarf2read.c: Turn warnings and recoverable errors into complaints, | |
65 | add new complaints where appropriate. | |
66 | gcc -Wall cleanup. | |
67 | (struct line_head): Change line_base from char to int to avoid | |
68 | problems with compilers whose plain char is represented by an | |
69 | unsigned char. | |
70 | (struct partial_die_info): Add is_declaration field. | |
71 | (dwarf2_tmp_obstack): New obstack for allocating temporary storage | |
72 | used during symbol reading. | |
73 | (cu_header_offset): New variable for resolving relative reference | |
74 | dies. | |
75 | (optimized_out, basereg, islocal, frame_base_reg, frame_base_offset): | |
76 | New interface variables for decode_locdesc. | |
77 | (struct dwarf2_pinfo): New structure for communication between | |
78 | psymtab and symtab reading, passed via pst->read_symtab_private. | |
79 | (dwarf2_has_info, dwarf2_build_psymtabs): Accept objects files | |
80 | without line number sections. | |
81 | (dwarf2_build_psymtabs_hard): Initialize temporary obstack | |
82 | for symbol reading. | |
83 | Allocate and initialize pst->read_symtab_private. | |
84 | Relocate pst->textlow and pst->texthigh with baseaddr. | |
85 | (scan_partial_symbols): Do not add DW_AT_declaration symbols | |
86 | to the partial symbol table. | |
87 | Add file scope enumerator symbols to the partial symbol table. | |
88 | Fix typo in highpc computation. | |
89 | If we didn't find a lowpc, set it to highpc to avoid complaints | |
90 | from `maint check. | |
91 | (add_partial_symbol): Relocate symbol values with baseaddr. | |
92 | Add static DW_TAG_subprogram and DW_TAG_variable symbols to the | |
93 | minimal symbol table. | |
94 | Obtain symbol values for DW_TAG_variable symbols from the location | |
95 | descriptor, skip symbols with missing location desciptors. | |
96 | Skip symbols for aggregate types without children. | |
97 | Handle enumerator symbols. | |
98 | (dwarf2_psymtab_to_symtab): Issue symbol reading message if verbose. | |
99 | (psymtab_to_symtab_1): Set local variables from | |
100 | pst->read_symtab_private, set cu_header_offset and baseaddr. | |
101 | Initialize temporary obstack for symbol reading, initialize | |
102 | buildsym and add a cleanup to really_free_pendings. | |
103 | Relocate highpc with baseaddr when calling end_symtab. | |
104 | If the compilation is from a C file generated by language | |
105 | preprocessors, do not set the symtab language if it was already | |
106 | deduced by start_subfile. | |
107 | Removed verbose sorting symbol table message. | |
108 | (process_die): Handle DW_TAG_ptr_to_member_type and | |
109 | DW_TAG_reference_type. | |
110 | Use read_subroutine_type to get the function type for | |
111 | DW_TAG_subprogram before calling read_func_scope. | |
112 | (read_file_scope): Initialize file name to <unknown>, start_subfile | |
113 | expects a non-NULL name. | |
114 | If we didn't find a lowpc, set it to highpc to avoid complaints | |
115 | from finish_symbol. | |
116 | Relocate lowpc and highpc with baseaddr. | |
117 | Get rid of Irix6.2 native cc compile machine prefix in comp_dir. | |
118 | Zero out ftypes for each new compilation unit (may be different | |
119 | language or different objfile). | |
120 | Accept compilation units without line number information, pass | |
121 | comp_dir to decode_lines. | |
122 | (read_func_scope): Initialize function name to <unknown> to avoid | |
123 | core dumps when DW_AT_name is missing. | |
124 | Relocate lowpc and highpc with baseaddr. | |
125 | Handle DW_AT_frame_base, keep result for DW_OP_fbreg operations. | |
126 | Pass function type to new_symbol. | |
127 | (read_lexical_block_scope): Relocate lowpc and highpc with baseaddr. | |
128 | (read_structure_scope): Set TYPE_TAG_NAME, not TYPE_NAME. | |
129 | Handle DW_TAG_class_type. | |
130 | Copy fields to type_obstack, release temporary storage for fields. | |
131 | Don't add symbol if die is a stub die and has no children. | |
132 | Handle C++ static member fields. | |
133 | (read_enumeration): Set TYPE_TAG_NAME, not TYPE_NAME. | |
134 | Copy fields to type_obstack, release temporary storage for fields. | |
135 | Let new_symbol handle the symbol creation for enumerators | |
136 | instead of handcrafting a symbol. | |
137 | Determine signedness of enum type from enumerators. | |
138 | (dwarf_read_array_type): Handle variable length arrays. | |
139 | Use lookup_pointer_type instead of handcrafting a type. | |
140 | Create array type only if a DW_TAG_subrange_type was found. | |
141 | (read_tag_pointer_type, read_tag_reference_type): | |
142 | Use lookup_pointer_type and lookup_reference_type instead | |
143 | of handcrafting a type. | |
144 | (read_tag_ptr_to_member_type): New function to handle | |
145 | DW_TAG_ptr_to_member_type. | |
146 | (read_subroutine_type): Handle parameter dies. | |
147 | Use lookup_function_type instead of handcrafting a type. | |
148 | (read_typedef): Allocate a TYPE_CODE_TYPEDEF type for the typedef. | |
149 | (read_base_type): If the type has a name, use init_type to create | |
150 | a new type instead of second guessing a fundamental type. | |
151 | (read_comp_unit): Reset die reference table before building | |
152 | a new one. | |
153 | (dwarf2_read_section): Read section contents into psymbol_obstack. | |
154 | (dwarf2_read_abbrevs): Handle unterminated abbreviations | |
155 | for a compile unit gracefully. | |
156 | (read_partial_die): Zero partial die before reading its info. | |
157 | Handle DW_AT_declaration. | |
158 | Fix typo in handling of DW_FORM_block4. | |
159 | (read_full_die): Fix typo in handling of DW_FORM_block4. | |
160 | (read_1_signed_byte, read_2_signed_bytes, read_4_signed_bytes): | |
161 | New routines to get signed values from a buffer. | |
162 | (read_n_bytes, read_string): Allocate storage from the temporary | |
163 | obstack. If the host char size permits it, return pointer | |
164 | to buffer instead of allocating storage. | |
165 | (set_cu_language): Handle DW_LANG_Mips_Assembler. | |
166 | (dwarf_attr): Return NULL if reference die for DW_AT_specification | |
167 | or DW_AT_abstract_origin die is not found. | |
168 | (record_minimal_symbol): Removed, replaced with a direct call to | |
169 | prim_record_minimal_symbol, it now handles saving the string itself. | |
170 | (convert_locdesc): Removed, partial symtab reading now uses | |
171 | decode_locdesc. | |
172 | (dwarf_attr): Use dwarf2_get_ref_die_offset to get the absolute | |
173 | offset for the die reference. | |
174 | (dwarf_decode_lines): Complain if the line section info is missing. | |
175 | Use read_1_signed_byte to extract lh.line_base to avoid | |
176 | problems with compilers whose plain char is represented by an | |
177 | unsigned char. | |
178 | Add cleanups for allocated temporary storage. | |
179 | Start a subfile for the first file in the state machine. | |
180 | Fix off by one problem with dirs.dirs access. | |
181 | Use comp_dir when directory index is 0. | |
182 | Support multiple sequences (from Jason Merrill <jason@cygnus.com>). | |
183 | (dwarf2_start_subfile): Try to keep line numbers from identical | |
184 | absolute and relative file names in a common subfile. | |
185 | (new_symbol): Allocate symbol and symbol name on the symbol_obstack. | |
186 | Set SYMBOL_LINE from DW_AT_decl_line if present. | |
187 | Set SYMBOL_TYPE from passed type if not NULL. | |
188 | Change DW_TAG_variable symbol types with missing type entries | |
189 | to a sensible type. | |
190 | Handle optimized_out, offreg and islocal storage classes. | |
191 | Add external symbols with type information whose address isn't | |
192 | known as LOC_UNRESOLVED symbols. | |
193 | Synthesize typedefs for C++ classes, structs, unions and enumerations. | |
194 | Handle DW_TAG_enumerator symbols, complain for unrecognized | |
195 | symbol tags. | |
196 | (die_type): A missing DW_AT_type represents a void type. | |
197 | Use dwarf2_get_ref_die_offset to get the absolute offset for | |
198 | the die reference. | |
199 | (die_containing_type): New function to build type from | |
200 | DW_AT_containing_type attribut. | |
201 | (read_type_die): Handle DW_TAG_ptr_to_member_type. | |
202 | Treat DW_TAG_subprogram like DW_TAG_subroutine_type. | |
203 | (dwarf_base_type): Fix typo with creation of FT_UNSIGNED_SHORT | |
204 | fundamental type. | |
205 | (create_name): Removed, symbol name allocation is now done | |
206 | in new_symbol. | |
207 | (dump_die): Use print_address_numeric to print a CORE_ADDR. | |
208 | (dwarf2_empty_die_ref_table): New function to clear the die | |
209 | reference table. | |
210 | (dwarf2_get_ref_die_offset): New function to get the absolute | |
211 | die offset from a die reference attribute. | |
212 | (decode_locdesc): Complete rewrite using a stack, code mostly | |
213 | borrowed from dwarfread.c:locval. | |
214 | (dwarf_alloc_type): Removed, replaced by direct calls to alloc_type. | |
215 | (dwarf_alloc_block): Allocate block on temporary obstack. | |
216 | ||
217 | * elfread.c (elf_symtab_read): When handling Irix dynamic symbols, | |
218 | skip section name symbols and relocate all others. | |
219 | (elf_symfile_read): Build dwarf2 psymtab even if offset is non-zero. | |
220 | ||
221 | * irix5-nat.c (fetch_core_registers): Handle core_reg_sect | |
222 | from N32 executables. Call registers_fetched after extracting | |
223 | the registers. | |
224 | (obj_list_variant, struct link_map, LM_OFFSET, LM_ADDR): New | |
225 | definitions to enable support of O32 and N32 format objlists. | |
226 | (struct so_list): New members offset, so_name and lmstart to | |
227 | eliminate dependencies from the objlist format used. | |
228 | (solib_map_sections, symbol_add_stub, solib_add, | |
229 | info_sharedlibrary_command, solib_address, clear_solib): Use | |
230 | so_name and LM_OFFSET. | |
231 | (first_link_map_member): Rewrite to enable support of O32 and N32 | |
232 | format objlists. | |
233 | (next_link_map_member, xfer_link_map_member): New functions to | |
234 | support O32 and N32 format objlists. | |
235 | (find_solib): Use first_link_map_member, next_link_map_member and | |
236 | xfer_link_map_member. | |
237 | (solib_create_inferior_hook): Use TARGET_SIGNAL_* instead of | |
238 | host signal numbers. | |
239 | ||
240 | * mdebugread.c (parse_partial_symbols, handle_psymbol_enumerators): | |
241 | Pass CORE_ADDR variant to add_psymbol_to_list. | |
242 | ||
243 | * mips-tdep.c (heuristic_proc_desc): Stop examining the prologue | |
244 | if we encounter a positive stack adjustment. Handle `move $30,$sp'. | |
245 | Handle `sd reg,offset($sp)' for 32 bit ABIs. | |
246 | ||
247 | * symmisc.c (dump_msymbols, print_partial_symbols): Use | |
248 | print_address_numeric to print a SYMBOL_VALUE_ADDRESS. | |
249 | (dump_symtab): Print compilation directory if it is not NULL. | |
250 | ||
251 | * valops.c (search_struct_field, value_struct_elt_for_reference): | |
252 | Use SYMBOL_VALUE_ADDRESS instead of SYMBOL_BLOCK_VALUE to get the | |
253 | address of a static member. | |
254 | ||
0f75e2e3 PS |
255 | Thu Nov 28 00:46:24 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
256 | ||
257 | * vax-tdep.c (vax_print_insn): Made static, modified to take | |
258 | disassemble_info as parameter. | |
259 | (_initialize_vax_tdep): New function to initialize tm_print_insn | |
260 | to vax_print_insn. | |
261 | ||
409f64ae MS |
262 | Wed Nov 27 11:29:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
263 | ||
48712b30 SS |
264 | * blockframe.c: Remove old-style CALL_DUMMY code. |
265 | * h8300-tdep.c, config/h8300/tm-h8300.h: Ditto. | |
409f64ae | 266 | start-sanitize-m32r |
48712b30 | 267 | * m32r-tdep.c, config/m32r/tm-m32r.h: Ditto. |
409f64ae | 268 | end-sanitize-m32r |
48712b30 | 269 | * sh-tdep.c, config/sh/tm-sh.h: Ditto. |
409f64ae | 270 | start-sanitize-v850 |
48712b30 | 271 | * v850-tdep.c, config/v850/tm-v850.h: Ditto. |
409f64ae MS |
272 | end-sanitize-v850 |
273 | ||
dc1b349d MS |
274 | Wed Nov 27 10:32:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
275 | ||
276 | * breakpoint.c: DELETE command will not delete CALL_DUMMY breakpoint. | |
277 | * blockframe.c: Add target-independant support for managing | |
278 | CALL_DUMMY frames on the host side. | |
279 | * frame.h: Declarations for generic CALL_DUMMY frame support. | |
280 | * h8300-tdep.c: Add target function calls using generic frame support. | |
281 | * config/h8300/tm-h8300.h: config for generic target function calls. | |
282 | start-sanitize-m32r | |
283 | * m32r-tdep.c: Add target function calls using generic frame support. | |
284 | * config/m32r/tm-m32r.h: config for generic target function calls. | |
285 | end-sanitize-m32r | |
286 | * sh-tdep.c: Add target function calls using generic frame support. | |
287 | * config/sh/tm-sh.h: config for generic target function calls. | |
288 | start-sanitize-v850 | |
289 | * v850-tdep.c: Add target function calls using generic frame support. | |
290 | * config/v850/tm-v850.h: config for generic target function calls. | |
291 | end-sanitize-v850 | |
292 | * valops.c: ADD PUSH_RETURN_ADDRESS so that it doesn't have to be | |
293 | done by PUSH_ARGUMENTS when there's no CALL_DUMMY. | |
294 | ||
96431497 MA |
295 | Tue Nov 26 19:21:35 1996 Mark Alexander <marka@cygnus.com> |
296 | ||
297 | * config/mips/tm-mips.h (ADDR_BITS_REMOVE, TARGET_READ_SP): Define. | |
298 | (mips_addr_bits_remove): Declare. | |
299 | * mips-tdep.c (mips_push_dummy_frame): Fix heuristic-fence-post | |
300 | errors when hitting breakpoints during inferior function calls | |
301 | in 64-bit programs. | |
302 | (fix_sign_extension): Make public, rename to mips_addr_bits_remove. | |
303 | * utils.c (paddr_nz, preg_nz): New functions, similar to | |
304 | paddr and preg but don't print leading zeroes. | |
305 | * defs.h (paddr_nz, preg_nz): Declare. | |
306 | * remote-mips.c: Use paddr_nz instead of paddr throughout | |
307 | to reduce packet size. | |
308 | (pmon_end_download): Improve timeout error handling. | |
309 | ||
8b701284 ILT |
310 | Tue Nov 26 17:21:37 1996 Ian Lance Taylor <ian@cygnus.com> |
311 | ||
312 | * configure: Rebuild with autoconf 2.12. | |
313 | ||
22ba28a5 FF |
314 | Mon Nov 25 13:17:16 1996 Fred Fish <fnf@ninemoons.com> |
315 | ||
316 | From: Paul Eggert <eggert@twinsun.com> | |
317 | * remote-bug.c (wait_strings): Avoid creating a trigraph. | |
318 | ||
319 | start-sanitize-d10v | |
320 | Fri Nov 22 15:55:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
321 | ||
322 | * valops.c (value_at, value_fetch_lazy): Put in D10V call | |
323 | to fix up address pointers. | |
324 | * values.c (value_from_longest): Removed previous d10v changes. | |
325 | * config/d10v/tm-d10v.h (TARGET_PTR_BIT): Change to 4 bytes. | |
326 | ||
327 | end-sanitize-d10v | |
00b45456 PS |
328 | Fri Nov 22 10:06:19 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
329 | ||
330 | * config/i386/nm-i386v4.h (LOSING_POLL): Define, needed for | |
331 | Unixware 1.1.2. | |
332 | ||
ee455463 MA |
333 | Thu Nov 21 19:13:58 1996 Mark Alexander <marka@cygnus.com> |
334 | ||
335 | * mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN. | |
336 | (common_breakpoint): Use paddr instead of %x to print 64-bit values. | |
337 | (heuristic_proc_desc): Add tests for 64-bit instructions. | |
338 | (init_extra_frame_info, mips_push_arguments): Recognize additional | |
339 | registers for EABI. | |
340 | * remote-mips.c: Extend DDB target to allow TFTP downloads. | |
341 | * config/mips/tm-mips.h (MIPS_LAST_ARG_REGNUM, MIPS_NUM_ARG_REGS): | |
342 | Define. | |
343 | ||
d716b33d MH |
344 | Wed Nov 20 19:09:16 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
345 | ||
346 | * infcmd.c (do_registers_info): Call val_print with the | |
347 | virtual buf instead of the raw buf. Needed for REGISTER_CONVERT | |
348 | to work with non-floating point regs. | |
349 | ||
350 | start-sanitize-d10v | |
351 | * d10v-tdep.c (d10v_skip_prologue): If we have line debugging | |
352 | information, then the end of the prologue should the first | |
353 | assembly instruction of the first source line. | |
354 | ||
355 | * values.c (value_from_longest): Put in D10V call to | |
356 | fix up address pointers. | |
357 | ||
358 | * config/d10v/tm-d10v.h (REGISTER_VIRTUAL_SIZE): Modified. | |
359 | (REGISTER_VIRTUAL_TYPE): Modified for PC_REGNUM and SP_REGNUM. | |
360 | (REGISTER_CONVERTIBLE): Make PC and SP convertible. | |
361 | (REGISTER_CONVERT_TO_VIRTUAL): Define. | |
362 | (REGISTER_CONVERT_TO_RAW): Define. | |
363 | (D10V_MAKE_DADDR): Define. | |
364 | (D10V_MAKE_IADDR): Define. | |
365 | end-sanitize-d10v | |
9fb53c4f GN |
366 | Wed Nov 20 16:15:15 1996 Geoffrey Noer <noer@cygnus.com> |
367 | ||
368 | * config/i386/cygwin32.mh: add MMALLOC_CFLAGS = -I$(MMALLOC_SRC) | |
369 | -DMMCHECK_FORCE=1 so memory checks are loaded for cygwin32 gdb | |
370 | ||
4da8b2a5 DE |
371 | Wed Nov 20 00:43:09 1996 Doug Evans <dje@canuck.cygnus.com> |
372 | ||
38012297 SS |
373 | * callback.h: Delete, moved to ../include. |
374 | * callback.c: Delete, moved to ../sim/common. | |
4da8b2a5 DE |
375 | * Makefile.in (SFILES,COMMON_OBJS): Delete callback.[co]. |
376 | (callback.o): Delete rule. | |
38012297 | 377 | * remote-sim.h: No longer include callback.h. |
4da8b2a5 DE |
378 | (sim_callback_write_stdout): Delete prototype. |
379 | * remote-sim.c (init_callbacks,end_callbacks): New functions. | |
380 | (gdb_os_write_stdout, gdb_os_printf_filtered): New functions. | |
381 | (gdb_callback, callbacks_initialized): New static globals. | |
382 | (gdbsim_open): Call init_callbacks. | |
383 | (gdbsim_close): Call end_callbacks. | |
384 | (simulator_command): Call init_callbacks. | |
385 | ||
cd6dfa93 DE |
386 | * config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a. |
387 | * config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a. | |
388 | ||
a5a6e3bd | 389 | start-sanitize-gdbtk |
bd45f82f TT |
390 | Tue Nov 19 09:26:14 1996 Tom Tromey <tromey@cygnus.com> |
391 | ||
392 | * gdbtk.c (gdbtk_readline): Fix memory leak. | |
393 | ||
a5a6e3bd TT |
394 | Mon Nov 18 23:43:05 1996 Tom Tromey <tromey@cygnus.com> |
395 | ||
396 | Fixes for Tcl 7.6 / Tk 4.2: | |
397 | * gdbtk.tcl (apply_filespec): Use tk_getOpenFile. | |
38012297 SS |
398 | Remove old fileselect code. |
399 | * gdbtk.c (Tcl_Alloc): Rename from Tcl_Malloc. | |
a5a6e3bd TT |
400 | |
401 | end-sanitize-gdbtk | |
692a601f JW |
402 | Mon Nov 18 15:58:05 1996 Jim Wilson <wilson@cygnus.com> |
403 | ||
404 | * config/mips/tm-mips.h (FIX_CALL_DUMMY): Change unsigned LONGEST | |
405 | to ULONGEST. | |
406 | ||
e172af81 FF |
407 | Fri Nov 15 15:34:18 1996 Fred Fish <fnf@cygnus.com> |
408 | ||
409 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
410 | * procfs.c (wait_fd): Handle EINTR error return from poll | |
411 | by restarting the poll. | |
412 | * defs.h (PIDGET): Define a default version that just | |
413 | returns its argument unchanged. | |
414 | * inflow.c (terminal_init_inferior): Eliminate #ifdef | |
415 | of PIDGET and fold both alternatives into common code. | |
416 | (pass_signal): Use PIDGET for pid passed to kill(). | |
417 | ||
9ef5835a MM |
418 | Thu Nov 14 15:54:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
419 | ||
9f7f9710 MM |
420 | * utils.c (paddr,preg): Use a static variable initialized to 32 |
421 | instead of doing addr>>32 to eliminate a warning produced by GCC | |
422 | on 32-bit systems. | |
423 | ||
38012297 | 424 | start-sanitize-d10v |
9ef5835a MM |
425 | * config/d10v/tm-d10v.h (ULONGEST): Define. |
426 | ||
38012297 | 427 | end-sanitize-d10v |
9ef5835a MM |
428 | Tue Nov 12 12:25:27 1996 Jim Wilson <wilson@cygnus.com> |
429 | ||
430 | * c-typeprint.c (cp_type_print_method_args): Pass -1 for show in | |
431 | recursive call to type_print. | |
432 | ||
119dfbb7 JW |
433 | Tue Nov 12 12:18:29 1996 Jim Wilson <wilson@cygnus.com> |
434 | ||
435 | * defs.h (ULONGEST): New macro. | |
436 | * alpha-tdep.c, breakpoint.c, c-exp.y, ch-exp.c, convex-xdep.c, | |
437 | corefile.c, defs.h, f-exp.y, findvar.c, gdbcore.h, m2-exp.y, | |
438 | m88k-tdep.c, printcmd.c, remote-hms.c, remote-mips.c, sparc-tdep.c, | |
439 | valarith.c, valops.c, values.c, config/gould/tm-np1.h, | |
440 | config/mips/tm-mips.h, mswin/prebuilt/gdb/cexptab.c, | |
441 | mswin/prebuilt/gdb/fexptab.c, mswin/prebuilt/gdb/m2exptab.c: | |
442 | Change all occurances of unsigned LONGEST to ULONGEST. | |
443 | ||
444 | * configure.host (mips-sgi-irix6): Add. | |
445 | ||
69992fc8 MS |
446 | Tue Nov 12 12:16:40 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
447 | ||
448 | * sh-tdep.c: Add functionality for target function calls. | |
449 | * config/sh/tm-sh.h: Add support for target function calls. | |
450 | ||
6f3eea2b MS |
451 | start-sanitize-m32r |
452 | Tue Nov 12 12:06:58 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
453 | ||
69992fc8 MS |
454 | * m32r-tdep.c: Add functionality for target function calls. |
455 | * valops.c: Small change to support target function calls. | |
456 | * config/m32r/tm-m32r.h: Add support for target function calls. | |
6f3eea2b MS |
457 | end-sanitize-m32r |
458 | ||
cad9cd60 GN |
459 | Mon Nov 11 17:15:59 1996 Geoffrey Noer <noer@cygnus.com> |
460 | ||
38012297 SS |
461 | * defs.h: Modify Nov 11 12:59:00 change so _MSC_VER is checked |
462 | instead of _WIN32. | |
463 | * win32-nat.c: Fix Nov 11 12:59:00 change (windows.h should | |
cad9cd60 GN |
464 | be included instead of windefs.h for compilers other than |
465 | VC++). | |
38012297 SS |
466 | * mswin/windefs.h: Remove ^Ms and change C++ style comments |
467 | to C style comments. | |
cad9cd60 | 468 | |
57821e0c MA |
469 | Mon Nov 11 14:32:38 1996 Mark Alexander <marka@cygnus.com> |
470 | ||
471 | * utils.c (get_cell): Fix off-by-one bug. | |
472 | * mips-tdep.c (get_frame_pointer, fix_sign_extension): | |
473 | New functions to consolidate common code. | |
474 | (mips_frame_chain, init_extra_frame_info): Use new functions | |
475 | to fix problems with backtrace and finish commands on ddb board. | |
28444bf3 DP |
476 | |
477 | Mon Nov 11 12:59:00 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
478 | ||
479 | * mips-tdep.c, remote-mips.c, values.c, mdebugread.c, | |
480 | config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support. | |
38012297 | 481 | * defs.h: Cleanup; add prototypes. |
28444bf3 DP |
482 | * corefile.c: Change FIXME #ifdef |
483 | * win32-nat.c: Include windefs instead of windows.h. | |
484 | * utils.c: Add routines for printing addresses and registers | |
485 | based on type size. | |
486 | ||
074d813d PS |
487 | Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
488 | ||
489 | * alpha-tdep.c (heuristic_proc_desc): Stop examining the prologue | |
490 | if we encounter a positive stack adjustment. | |
491 | (find_proc_desc): If heuristic_fence_post is non-zero, use | |
492 | heuristic_proc_start to determine the start of a function before | |
493 | calling heuristic_proc_desc. | |
494 | ||
495 | * coffread.c (coff_symtab_read): Change minimal symbol types | |
496 | for C_LABEL symbols from mst_* to mst_file_*. | |
497 | ||
498 | * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. | |
499 | ||
500 | * configure.in: Handle error message from sun3 native ld when | |
501 | configuring HLDFLAGS. | |
502 | * configure: Regenerated with autoconf. | |
503 | ||
504 | * c-valprint.c (c_value_print): Adjust value address by VALUE_OFFSET. | |
505 | * cp-valprint.c (cp_print_value): Prevent gdb crashes by making sure | |
506 | that the virtual base pointer from an user object still points to | |
507 | accessible memory. | |
508 | ||
509 | * dbxread.c (dbx_symfile_init): Initialize sym_stab_info to | |
510 | clear the recently added header_files fields. | |
511 | (dbx_symfile_finish): Free hfiles[i].vector to avoid storage leak. | |
512 | ||
4dc42997 MS |
513 | Fri Nov 8 14:30:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
514 | ||
38012297 SS |
515 | * config/tm-sh.h: Added a missing comma in middle of |
516 | REGISTER_NAMES list. | |
4dc42997 | 517 | |
07997f65 SS |
518 | Fri Nov 8 12:29:51 1996 Stan Shebs <shebs@andros.cygnus.com> |
519 | ||
944257d4 SS |
520 | * monitor.c: Fix some formatting and comments. |
521 | ||
07997f65 SS |
522 | * remote-sim.c (simulator_command): Set up callbacks before |
523 | entering the simulator. | |
524 | ||
81a6f5b2 MH |
525 | start-sanitize-d10v |
526 | Thu Nov 7 15:19:08 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
527 | ||
528 | * d10v-tdep.c: Fix some problems with inferior function calls. | |
529 | * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Change dummy to be | |
530 | a pointer to the dummy's stack instead of just a flag. | |
531 | ||
532 | end-sanitize-d10v | |
e1703d1f MS |
533 | start-sanitize-m32r |
534 | Tue Nov 5 10:21:02 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
535 | ||
536 | * m32r-tdep.c: Improved frame_chain and fn prologue analysis. | |
537 | * config/tm-m32r.h: Add framesize and register to extra_frame_info. | |
538 | end-sanitize-m32r | |
539 | ||
7af1bcd6 SG |
540 | Tue Nov 5 10:08:07 1996 Stu Grossman (grossman@critters.cygnus.com) |
541 | ||
542 | * mswin/gdbwin.h: Remove bogus definition of CORE_ADDR. | |
543 | * mswin/srcwin.cpp (CSrcScroll1::CSrcScroll1): Initialize depth | |
544 | to fix divide-by-zero problem with clicking on source window. | |
545 | ||
237fa47e SG |
546 | Mon Nov 4 00:48:37 1996 Stu Grossman (grossman@critters.cygnus.com) |
547 | ||
9356d50d | 548 | * mswin/recordit: Fix problem with absolute paths. |
237fa47e SG |
549 | * mswin/recordit: Fix problem with relative paths. |
550 | ||
0f6e2984 SG |
551 | Sun Nov 3 18:06:42 1996 Stu Grossman (grossman@critters.cygnus.com) |
552 | ||
553 | * mswin/{Makefile.in configure configure.in}: New files for | |
554 | configuring wingdb under Unix. | |
555 | ||
73b8e6a9 PS |
556 | Sat Nov 2 03:54:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
557 | ||
558 | * irix5-nat.c, osfsolib.c, solib.c (symbol_add_stub): Handle | |
559 | missing or zero-sized .text sections properly. | |
560 | * mdebugread.c: Handle scRConst and scSUndefined storage classes. | |
561 | * stabsread.c (scan_file_globals): Try to resolve symbols | |
562 | for shared libraries from the minimal symbol table of the main | |
563 | executable first. | |
564 | ||
21260fe1 MH |
565 | start-sanitize-d10v |
566 | Fri Nov 1 13:59:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
567 | ||
568 | * d10v-tdep.c, config/d10v/tm-d10v.h: Major fixes to support | |
569 | inferior function calls and proper stack backtracing on D10V-EVA | |
570 | board. | |
571 | ||
572 | end-sanitize-d10v | |
5db7cc25 MM |
573 | Fri Nov 1 10:50:51 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
574 | ||
575 | * config/powerpc/linux.mh (NATDEPFILES): Fix up things so that it | |
576 | links. | |
577 | (GDBSERVER_DEPFILES,TERMCAP): Ditto. | |
578 | ||
579 | * monitor.c (dev_name,targ_ops): Move static variables before | |
580 | first use, to avoid compiler warnings. | |
581 | ||
70ab088d | 582 | start-sanitize-m32r |
8665f3dc MS |
583 | Thu Oct 31 16:37:17 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
584 | ||
585 | * m32r-tdep.c: Improved frame_chain and fn prologue analysis. | |
586 | * configure.tgt: Add entry for m32r target. | |
587 | * monitor.h: Add a flag to tell monitor_store_register to use | |
588 | (val, regno) instead of (regno, val). | |
589 | * monitor.c: Make monitor_store_register honor the above flag. | |
590 | Make monitor_exp ignore DC1/DC3 for m32r. | |
591 | Increase buf size in monitor_dump_regs. | |
592 | ||
70ab088d MS |
593 | Wed Oct 30 18:14:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
594 | ||
595 | * m32r-tdep.c, m32r-rom.c: New files. | |
596 | * config/m32r/m32r.mt: New file. | |
597 | * config/m32r/tm-m32r.h: New file. | |
598 | end-sanitize-m32r | |
599 | ||
ea5c2d66 GN |
600 | Tue Oct 29 16:56:01 1996 Geoffrey Noer <noer@cygnus.com> |
601 | ||
602 | * config/i386/xm-cygwin32.h: | |
603 | * config/powerpc/xm-cygwin32.h: | |
604 | add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly | |
70ab088d | 605 | truncated. |
ea5c2d66 | 606 | |
3f740173 MM |
607 | Tue Oct 29 18:36:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
608 | ||
609 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE): | |
610 | Define. | |
611 | ||
62c0cf24 SS |
612 | Tue Oct 29 14:59:20 1996 Stan Shebs <shebs@andros.cygnus.com> |
613 | ||
614 | * TODO: Add item suggesting an "info bfd" command. | |
615 | ||
19414cdf MH |
616 | start-sanitize-d10v |
617 | Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
618 | ||
619 | * d10v-tdep.c: Snapshot that supports D10V-EVA board. | |
620 | ||
621 | * config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap. | |
622 | (TARGET_READ_FP,TARGET_WRITE_FP): Define. | |
623 | ||
624 | end-sanitize-d10v | |
cb5e6e68 SG |
625 | Mon Oct 28 17:34:24 1996 Stu Grossman (grossman@critters.cygnus.com) |
626 | ||
627 | * mswin/genmakes mswin/recordit: New scripts to generate make | |
628 | files for MSVC. | |
629 | ||
630 | Sun Oct 27 20:18:04 1996 Mark Alexander <marka@cygnus.com> | |
631 | ||
632 | * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}: | |
633 | New files. | |
634 | * configure.tgt: Modify cases for vr5000 to use new files. | |
635 | ||
1cb1b16c PS |
636 | Sat Oct 26 07:15:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
637 | ||
638 | * config/alpha/alpha-osf3.mh (XM_CLIBS): Add -lm for OSF/1-4.0. | |
639 | ||
640 | * procfs.c (proc_set_exec_trap): Under Alpha OSF/1-4.0, tracing | |
641 | the entry to the exit system call to detect termination of the | |
642 | inferior stopped working. Trace termination of the inferior via | |
643 | PRFS_STOPTERM instead. | |
644 | (procfs_init_inferior): Do not trace entry to exit system call | |
645 | if PIOCSSPCACT is defined. | |
646 | (procfs_wait): Handle PR_DEAD event, which signals the termination | |
647 | of the inferior if PRFS_STOPTERM is set. | |
648 | ||
649 | * mdebugread.c (parse_partial_symbols): Ignore stNil section | |
650 | start address symbols. | |
651 | ||
652 | * sparc-tdep.c (get_saved_register): Get saved PC from the | |
653 | frame info if not in innermost frame. | |
654 | ||
655 | Thu Oct 24 10:51:45 1996 Mark Alexander <marka@cygnus.com> | |
656 | ||
657 | * dbxread.c (process_one_symbol): Interpret end-of-function | |
658 | markers correctly; this fixes problem on Vr5000 where all | |
659 | functions in a module had the same address. | |
660 | * configure.in, configure.tgt, configure.host, gdbserver/configure.in: | |
661 | Correct for pc-linux-gnu problem in config.guess. | |
662 | * configure: Regenerate. | |
663 | ||
139e2c0f SG |
664 | Thu Oct 24 10:06:58 1996 Stu Grossman (grossman@critters.cygnus.com) |
665 | ||
666 | * dbxread.c: Don't swap symbols in place, since internal and | |
667 | external forms may have different sizes. Don't assume that an | |
668 | internal_nlist has the same layout as an external_nlist. Create | |
669 | symbol for n_strx element so to hide specifics of nlist from | |
670 | partial-stab.h. | |
671 | * partial-stab.h: Don't reference dbxread symbols directly. Use | |
672 | CUR_SYMBOL_STRX instead. | |
673 | * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP. | |
674 | ||
675 | start-sanitize-v850 | |
676 | * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for | |
677 | MSVC builds. | |
678 | * mswin/gdbwin.c (reg_order): Define register order for V850. | |
679 | * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for | |
680 | V850. | |
681 | * mswin/regdoc.h: Define MAXREGS for V850. | |
682 | end-sanitize-v850 | |
a638512f SG |
683 | start-sanitize-v850 |
684 | Tue Oct 22 16:28:20 1996 Stu Grossman (grossman@critters.cygnus.com) | |
685 | ||
686 | * v850-tdep.c (scan_prologue): Changes to deal with scheduled | |
687 | prologues correctly. First, prologue end is now defined by | |
688 | presence of a branch, jump or call insn. Second, can no longer | |
689 | fix frame offsets because we may not know the offset until after a | |
690 | register has been saved. | |
691 | * (v850_init_extra_frame_info): Fixup frame offsets here because | |
692 | we have all the info at this time. | |
693 | * (v850_frame_chain): Use new calling convention for scan_prologue. | |
694 | ||
695 | end-sanitize-v850 | |
fcabf676 MH |
696 | start-sanitize-d10v |
697 | Tue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
698 | ||
699 | * d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack | |
700 | backtraces and inferior function calls. | |
701 | ||
702 | end-sanitize-d10v | |
5efcbe36 SS |
703 | Tue Oct 22 10:32:46 1996 Stan Shebs <shebs@andros.cygnus.com> |
704 | ||
705 | * mpw-make.sed: Update init.c editing to work with Oct 8 change. | |
706 | (@HLDFLAGS@): Always edit out. | |
707 | ||
d8831024 MA |
708 | Mon Oct 21 18:17:08 1996 Mark Alexander <marka@cygnus.com> |
709 | ||
710 | * mdebugread.c (parse_partial_symbols): Fix 64-bit | |
711 | sign-extension problems in calculating psymtab addresses. | |
712 | * buildsym.c (end_symtab): Use macro to pop context. | |
713 | ||
53845f94 | 714 | start-sanitize-v850 |
23da411a SG |
715 | Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com) |
716 | ||
717 | * v850-tdep.c: Cleanup lots of things. Add many comments. | |
23da411a | 718 | |
53845f94 SG |
719 | * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix |
720 | sign bugs with scanning prologues. Get a little smarter about | |
721 | calculating the length of uninteresting instructions. | |
722 | ||
a638512f | 723 | end-sanitize-v850 |
62dd860e MS |
724 | Mon Oct 21 14:01:38 1996 Michael Snyder <msnyder@cleaver.cygnus.com> |
725 | ||
726 | * top.c: Add new commands "set annotate" and "show annotate". | |
727 | ||
972256e7 PS |
728 | Sun Oct 20 04:38:39 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
729 | ||
730 | * corelow.c (core_close): Clear inferior_pid only if there is | |
731 | an open core_bfd. | |
732 | ||
733 | * cp-valprint.c (cp_print_value_fields): Pass correct address | |
734 | to val_print, not 0. | |
735 | ||
736 | From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de): | |
737 | * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase | |
738 | typedefs before checking for integral type of right operand. | |
739 | ||
91d12e12 MA |
740 | Fri Oct 18 17:26:22 1996 Mark Alexander <marka@cygnus.com> |
741 | ||
742 | * mdebugread.c (parse_symbol): Fix crash when malloc has | |
743 | no type info and void type has no associated pointer type. | |
744 | ||
943e243c SS |
745 | Thu Oct 17 18:18:20 1996 Stan Shebs <shebs@andros.cygnus.com> |
746 | ||
747 | * configure.host: New file, host configuration mapping. | |
748 | * configure.tgt: New file, target configuration mapping. | |
749 | * configure.in: Remove host and target mapping. | |
750 | * configure: Rebuild. | |
751 | ||
93ed453c SS |
752 | Wed Oct 16 17:46:03 1996 Stan Shebs <shebs@andros.cygnus.com> |
753 | ||
754 | * breakpoint.c (must_shift_inst_regs): New global. | |
755 | (bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into | |
756 | equivalent expression uses. | |
757 | * infrun.c (wait_for_inferior): Ditto. | |
758 | ||
687f4e23 SG |
759 | start-sanitize-v850 |
760 | Wed Oct 16 01:53:43 1996 Stu Grossman (grossman@critters.cygnus.com) | |
761 | ||
762 | * v850-tdep.c (v850_push_arguments): Use symbolic names for arg | |
763 | registers. | |
764 | * config/v850/tm-v850.h: Change FP to 29. Define arg regs. | |
765 | ||
766 | end-sanitize-v850 | |
ac954805 SG |
767 | Tue Oct 15 16:30:07 1996 Stu Grossman (grossman@critters.cygnus.com) |
768 | ||
9bf9a318 SG |
769 | * Makefile.in (init.c): Don't use -s option with grep. It means |
770 | something different under Digital Unix. | |
771 | ||
ac954805 SG |
772 | * buildsym.c (finish_block): Treat LOC_BASEREG_ARG and |
773 | LOC_LOCAL_ARG as arguments so that GDB will know about function | |
774 | args declared this way. Mostly affects dwarf. | |
775 | * dwarfread.c (decode_die_type): Change default type from int to | |
776 | void. This allows GDB to recognize void functions. | |
777 | * (new_symbol): If AT_PROTOTYPED is present, set a flag in the | |
778 | type structure. | |
779 | * findvar.c (extract_floating store_floating): Clean up comments | |
780 | to reflect reality. | |
781 | * gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a | |
782 | function has a prototype. Currently, only dwarf supports this. | |
783 | * utils.c (floatformat_from_doublest): Fix logic error with | |
784 | converting from double to float. (It wasn't shifting mant_long if | |
785 | it had a hidden bit.) | |
786 | ||
787 | start-sanitize-v850 | |
788 | * v850-tdep.c: Add support for function calling. Fix some | |
789 | problems with debugging code w/o debug symbols. | |
790 | * config/v850/tm-v850.h: Ditto. | |
687f4e23 | 791 | |
ac954805 | 792 | end-sanitize-v850 |
03e2a8c8 ILT |
793 | Tue Oct 15 18:19:42 1996 Ian Lance Taylor <ian@cygnus.com> |
794 | ||
795 | * utils.c: Always ensure that size_t is defined. Check | |
796 | HAVE_STDDEF_H rather than __STDC__ | |
797 | (xmalloc, xrealloc): Use size_t rather than long. | |
798 | ||
3f3d60c1 MH |
799 | Tue Oct 15 14:24:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
800 | ||
801 | * config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets | |
802 | can use single-step commands. | |
803 | ||
804 | Sun Oct 13 11:38:25 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
805 | ||
806 | * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero, | |
807 | follow typedefs before checking TYPE_CODE for structures and unions. | |
808 | ||
e5a2ac8b SG |
809 | Fri Oct 11 15:43:54 1996 Stu Grossman (grossman@critters.cygnus.com) |
810 | ||
ac954805 SG |
811 | * frame.h: Move definition of struct frame_saved_regs to before |
812 | struct frame to make it possible to use frame_saved_regs in | |
e5a2ac8b SG |
813 | EXTRA_FRAME_INFO macro. |
814 | ||
815 | start-sanitize-v850 | |
816 | * v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and | |
817 | macros to make frame operations (such as backtrace) work. | |
818 | ||
819 | end-sanitize-v850 | |
693e9bf6 FF |
820 | Fri Oct 11 14:23:50 1996 Fred Fish <fnf@cygnus.com> |
821 | ||
822 | * dbxread.c (process_one_symbol): Check for null string directly | |
823 | rather than using strcmp against "". | |
824 | * partial-stab.h: Ditto. | |
825 | ||
913a7c4c MA |
826 | Fri Oct 11 12:18:32 1996 Mark Alexander <marka@cygnus.com> |
827 | ||
828 | * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}: | |
829 | Make it compile on Linux and eliminate some warnings. | |
830 | ||
e96dc1f7 SG |
831 | Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com) |
832 | ||
833 | * Makefile.in (init.c): Fixup final sed script to work around | |
834 | Linux bug with `p' operator. | |
835 | ||
5dad8312 SS |
836 | Wed Oct 9 18:02:48 1996 Stan Shebs <shebs@andros.cygnus.com> |
837 | ||
838 | * remote-mips.c: Use the correct name everywhere (DDB) for NEC's | |
839 | VR4300 target. | |
840 | (ddb_ops, pmon_ops): Fix the documentation strings. | |
841 | ||
5faa6e1e SG |
842 | Wed Oct 9 07:42:44 1996 Stu Grossman (grossman@critters.cygnus.com) |
843 | ||
844 | * Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip | |
845 | filenames with sed instead. | |
846 | ||
99283e87 SG |
847 | Tue Oct 8 15:59:44 1996 Stu Grossman (grossman@critters.cygnus.com) |
848 | ||
849 | * defs.h: Remove decls of xmalloc and xrealloc. There is a | |
850 | conflicting definition in libiberty.h. | |
851 | ||
a7f56d5a FF |
852 | Tue Oct 8 11:47:13 1996 Fred Fish <fnf@cygnus.com> |
853 | ||
854 | * dbxread.c (dbx_symfile_read): Call free_pending_blocks rather | |
855 | than poking global variable (which is now static). | |
856 | * hpread.c (hpread_build_psymtabs): Ditto. | |
857 | * os9kread.c (os9k_symfile_read): Ditto. | |
858 | * xcoffread.c (xcoff_initial_scan): Ditto. | |
859 | ||
860 | * buildsym.h (free_pending_blocks): Declare here. | |
861 | (pending_blocks): Remove declaration of global symbol. | |
862 | (free_pendings): Remove declaration of global symbol. | |
863 | (make_blockvector): Declare here. | |
864 | (record_pending_block): Declare here. | |
865 | ||
866 | * dstread.c (make_blockvector): Remove static copy that was old | |
867 | clone of version in buildsym.c. | |
868 | (process_dst_block): Call record_pending_block rather than doing | |
869 | it by hand. | |
870 | (read_dst_symtab): Ditto. | |
871 | ||
872 | * buildsym.c (make_blockvector): Make global rather than static, | |
873 | (record_pending_block): New function, code moved from finish_block. | |
874 | (finish_block): Use record_pending_block. | |
875 | (free_pending_blocks): New function. | |
876 | (really_free_pendings): Call free_pending_blocks. | |
877 | (pending_blocks): Make static instead of global. | |
878 | (free_pendings): Make static instead of global. | |
879 | ||
5d394f70 SG |
880 | Tue Oct 8 09:03:22 1996 Stu Grossman (grossman@critters.cygnus.com) |
881 | ||
8a5c77a1 SG |
882 | * config/i386/windows.mh config/i386/xm-windows.h:: New config |
883 | files to support building Wingdb (built under Microsoft build | |
884 | environment). | |
885 | ||
5d394f70 SG |
886 | * Makefile.in: Add rule for hpux-thread.o (needs special header |
887 | files). | |
888 | * (SUBDIRS): Remove mswin. | |
889 | * Change procedure for creating init.c. Speeds things up quite a | |
890 | bit. | |
891 | * config.in configure configure.in: Check for select, poll. | |
892 | * Check for OSF header files before including hpux-thread.o. | |
893 | * Don't configure doc or testsuite when building under MSVC. | |
894 | * findvar.c value.h (read_register_pid write_register_pid): Make | |
895 | global. Needed for hppa-tdep.c. | |
896 | * (supply_register): Don't set pid to inferior_pid when supplying | |
897 | registers. | |
898 | * hppa-tdep.c (saved_pc_after_call): frame_saved_pc -> | |
899 | FRAME_SAVED_PC. | |
900 | * (frame_saved_pc): Change name to hppa_frame_saved_pc. | |
901 | * (hppa_pop_frame): Don't use a pid of 0 with target_write_pc. | |
902 | Use write_pc instead, which uses the correct pid. | |
903 | * (target_read_pc target_write_pc): Use read/write_register_pid | |
904 | instead of read/write_register to preserve the pid passed in. | |
905 | * inftarg.c (child_can_run): Add flag child_suppress_run to allow | |
906 | hpux-threads.c to override this as a runnable target. | |
907 | * config/pa/nm-hppah.h: Define target_new_objfile and | |
908 | target_pid_to_str. | |
909 | * config/pa/tm-hppa.h (FRAME_SAVED_PC): Use hppa_frame_saved_pc | |
910 | instead of frame_saved_pc. | |
911 | * config/m68k/tm-m68k.h: Define TARGET_M68K for Wingdb. | |
912 | * config/m68k/tm-monitor.h: Use FRAME_CHAIN_VALID_ALTERNATE, since | |
913 | we can't easily determine the start file bounds with ELF. | |
914 | * config/mips/tm-mips.h: Define TARGET_MIPS for Wingdb. | |
915 | * hpux-thread.c: New file for HPUX/OSF thread support. | |
916 | * osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h | |
917 | RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h | |
918 | cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h | |
919 | cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h | |
920 | cma_stack_int.h cma_tcb_defs.h cma_util.h}: New files for OSF | |
921 | thread support. | |
922 | ||
73369488 FF |
923 | Sun Oct 6 15:48:09 1996 Fred Fish <fnf@cygnus.com> |
924 | ||
925 | * buildsym.c (finish_block): Change innerblock_anon_complaint to | |
926 | print the addresses as part of the complaint. Add a complaint for | |
927 | cases where the block end address is smaller than the block start | |
928 | address, in case any such conditions slip through our fixup mechanism. | |
929 | * symmisc.c (dump_symtab): Only print blockvector for primary | |
930 | symtabs, to avoid massive duplication of output due to secondary | |
931 | symtabs that point to same blockvector. Also do some minor | |
932 | formatting tweaks. | |
933 | ||
7f8da359 PB |
934 | Mon Oct 7 10:42:32 1996 Per Bothner <bothner@deneb.cygnus.com> |
935 | ||
936 | Replace header_files global by per-objfile field. | |
937 | * gdb-stabs.h (struct dbx_symfile_info): Add fields header_files, | |
938 | n_header_files, n_allocated_header_files. | |
939 | * stabsread.h (header_files, n_header_files, n_allocated_header_files): | |
940 | Replace externs by macros HEADER_FILES, N_HEADER_FILES, and | |
941 | N_ALLOCATED_HEADER_FILES. | |
942 | * dbxread.c (dbx_symfile_finish): Free HEADER_FILES. | |
943 | (free_header_files, init_header-files): Don't free/init headerfiles. | |
944 | (various functions): Use macros instead of header_files globals. | |
945 | * stabsread.c (various functions): Likewise. | |
946 | ||
e61a754e JM |
947 | Sun Oct 6 22:43:06 1996 Jason Merrill <jason@yorick.cygnus.com> |
948 | ||
949 | * dwarf2read.c (read_tag_reference_type): New fn. | |
950 | (read_type_die): Call it. | |
951 | (dwarf_attr): Also look in the DIEs referred to by specification | |
952 | or abstract_origin attributes. | |
953 | ||
5bb23a95 FF |
954 | Wed Oct 2 22:07:16 1996 Fred Fish <fnf@cygnus.com> |
955 | ||
956 | * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and | |
957 | SIGTRAMP_END. | |
958 | * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END): | |
959 | Define with dummy pc arg. | |
960 | * config/m68k/tm-nbsd.h: Ditto. | |
961 | * doc/gdbint.texinfo: Document that SIGTRAMP_START and | |
962 | SIGTRAMP_END are macros that take an single argument. | |
963 | ||
b51843d8 FF |
964 | Mon Sep 30 20:02:45 1996 Fred Fish <fnf@cygnus.com> |
965 | ||
966 | * defs.h: Remove define of PRIVATE_XMALLOC. | |
967 | ||
b51843d8 FF |
968 | start-sanitize-v850 |
969 | Mon Sep 30 15:39:28 1996 Stu Grossman (grossman@critters.cygnus.com) | |
970 | ||
971 | * config/v850/tm-v850.h: Use distinct register for PC, not EIPC. | |
972 | ||
973 | end-sanitize-v850 | |
e20c36ba JL |
974 | Mon Sep 30 11:16:34 1996 Jeffrey A Law (law@cygnus.com) |
975 | ||
976 | * top.c (execute_control_command): Free values from while_control | |
977 | and if_control conditions after evaluation to avoid storage leaks. | |
978 | From Peter Schauer. | |
979 | ||
e2810631 SG |
980 | start-sanitize-v850 |
981 | Fri Sep 27 17:43:06 1996 Stu Grossman (grossman@critters.cygnus.com) | |
982 | ||
1fa83dcd | 983 | * configure configure.in: Recognize v850 target. |
e2810631 SG |
984 | * v850-tdep.c: New file, NEC V850 target support. |
985 | * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support. | |
986 | ||
987 | end-sanitize-v850 | |
be23e5a4 PS |
988 | Fri Sep 27 14:48:15 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
989 | ||
990 | * infrun.c (wait_for_inferior): Update current_line and | |
991 | current_symtab when stepping continues in the middle of a new line. | |
992 | ||
50140ab2 FF |
993 | Fri Sep 27 10:25:30 1996 Fred Fish <fnf@cygnus.com> |
994 | ||
995 | * top.c (print_gdb_version): Rewrote to comply with new GNU coding | |
996 | standards for the --version option. | |
997 | (print_gnu_advertisement): Remove, now part of print_gdb_version. | |
998 | (show_version): Remove call to print_gnu_advertisement. | |
999 | * top.h (print_gnu_advertisement): Remove prototype. | |
1000 | * main.c (print_gdb_help): Move help to static function and | |
1001 | add prototype. | |
1002 | (main): Call print_gdb_help rather than inlining it. | |
1003 | (main): Remove call to print_gnu_advertisement. | |
1004 | start-sanitize-gdbtk | |
1005 | * gdbtk.tcl (create_copyright_window): Increase timeout from | |
1006 | 15 seconds to 30 seconds. | |
1007 | end-sanitize-gdbtk | |
1008 | ||
d266afa9 MM |
1009 | start-sanitize-d10v |
1010 | Fri Sep 27 13:32:53 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1011 | ||
1012 | * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define. | |
fb0097a0 | 1013 | (TARGET_{,LONG_}DOUBLE_BIT): Ditto. |
d266afa9 MM |
1014 | |
1015 | end-sanitize-d10v | |
54225fd0 MA |
1016 | Thu Sep 26 23:10:26 1996 Mark Alexander <marka@cygnus.com> |
1017 | ||
1018 | * configure.in, config/i386/tm-linux.h: Fix configure | |
1019 | problem on older Linux systems that prevented core files | |
1020 | from being recognized. | |
1021 | ||
1022 | Wed Sep 25 18:31:33 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1023 | ||
1024 | * dbug-rom.c: New file, support for Motorola's dBUG monitor. | |
1025 | * config/m68k/monitor.mt (TDEPFILES): Add it. | |
1026 | * NEWS: Mention it. | |
1027 | ||
1028 | start-sanitize-d10v | |
1029 | Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1030 | ||
1031 | * config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed. | |
1032 | Now single-steps correctly. | |
1033 | * d10v-tdep.c (d10v_pop_frame): Fixed. | |
1034 | ||
1035 | end-sanitize-d10v | |
12ffa10c SS |
1036 | Fri Sep 20 16:10:58 1996 Stan Shebs <shebs@andros.cygnus.com> |
1037 | ||
1038 | * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to | |
1039 | be consistent with GCC. | |
1040 | (FPUL_REGNUM, etc): Renumber to match list changes. | |
1041 | (ADDR_BITS_REMOVE): Delete. | |
1042 | * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names): | |
1043 | Rearrange to match REGISTER_NAMES. | |
1044 | * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto. | |
1045 | ||
e05bda9f | 1046 | start-sanitize-d10v |
81dc176f MH |
1047 | Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
1048 | ||
1049 | * d10v-tdep.c: Stack chain should work now. | |
1050 | ||
e05bda9f MH |
1051 | Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
1052 | ||
1053 | * d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot. | |
1054 | ||
1055 | end-sanitize-d10v | |
88907d73 ILT |
1056 | Tue Sep 17 12:20:50 1996 Ian Lance Taylor <ian@cygnus.com> |
1057 | ||
1058 | * configure.in: Add cases for MIPS 5000 like MIPS 4300. | |
1059 | * configure: Rebuild. | |
1060 | ||
5b59224e DP |
1061 | Tue Sep 17 12:09:00 1996 Dawn Perchik <dawn@critters.cygnus.com> |
1062 | ||
1063 | * ser-e7kpc.c: Added wingdb support for target e7000pc. | |
1064 | ||
1065 | Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk> | |
1066 | ||
5dad8312 | 1067 | * remote-mips.c (pmon_wait): DDB PMON does not require forced |
5b59224e DP |
1068 | re-entry back into debug mode. |
1069 | ||
aeb8f981 JSC |
1070 | Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk> |
1071 | ||
1072 | * remote-mips.c (mips_load): Ensure that the PC is explicitly | |
5dad8312 | 1073 | loaded after a load to a DDB PMON system. |
aeb8f981 | 1074 | |
1d5eb137 FF |
1075 | Fri Sep 13 12:02:39 1996 Fred Fish <fnf@cygnus.com> |
1076 | ||
1077 | * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list. | |
1078 | (HLDENV): Set to @HLDENV@. | |
1079 | (gdb): Prefix link command line with $(HLDENV). | |
1080 | * configure.in: Add support to test for --enable-shared and | |
1081 | generate appropriate values for HLDFLAGS and HLDENV. | |
1082 | * configure: Regenerated with autoconf. | |
1083 | ||
948a9d92 FF |
1084 | Sun Sep 8 15:26:27 1996 Fred Fish <fnf@cygnus.com> |
1085 | ||
1086 | * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype | |
1087 | change for core_read_registers in struct core_fns. | |
1088 | * core-regset.c (fetch_core_registers): Ditto & add prototype. | |
1089 | * core-sol2.c (fetch_core_registers): Ditto & add prototype. | |
1090 | * i386aix-nat.c (fetch_core_registers): Ditto & add prototype. | |
1091 | * i386b-nat.c (fetch_core_registers): Ditto. | |
1092 | * i386mach-nat.c (fetch_core_registers): Ditto & add prototype. | |
1093 | * irix4-nat.c (fetch_core_registers): Ditto. | |
1094 | * irix5-nat.c (fetch_core_registers): Ditto. | |
1095 | * lynx-nat.c (fetch_core_registers): Ditto & add prototype. | |
1096 | * m68knbsd-nat.c (fetch_core_registers): Ditto. | |
1097 | * mips-nat.c (fetch_core_registers): Ditto & add prototype. | |
1098 | * rs6000-nat.c (fetch_core_registers): Ditto. | |
1099 | * sparc-nat.c (fetch_core_registers): Ditto. | |
1100 | * sun3-nat.c (fetch_core_registers): Ditto & add prototype. | |
1101 | * ultra3-nat.c (fetch_core_registers): Ditto & add prototype. | |
1102 | ||
1103 | * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change. | |
1104 | * delta68-nat.c (register_addr): Ditto. | |
1105 | * gdbserver/low-linux.c (register_addr): Ditto. | |
1106 | * gdbserver/low-hppabsd.c (register_addr): Ditto. | |
1107 | * i386m3-nat.c (register_addr): Ditto. | |
1108 | * mips-nat.c (register_addr): Ditto. | |
1109 | * ultra3-nat.c (register_addr): Ditto. | |
1110 | ||
7bd1f0c5 SG |
1111 | Sun Sep 8 15:14:00 1996 Stu Grossman (grossman@critters.cygnus.com) |
1112 | ||
1113 | * blockframe.c (inside_main_func): Cleanup slightly. Move | |
1114 | mainsym def into the block it's used in. | |
1115 | * configure.in configure: Allow NATDEPFILES to be recognized in | |
1116 | .mh files regardless of whitespace. | |
1117 | ||
1118 | * cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to | |
1119 | keep downloads from hanging. | |
1120 | ||
1121 | * remote-wiggler.c: Add support for flash upgrades. | |
1122 | * (wiggler_error): Fix message format. Add new error code. | |
1123 | * (wiggler_write_byets): Error code is hex. Report errors with | |
1124 | proper routine name. | |
1125 | * (wiggler_read_byets): Report errors with proper routine name. | |
1126 | * (get_packet): Add support for new flash commands. | |
1127 | * (wiggler_load): Call clear_symtab_users() to reset things | |
1128 | properly after download. | |
1129 | * (flash_xfer_memory bdm_update_flash_command): New funxtions to | |
1130 | support flash upgrades for Wiggler. | |
1131 | * (_initialize_remote_wiggler): Add `bdm update-flash' command. | |
1132 | ||
94a42c63 GN |
1133 | Fri Sep 6 13:14:13 1996 Geoffrey Noer <noer@cygnus.com> |
1134 | ||
1135 | * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__ | |
1136 | ||
421fafa2 GN |
1137 | Thu Sep 5 17:05:13 1996 Geoffrey Noer <noer@cygnus.com> |
1138 | ||
1139 | * config/i386/cygwin32.mh: | |
1140 | * config/powerpc/cygwin32.mh: build ser-tcp.o for both hosts | |
1141 | ||
9e9358eb PB |
1142 | Thu Sep 5 12:09:13 1996 Per Bothner <bothner@deneb.cygnus.com> |
1143 | ||
1144 | * value.h (COERCE_REF): Fix previous change. | |
1145 | (COERCE_ENUM): Add a check_typedef (this is the real fix). | |
1146 | ||
947ca025 WM |
1147 | Thu Sep 5 03:28:30 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
1148 | ||
1149 | * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a | |
1150 | better check of array boundaries. | |
1151 | ||
5819f35d SG |
1152 | Thu Sep 5 01:29:42 1996 Stu Grossman (grossman@critters.cygnus.com) |
1153 | ||
1154 | * configure: Update aclocal.m4 and re-run autoconf to get correct | |
1155 | defs for BFD stuff. | |
1156 | * remote-wiggler.c (wiggler_error): Error codes are hex. Also, | |
1157 | fix default message generation. | |
1158 | ||
0ca4776e SG |
1159 | Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com) |
1160 | ||
1161 | * Makefile.in: Add mswin to SUBDIRS. Add rules for | |
1162 | mswin/libwingdb.a and remote-wiggler.o. | |
1163 | * breakpoint.c (breakpoint_here_p): Clean up bp enabled test. | |
1164 | * (breakpoint_inserted_here_p): New func, just like | |
1165 | breakpoint_here_p, except it's honest. Honestly. | |
1166 | * breakpoint.h: Proto for above. | |
1167 | start-sanitize-gdbtk | |
1168 | * configure configure.in: Add host *windows* to list of hosts | |
1169 | that don't support GDBtk. | |
1170 | end-sanitize-gdbtk | |
1171 | * configure configure.in: Add mswin to configdirs if host is | |
1172 | i[3456]86-*-windows. | |
1173 | * core-aout.c (fetch_core_registers register_addr) gdbcore.h: | |
1174 | Change all vars that can contain addresses to type CORE_ADDR. | |
1175 | * findvar.c (supply_register): Allow val to be NULL. This means | |
1176 | that regno is unsupported. | |
1177 | * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms | |
1178 | just call pid forms with inferior_pid so that there's only once | |
1179 | place to hack PC's and such. | |
1180 | * infrun.c (proceed): Don't skip breakpoints if user changed PC. | |
1181 | * remote-wiggler.c: New file. Support for BDM interface from | |
1182 | Macraigor Systems. | |
1183 | * serial.c: Enhance serial logging capability. Add hex and octal | |
1184 | output modes (set remotelogbase {hex|octal|ascii}. Also log | |
1185 | breaks, timeouts, errors, and eofs. | |
1186 | * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper | |
1187 | function so that we can log breaks. Don't export serial_logfile | |
1188 | or serial_logfp. | |
1189 | * top.c (execute_command): Don't test for serial_logfp here. | |
1190 | Just call serial_log_comand, and let serial.c sort it out. | |
1191 | * valops.c (value_of_variable): Don't attempt to establish frames | |
1192 | for static and global variables. This makes things work a bit | |
1193 | better if the stack or frame pointer is trashed. | |
1194 | * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o. | |
1195 | * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack | |
1196 | misaligned stacks during function calls. | |
1197 | ||
10d183a0 ILT |
1198 | Wed Sep 4 13:06:26 1996 Ian Lance Taylor <ian@cygnus.com> |
1199 | ||
1200 | * terminal.h: Don't use #elif. | |
1201 | ||
b5865bb2 WM |
1202 | Wed Sep 4 06:49:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
1203 | ||
1204 | * ch-exp.c (parse_tuple_element): Allow (*): for array tuples | |
1205 | if we have a type. | |
1206 | ||
1207 | * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: | |
1208 | check number of args against bounds of array to avoid | |
1209 | memory corruption. | |
1210 | ||
1211 | * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get | |
1212 | a TYPE_CODE_TYPEDEF. | |
1213 | ||
1214 | Fri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk> | |
1215 | ||
5dad8312 SS |
1216 | * remote-mips.c: Provide support for DDBVR4300 target board. |
1217 | (ddb_open, ddb_ops): Added. | |
1218 | (mips_monitor_type): MON_DDB Added. | |
b5865bb2 WM |
1219 | (mips_enter_debug, mips_exit_debug, mips_initialize, |
1220 | mips_fetch_registers, common_breakpoint, mips_load, | |
1221 | _initialize_remote_mips): Updated. | |
1222 | ||
26c543ea MM |
1223 | Thu Aug 29 17:00:18 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1224 | ||
1225 | * nlm/configure.in (i[345]86-*-*): Recognize i686 for pentium pro. | |
1226 | * nlm/configure: Regenerate. | |
1227 | ||
1228 | * gdbserver/configure.in (i[345]86-*-*): Recognize i686 for | |
1229 | pentium pro. | |
26c543ea | 1230 | |
0cf433d9 ILT |
1231 | Wed Aug 28 13:11:15 1996 Ian Lance Taylor <ian@cygnus.com> |
1232 | ||
1233 | * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run | |
1234 | CY_AC_LOAD_TCLCONFIG. | |
1235 | * configure: Rebuild. | |
1236 | ||
1237 | Tue Aug 27 12:40:40 1996 Fred Fish <fnf@cygnus.com> | |
1238 | ||
1239 | * infrun.c (wait_for_inferior): Initialize stop_func_end before calling | |
1240 | find_pc_partial_function. | |
1241 | ||
855f9c58 MM |
1242 | Tue Aug 27 10:17:34 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1243 | ||
1244 | * configure: Regenerate again. | |
1245 | ||
1246 | Tue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com> | |
1247 | ||
1248 | * configure.in: work around host_alias configure bug. | |
1249 | AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL | |
1250 | and second by AC_CANONICAL_SYSTEM). The second clobbers the | |
1251 | previous setting. Circumventing by moving the second check | |
1252 | to before the first. | |
1253 | * configure: regenerated | |
1254 | ||
7b3fa778 MH |
1255 | start-sanitize-d10v |
1256 | Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1257 | ||
1258 | * config/d10v/d10v.mt: New file. | |
1259 | * config/d10v/tm-d10v.h: New file. | |
1260 | * configure.in: New target D10V. | |
1261 | * d10v-tdep.c: New file. | |
1262 | ||
1263 | end-sanitize-d10v | |
94b4f756 FF |
1264 | Sun Aug 25 00:09:47 1996 Fred Fish <fnf@rtl.cygnus.com> |
1265 | ||
1266 | * rs6000-tdep.c: Fix typo in comment. | |
1267 | * valops.c (call_function_by_hand): Set using_gcc to 2 | |
1268 | for code compiled without -g, per comment in code. | |
1269 | * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment. | |
1270 | * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment. | |
1271 | * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment. | |
1272 | * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment. | |
1273 | * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment. | |
1274 | * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1275 | (STACK_ALIGN): Add comment, move to be with other associated | |
1276 | macros, and document. | |
1277 | * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1278 | (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. | |
1279 | * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1280 | * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely, | |
1281 | handled by PUSH_ARGUMENTS. | |
1282 | (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1283 | ||
1284 | Fri Aug 23 13:55:05 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
1285 | ||
1286 | * infrun.c (wait_for_inferior): Try to reenable shared library | |
1287 | breakpoints even if auto_solib_load is not set. | |
1288 | ||
26b3dc44 | 1289 | Fri Aug 23 00:44:57 1996 Fred Fish <fnf@cygnus.com> |
fe58c81f FF |
1290 | |
1291 | * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and | |
1292 | gracefully degrade to using command line interface if none is | |
1293 | found. | |
1294 | ||
26b3dc44 | 1295 | Wed Aug 21 16:31:27 1996 Fred Fish <fnf@cygnus.com> |
d538f9cf FF |
1296 | |
1297 | * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as | |
1298 | PRINTF_HAS_LONG_LONG. | |
1299 | * expprint.c (dump_expression): Ditto. | |
1300 | * configure.in: Fix check for long long support in compiler to | |
1301 | use a function body, not a nested function. | |
1302 | * configure: Rebuild with autoconf. | |
1303 | ||
fef1696f ILT |
1304 | Tue Aug 20 17:59:42 1996 Ian Lance Taylor <ian@cygnus.com> |
1305 | ||
1306 | * aclocal.m4: Include ../bfd/aclocal.m4. | |
1307 | * configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call | |
1308 | BFD_NEED_DECLARATION on malloc, realloc, and free. | |
1309 | * acconfig.h: Add NEED_DECLARATION_MALLOC, | |
1310 | NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE. | |
1311 | * configure, config.in: Rebuild. | |
1312 | * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H | |
1313 | rather than __STDC__. Only declare malloc, realloc, and free if | |
1314 | NEED_DECLARATION_* is defined. | |
1315 | ||
26b3dc44 | 1316 | Tue Aug 20 15:37:03 1996 Fred Fish <fnf@cygnus.com> |
dbc4eefc FF |
1317 | |
1318 | * solib.c (_initialize_solib): Add missing '\' chars at ends of | |
1319 | strings that continue on next line. | |
1320 | (enable_break): Replace "return 0" with setting success to zero | |
1321 | and letting normal return handle the return. | |
1322 | ||
1323 | Sat Aug 17 14:16:23 1996 Fred Fish <fnf@cygnus.com> | |
1324 | ||
1325 | * mips-tdep.c (mips_push_arguments): Make sure sp and struct_addr | |
1326 | are properly aligned. | |
1327 | ||
2f163bc3 SS |
1328 | Fri Aug 16 17:54:26 1996 Stan Shebs <shebs@andros.cygnus.com> |
1329 | ||
1330 | * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments. | |
1331 | * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments | |
1332 | to function, declare function correctly. | |
1333 | ||
68fc375e DP |
1334 | Fri Aug 16 17:24:35 1996 Dawn Perchik <dawn@critters.cygnus.com> |
1335 | ||
1336 | * symtab.h: changed namespace to _namespace for compiling under | |
1337 | MFC v4.0. | |
1338 | ||
b208ff3b SS |
1339 | Fri Aug 16 13:52:21 1996 Stan Shebs <shebs@andros.cygnus.com> |
1340 | ||
1341 | * mpw-make.sed: Update for various recent changes, add some | |
1342 | comments. | |
1343 | start-sanitize-gm | |
1344 | * mpw-config.in: Fix name of Magic Cap-specific file. | |
1345 | end-sanitize-gm | |
1346 | ||
b597998a MM |
1347 | Fri Aug 16 15:47:36 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
1348 | ||
1349 | * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Cast args to be an | |
1350 | integer for type correctness. | |
1351 | ||
4caa1158 JSC |
1352 | Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk> |
1353 | ||
1354 | * config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when | |
1355 | simulator is included. | |
1356 | ||
eb17f9d5 FF |
1357 | Thu Aug 15 13:44:13 1996 Fred Fish <fnf@cygnus.com> |
1358 | ||
1359 | * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC | |
1360 | is not defined. | |
1361 | (read_register_pid): Only needed when TARGET_READ_PC is not | |
1362 | defined. | |
1363 | * hppa-tdep.c (frame_saved_pc): Remove prototype. | |
1364 | * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is | |
1365 | not defined. | |
1366 | * config/xm-aix4.h (aix_resizewindow): Convert old style decl | |
1367 | to prototype. | |
1368 | * xcoffsolib.c (command.h): Include for needed prototypes. | |
1369 | ||
1370 | Wed Aug 14 17:54:19 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1371 | ||
1372 | * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make | |
1373 | native work. | |
1374 | ||
26b3dc44 | 1375 | Wed Aug 14 02:03:42 1996 Fred Fish <fnf@cygnus.com> |
81a80f32 | 1376 | |
e5718bee FF |
1377 | From Blair MacIntyre <bm@cs.columbia.edu>: |
1378 | * hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather | |
1379 | than SYMBOL_TYPE on msymbols. | |
1380 | * somsolib.c (som_solib_create_inferior_hook): Ditto. | |
1381 | ||
81a80f32 FF |
1382 | * Makefile.in (init.c): Generate with prototypes. |
1383 | ||
1384 | * config/pa/tm-hppa.h (frame_saved_pc): Add prototype. | |
1385 | * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto. | |
1386 | * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto. | |
1387 | (pc_load_segment_name): Ditto. | |
1388 | (pop_frame): Ditto. | |
1389 | (extract_return_value): Ditto. | |
1390 | (is_magic_function_pointer): Ditto. | |
1391 | (push_dummy_frame): Ditto. | |
1392 | (fix_call_dummy): Ditto. | |
1393 | (push_arguments): Ditto. | |
1394 | (skip_trampoline_code): Ditto. | |
1395 | (aix_process_linenos): Ditto. | |
1396 | ||
1397 | * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype. | |
1398 | * config/m68k/tm-es1800.h: Ditto. | |
1399 | * config/m68k/tm-vx68.h: Ditto. | |
1400 | * config/m68k/tm-sun3.h: Ditto. | |
1401 | * config/m68k/tm-m68kv4.h: Ditto. | |
1402 | ||
857dcde8 FF |
1403 | Tue Aug 13 23:04:36 1996 Fred Fish <fnf@cygnus.com> |
1404 | ||
1405 | * config/mips/nm-mips.h (get_longjmp_target): Add prototype. | |
1406 | * config/mips/nm-irix3.h (get_longjmp_target): Add prototype. | |
1407 | * remote-mips.c (mips_read_processor_type): Remove prototype. | |
1408 | * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static. | |
1409 | * irix5-nat.c (fetch_core_registers): Add prototype. | |
1410 | ||
c1d58bcd FF |
1411 | Mon Aug 12 21:23:44 1996 Fred Fish <fnf@cygnus.com> |
1412 | ||
1413 | * remote-pa.c (boot_board): Add dummy params to make type compatible | |
1414 | for passing to add_com. | |
1415 | * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized. | |
1416 | * buildsym.c (compare_line_numbers): Change function to match | |
1417 | prototype and also what qsort expects. | |
1418 | ||
cd21cbc4 MA |
1419 | Mon Aug 12 19:19:00 1996 Mark Alexander <marka@cygnus.com> |
1420 | ||
1421 | * remote.c: Make remote_write_size public. | |
1422 | * sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300 | |
1423 | to prevent packet errors with some versions of CMON. | |
1424 | ||
8501c742 SG |
1425 | Mon Aug 12 16:20:58 1996 Stu Grossman (grossman@critters.cygnus.com) |
1426 | ||
1427 | * defs.h: Define CONST_PTR as blank if compiling with Microsoft | |
1428 | C, else it's `const'. | |
1429 | * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c | |
1430 | scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR | |
1431 | macro instead. | |
1432 | * configure configure.in defs.h: Use AC_C_CONST to figure out if | |
1433 | the compiler supports const. Gets rid of some cruft in defs.h. | |
1434 | * dwarf2read.c: <string.h> -> "gdb_string.h" | |
1435 | * remote-sim.c: Add prototypes. Fix call to gdbsim_kill. | |
1436 | * sparcl-tdep.c (download): Add prototypes to write_routine and | |
1437 | start_routine args. | |
1438 | ||
1439 | * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get | |
1440 | rid of varargs.h Include string.h. | |
1441 | * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f | |
1442 | update): Fix prototypes, fix calls. | |
1443 | * (update): Return value for catch_errors. | |
1444 | * (run_execute_command togdb_command_from_tty togdb_command): | |
1445 | Cleanup catching of errors from calls to execute_command. Also, | |
1446 | dup command string to avoid modifying const strings. | |
1447 | * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead | |
1448 | of NULL when see if b->address isn't set. | |
1449 | * (bi_disable_bpt bi_enable_bpt bi_delete_all | |
1450 | bi_delete_breakpoint): Add arg to calls to update. | |
1451 | * (gui_command): Add prototype. | |
1452 | * (mswin_query): Fix prototype. | |
1453 | * (_initialize_gdbwin): Dup string to avoid modifying const. | |
1454 | * (info_path togdb_get_info_path): Remove const from decls cuz | |
1455 | this can't be const (it points at malloc'ed memory). | |
1456 | * (togdb_searchpath): Remove const from path. Dup string to | |
1457 | avoid modifying const strings. | |
1458 | * rindex -> strrchr. | |
1459 | * (gdbwin_list_symbols): Regexp param is const. | |
1460 | * Fix lots of refs to psymtabs to deref correct pointers. | |
1461 | * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal, | |
1462 | not &sal. | |
1463 | * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path | |
1464 | toget_set_info_path): Fix prototypes to match reality. | |
1465 | * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines | |
1466 | with proper prototypes. | |
1467 | * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args. | |
1468 | * mswin/ser-win32s.c: Fix defs of min and max. | |
1469 | * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be | |
1470 | USHORT. | |
1471 | * (WriteComm16): Change lpBug from LPVOID to LPCSTR. | |
1472 | * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16. | |
1473 | ||
82c6139b SG |
1474 | Sun Aug 11 20:54:16 1996 Stu Grossman (grossman@critters.cygnus.com) |
1475 | ||
1476 | * main.c (main): Make sure command loop is used with cygwin32. | |
1477 | * terminal.h: Allow cygwin32 to use termios.h. | |
1478 | ||
611f046f TT |
1479 | start-sanitize-gdbtk |
1480 | Fri Aug 9 12:32:53 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1481 | ||
1482 | * Makefile.in (LIB_INSTALL_DIR): New macro. | |
1483 | (TCL): Include @TCL_LD_SEARCH_FLAGS@. | |
1484 | ||
1485 | end-sanitize-gdbtk | |
c149559f JL |
1486 | Fri Aug 9 12:42:49 1996 Jeffrey A Law (law@cygnus.com) |
1487 | ||
1488 | * somread.c (som_symtab_read): Handle secondary definition | |
1489 | symbols (aka weak symbols). | |
bb1847ca JL |
1490 | |
1491 | * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko in | |
1492 | last change. | |
1493 | ||
e618c70e SG |
1494 | Thu Aug 8 10:12:36 1996 Stu Grossman (grossman@critters.cygnus.com) |
1495 | ||
8d42089e SG |
1496 | * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ to |
1497 | _WIN32. | |
1498 | ||
e618c70e SG |
1499 | * somread.c: Rearrange order of includes to fix warnings under |
1500 | hpux-10.10. Also don't include sys/file.h. | |
1501 | ||
500992b7 SG |
1502 | Wed Aug 7 21:45:52 1996 Stu Grossman (grossman@critters.cygnus.com) |
1503 | ||
1504 | * dbxread.c: Don't include param.h or sys/file.h. | |
1505 | * (dbx_symfile_read): Determine symfile_relocatable from bfd | |
1506 | flags instead of file extension. Also clean up a little bit. | |
1507 | ||
9e77e83d SG |
1508 | Wed Aug 7 17:18:37 1996 Stu Grossman (grossman@critters.cygnus.com) |
1509 | ||
1510 | * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c | |
1511 | mdebugread.c os9kread.c source.c top.c utils.c: Don't | |
1512 | include param.h or sys/file.h (or unistd.h in some cases). | |
1513 | * defs.h exec.c inflow.c remote-array.c remote-e7000.c | |
1514 | sparcl-tdep.c terminal.h utils.c: Replace all occurances of | |
1515 | __WIN32__, WINGDB, WIN32, etc... with _WIN32. | |
1516 | * main.c: Remove #ifndef WINGDB around option processing. Fix | |
1517 | bug with passing argc==0 and argv==NULL to getopt. | |
1518 | * (main) Remove calls to access() before source_command. Let | |
1519 | soure_command handle access errors. | |
1520 | * maint.c (maintenance_dump_me): #ifdef out for _WIN32. | |
1521 | * symtab.c (operator_chars): Make this global for wingdb. | |
1522 | * top.c (disconnect): #ifdef out for _WIN32. | |
1523 | * (source_command): If got an error and from_tty, then call print | |
1524 | error, else just return quietly. | |
1525 | * utils.c (fatal_dump_core): Can't kill ourselves under windows. | |
1526 | Just exit. | |
1527 | * (pollquit notice_quit): #ifdef out stuff that doesn't exist | |
1528 | under windows. | |
1529 | ||
0d43c8e7 JL |
1530 | Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com) |
1531 | ||
8d038451 JL |
1532 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for |
1533 | structures > 4 bytes in size. | |
1534 | ||
0d43c8e7 JL |
1535 | * valops.c (call_function_by_hand): Handle aligning stacks that |
1536 | grow up correctly. | |
1537 | * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define. | |
1538 | (STACK_ALIGN): Define. | |
1539 | * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte | |
1540 | alignment on structs/unions. | |
1541 | ||
769d0c90 FF |
1542 | Sun Aug 4 16:22:42 1996 Fred Fish <fnf@cygnus.com> |
1543 | ||
1544 | * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *", | |
1545 | which is the documented type under at least AIX 3 and AIX 4. | |
1546 | ||
6b24a9f6 FF |
1547 | Sat Aug 3 04:02:46 1996 Fred Fish <fnf@cygnus.com> |
1548 | ||
1549 | * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to | |
1550 | xm-alphaosf.h. | |
38eee4a9 FF |
1551 | (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency |
1552 | checks. | |
6b24a9f6 | 1553 | |
047465fd TT |
1554 | start-sanitize-gdbtk |
1555 | Thu Aug 1 20:35:01 1996 Tom Tromey <tromey@creche.cygnus.com> | |
1556 | ||
1557 | * gdbtk.c (mainWindow): Deleted. | |
1558 | (cleanup_init): Don't destroy main window. | |
1559 | (gdbtk_init): Main window now created by Tk_Init. | |
1560 | ||
1561 | * configure.in: Most X checks now handled automatically by Tk. | |
1562 | Use new macros to find Tcl/Tk. | |
1563 | * aclocal.m4: New version for new Tcl/Tk; from Don Libes. | |
1564 | * config.in, configure: Regenerated. | |
1565 | ||
1566 | * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS, | |
1567 | X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk. | |
1568 | ||
1569 | end-sanitize-gdbtk | |
8efb8079 FF |
1570 | Thu Aug 1 10:11:34 1996 Fred Fish <fnf@cygnus.com> |
1571 | ||
1572 | * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in | |
1573 | this, define when contents are included. | |
1574 | (mips_read_processor_type): Add prototype. | |
1575 | * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h | |
1576 | * mdebugread.c (ecoff_relocate_efi): Add prototype. | |
1577 | (fixup_sigtramp): Only needed when TM_MIPS_H is defined. | |
1578 | ||
e822a3db JM |
1579 | start-sanitize-gdbtk |
1580 | Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
1581 | ||
1582 | * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir). | |
1583 | ||
1584 | end-sanitize-gdbtk | |
a95d92fa FF |
1585 | Wed Jul 31 20:21:24 1996 Fred Fish <fnf@cygnus.com> |
1586 | ||
1587 | * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value. | |
1588 | (vmap_ldinfo): Ensure got_exec_file is not used uninitialized. | |
1589 | (fetch_core_registers): Add prototype. | |
1590 | (vmap_symtab): Ditto. | |
1591 | (objfile_symbol_add): Ditto. | |
1592 | (add_vmap): Ditto. | |
1593 | (vmap_ldinfo): Ditto. | |
1594 | (vmap_exec): Ditto. | |
1595 | ||
cb74cc24 SS |
1596 | Tue Jul 30 17:57:46 1996 Stan Shebs <shebs@andros.cygnus.com> |
1597 | ||
1598 | * stabsread.c (get_substring): Declare second arg as int. | |
1599 | ||
1600 | * remote-es.c: Include gdb_string.h after defs.h. | |
1601 | ||
80f600a4 FF |
1602 | Mon Jul 29 21:13:20 1996 Fred Fish <fnf@cygnus.com> |
1603 | ||
368f1e77 FF |
1604 | * rs6000-tdep.c (push_arguments): Remove unused variable "pc". |
1605 | (branch_dest): Remove unused variable "offset". | |
1606 | (pop_dummy_frame): Add prototype and make static. | |
1607 | (push_arguments): Guard against using len uninitialized. | |
1608 | (push_arguments): Guard against using arg uninitialized. | |
1609 | (frame_saved_pc): Remove unused variable "frameless". | |
1610 | (free_loadinfo): Ifdef out unused function. | |
1611 | ||
6e0949ae FF |
1612 | * xcoffread.c (compare_lte): Change prototype and function to |
1613 | be correct type for passing to qsort. | |
1614 | (add_stab_to_list): Ifdef out unused function and prototype. | |
1615 | (compare_lte): Add prototype | |
1616 | (arrange_linetable): Ditto. | |
1617 | (record_include_begin): Ditto. | |
1618 | (record_include_end): Ditto. | |
1619 | (process_linenos): Ditto. | |
1620 | (xcoff_next_symbol_text): Ditto. | |
1621 | (scan_xcoff_symtab): Ditto. | |
1622 | (xcoff_initial_scan): Ditto. | |
1623 | ||
80e0e92a FF |
1624 | * mips-tdep.c (mips_read_processor_type): Add parens around |
1625 | bitwise-and operands in comparison; previous expression always | |
1626 | evaluated to 0 because of equality comparison of two constants. | |
1627 | ||
58b4fad2 FF |
1628 | * rs6000-tdep.c (skip_prologue): Add missing parens around |
1629 | operands of logical-or so that first operand does not bind | |
1630 | to previous logical-and. | |
1631 | ||
80f600a4 FF |
1632 | * configure.in: Expand "long long" test to include code that triggers |
1633 | known problem on HPUX with native compiler. | |
1634 | (configure): Regenerated. | |
1635 | ||
6f359895 JL |
1636 | Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com) |
1637 | ||
1638 | * somsolib.c (som_solib_create_inferior_hook): Don't | |
1639 | warn if __d_pid can't be found. | |
1640 | ||
f2bf454e FF |
1641 | Sun Jul 28 10:46:39 1996 Fred Fish <fnf@cygnus.com> |
1642 | ||
1643 | * config/mips/tm-mips.h (struct frame_info): Forward decl. | |
1644 | (struct type): Ditto. | |
1645 | (struct value): Ditto. | |
1646 | ||
1647 | * config/mips/tm-mips.h (sigtramp_address): Move extern decl | |
1648 | from mips-tdep.c to here. | |
1649 | (sigtramp_end): Ditto. | |
1650 | (fixup_sigtramp): Ditto. | |
1651 | ||
1652 | * config/mips/tm-mips.h (init_extra_frame_info): Add prototype. | |
1653 | (mips_frame_chain): Ditto. | |
1654 | (mips_step_skips_delay): Ditto. | |
1655 | (mips_frame_saved_pc): Ditto. | |
1656 | (mips_find_saved_regs): Ditto. | |
1657 | (mips_frame_num_args): Ditto. | |
1658 | (mips_pop_frame): Ditto. | |
1659 | (mips_extract_return_value): Ditto. | |
1660 | (mips_store_return_value): Ditto. | |
1661 | (mips_push_dummy_frame): Ditto. | |
1662 | (mips_push_arguments): Ditto. | |
1663 | (mips_do_registers_info): Ditto. | |
1664 | (ecoff_relocate_efi): Ditto. | |
1665 | (ecoff_relocate_efi): Ditto. | |
1666 | * irix4-nat.c (fetch_core_registers): Add prototype. | |
1667 | * mips-tdep.c (read_next_frame_reg): Add prototype | |
1668 | (heuristic_proc_start): Ditto. | |
1669 | (heuristic_proc_desc): Ditto. | |
1670 | (mips_print_register): Ditto. | |
1671 | * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype. | |
1672 | (procfs_stopped_by_watchpoint): Ditto. | |
1673 | * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype. | |
1674 | (procfs_stopped_by_watchpoint): Ditto. | |
1675 | * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype. | |
1676 | (struct symbol): Add forward decl for prototype. | |
1677 | ||
1678 | * breakpoint.c (internal_breakpoint_number): Only needed if | |
1679 | GET_LONGJMP_TARGET or SOLIB_ADD is defined. | |
1680 | ||
1681 | * objfiles.c (ecoff_relocate_efi): Remove prototype. | |
1682 | ||
3f550b59 FF |
1683 | Sat Jul 27 17:47:35 1996 Fred Fish <fnf@cygnus.com> |
1684 | ||
1685 | * configure.in: Add test for "long long" support. | |
1686 | * configure: Regenerate with autoconf. | |
1687 | * acconfig.h: Add CC_HAS_LONG_LONG | |
1688 | * config.in: Regenerate with autoheader. | |
1689 | * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove | |
1690 | * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove. | |
1691 | * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove. | |
1692 | * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove. | |
1693 | * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove | |
1694 | (PRINTF_HAS_LONG_LONG): Remove. | |
1695 | (FORCE_LONG_LONG): Remove. | |
1696 | * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version. | |
1697 | * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove | |
1698 | (PRINTF_HAS_LONG_LONG): Remove. | |
1699 | * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove. | |
1700 | (PRINTF_HAS_LONG_LONG): Remove. | |
1701 | * config/pa/tm-hppa.h (GET_FIELD): Put parens around | |
1702 | subtraction inside shift. Put parens around subtraction | |
1703 | in operand of bitwise and. | |
1704 | (struct frame_info): Forward declare | |
1705 | if __STDC__ defined. | |
1706 | (frame_saved_regs): Ditto. | |
1707 | (struct value): Ditto. | |
1708 | (struct type): Ditto. | |
1709 | (struct inferior_status): Ditto. | |
1710 | (init_extra_frame_info): Add prototype. | |
1711 | (skip_prologue): Ditto. | |
1712 | (frameless_function_invocation): Ditto. | |
1713 | (frame_chain): Ditto. | |
1714 | (frame_chain_valid): Ditto. | |
1715 | (saved_pc_after_call): Ditto. | |
1716 | (hppa_fix_call_dummy): Ditto. | |
1717 | (hppa_push_arguments): Ditto. | |
1718 | (pa_do_registers_info): Ditto. | |
1719 | (in_solib_call_trampoline): Ditto. | |
1720 | (in_solib_return_trampoline): Ditto. | |
1721 | (push_dummy_frame): Ditto. | |
1722 | * convex-tdep.c (decout): Use print_longest rather than | |
1723 | fprintf_filtered. | |
1724 | * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set | |
1725 | CC_HAS_LONG_LONG. | |
1726 | (INT_MIN): Fix so it works correctly when assigned to a long long. | |
1727 | * valprint.c (longest_to_int): Rewrite to remove dependence | |
1728 | on INT_MIN and INT_MAX. | |
1729 | (print_longest): Rewrite the code that falls back to synthesized | |
1730 | hex output when LONGEST value is not representable as in a long and | |
1731 | printf doesn't support printing long longs. | |
1732 | * ch-valprint.c (chill_val_print): Cast 2nd arg of | |
1733 | chill_print_type_scalar to LONGEST. | |
1734 | chill_print_type_scalar): Make static and add prototype. | |
1735 | * hppa-tdep.c (get_field): Ifdef out unused function. | |
1736 | (set_field): Ditto. | |
1737 | (extract_3): Ditto. | |
1738 | (extract_5_store): Ditto. | |
1739 | (extract_11): Ditto. | |
1740 | (extract_12): Ditto. | |
1741 | (deposit_17): Ditto. | |
1742 | (extract_14): Convert to static and add prototype. | |
1743 | (deposit_14): Ditto. | |
1744 | (extract_21): Ditto. | |
1745 | (deposit_21): Ditto. | |
1746 | (extract_17): Ditto. | |
1747 | (extract_5r_store): Ditto. | |
1748 | (extract_5R_store): Ditto. | |
1749 | (extract_5_load): Ditto. | |
1750 | (find_proc_framesize): Ditto. | |
1751 | (find_dummy_frame_regs): Ditto. | |
1752 | (sign_extend): Ditto. | |
1753 | (find_unwind_entry): Add prototype. | |
1754 | (find_return_regnum): Ditto. | |
1755 | (unwind_command): Ditto. | |
1756 | (find_dummy_frame_regs): Add parens around subtraction in operand | |
1757 | of bitwise-and. | |
1758 | (skip_prologue): Add parens around operands of logical-and inside | |
1759 | operand of logical-or. | |
1760 | (sign_extend): Add parens around operands of subtraction inside | |
1761 | operand of shift. | |
1762 | (low_sign_extend): Ditto. | |
1763 | * top.c (filename_completer): Convert old style decl of | |
1764 | filename_completion_function into prototype. | |
1765 | * f-lang.c (patch_common_entries): Ifdef out unused function. | |
1766 | * stabsread.c (read_cfront_baseclasses): Remove unused local | |
1767 | variable "msg_noterm". | |
1768 | (resolve_cfront_continuation): Remove unused local variable "fip". | |
1769 | (read_type): Remove unused variable xtypenums. | |
1770 | (read_cfront_static_fields): Remove unused variable "i". | |
1771 | (read_cfront_static_fields): Remove unused variable "nfields". | |
1772 | (read_cfront_member_functions): Add missing comment terminator. | |
1773 | (read_cfront_static_fields): Return 1 rather than random value. | |
1774 | (read_cfront_baseclasses): Ditto. | |
1775 | (read_cfront_baseclasses): Ditto. | |
1776 | (read_cfront_baseclasses): Ditto. | |
1777 | * somsolib.c (som_solib_create_inferior_hook): Remove unused | |
1778 | variable "u". | |
1779 | (som_solib_create_inferior_hook): Remove unused variable | |
1780 | shadow_contents. | |
1781 | (language.h): Add for needed prototypes. | |
1782 | (som_solib_sharedlibrary_command): Add prototype. | |
1783 | * hpread.c: (hpread_read_array_type): Add prototype. | |
1784 | * somread.c (hpread_build_pysmtabs): Add prototype. | |
1785 | (hpread_symfile_finish): Ditto. | |
1786 | (hpread_symfile_init): Ditto. | |
1787 | * hppah-nat.c (fetch_register): Convert old style decl | |
1788 | to prototype. | |
1789 | (gdbcore.h): Include for needed prototypes. | |
1790 | (fetch_register): Remove unused variable "mess". | |
1791 | * remote-pa.c (get_offsets): Ifdef out unused function. | |
1792 | (remote_start_remote): Remove unused variable "timeout". | |
1793 | (boot_board): Add prototype. | |
1794 | (reaad_frame): Add prototype. | |
1795 | (getpkt): Remove unused variable "bp". | |
1796 | (remote_kill): Add prototype. | |
1797 | (remote_mourn): Add prototype. | |
1798 | (remote_insert_breakpoint): Add prototype. | |
1799 | (remote_remove_breakpoint): Add prototype. | |
1800 | * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined. | |
1801 | * infcmd.c (do_registers_info): Only need prototype if | |
1802 | DO_REGISTERS_INFO is not defined. | |
1803 | (breakpoint_auto_delete_contents): Only need if | |
1804 | CALL_DUMMY_BREAKPOINT_OFFSET is defined. | |
1805 | ||
68aadb90 FF |
1806 | Sat Jul 27 08:49:49 1996 Fred Fish <fnf@cygnus.com> |
1807 | ||
1808 | * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter. | |
1809 | (END_PSYMTAB): Ditto. | |
1810 | (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set. | |
1811 | ||
caeec767 ILT |
1812 | Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com> |
1813 | ||
1814 | * printcmd.c (_initialize_printcmd): Initialize | |
1815 | tm_print_insn_info.flavour. | |
cb74cc24 | 1816 | start-sanitize-gdbtk |
caeec767 | 1817 | * gdbtk.c (gdb_disassemble): Initialize di.flavour. |
cb74cc24 | 1818 | end-sanitize-gdbtk |
caeec767 | 1819 | |
b607efe7 FF |
1820 | Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> |
1821 | ||
1822 | * Makefile.in (scm-valprint.o): Depends upon gdbcore_h. | |
1823 | (arm-tdep.o): Ditto. | |
1824 | (dcache.o): Ditto. | |
1825 | (i386ly-tdep.o): Ditto. | |
1826 | (i960-tdep.o): Ditto. | |
1827 | (m68k-tdep.o): Ditto. | |
1828 | (nindy-tdep.o): Ditto. | |
1829 | (scm-lang.o): Ditto. | |
1830 | (w65-tdep.o): Ditto. | |
1831 | (z8k-tdep.o): Ditto. | |
1832 | (m68k-tdep.o): Depends upon value_h and gdb_string.h | |
1833 | (m2-valprint.o): Depends upon m2-lang.h. | |
1834 | (sparc-tdep.o): Depends upon gdb_string.h | |
1835 | (valprint.o): Depends upon valprint.h | |
1836 | ||
1837 | * remote-e7000.c (notice_quit): Remove prototype. | |
1838 | * top.c (initialize_targets): Remove prototype, now in target.h. | |
1839 | * stabsread.c (resolve_cfront_continuation): Remove prototype. | |
1840 | * dbxread.c (resolve_cfront_continuation): Remove prototype. | |
1841 | * symfile.h (set_demangling_style): Remove prototype. | |
1842 | * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h. | |
1843 | * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in | |
1844 | target.h. | |
1845 | * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls, | |
1846 | now in target.h. | |
1847 | * ser-unix.c (hardwire_restore): Remove obsolete prototype. | |
1848 | * sparc-tdep.c (single_step): Remove forward decl of isbranch. | |
1849 | * scm-lang.c (find_function_in_inferior): Remove prototype. | |
1850 | (value_allocate_space_in_inferior): Ditto. | |
1851 | * infrun.c (write_pc_pid): Remove prototype, now in inferior.h. | |
1852 | * defs.h (strchr): Remove declarations, they are declared in | |
1853 | gdb_string.h also. | |
1854 | (strrchr): Ditto. | |
1855 | (strstr): Ditto. | |
1856 | (strtok): Ditto. | |
1857 | (strerror): Ditto. | |
1858 | * f-valprint.c (f77_print_array_1): Remove extra arg that was being | |
1859 | passed to f77_print_array_1. | |
b607efe7 FF |
1860 | * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr. |
1861 | * scm-exp.c (scm_istr2int): Remove unused variable "j". | |
1862 | (scm_parse): Remove unused variable "str". | |
1863 | * hp300ux-nat.c (store_inferior_register): Remove unused variable | |
1864 | "buf". | |
1865 | (store_inferior_registers): Remove unnecessary decl "registers". | |
1866 | * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi". | |
1867 | * scm-lang.c (scm_get_field): Remove unused variable "val". | |
1868 | (scm_lookup_name): Remove unused variable "symval". | |
1869 | * objfiles.c (map_to_file): Remove unused local variable "tempfd". | |
1870 | * procfs.c (do_attach, do_detach): Remove unused variable "result". | |
1871 | (last_resume_pid): Remove unused static variable. | |
1872 | * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable | |
1873 | "res". | |
1874 | * objfiles.c (map_to_address): Remove unused function. | |
1875 | * f-valprint.c (print_max): Remove extraneous extern decl, | |
1876 | in valprint.h. | |
1877 | (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h. | |
1878 | * ch-exp.c (write_lower_upper_value): Remove prototype for | |
1879 | type_lower_upper. | |
1880 | ||
1881 | * gdbtypes.c (cfront_mangle_name): #ifdef out unused function. | |
1882 | * ch-exp.c (parse_mode_call): Ditto. | |
1883 | * f-valprint.c (there_is_a_visible_common_named): Ditto. | |
1884 | * f-lang.c (clear_function_list): Ditto. | |
1885 | (get_bf_for_fcn): Ditto. | |
1886 | (clear_bf_list): Ditto. | |
1887 | (add_common_block): Ditto. | |
1888 | (patch_all_commons_by_name): Ditto. | |
1889 | (find_first_common_named): Ditto. | |
1890 | (add_common_entry): Ditto. | |
1891 | (allocate_saved_function_node): Ditto. | |
1892 | (allocate_saved_bf_node): Ditto. | |
1893 | (allocate_common_entry_node): Ditto. | |
1894 | (allocate_saved_f77_common_node): Ditto. | |
1895 | ||
1896 | * arm-tdep.c (gdbcore.h): Include for necessary prototypes. | |
1897 | * dcache.c (gdbcore.h): Ditto. | |
1898 | * i386ly-tdep.c (gdbcore.h): Ditto. | |
1899 | * i960-tdep.c (gdbcore.h): Ditto. | |
1900 | * m2-valprint.c (m2-lang.h): Ditto. | |
1901 | * m68k-tdep.c (gdbcore.h): Ditto. | |
1902 | (value.h): Ditto. | |
1903 | (gdb_string.h): Ditto. | |
1904 | * nindy-tdep.c (gdbcore.h): Ditto. | |
1905 | * scm-lang.c (gdbcore.h): Ditto. | |
1906 | * scm-valprint.c (gdbcore.h): Ditto. | |
1907 | * w65-tdep.c (gdbcore.h): Ditto. | |
1908 | * z8k-tdep.c (gdbcore.h): Ditto. | |
1909 | * sparc-tdep.c (gdb_string.h): Include. | |
1910 | * valprint.c (valprint.h): Include. | |
1911 | ||
1912 | * config/xm-lynx.h: Remove part of comment about INT_MIN | |
1913 | redefined warnings from defs.h, since INT_MIN define in | |
1914 | defs.h is now protected by #ifndef INT_MIN. | |
1915 | * config/i386/xm-i386bsd.h: Ditto. | |
1916 | * config/m68k/xm-hp300bsd.h: Ditto. | |
1917 | * config/m68k/xm-news.h: Ditto. | |
1918 | ||
1919 | * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN | |
1920 | definition as 0x80000000. The macro in defs.h is better. | |
1921 | * config/i386/xm-i386m3.h (INT_MIN): Ditto. | |
1922 | * config/i386/xm-i386mach.h (INT_MIN): Ditto. | |
1923 | * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto. | |
1924 | * config/pa/xm-hppab.h: Ditto. | |
1925 | ||
1926 | * core-aout.c (fetch_core_registers): Add prototype. | |
1927 | * hp300ux-nat.c (fetch_inferior_register): Ditto. | |
1928 | (store_inferior_register_1): Ditto. | |
1929 | (store_inferior_register): Ditto. | |
1930 | * config/m68k/tm-m68k.h (find_saved_regs): Ditto. | |
1931 | *scm-valprint.c (c_val_print): Ditto. | |
1932 | * procfs.c (add_fd): Ditto. | |
1933 | (remove_fd): Ditto. | |
1934 | (wait_fd): Ditto. | |
1935 | (sigcodename): Ditto. | |
1936 | (sigcodedesc): Ditto. | |
1937 | (procfs_kill_inferior): Ditto. | |
1938 | (procfs_xfer_memory): Ditto. | |
1939 | (procfs_store_registers): Ditto. | |
1940 | (create_procinfo): Ditto. | |
1941 | (procfs_init_inferior): Ditto. | |
1942 | (proc_set_exec_trap): Ditto. | |
1943 | (procfs_attach): Ditto. | |
1944 | (procfs_detach): Ditto. | |
1945 | (procfs_prepare_to_store): Ditto. | |
1946 | (procfs_files_info): Ditto. | |
1947 | (procfs_open): Ditto. | |
1948 | (procfs_wait): Ditto. | |
1949 | (procfs_fetch_registers): Ditto. | |
1950 | (procfs_mourn_inferior): Ditto. | |
1951 | (procfs_can_run): Ditto. | |
1952 | (procfs_thread_alive): Ditto. | |
1953 | (procfs_stop): Ditto. | |
1954 | * alpha-nat.c (fetch_core_registers): Ditto. | |
1955 | * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto. | |
1956 | * objfiles.c (ecoff_relocate_efi): Ditto. | |
1957 | * inflow.c (pass_signal): Ditto. | |
1958 | (handle_sigio): Ditto. | |
1959 | * annotate.c (breakpoint_changed): Ditto. | |
1960 | * callback.c (wrap): Ditto. | |
1961 | (fdbad): Ditto. | |
1962 | (fdmap): Ditto. | |
1963 | * utils.c (malloc_botch): Ditto. | |
1964 | (fputs_maybe_filtered): Ditto. | |
1965 | (vfprintf_maybe_filtered): Ditto. | |
1966 | * defs.h (notice_quit): Ditto. | |
1967 | * defs.h (xmalloc, xrealloc): Ditto. | |
1968 | * top.c (stop_sig): Ditto. | |
1969 | (init_signals): Ditto. | |
1970 | (user_defined_command): Ditto. | |
1971 | (source_cleanup_lines): Ditto. | |
1972 | (dont_repeat_command): Ditto. | |
1973 | (serial_log_command): Ditto. | |
1974 | (disconnect): Ditto. | |
1975 | * target.h (initialize_targets): Ditto. | |
1976 | * os9kread.c (read_minimal_symbols): Ditto. | |
1977 | * mdebugread.c (mdebug_psymtab_to_symtab): Ditto. | |
1978 | (fdr_name): Ditto. | |
1979 | (push_parse_stack): Ditto. | |
1980 | (pop_parse_stack): Ditto. | |
1981 | (is_pending_symbol): Ditto. | |
1982 | (add_pending): Ditto. | |
1983 | * serial.c (serial_logchar): Ditto. | |
1984 | (serial_interface_lookup): Ditto. | |
1985 | * serial.h (serial_log_command): Ditto. | |
1986 | * f-valprint.c (info_common_command): Ditto. | |
1987 | * gdbtypes.h (print_type_scalar): Ditto. | |
1988 | * scm-valprint.c (scm_scmlist_print): Ditto. | |
1989 | (scm_ipruk): Ditto. | |
1990 | * scm-lang.c (scm_printstr): Ditto. | |
1991 | (in_eval_c): Ditto. | |
1992 | (evaluate_subexp_scm): Ditto. | |
1993 | * scm-exp.c (scm_read_token): Ditto. | |
1994 | (scm_skip_ws): Ditto. | |
1995 | (scm_lreadparen): Ditto. | |
1996 | * m2-lang.c (emit_char): Ditto. | |
1997 | (m2_printchar): Ditto. | |
1998 | (m2_printstr): Ditto. | |
1999 | (m2_create_fundamental_type): Ditto. | |
2000 | * f-lang.c (emit_char): Ditto. | |
2001 | (f_printchar): Ditto. | |
2002 | (f_printstr): Ditto. | |
2003 | (f_create_fundamental_type): Ditto. | |
2004 | * ch-lang.c (chill_printchar): Ditto. | |
2005 | (chill_printstr): Ditto. | |
2006 | (chill_create_fundamental_type): Ditto. | |
2007 | (value_chill_length): Ditto. | |
2008 | (value_chill_card): Ditto. | |
2009 | (value_chill_max_min): Ditto. | |
2010 | (evaluate_subexp_chill): Ditto. | |
2011 | * ch-exp.c (PEEK_TOKEN): Ditto. | |
2012 | (peek_token_): Ditto. | |
2013 | (forward_token_): Ditto. | |
2014 | (parse_case_label): Ditto. | |
2015 | (parse_opt_untyped_expr): Ditto. | |
2016 | (parse_unary_call): Ditto. | |
2017 | (parse_call): Ditto. | |
2018 | (parse_named_record_element): Ditto. | |
2019 | (parse_tuple_element): Ditto. | |
2020 | (parse_opt_element_list): Ditto. | |
2021 | (parse_tuple): Ditto. | |
2022 | (parse_primval): Ditto. | |
2023 | (parse_operand6): Ditto. | |
2024 | (parse_operand5): Ditto. | |
2025 | (parse_operand4): Ditto. | |
2026 | (parse_operand3): Ditto. | |
2027 | (parse_operand2): Ditto. | |
2028 | (parse_operand1): Ditto. | |
2029 | (parse_operand0): Ditto. | |
2030 | (parse_expr): Ditto. | |
2031 | (parse_then_alternative): Ditto. | |
2032 | (parse_else_alternative): Ditto. | |
2033 | (parse_if_expression): Ditto. | |
2034 | (parse_untyped_expr): Ditto. | |
2035 | (growbuf_by_size): Ditto. | |
2036 | (match_simple_name_string): Ditto. | |
2037 | (decode_integer_value): Ditto. | |
2038 | (decode_integer_literal): Ditto. | |
2039 | (match_float_literal): Ditto. | |
2040 | (match_float_literal): Ditto. | |
2041 | (match_string_literal): Ditto. | |
2042 | (match_character_literal): Ditto. | |
2043 | (match_integer_literal): Ditto. | |
2044 | (match_bitstring_literal): Ditto. | |
2045 | (write_lower_upper_value): Ditto. | |
2046 | * ch-lang.h (type_lower_upper): Ditto. | |
2047 | * c-lang.c (emit_char): Ditto. | |
2048 | * dwarfread.c (free_utypes): Ditto. | |
2049 | * stabsread.h (resolve_cfront_continuation): Ditto. | |
2050 | * stabsread.c (get_substring): Ditto. | |
2051 | (read_one_struct_field): Ditto. | |
2052 | * stabsread.h (process_later): Ditto. | |
2053 | * demangle.c (set_demangling_command): Ditto. | |
2054 | * defs.h (set_demangling_style): Ditto. | |
2055 | * maint.c (maintenance_info_command): Ditto. | |
2056 | (print_section_table): Ditto. | |
2057 | (maintenance_info_sections): Ditto. | |
2058 | (maintenance_print_command): Ditto. | |
2059 | * symtab.h (maintenance_print_statistics): Ditto. | |
2060 | * objfiles.h (in_plt_section): Ditto. | |
2061 | * objfiles.c (add_to_objfile_sections): Ditto. | |
2062 | * bcache.c (hash): Ditto. | |
2063 | (lookup_cache): Ditto. | |
2064 | * exec.c (bfdsec_to_vmap): Ditto. | |
2065 | (ignore): Ditto. | |
2066 | * f-exp.y (growbuf_by_size, match_string_literal): Ditto. | |
2067 | * language.c (unk_lang_printchar): Ditto. | |
2068 | (unk_lang_printstr): Ditto. | |
2069 | (unk_lang_create_fundamental_type): Ditto. | |
2070 | (unk_lang_print_type): Ditto. | |
2071 | (unk_lang_val_print): Ditto. | |
2072 | (unk_lang_value_print): Ditto. | |
2073 | * target.c (update_current_target): Ditto. | |
2074 | (debug_to_open): Ditto. | |
2075 | (debug_to_close): Ditto. | |
2076 | (debug_to_attach): Ditto. | |
2077 | (debug_to_detach): Ditto. | |
2078 | (debug_to_resume): Ditto. | |
2079 | (debug_to_wait): Ditto. | |
2080 | (debug_to_fetch_registers): Ditto. | |
2081 | (debug_to_store_registers): Ditto. | |
2082 | (debug_to_prepare_to_store): Ditto. | |
2083 | (debug_to_xfer_memory): Ditto. | |
2084 | (debug_to_files_info): Ditto. | |
2085 | (debug_to_insert_breakpoint): Ditto. | |
2086 | (debug_to_remove_breakpoint): Ditto. | |
2087 | (debug_to_terminal_init): Ditto. | |
2088 | (debug_to_terminal_inferior): Ditto. | |
2089 | (debug_to_terminal_ours_for_output): Ditto. | |
2090 | (debug_to_terminal_ours): Ditto. | |
2091 | (debug_to_terminal_info): Ditto. | |
2092 | (debug_to_kill): Ditto. | |
2093 | (debug_to_load): Ditto. | |
2094 | (debug_to_lookup_symbol): Ditto. | |
2095 | (debug_to_create_inferior): Ditto. | |
2096 | (debug_to_mourn_inferior): Ditto. | |
2097 | (debug_to_can_run): Ditto. | |
2098 | (debug_to_notice_signals): Ditto. | |
2099 | (debug_to_thread_alive): Ditto. | |
2100 | (debug_to_stop): Ditto. | |
cb74cc24 | 2101 | start-sanitize-gdbtk |
b607efe7 FF |
2102 | * gdbtk.c (null_routine): Ditto. |
2103 | (gdbtk_flush): Ditto. | |
2104 | (gdbtk_fputs): Ditto. | |
2105 | (gdbtk_query): Ditto. | |
2106 | (gdbtk_readline): Ditto. | |
2107 | (gdbtk_readline_end): Ditto. | |
2108 | (gdb_get_breakpoint_list): Ditto. | |
2109 | (gdb_get_breakpoint_info): Ditto. | |
2110 | (breakpoint_notify): Ditto. | |
2111 | (gdbtk_create_breakpoint): Ditto. | |
2112 | (gdbtk_delete_breakpoint): Ditto. | |
2113 | (gdbtk_modify_breakpoint): Ditto. | |
2114 | (gdb_loc): Ditto. | |
2115 | (gdb_eval): Ditto. | |
2116 | (gdb_sourcelines): Ditto. | |
2117 | (map_arg_registers): Ditto. | |
2118 | (get_register_name): Ditto. | |
2119 | (gdb_regnames): Ditto. | |
2120 | (get_register): Ditto. | |
2121 | (gdb_fetch_registers): Ditto. | |
2122 | (register_changed_p): Ditto. | |
2123 | (gdb_changed_register_list): Ditto. | |
2124 | (gdb_cmd): Ditto. | |
2125 | (call_wrapper): Ditto. | |
2126 | (gdb_listfiles): Ditto. | |
2127 | (gdb_stop): Ditto. | |
2128 | (gdbtk_dis_asm_read_memory): Ditto. | |
2129 | (compare_lines): Ditto. | |
2130 | (gdb_disassemble): Ditto. | |
2131 | (tk_command): Ditto. | |
2132 | (cleanup_init): Ditto. | |
2133 | (gdbtk_interactive): Ditto. | |
2134 | (x_event): Ditto. | |
2135 | (gdbtk_wait): Ditto. | |
2136 | (gdbtk_call_command): Ditto. | |
2137 | (tk_command_loop): Ditto. | |
2138 | (gdbtk_init): Ditto. | |
cb74cc24 | 2139 | end-sanitize-gdbtk |
b607efe7 FF |
2140 | * breakpoint.h (set_breakpoint_sal): Ditto. |
2141 | * remote-utils.c (usage): Ditto. | |
2142 | * remote.c (set_thread): Ditto. | |
2143 | (remote_thread_alive): Ditto. | |
2144 | (get_offsets): Ditto. | |
2145 | (read_frame): Ditto. | |
2146 | (remote_insert_breakpoint): Ditto. | |
2147 | (remote_remove_breakpoint): Ditto. | |
2148 | * sparc-nat.c (fetch_core_registers): Ditto. | |
2149 | * corelow.c (add_to_thread_list): Ditto. | |
2150 | (ignore): Ditto. | |
2151 | * inftarg.c (proc_wait): Ditto. | |
2152 | * infptrace.c (udot_info): Ditto. | |
2153 | (fetch_register): Ditto. | |
2154 | * ser-unix.c (hardwire_noflush_set_tty_state): Ditto. | |
2155 | (hardwire_print_tty_state): Ditto. | |
2156 | (hardwire_flush_output): Ditto. | |
2157 | (hardwire_flush_input): Ditto. | |
2158 | (hardwire_send_break): Ditto. | |
2159 | (hardwire_setstopbits): Ditto. | |
2160 | * ser-tcp.c (tcp_return_0): Ditto. | |
2161 | (tcp_noflush_set_tty_state): Ditto. | |
2162 | (tcp_print_tty_state): Ditto. | |
2163 | * solib.c (match_main): Ditto. | |
2164 | * gdbtypes.c (print_bit_vector): Ditto. | |
2165 | (print_arg_types): Ditto. | |
2166 | (dump_fn_fieldlists): Ditto. | |
2167 | (print_cplus_stuff): Ditto. | |
2168 | * symfile.h (entry_point_address): Ditto. | |
2169 | * symfile.c (decrement_reading_symtab): Ditto. | |
2170 | * valops.c (value_arg_coerce): Ditto. | |
2171 | * value.h (find_function_in_inferior): Ditto. | |
2172 | (value_allocate_space_in_inferior): Ditto. | |
2173 | * values.c (vb_match): Ditto. | |
2174 | * thread.c (info_thread_command): Ditto. | |
2175 | (restore_current_thread): Ditto. | |
2176 | (thread_apply_all_command): Ditto. | |
2177 | (thread_apply_command): Ditto. | |
2178 | * inferior.h (write_pc_pid): Ditto. | |
2179 | * infrun.c (delete_breakpoint_current_contents): Ditto. | |
2180 | * breakpoint.c (print_it_normal): Ditto. | |
2181 | (watchpoint_check): Ditto. | |
2182 | (print_it_done): Ditto. | |
2183 | (print_it_noop): Ditto. | |
2184 | (maintenance_info_breakpoints): Ditto. | |
2185 | (create_longjmp_breakpoint): Ditto. | |
2186 | (hbreak_command): Ditto. | |
2187 | (thbreak_command): Ditto. | |
2188 | (watch_commnd_1): Ditto. | |
2189 | (rwatch_command): Ditto. | |
2190 | (awatch_command): Ditto. | |
2191 | (do_enable_breakpoint): Ditto. | |
2192 | * ch-valprint.c (chill_val_print_array_elements): Ditto. | |
2193 | * eval.c (evaluate_subexp): Ditto. | |
2194 | (get_label): Ditto. | |
2195 | (evaluate_struct_tuple): Ditto. | |
2196 | * eval.c (init_array_element): Ditto. | |
2197 | ||
2198 | * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static. | |
2199 | * breakpoint.c (hw_breakpoint_used_count): Ditto. | |
2200 | (hw_watchpoint_used_count): Ditto. | |
2201 | * findvar.c (write_register_gen): Ditto. | |
2202 | (read_register_pid): Ditto. | |
2203 | * symtab.c (cplusplus_hint): Ditto. | |
2204 | * infcmd.c (breakpoint_auto_delete_contents): Ditto. | |
2205 | * ch-valprint.c (chill_print_type_scalar): Ditto. | |
2206 | * gdbtypes.c (add_name): Ditto. | |
2207 | (add_mangled_type): Ditto. | |
2208 | (cfront_mangle_name): Ditto. | |
2209 | * sparc-tdep.c (isbranch): Ditto. | |
2210 | * inftarg.c (child_stop): Ditto. | |
2211 | * win32-nat.c (child_stop): Ditto. | |
2212 | * mac-nat.c (child_stop): Ditto. | |
2213 | * remote-utils.c (sr_com): Ditto. | |
2214 | * dbxread.c (process_now): Ditto. | |
2215 | * ch-exp.c (require): Ditto. | |
2216 | (check_token): Ditto. | |
2217 | (expect): Ditto. | |
2218 | (parse_mode_call): Ditto. | |
2219 | (parse_mode_or_normal_call): Ditto. | |
2220 | * scm-lang.c (scm_lookup_name): Ditto | |
2221 | * f-lang.c (allocate_saved_bf_node): Ditto. | |
2222 | (allocate_saved_function_node): Ditto. | |
2223 | (allocate_saved_f77_common_node): Ditto. | |
2224 | (allocate_common_entry_node): Ditto. | |
2225 | (add_common_block): Ditto. | |
2226 | (add_common_entry): Ditto. | |
2227 | (find_first_common_named): Ditto. | |
2228 | (patch_common_entries): Ditto. | |
2229 | (patch_all_commons_by_name): Ditto. | |
2230 | (clear_bf_list): Ditto. | |
2231 | (get_bf_for_fcn): Ditto. | |
2232 | (clear_function_list): Ditto. | |
2233 | * scm-exp.c (scm_istr2int): Ditto. | |
2234 | (scm_istring2number): Ditto. | |
2235 | * scm-valprint.c (scm_inferior_print): Ditto. | |
2236 | * f-typeprint.c (print_equivalent_f77_float_type): Ditto. | |
2237 | * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto. | |
2238 | (f77_create_arrayprint_offset_tbl): Ditto. | |
2239 | (f77_print_array_1): Ditto. | |
2240 | (f77_print_array): Ditto. | |
2241 | (list_all_visible_commons): Ditto. | |
2242 | (there_is_a_visible_common_named): Ditto. | |
2243 | * mdebugread.c (ecoff_relocate_efi): Ditto. | |
2244 | * callback.c (os_close): Ditto. | |
2245 | (os_get_errno): Ditto. | |
2246 | (os_isatty): Ditto. | |
2247 | (os_lseek): Ditto. | |
2248 | (os_open): Ditto. | |
2249 | (os_read): Ditto. | |
2250 | (os_read_stdin): Ditto. | |
2251 | (os_write): Ditto. | |
2252 | (os_write_stdout): Ditto. | |
2253 | (os_rename): Ditto. | |
2254 | (os_system): Ditto. | |
2255 | (os_time): Ditto. | |
2256 | (os_unlink): Ditto. | |
2257 | (os_shutdown): Ditto. | |
2258 | (os_init): Ditto. | |
2259 | (os_printf_filtered): Ditto. | |
2260 | ||
2261 | * scm-lang.h (scm_parse): Change old style decl to prototype. | |
2262 | * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto. | |
2263 | * top.c (init_proc): Ditto. | |
2264 | (query_hook): Ditto. | |
2265 | (error_hook): Ditto. | |
2266 | * f-lang.c (c_value_print): Ditto. | |
2267 | * ch-exp.c (parse_expression): Ditto. | |
2268 | (parse_primval): Ditto. | |
2269 | (parse_untyped_expr): Ditto. | |
2270 | (parse_opt_untyped_expr): Ditto. | |
2271 | (ch_lex): Ditto. | |
2272 | * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto. | |
2273 | (sparc_frame_saved_pc): Ditto. | |
2274 | (sparc_push_dummy_frame): Ditto. | |
2275 | (sparc_pop_frame): Ditto. | |
2276 | * defs.h (fclose): Ditto. | |
2277 | (atof): Ditto. | |
2278 | (error_hook): Ditto. | |
2279 | ||
2280 | * arc-tdep.c (single_step): Change arg to type "enum target_signal". | |
2281 | * rs6000-tdep.c (single_step): Ditto. | |
2282 | * sparc-tdep.c (single_step): Ditto. | |
2283 | ||
2284 | * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type | |
2285 | to PTR which is what make_cleanup expects. | |
2286 | * utils.c (null_cleanup): Change arg type to PTR. | |
2287 | * defs.h (null_cleanup): Change prototype to match actual function. | |
2288 | * config/sparc/tm-sparc.h (struct frame_info): Move forward decl. | |
2289 | * ch-valprint.c (chill_val_print): Cast 2nd arg of | |
2290 | chill_print_type_scalar to LONGEST. | |
2291 | * infrun.c (wait_for_inferior): Have empty switch case for | |
2292 | BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined. | |
2293 | (stop_on_solib_events): Only needed if SOLIB_ADD is defined. | |
2294 | * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD | |
2295 | is defined. | |
2296 | * symfile.c (generic_load): Scan long int using a long int spec, | |
2297 | not an int spec. | |
2298 | * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE | |
2299 | is defined. | |
2300 | (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is | |
2301 | not defined. | |
2302 | * inflow.c (handle_sigio): Only need prototype when the actual | |
2303 | function is compiled in. | |
2304 | * valprint.c (longest_to_int): Expand error message to be | |
2305 | separate messages for args larger than largest signed int | |
2306 | and args smaller than smallest signed int. | |
2307 | * valprint.c (print_longest): Fix problems with support for case | |
2308 | where compiler supports type "long long" but the runtime doesn't | |
2309 | support printing them with "%ll". | |
2310 | * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change | |
2311 | return types to void since we don't actually return anything | |
2312 | meaningful and callees ignore the values anyway. | |
2313 | * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET | |
2314 | ifdef. | |
2315 | (modify_run_on_last_close_flag): Ditto. | |
2316 | (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL | |
2317 | ifdef | |
2318 | * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than | |
2319 | random value. | |
2320 | * infrun.c (wait_for_inferior): Ensure random_signal is not used | |
2321 | uninitialized. | |
2322 | * valops.c (call_function_by_hand): Ensure struct_addr is not used | |
2323 | uninitialized. | |
2324 | * breakpoint.c (watch_command_1): Ensure prev_frame is not used | |
2325 | uninitialized. | |
2326 | * utils.c (vfprintf_maybe_filtered): Change second arg from "char *" | |
2327 | to "const char *". | |
cb74cc24 | 2328 | start-sanitize-gdbtk |
b607efe7 FF |
2329 | * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers |
2330 | to proper pointer type, from int. | |
2331 | (gdbtk_query): Change first arg to "const char *" from "char *". | |
cb74cc24 | 2332 | end-sanitize-gdbtk |
b607efe7 FF |
2333 | * infptrace.c (udot_info): Add two dummy args so that the type is |
2334 | correct for passing to add_info. | |
2335 | * f-lang.c (saved_fcn): Move decl to head of file so it can be used | |
2336 | in prototypes. | |
2337 | (saved_bf_symnum): Ditto. | |
2338 | (SAVED_FUNCTION): Ditto. | |
2339 | (SAVED_FUNCTION_PTR): Ditto. | |
2340 | (SAVED_BF): Ditto. | |
2341 | (SAVED_BF_PTR): Ditto. | |
2342 | * ch-exp.c (parse_named_record_element): Build error message in | |
2343 | temporary buffer before passing it to expect, rather than passing | |
2344 | wrong number of args to expect. | |
2345 | * demangle.c (set_demangling_style): Call set_demangling_command with | |
2346 | correct number of arguments. | |
2347 | * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to | |
2348 | int to match actual function. | |
2349 | (os_isatty): Call fdmap with right number of arguments, was missing | |
2350 | the host_callback* arg. | |
2351 | * target.c (cleanup_target): Prototype all functions casts. | |
2352 | * target.h (one_stepped, single_step): Declare here and convert | |
2353 | single_step to prototype. | |
2354 | * infrun.c (one_stepped, single_step): Don't declare externs | |
2355 | here, they have moved to target.h. | |
2356 | * eval.c (init_array_element): Declare previously undeclared | |
2357 | last two args as LONGEST. | |
2358 | * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form. | |
cb74cc24 SS |
2359 | start-sanitize-gdbtk |
2360 | * gdbtk.c (register_changed_p): Remove unused local variable "buf". | |
2361 | end-sanitize-gdbtk | |
b607efe7 | 2362 | |
dc88c64e DE |
2363 | Thu Jul 25 16:11:54 1996 Doug Evans <dje@canuck.cygnus.com> |
2364 | ||
2365 | * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS. | |
2366 | ||
3a179be1 SG |
2367 | Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com) |
2368 | ||
2369 | * Makefile.in (os9kread.o): Remove dependency on partial-stab.h. | |
2370 | * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't | |
2371 | use partial_symtab->textlow==0 as a flag, as 0 is a legitimate | |
2372 | text address. Use a seperate flag (textlow_not_set) instead. | |
2373 | This makes stabs in ELF .o files work a lot better. | |
2374 | * mdebugread.c xcoffread.c: Define textlow_not_set for | |
2375 | partial-stab.h. | |
2376 | * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype. | |
2377 | ||
cb74cc24 | 2378 | start-sanitize-gdbtk |
396bf873 FF |
2379 | Sat Jul 20 17:46:40 1996 Fred Fish <fnf@cygnus.com> |
2380 | ||
2381 | * gdbtk.tcl (files_command): Reorder the binding tags for | |
2382 | the listbox widget to avoid referencing the listbox after | |
2383 | the containing widget has been destroyed by the action of | |
2384 | a previous binding. | |
cb74cc24 | 2385 | end-sanitize-gdbtk |
396bf873 | 2386 | |
9422fadb FF |
2387 | Sat Jul 20 10:41:06 1996 Fred Fish <fnf@cygnus.com> |
2388 | ||
2389 | * dwarf2read.c (struct filenames): Change internal "struct file" | |
2390 | to "struct fileinfo" to avoid conflict with "struct file" in | |
2391 | <sys/file.h> on HPUX and Solaris. | |
2392 | ||
cb74cc24 | 2393 | start-sanitize-gdbtk |
efd14e45 FF |
2394 | Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com> |
2395 | ||
2396 | * gdbtk.tcl (delete_expr): Unset corresponding element of | |
2397 | expr_update_list when destroying an expression. | |
2398 | (create_expr_window): Initialize expr_num, delete_expr_num, | |
2399 | and expr_update_list here when each new expression window | |
2400 | is created, rather than once at startup. | |
cb74cc24 | 2401 | end-sanitize-gdbtk |
efd14e45 | 2402 | |
fcf05549 SS |
2403 | Fri Jul 19 14:05:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
2404 | ||
2405 | * dwarf2read.c: New file, DWARF 2 reader originally contributed by | |
2406 | Brent Benson, with additions by Gary Funck and Jerry Kreuscher. | |
2407 | * Makefile.in (COMMON_OBS): Add dwarf2read.o. | |
2408 | (SFILES): Add dwarf2read.c. | |
2409 | (dwarf2read.o): Add build rule. | |
2410 | * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare | |
2411 | exported functions. | |
2412 | * elfread.c (elf_symfile_read): Call them. | |
2413 | (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols. | |
2414 | ||
3f17fed8 GN |
2415 | Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com> |
2416 | ||
2417 | * symfile.c (symfile_bfd_open): | |
2418 | * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems, | |
2419 | free the user from having to type the .exe extension. | |
2420 | ||
2531b169 MA |
2421 | Wed Jul 17 06:54:50 1996 Mark Alexander <marka@cygnus.com> |
2422 | ||
2423 | * mon960-rom.c: Shorten the mon960_inits string to a single | |
2424 | carriage return; this prevents a hang on connecting immediately | |
2425 | after powerup, when MON960 is attempting autobaud detection. | |
2426 | ||
48b497ed MA |
2427 | Tue Jul 16 23:47:04 1996 Mark Alexander <marka@cygnus.com> |
2428 | ||
2429 | * a29k-tdep.c (get_saved_register): Allow PC to be modified | |
2430 | when innermost frame is selected, but not in outer frames. | |
2431 | ||
76420d46 SG |
2432 | Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com) |
2433 | ||
2434 | * command.c (do_setshow_command): Don't segfault when showing | |
2435 | var_string and var_string_noescape vars that are NULL. | |
2436 | ||
2dcfc9c7 DE |
2437 | Mon Jul 15 16:55:48 1996 Doug Evans <dje@canuck.cygnus.com> |
2438 | ||
2439 | * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to | |
2440 | cygwin32_conv_to_posix_path. | |
2441 | (child_create_inferior): unix_path_to_dos_path renamed to | |
2442 | cygwin32_conv_to_win32_path. Rewrite code to translate PATH. | |
2443 | ||
91550191 SG |
2444 | Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com) |
2445 | ||
2446 | * defs.h printcmd.c: Create global disassemble_info structure | |
2447 | tm_print_insn_info. | |
cb74cc24 | 2448 | start-sanitize-gdbtk |
91550191 SG |
2449 | * gdbtk.c (gdb_disassemble): Setup di.mach from |
2450 | tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. | |
cb74cc24 | 2451 | end-sanitize-gdbtk |
91550191 SG |
2452 | * i386-tdep.c (set_assembly_language_command): set |
2453 | tm_print_insn_info.mach to the appropriate value for 386 or 8086 | |
2454 | disassembly. | |
2455 | * printcmd.c (print_insn): Move init of disassembler_info to | |
2456 | _initialize_printcmd. Set endian for disassembler here. | |
2457 | * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to | |
2458 | select sparc/sparclite. | |
2459 | * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of | |
2460 | TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to | |
2461 | bfd_mach_sparc/bfd_mach_sparc_sparclite. | |
2462 | ||
d369b213 FF |
2463 | Fri Jul 12 19:04:32 1996 Fred Fish <fnf@cygnus.com> |
2464 | ||
2465 | * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather | |
2466 | than xmalloc/xrealloc. | |
2467 | ||
26b3dc44 | 2468 | Fri Jul 12 17:59:47 1996 Fred Fish <fnf@cygnus.com> |
c0e6ae2e FF |
2469 | |
2470 | * objfiles.c (map_to_file): Error return from mmalloc_findbase is | |
2471 | a NULL pointer, not a -1. | |
2472 | ||
f33b2c13 SG |
2473 | Fri Jul 12 10:16:24 1996 Stu Grossman (grossman@critters.cygnus.com) |
2474 | ||
2475 | * i386-tdep.c (set_assembly_language_command): New routine to | |
2476 | select between i386 and i8086 instruction sets for disassembly. | |
2477 | New command `set assembly-language {i386 i8086}'. | |
2478 | ||
f3138a7c MA |
2479 | Thu Jul 11 21:13:21 1996 Mark Alexander <marka@cygnus.com> |
2480 | ||
2481 | * monitor.c (monitor_write_memory, monitor_read_memory_single): | |
2482 | Disable use of "long long" memory read/write commands; can't | |
2483 | use them because we hold the values to read/write in an int | |
2484 | variable, and because strtoul fails on values that exceed the | |
2485 | size of a long. This fixes breakpoint problems on MON960. | |
2486 | ||
4853b6d1 FF |
2487 | Thu Jul 11 11:39:31 1996 Fred Fish <fnf@cygnus.com> |
2488 | ||
2489 | * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition. | |
2490 | * config/pa/xm-hppah.h (HAVE_MMAP): Ditto. | |
2491 | ||
54109914 FF |
2492 | Wed Jul 10 16:54:41 1996 Fred Fish <fnf@cygnus.com> |
2493 | ||
2494 | * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE | |
2495 | and MMALLOC_CHECK macros, and add comment indicating how host dependent | |
2496 | makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or | |
2497 | to use it but to not do heap corruption checking. | |
2498 | * gdbserver/Makefile.in: Ditto. | |
2499 | * utils.c (init_malloc): Replace warning() use with direct call of | |
2500 | fprintf_unfiltered, since current_target has not yet been set and thus | |
2501 | we cannot use warning(). If we try to use mmcheck and it fails, | |
2502 | suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE | |
2503 | defined. Other small mmalloc related cleanups. | |
2504 | * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. | |
2505 | * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK. | |
2506 | ||
2507 | * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2508 | * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2509 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2510 | * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2511 | * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT); | |
2512 | * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2513 | * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2514 | * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2515 | Remove obsolete defines. | |
2516 | ||
2517 | * config/alpha/alpha-linux.mh (MMALLOC_DISABLE): | |
2518 | * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE): | |
2519 | * config/rs6000/rs6000.mh (MMALLOC_DISABLE): | |
2520 | * config/rs6000/aix4.mh (MMALLOC_DISABLE): | |
2521 | * config/powerpc/aix4.mh (MMALLOC_DISABLE): | |
2522 | * config/powerpc/aix.mh (MMALLOC_DISABLE): | |
2523 | * config/ns32k/ns32km3.mh (MMALLOC_DISABLE): | |
2524 | * config/mips/mipsm3.mh (MMALLOC_DISABLE): | |
2525 | * config/mips/decstation.mh (MMALLOC_DISABLE): | |
2526 | * config/m88k/cxux.mh (MMALLOC_DISABLE): | |
2527 | * config/i386/i386mk.mh (MMALLOC_DISABLE): | |
2528 | * config/i386/i386m3.mh (MMALLOC_DISABLE): | |
2529 | * config/i386/i386gnu.mh (MMALLOC_DISABLE): | |
2530 | Use MMALLOC_CFLAGS instead. | |
2531 | ||
4679717d JL |
2532 | Tue Jul 9 22:41:12 1996 Jeffrey A Law (law@cygnus.com) |
2533 | ||
2534 | * h8300-tdep.c: Remove some outdated comments. | |
2535 | (h8300_skip_prologue): Rework to be more correct for the H8/300H. | |
2536 | Handle stm.l insns for the H8/S. | |
2537 | (examine_prologue): Likewise. | |
2538 | ||
15aec61c RJ |
2539 | Tue Jul 9 16:48:55 1996 Raymond Jou <rjou@mexican.cygnus.com> |
2540 | ||
2541 | * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf. | |
2542 | ||
ee7b308f MA |
2543 | Mon Jul 08 08:50:39 1996 Mark Alexander <marka@cygnus.com> |
2544 | ||
2545 | * mon960-rom.c (mon960_open): Add floating point detection to | |
2546 | prevent hang on non-FPU processors (PR 9775). | |
2547 | (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem | |
2548 | setting breakpoints and improve loading speed. | |
2549 | ||
ace4b8d7 FF |
2550 | Sun Jul 7 14:57:34 1996 Fred Fish <fnf@cygnus.com> |
2551 | ||
2552 | * coffread.c (record_minimal_symbol): Don't presave name string | |
2553 | on symbol_obstack before passing to prim_record_minimal_symbol. | |
2554 | It now handles saving the string itself. | |
2555 | * dbxread.c (read_dbx_dynamic_symtab): Ditto. | |
2556 | * mipsread.c (read_alphacoff_dynamic_symtab): Ditto. | |
2557 | * os9kread.c (record_minimal_symbol): Ditto. | |
2558 | * solib.c (solib_add_common_symbols): Ditto. | |
2559 | ||
2560 | * coffread.c (coff_symtab_read): Don't presave name string on | |
2561 | symbol_obstack before passing to prim_record_minimal_symbol_and_info. | |
2562 | It now handles saving the string itself. | |
2563 | * dbxread.c (record_minimal_symbol): Ditto. | |
2564 | * elfread.c (record_minimal_symbol_and_info): Ditto. | |
2565 | ||
2566 | * dstread.c (record_minimal_symbol): Remove static function that just | |
2567 | called prim_record_minimal_symbol with the same args (after change to | |
2568 | prim_record_minimal_symbol to do it's own name string saves). | |
2569 | * nlmread.c (record_minimal_symbol): Ditto. | |
2570 | * somread.c (record_minimal_symbol): Ditto. | |
2571 | ||
2572 | * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack. | |
2573 | (hpread_read_function_type): Ditto. | |
2574 | (hpread_process_one_debug_symbol): Ditto. | |
2575 | * mdebugread.c (parse_symbol): Ditto. | |
2576 | (new_symbol): Ditto. | |
2577 | * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. | |
2578 | ||
2579 | * coffread.c (process_coff_symbol): Use obsavestring to save | |
2580 | SYMBOL_NAME, rather than obstack_copy0. | |
2581 | * dstread.c (create_new_symbol): Ditto | |
2582 | * symfile.c (obconcat): Ditto. | |
2583 | * stabsread.c (patch_block_stabs): Ditto. | |
2584 | * xcoffread.c (SYMNAME_ALLOC): Ditto. | |
2585 | ||
2586 | * symfile.c (obsavestring): Update comments | |
2587 | * solib.c (solib_add_common_symbols): Remove local var origname. | |
2588 | ||
89e673a4 SG |
2589 | Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com) |
2590 | ||
bc859e63 SG |
2591 | * configure: Re-build with autoconf-2.10. |
2592 | ||
89e673a4 SG |
2593 | * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h, |
2594 | config/sparc/tm-sparclite.h: Initialize tm_print_insn from | |
2595 | TM_PRINT_INSN, which comes from the tm file. | |
2596 | ||
e74acce4 MA |
2597 | Tue Jul 02 21:41:20 1996 Mark Alexander <marka@cygnus.com> |
2598 | ||
2599 | * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, | |
2600 | os9kread.c: Replace identical sym_offsets functions with | |
2601 | default_symfile_offsets. | |
2602 | * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS | |
2603 | macro to allocate section_offsets. | |
2604 | * symfile.c (default_symfile_offsets): New function. | |
2605 | * symfile.h: Declare default_symfile_offsets. | |
2606 | * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to | |
2607 | simplify allocation of section_offsets. | |
2608 | ||
89e673a4 SG |
2609 | Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com) |
2610 | ||
2611 | * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. | |
2612 | * configure configure.in: Only make sol-thread.o for native. | |
2613 | Also, switch to dlopened libthread_db.so.1. | |
2614 | * sol-thread.c: Switch to using dlopen to get the thread_db | |
2615 | library. | |
2616 | ||
2617 | Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2618 | ||
2619 | * configure, configure.in: Change test for libthread_db to only | |
2620 | work for configs where build/host/target are the same. | |
2621 | ||
eafdda3d MM |
2622 | Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
2623 | ||
2624 | * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on | |
2625 | PowerPC. | |
2626 | ||
2627 | * configure.in (powerpc-*-linux): Add Linux, System V, and ELF | |
2628 | support. | |
2629 | * configure: Regenerate. | |
2630 | ||
6687c953 SS |
2631 | Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com> |
2632 | ||
2633 | From Raymond Jou <rjou@mexican.cygnus.com>: | |
2634 | * mpw-make.sed: Add lines to whack out autoconf hook | |
2635 | @CONFIG_LDFLAGS@. | |
2636 | ||
97fd185a | 2637 | Mon Jul 01 11:07:15 1996 Mark Alexander <marka@cygnus.com> |
012be3ce | 2638 | |
97fd185a | 2639 | * remote-e7000.c (e7000_stop): New function. |
012be3ce DP |
2640 | |
2641 | Fri Jun 28 06:34:19 1996 Dawn Perchik <dawn@cygnus.com> | |
2642 | ||
6687c953 SS |
2643 | * configure, configure.in: Add target sparclet. |
2644 | * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM | |
2645 | (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if | |
2646 | command to start process running on target is different from one | |
2647 | to continue execution), MO_HEX_PREFIX (if addresses from monitor | |
2648 | have a "0x" prefix). | |
2649 | * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the | |
2650 | registers array. This is to allow NULLs to be place holders in | |
2651 | the tm-*.h file so that only minor changes are needed when a new | |
2652 | processor is introduced (eg, one without floating point). | |
2653 | * sparc-tdep.c: Conditionally remove dependancies on floating | |
2654 | point. | |
2655 | * sparclet-rom.c, config/sparc/sparclet.mt, | |
2656 | config/sparc/tm-sparclet.h: New files for target sparclet. | |
2657 | * symfile.c (load_command): Add option for 2nd parameter; a load | |
2658 | offset added to the vma of each section. | |
012be3ce | 2659 | |
265c044a DP |
2660 | Fri Jun 28 05:39:19 1996 Dawn Perchik <dawn@cygnus.com> |
2661 | ||
2662 | * main.c (main): Add option "l" for setting remote_timeout. | |
2663 | ||
cb1709ae DP |
2664 | Fri Jun 28 05:25:18 1996 Dawn Perchik <dawn@cygnus.com> |
2665 | ||
6687c953 SS |
2666 | * remote-e7000.c, remote.c, target.h, top.c: Add set option |
2667 | "remote_timeout" for setting remote_timeout. Add set option | |
2668 | "use_hard_breakpoints" for setting hardware .vs. memory | |
2669 | breakpoints. | |
cb1709ae | 2670 | |
56a4bf53 DP |
2671 | Fri Jun 28 04:32:18 1996 Dawn Perchik <dawn@cygnus.com> |
2672 | ||
2673 | * remote-e7000.c (e7000_parse_device): New function. | |
2674 | Add option "tcp_remote" to target command if using | |
2675 | tcp to connect to a remote host which is then connected | |
2676 | via serial port to the e7000 (for exampole, a port master). | |
2677 | (e7000_open): Change to call e7000_parse_device. | |
2678 | ||
f7ce02f4 DP |
2679 | Fri Jun 28 03:47:17 1996 Dawn Perchik <dawn@cygnus.com> |
2680 | ||
2681 | * monitor.c (monitor_debug): Fix remotedebug buffering. | |
2682 | ||
99afd188 SS |
2683 | Thu Jun 27 18:24:17 1996 Stan Shebs <shebs@andros.cygnus.com> |
2684 | ||
2685 | * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh | |
2686 | (NATDEPFILES): Add a space. | |
2687 | ||
81508b27 WM |
2688 | Wed Jun 26 06:05:39 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
2689 | ||
2690 | * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type) | |
2691 | is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type. | |
2692 | ||
2693 | * ch-exp.c (calculate_array_length): Function removed. | |
2694 | ||
ebea0366 MH |
2695 | Tue Jun 25 17:41:06 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
2696 | ||
2697 | * remote-e7000.c (e7000_read_inferior_memory_large): New function. | |
2698 | (e7000_xfer_inferior_memory): Call it. | |
2699 | ||
a69b7bdc JM |
2700 | Tue Jun 25 23:14:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) |
2701 | ||
2702 | * gdb/gdbserver/Makefile.in (docdir): Removed. | |
2703 | ||
5d8b7982 JM |
2704 | Tue Jun 25 22:05:38 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) |
2705 | ||
2706 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir): | |
2707 | Use autoconf set values. | |
2708 | (docdir): Removed. | |
2709 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
2710 | * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir, | |
2711 | includedir): Use autoconf set values. | |
2712 | (docdir): Removed. | |
2713 | * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
2714 | * nlm/configure: Rebuilt. | |
2715 | * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share. | |
2716 | ||
2717 | Mon Jun 24 09:56:14 1996 Angela Marie Thomas (angela@cygnus.com) | |
2718 | ||
2719 | * stabsread.c (read_cfront_member_functions): add type | |
2720 | ||
2721 | Sun Jun 23 23:40:48 1996 Doug Evans <dje@canuck.cygnus.com> | |
2722 | ||
2723 | * win32-nat.c: #include <unistd.h>. | |
2724 | (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete. | |
2725 | (child_create_inferior): Convert only env var PATH to win32 style. | |
2726 | (set_pathstyle_dos): Delete. | |
2727 | (_initialize_inftarg): Delete dos-path-style command. | |
2728 | ||
3d9f68c0 | 2729 | start-sanitize-gdbtk |
ab5c0a12 FF |
2730 | Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com> |
2731 | ||
2732 | * gdbtk.tcl (create_register_windows): Include missing '$'s. | |
2733 | Add global declarations for various reg_format_* variables. | |
4149b5f4 FF |
2734 | * gdbtk.tcl (populate_register_window): Make initial window one |
2735 | line taller to account for new column header line. | |
ab5c0a12 FF |
2736 | |
2737 | Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com> | |
3d9f68c0 FF |
2738 | |
2739 | * gdbtk.c (get_register): Support for printing raw formats. | |
2740 | * gdbtk.tcl: Add hint for using debug_interface. | |
2741 | (center_window, add_breakpoint_frame, delete_breakpoint_frame): | |
2742 | Enclose arg in braces for consistency. | |
2743 | (create_registers_window, populate_reg_window, update_registers): | |
ab5c0a12 FF |
2744 | Major rewrite to support displaying multiple formats in the register |
2745 | window. | |
3d9f68c0 FF |
2746 | (init_reg_info): New function. |
2747 | (recompute_reg_display_list): Reset reg_display_list, start | |
2748 | register display lines at line 2. | |
2749 | ||
2750 | end-sanitize-gdbtk | |
1a7b4b7c DE |
2751 | Thu Jun 20 13:42:23 1996 Doug Evans <dje@canuck.cygnus.com> |
2752 | ||
2753 | * configure.in: Revise sol-thread.o test. | |
2754 | * configure: Regenerated. | |
2755 | ||
2756 | * source.c (find_source_lines): Reassign size to result of read. | |
2757 | ||
b613bfbf | 2758 | start-sanitize-gdbtk |
3f8eefba FF |
2759 | Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com> |
2760 | ||
2761 | * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to | |
2762 | avoid backing up over prompt. At every input, make sure insert | |
2763 | point is at least after command start, handle control-u to delete | |
2764 | current input line. | |
2765 | (tclsh): Handle backspace to avoid backing up over prompt. Handle | |
2766 | control-u to delete current input line. | |
2767 | ||
b613bfbf GN |
2768 | Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com> |
2769 | ||
2770 | * configure.in: disable gdbtk for *cygwin32* hosted compiles | |
2771 | * configure: regenerated with autoconf 2.8 | |
2772 | ||
2773 | end-sanitize-gdbtk | |
b613bfbf GN |
2774 | Tue Jun 18 16:25:54 1996 Jeffrey A. Law <law@rtl.cygnus.com> |
2775 | ||
2776 | * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S. | |
2777 | (h8300_command): Likewise. | |
2778 | (set_machine): Likewise. | |
2779 | (set_machine_hook): Likewise. | |
2780 | (_initialize_h8300m): Likewise. | |
2781 | ||
2782 | * config/h8300/tm-h8300.h (h8300smode): Declare. | |
2783 | ||
5499f9a1 JL |
2784 | Sun Jun 16 15:21:51 1996 Jeffrey A. Law <law@rtl.cygnus.com> |
2785 | ||
2786 | * somsolib.c (som_solib_create_inferior_hook): Handle tracking | |
2787 | of shl_load calls for hpux10. | |
2788 | ||
2789 | Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com> | |
2790 | ||
2791 | * config.in: Regenerated. | |
2792 | * acconfig.h (HAVE_THREAD_DB_LIB): Added entry. | |
2793 | ||
2794 | * configure: Regenerated. | |
2795 | * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to | |
2796 | avoid name clashes with SunOS headers. | |
2797 | ||
9d111656 FF |
2798 | Tue Jun 11 19:52:50 1996 Fred Fish <fnf@cygnus.com> |
2799 | ||
2800 | From Michael Snyder <Michael_Snyder@next.com>: | |
2801 | * bcache.c (print_bcache_statistics): Avoid divide-by-zero | |
2802 | exception if one or more objfile has no symbols, such as when | |
2803 | a dynamic library has been stripped. | |
2804 | ||
2805 | Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2806 | ||
2807 | * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. | |
2808 | * configure configure.in: Only make sol-thread.o for native. | |
2809 | Also, switch to dlopened libthread_db.so.1. | |
2810 | * sol-thread.c: Switch to using dlopen to get the thread_db | |
2811 | library. | |
2812 | ||
f023ce5c FF |
2813 | Mon Jun 10 14:17:19 1996 Fred Fish <fnf@cygnus.com> |
2814 | ||
2815 | * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS): | |
2816 | Change from 0xE0000000 to 0xC0000000. | |
2817 | ||
2818 | Thu Jun 6 17:10:32 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
2819 | ||
2820 | * config/powerpc/xm-solaris.h: Initial version of support for | |
2821 | Solaris on PowerPC. | |
2822 | ||
911026aa JSC |
2823 | Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk> |
2824 | ||
2825 | * configure.in (configdirs): Force 4100 builds to use 4300 GDB | |
2826 | target. | |
2827 | * configure: Rebuild. | |
2828 | ||
2829 | * config/mips/vr4300el.mt (SIM_OBS): Include simulator in | |
2830 | little-endian builds. | |
2831 | ||
093c1a2f JL |
2832 | Mon Jun 3 11:48:29 1996 Jeffrey A Law (law@cygnus.com) |
2833 | ||
f4c952e4 JL |
2834 | * inftarg.c (child_thread_alive): Protect declaration with |
2835 | #ifndef CHILD_THREAD_ALIVE. | |
2836 | ||
093c1a2f JL |
2837 | * source.c (find_source_lines): Check the time on the symtab's bfd if |
2838 | it exists, else check the time on the exec_bfd. | |
2839 | ||
f6decc18 MA |
2840 | Thu May 30 09:43:17 1996 Mark Alexander <marka@cygnus.com> |
2841 | ||
2842 | * dsrec.c (make_srec): Fix calculation of address size | |
2843 | to allow addresses less than 0x100. | |
2844 | ||
3db21ca5 WM |
2845 | Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
2846 | ||
2847 | * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length. | |
2848 | ||
3308a107 GN |
2849 | Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com> |
2850 | ||
2851 | * remote-mips.c: cannot use EINVAL for breakpoint test since | |
2852 | its value varies for different hosts (e.g. go32's is 19, while | |
2853 | sunos is 22). Changed to hardcoded 22 since that is what the | |
2854 | mips boards return. | |
2855 | ||
e44d1491 TT |
2856 | Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com> |
2857 | ||
2858 | * configure: Regenerated. | |
2859 | * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN. | |
2860 | (CY_AC_PATH_TKH): Don't use AC_TRY_RUN. | |
2861 | ||
76420d46 SG |
2862 | Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu> |
2863 | ||
2864 | * solib.c (solib_absolute_prefix, solib_search_path): New variables. | |
2865 | (_initialize_solib): Add set/show commands for those variables. | |
2866 | (solib_map_sections): Implement searching using them. | |
2867 | ||
9391c997 FF |
2868 | Sun May 26 14:14:49 1996 Fred Fish <fnf@cygnus.com> |
2869 | ||
2870 | Changes from: David Mosberger-Tang <davidm@azstarnet.com> | |
2871 | ||
2872 | * NEWS: Add Alpha Linux as a new native configuration. | |
2873 | ||
2874 | * mdebugread.c (parse_symbol): When we find a malloc() symbol with | |
2875 | return type VOID, assume no debugging info is available for that | |
2876 | object file and patch the return value into VOID *. Otherwise, | |
2877 | operations requiring an implicit call to malloc() will fail. | |
2878 | ||
2879 | * infrun.c (wait_for_inferior): The criterion to detect entering a | |
2880 | sigtramp handler is now: (a) the current pc is inside a sigtramp | |
2881 | handler, (b) the previous pc is not in a sigtramp handler, and (c) | |
2882 | the current stack pointer is "inner" than the old one. Condition | |
2883 | (c) is new to avoid mistaking a return from a signal handler into | |
2884 | sigtramp as a new sigtramp invocation. | |
2885 | ||
2886 | * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An | |
2887 | int may not be big enough to hold an address. | |
2888 | (dcache_hit): Ditto. | |
2889 | (dcache_peek_byte): Fix indentation. | |
2890 | ||
2891 | * configure.in (alpha-*-linux*): Add target. | |
2892 | * configure: Rebuild | |
2893 | ||
2894 | * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro. | |
2895 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
2896 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
2897 | (SIGCONTEXT_ADDR): Ditto. | |
2898 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
2899 | ||
2900 | * config/alpha/alpha-linux.mh: New file. | |
2901 | * config/alpha/alpha-linux.mt: Ditto. | |
2902 | * config/alpha/nm-linux.h: Ditto. | |
2903 | * config/alpha/tm-alphalinux.h: Ditto. | |
2904 | * config/alpha/xm-alphalinux.h: Ditto. | |
2905 | * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h. | |
2906 | * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to | |
2907 | xm-alphaosf.h. | |
2908 | * config/alpha/alpha-osf2.mh: Ditto. | |
2909 | ||
2910 | * blockframe.c (find_pc_partial_function): Pass PC to | |
2911 | SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems | |
2912 | that detect sigtramp code via designated code sequences (as is the | |
2913 | case for Linux/Alpha, for example). | |
2914 | ||
2915 | * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END | |
2916 | to ignore new PC argument. | |
2917 | * config/m68k/tm-hp300bsd.h: Ditto. | |
2918 | * config/vax/tm-vax.h: Ditto. | |
2919 | ||
2920 | * alpha-tdep.c (alpha_linux_sigtramp_offset): New function. | |
2921 | (alpha_osf_skip_sigtramp_frame): Ditto. | |
2922 | (push_sigtramp_desc): Ditto. | |
2923 | (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract | |
2924 | sigcontext address from frame. | |
2925 | (alpha_saved_pc_after_call): When in sigtramp, use | |
2926 | alpha_frame_saved_pc() instead of read-register(). | |
2927 | (after_prologue): When inside a dynamically generated sigtramp | |
2928 | function, there is no prologue, so return address of first | |
2929 | instruction. | |
2930 | (alpha_in_prologue): Fix typo in comment. | |
2931 | (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine | |
2932 | whether we're inside a dynamicaly generated sigtramp function. If | |
2933 | so, create and push and appropriate procedure descriptor. | |
2934 | (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain | |
2935 | the frame past a sigtramp frame (if the current frame is indeed a | |
2936 | sigtramp function). | |
2937 | (init_extra_frame_info): Don't read next frame register off of | |
2938 | stack-pointer when inside a dynamiccaly generated sigtramp. | |
2939 | (alpha_pop_frame): Also unlink and destroy procedure descriptors | |
2940 | created for dynamically generated sigtramp functions. | |
2941 | ||
2942 | * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and | |
2943 | <alpha/ptrace.h> instead of <machine/reg.h> | |
2944 | ||
647e52ea SG |
2945 | Tue Jul 2 13:58:10 1996 Miles Bader <miles@gnu.ai.mit.edu> |
2946 | ||
2947 | * gnu-nat.c (inf_validate_task_sc): | |
2948 | Give terminal to gdb while asking question. | |
2949 | (inf_resume): Don't validate the task suspend-count while execing. | |
2950 | ||
2951 | Thu Jun 13 11:04:52 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2952 | ||
2953 | * gnu-nat.c (inf_validate_task_sc): Query user before clearing any | |
2954 | additional suspend count. | |
2955 | (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc. | |
2956 | (inf_resume): Call inf_validate_task_sc here. | |
2957 | (gnu_resume): Call inf_update_procs to ensure noticing new threads. | |
2958 | ||
2959 | Fri Jun 7 17:00:43 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2960 | ||
2961 | * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID. | |
2962 | ||
52f74d48 JL |
2963 | Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com) |
2964 | ||
31778db0 JL |
2965 | * h8300-tdep.c (IS_PUSH): Refine. |
2966 | (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints. | |
2967 | (IS_SUB4_SP, IS_SUBL_SP): New macros. | |
2968 | (h8300_skip_prologue): Handle H8/300H prologue code sequences. | |
2969 | (examine_prologue): Handle addresses from 0x010000 to 0xffffff | |
2970 | when in H8/300H mode. Get the return pointer's address correctly | |
2971 | for the H8/300H. Handle H8/300H prolouge code sequences. | |
2972 | ||
52f74d48 JL |
2973 | * symfile.c (generic_load): Print the starting address |
2974 | of the file just loaded. | |
2975 | ||
e7600d8e SS |
2976 | Thu May 23 12:09:52 1996 Stan Shebs <shebs@andros.cygnus.com> |
2977 | ||
2978 | * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile. | |
2979 | ||
2980 | Tue May 21 11:53:56 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
2981 | ||
2982 | * breakpoint.c (bpstat_do_actions): Avoid endless recursion | |
2983 | if a `source' command is contained in bs->commands. | |
2984 | ||
2985 | * infrun.c (wait_for_inferior): Update step_frame_address when | |
2986 | stepping into a new line. | |
2987 | ||
2988 | From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab): | |
2989 | * breakpoint.c (breakpoint_1): Add shlib_disabled case to | |
2990 | bpenables array. | |
2991 | ||
c92f31c6 MA |
2992 | Mon May 20 22:52:00 1996 Mark Alexander <marka@cygnus.com> |
2993 | ||
2994 | * dsrec.c (load_srec): Add WAITACK parameter, for machines | |
2995 | like EST visionICE that send back an ACK after each S-record. | |
2996 | * monitor.c (monitor_wait_srec_ack): New function. | |
2997 | (monitor_load): Pass monitor_wait_srec_ack to load_srec | |
2998 | if the monitor's MO_SREC_ACK flag is set. | |
2999 | * monitor.h: Define MO_SREC_ACK flag. | |
3000 | * remote-est.c (est_cmds): Add MO_SREC_ACK flag. | |
3001 | * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype. | |
3002 | * srec.h: Add WAITACK parameter to load_srec prototype. | |
3003 | ||
6a4bfd83 RS |
3004 | Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll> |
3005 | ||
3006 | * config/sparc/sparclite.mt: Add the sparc simulator. | |
3007 | ||
41756e56 FF |
3008 | Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com> |
3009 | ||
3010 | * defs.h (read_command_lines, query_hook): Update prototypes. | |
3011 | (readline_begin_hook, readline_hook, readline_end_hook): Declare. | |
3012 | * breakpoint.c (commands_command): Build message in temporary buffer | |
3013 | and pass that, as well as tty control flag, to read_command_lines. | |
3014 | * top.c (readline_begin_hook, readline_hook, readline_end_hook): | |
3015 | Define here. | |
3016 | (command_loop): Check for non-NULL instream before looping. | |
3017 | (command_line_input): Use readline_hook when appropriate, to get | |
3018 | user input from a GUI window. | |
3019 | (read_next_line): Also build prompt if getting user input from a GUI. | |
3020 | (recurse_read_control_structure): Fix typo in comment. | |
3021 | (read_command_lines): Use passed in prompt and tty flag to decide how | |
3022 | to build message. Use readline_begin_hook when appropriate, to set | |
3023 | up a GUI interaction window. Just return head, whether NULL or not, | |
3024 | after using readline_end_hook to complete GUI interaction. | |
3025 | (define_command, document_command): Build message in a temporary | |
3026 | buffer and pass it to read_command_lines, along with tty flag. | |
3027 | ||
3028 | start-sanitize-gdbtk | |
3029 | * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end): | |
3030 | New functions. | |
3031 | (tk_command_loop): Set instream to NULL to enable Tk user interaction. | |
3032 | (gdbtk_init): Set readline_begin_hook, readline_hook, | |
3033 | and readline_end_hook. | |
3034 | * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline, | |
3035 | gdbtk_tcl_readline_end): New functions. | |
3036 | (tclsh): Pack scroll bar on right side of window, not left. | |
3037 | end-sanitize-gdbtk | |
3038 | ||
f0c56658 PS |
3039 | Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3040 | ||
3041 | * blockframe.c (frameless_look_for_prologue): | |
3042 | Add FUNCTION_START_OFFSET only if func_start is non-zero. | |
3043 | * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if | |
3044 | pc is not in a known section. | |
3045 | * stack.c (print_frame_info): Remove check for fi->pc in known | |
3046 | section, now handled by lookup_minimal_symbol_by_pc. | |
3047 | ||
81ae689a FF |
3048 | start-sanitize-gdbtk |
3049 | Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com> | |
3050 | ||
3051 | * gdbtk.tcl (create_command_window): Change a misspelled "get" | |
3052 | to the intended "cget". | |
3053 | (delete_line): Fix so it deletes the current line at the | |
3054 | insertion cursor. | |
3055 | end-sanitize-gdbtk | |
3056 | ||
6a4547c0 SS |
3057 | Fri May 17 13:31:04 1996 Stan Shebs <shebs@andros.cygnus.com> |
3058 | ||
3059 | * sh-stub.c: New file, was config/sh/stub.c. | |
3060 | ||
b8f3d4c6 | 3061 | start-sanitize-gdbtk |
26b3dc44 | 3062 | Thu May 16 19:20:29 1996 Fred Fish <fnf@cygnus.com> |
5bac2b50 FF |
3063 | |
3064 | * gdbtk.tcl (gdb_prompt): Set this early on. | |
3065 | (create_command_window): Use gdb_prompt rather than "(gdb) ". | |
3066 | (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop. | |
3067 | (tclsh): If an evaluation window already exists, just bring it | |
3068 | to the front instead of trying to create another. | |
3069 | * gdbtk.c (tk_command_loop): New function. | |
3070 | (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop. | |
3071 | ||
954a4a2a FF |
3072 | Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com> |
3073 | ||
3074 | * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that | |
3075 | implement a tcl evaluation window for gdbtk maintainers to use. | |
3076 | ||
76e641bd TT |
3077 | Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com> |
3078 | ||
f4e769dc TT |
3079 | * gdbtk.tcl (files_command): Correctly insert list of files into |
3080 | listbox widget. | |
3081 | ||
76e641bd TT |
3082 | * gdbtk.tcl (files_command): listbox command no longer accepts |
3083 | -geometry. | |
3084 | ||
b8f3d4c6 SS |
3085 | Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com> |
3086 | ||
3087 | * gdbtk.tcl (create_command_window): If command window's buffer | |
3088 | is disabled, don't execute any of the key bindings. | |
3089 | end-sanitize-gdbtk | |
3090 | ||
6bafbdfb JL |
3091 | Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com) |
3092 | ||
e7600d8e | 3093 | * top.c (read_next_line): Fix thinkos. From Donn Seeley. |
ecebd693 | 3094 | |
6bafbdfb JL |
3095 | * coffread.c (coff_symtab_read): Handle C_LABEL symbols like |
3096 | C_STAT symbols. | |
3097 | * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly. | |
3098 | Flush cached frames just before exiting. | |
3099 | * remote-sim.c (gdbsim_resume): Complain if the program isn't | |
3100 | being run. | |
3101 | * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define. | |
3102 | ||
9b33e492 SG |
3103 | Tue May 14 18:05:16 1996 Stu Grossman (grossman@critters.cygnus.com) |
3104 | ||
3105 | * procfs.c (procfs_thread_alive procfs_stop): Make static. | |
e7600d8e | 3106 | (procfs_pid_to_str): New routine to print out thread id's in an |
9b33e492 SG |
3107 | intelligible manner. |
3108 | * sol-thread.c (sol_thread_fetch_registers): Re-order manner in | |
b8f3d4c6 | 3109 | which supply_register is called to fix bug with writing |
9b33e492 SG |
3110 | individual regs. |
3111 | * config/sparc/tm-sun4sol2.h: Define default for | |
3112 | target_pid_to_str in case host lacks libthread_db. | |
3113 | ||
47ef0da5 SG |
3114 | Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com) |
3115 | ||
3116 | * Makefile.in config.in configure configure.in | |
3117 | config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh | |
3118 | config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread | |
3119 | and pthread support, since pre-2.5 systems don't come with | |
3120 | libthread_db.so.1. | |
3121 | ||
3122 | * procfs.c (info_proc): Use int instead of id_t. Old versions of | |
e7600d8e | 3123 | Irix don't seem to define this. |
47ef0da5 | 3124 | |
572977a5 FF |
3125 | start-sanitize-gdbtk |
3126 | Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com> | |
3127 | ||
3128 | * gdbtk.c (tk_command): Catch case where no argument is given | |
3129 | since this will cause the tcl interpreter to dump core. | |
3130 | end-sanitize-gdbtk | |
3131 | ||
24ecc17a JL |
3132 | Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com) |
3133 | ||
3134 | * top.c (execute_control_command, case while_control): Allow | |
3135 | a while command to be interrupted. | |
3136 | ||
a50cedad SG |
3137 | Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com) |
3138 | ||
3139 | * sol-thread.c: More cleanup, add comments. | |
b8f3d4c6 | 3140 | (sol_thread_resume): Prevent people from trying to step |
a50cedad | 3141 | inactive threads. |
b8f3d4c6 | 3142 | (sol_thread_wait sol_thread_fetch_registers |
a50cedad SG |
3143 | sol_thread_store_registers): Remove unnecessary check for |
3144 | sol_thread_active. These routines won't get called unless threads | |
3145 | are active. | |
3146 | ||
05535e79 SS |
3147 | Mon May 13 11:29:37 1996 Stan Shebs <shebs@andros.cygnus.com> |
3148 | ||
3149 | SH3-E support from Allan Tajii <atajii@hmsi.com>: | |
3150 | * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for | |
3151 | float registers. | |
3152 | (sh3e_reg_names): New register name array. | |
3153 | (sh_processor_type_table): Add sh3e processor type. | |
3154 | * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test. | |
3155 | (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for | |
3156 | full set of registers. | |
3157 | * remote-e7000.c (want_sh3, want_sh3_nopc): New globals. | |
3158 | (e7000_fetch_registers, e7000_wait): Use them. | |
3159 | * sh3-rom.c (sh3_regnames): Add float registers. | |
3160 | (sh3e_cmds, sh3e_ops): New globals. | |
3161 | (sh3e_open): New function. | |
3162 | (_initialize_sh3_rom): Rename from _initialize_sh3, set up | |
3163 | sh3e target vector. | |
3164 | ||
934741a1 SG |
3165 | Fri May 10 15:53:38 1996 Stu Grossman (grossman@lisa.cygnus.com) |
3166 | ||
3167 | * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes. | |
3168 | Print out messages instead of codes for thread_db errors. Make | |
3169 | access macros for thread and lwp manipulation. Make cleanups to | |
3170 | fixup inferior_pid in case of errors. | |
3171 | ||
31ed312c FF |
3172 | Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com> |
3173 | ||
3174 | * aclocal.m4: Remove unused definition of AC_C_CROSS. | |
3175 | * configure.in: Add powerpcle-*-solaris* host and target config | |
3176 | so April 30th change does not get lost next time configure is | |
3177 | rebuilt. | |
3178 | ||
fdfa3315 SG |
3179 | Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com) |
3180 | ||
3181 | * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c, | |
3182 | infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c, | |
3183 | win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to | |
3184 | avoid conflict with Solaris /usr/include/thread.h. | |
3185 | ||
7574859f RS |
3186 | Thu May 9 12:33:32 1996 Rob Savoye <rob@chinadoll.cygnus.com> |
3187 | ||
3188 | * abug-rom.c: Config file for the older style ABug monitor that | |
3189 | runs on the mvme13x boards. | |
3190 | * config/m68k/monitor.mt: Add abug support for m68k cross | |
3191 | debugging. | |
3192 | ||
2ae2f078 | 3193 | Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com> |
3f37b696 | 3194 | |
2ae2f078 FF |
3195 | * infcmd.c (do_registers_info): Always print the raw floating |
3196 | point value's bytes in big endian order, so the the leftmost bit | |
3197 | is the most significant. | |
3f37b696 FF |
3198 | * breakpoint.c (clear_momentary_breakpoints): Remove dead code |
3199 | that is referenced nowhere else. | |
3200 | (set_breakpoint): Ditto. | |
3201 | (do_enable_breakpoint): Created from enable_once_breakpoint | |
3202 | with a couple of changes. | |
3203 | (enable_breakpoint): Call do_enable_breakpoint with an appropriate | |
3204 | bpdisp enum value to set disposition of breakpoint. | |
3205 | (enable_once_breakpoint): Ditto. | |
3206 | (enable_delete_breakpoint): Ditto. | |
3207 | * breakpoint.h (clear_momentary_breakpoints): Remove prototype. | |
3208 | * symtab.c (find_pc_line): Improve comments. | |
572977a5 | 3209 | start-sanitize-gdbtk |
3f37b696 | 3210 | * gdbtk.c: Fix a couple of misspellings. |
572977a5 | 3211 | end-sanitize-gdbtk |
3f37b696 FF |
3212 | * xcoffread.c: Ditto. |
3213 | ||
37316b52 SS |
3214 | Tue May 7 18:37:06 1996 Stan Shebs <shebs@andros.cygnus.com> |
3215 | ||
3216 | * target.c (debug_to_xfer_memory): Insert line breaks when | |
3217 | dumping the memory block. | |
3218 | ||
8fc2b417 SG |
3219 | Mon May 6 13:52:52 1996 Stu Grossman (grossman@critters.cygnus.com) |
3220 | ||
3221 | * fork-child.c (fork_inferior), inferior.h: init_trace_fun now | |
3222 | returns a possibly modified pid. | |
3223 | * inftarg.c (ptrace_him): Now returns pid; | |
3224 | * m3-nat.c (m3_trace_him): Now returns pid; | |
3225 | * infcmd.c (run_command): Minor cleanup. | |
3226 | * infrun.c (wait_for_inferior): Add another check for one_stepped | |
3227 | near where we read the pc to avoid erroneously setting | |
3228 | random_signal for multi-threaded support. | |
3229 | * procfs.c: Add support for Solaris LWPs. Remove def of | |
3230 | LOSING_POLL. Many cleanups... Several workarounds for Solaris | |
3231 | lossage. System call entry and exit are now handled by | |
3232 | dynamically registered handlers. | |
3233 | * (syscallname): Don't barf when handed an unknown syscall | |
3234 | number. | |
3235 | * (info_proc_syscalls): Ditto. | |
3236 | * sol-thread.c: New file. Implements Solaris thread support. | |
3237 | * symfile.c (symbol_file_add): Add call to target_new_objfile to | |
3238 | notify target-dependent code about new symbol tables. | |
3239 | * (clear_symtab_users): Call target_new_objfile to notify it of | |
3240 | the removal of all symbol tables. | |
3241 | * target.c (push_target): Make sure that to_close is non-zero | |
3242 | before calling it. | |
3243 | * target.h (target_new_objfile): Provide default. | |
3244 | * config/alpha/nm-osf2.h: Define LOSING_POLL because this version | |
3245 | of OSF can't hack using poll with /proc. | |
3246 | * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be | |
3247 | sol-thread-new-objfile. | |
3248 | * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and | |
3249 | add libthread_db.so.1 to NAT_CLIBS. | |
3250 | * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and | |
3251 | target_pid_to_str. | |
3252 | ||
3253 | Sat May 4 02:13:34 1996 N Srin Kumar <nsrin@wipinfo.soft.net> | |
3254 | ||
3255 | * procfs.c (remove_fd): Fix copy of fds to fill hole left after | |
3256 | removal of the requested fd. | |
3257 | ||
8678180e MM |
3258 | Mon May 6 07:52:48 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
3259 | ||
3260 | * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific | |
3261 | hooks under ELF. | |
3262 | ||
3263 | * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT. | |
3264 | ||
9e9cf822 SS |
3265 | start-sanitize-gdbtk |
3266 | Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3267 | ||
3268 | * gdbtk.tcl (debug_interface): New global, use to aid debugging. | |
3269 | (insert_breakpoint_tag, delete_breakpoint_tag): Fix range. | |
3270 | (file_popup_menu): Delete, never used. | |
3271 | (listing_window_popup): Rename from listing_window_button_1, | |
3272 | remove breakpoint toggling code. | |
3273 | (toggle_breakpoint): New procedure. | |
3274 | (create_file_win): Bind popup menu to button 2, toggle breakpoints | |
3275 | with button 1 in breakpoint area, add display of tagged areas if | |
3276 | debugging on. | |
3277 | end-sanitize-gdbtk | |
3278 | ||
e51481f9 JL |
3279 | Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com) |
3280 | ||
9e9cf822 | 3281 | From Peter Schauer: |
e51481f9 JL |
3282 | * breakpoint.h (enum bpdisp): Add del_at_next_stop. |
3283 | * breakpoint.c (insert_breakpoints, watchpoint_check, | |
3284 | bpstat_stop_status): Avoid bad references to memory freed via | |
3285 | delete_breakpoint on watchpoints going out of scope. | |
3286 | Do not delete these watchpoints, disable them and change their | |
3287 | disposition to del_at_next_stop instead. | |
3288 | (breakpoint_auto_delete): Delete all breakpoints whose disposition | |
3289 | is del_at_next_stop. | |
3290 | (breakpoint_init_inferior): Use switch to avoid reference to | |
3291 | already deleted breakpoint. | |
3292 | ||
062cb0d3 FF |
3293 | Wed May 1 17:29:18 1996 Fred Fish <fnf@cygnus.com> |
3294 | ||
9e9cf822 | 3295 | * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h. |
062cb0d3 | 3296 | * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ... |
9e9cf822 | 3297 | * config/rs6000/rs6000.mt (TDEPFILES): ... to here. |
062cb0d3 FF |
3298 | * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize. |
3299 | (solib_info): Call xcoff_relocate_symtab via the hook. | |
3300 | (sharedlibrary_command): Ditto. | |
3301 | * xcoffread.c: Remove all FAKING_RS6000 comments and defines. | |
3302 | (xcoff_add_toc_to_loadinfo_hook): Define and initialize here. | |
3303 | (xcoff_init_loadinfo_hook): Define and initialize here. | |
3304 | (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook. | |
3305 | (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook. | |
3306 | * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func. | |
3307 | * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations | |
3308 | of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook. | |
3309 | * rs6000-nat.c (_initialize_core_rs6000): Add initialization | |
3310 | of xcoff_relocate_symtab_hook. | |
3311 | ||
fe8d28cf MM |
3312 | Tue Apr 30 13:22:02 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
3313 | ||
3314 | * configure (powerpcle-*-solaris*): Add Solaris support. | |
3315 | ||
3316 | * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for | |
3317 | Solaris support. | |
aad09779 DP |
3318 | |
3319 | Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com> | |
9e9cf822 | 3320 | |
aad09779 DP |
3321 | * c-valprint.c (c_val_print): Fix printing for arrays defined |
3322 | with 0 length. | |
3323 | ||
5a2934b4 SS |
3324 | Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com> |
3325 | ||
fea17b55 SS |
3326 | Support for bi-endian remote breakpoints. |
3327 | * remote.c (big_break_insn, little_break_insn): New globals. | |
3328 | (break_insn): Remove. | |
3329 | (remote_insert_breakpoint, remote_remove_breakpoint): Use own | |
3330 | code if REMOTE_BREAKPOINT defined, otherwise call memory | |
3331 | breakpoint functions. | |
3332 | * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove. | |
3333 | (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define. | |
3334 | ||
5a2934b4 SS |
3335 | * mon960-rom.c (mon960_cmds): Remove forward decl. |
3336 | (mon960_load): Use current_monitor instead of mon960_cmds. | |
3337 | (mon960_regnames): Remove backslashes from line ends. | |
3338 | (_initialize_mon960): Fix documentation string. | |
3339 | ||
d2c17d4f FF |
3340 | Sun Apr 28 12:10:35 1996 Fred Fish <fnf@cygnus.com> |
3341 | ||
3342 | * symfile.h (psymbol_allocation_list): Expand comments which | |
3343 | describe the psymbol allocation list and how each field is | |
3344 | used. | |
3345 | ||
39ce6829 PS |
3346 | Sun Apr 28 03:44:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3347 | ||
3348 | * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp | |
3349 | storage leaks. | |
3350 | (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks. | |
3351 | ||
3352 | * infcmd.c (run_command), solib.c (locate_base): Check for | |
3353 | target_has_execution in addition to inferior_pid, a core file | |
3354 | from a threaded program is yielding a non-zero inferior_pid. | |
3355 | ||
3356 | * sparc-tdep.c (get_saved_register): Handle window registers | |
3357 | in a dummy frame correctly. | |
3358 | ||
6c0643e3 FF |
3359 | Sat Apr 27 20:38:32 1996 Fred Fish <fnf@cygnus.com> |
3360 | ||
3361 | * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs, | |
3362 | so that anything that wants an allocation function not yet pulled | |
3363 | in, will get it from mmalloc rather than a system library. | |
3364 | * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS, | |
3365 | to avoid surprising results when used. | |
3366 | ||
00d93b6d DP |
3367 | Sat Apr 27 00:12:05 1996 Dawn Perchik (dawn@cygnus.com) |
3368 | ||
3369 | * stabsread.c: Changes and bug fixes for cfront support. | |
3370 | Fix bug for class data members. | |
3371 | Fix parsing bug when no base classes exist. | |
3372 | Fix memory bug - allocate space for cplusplus specific info. | |
3373 | Add support for static data. | |
3374 | Add prototypes for static functions. | |
3375 | Enhance comments to show what each function expects to parse. | |
3376 | Cleanup code. | |
3377 | * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename | |
3378 | function to resolve_cfront_continuation. | |
3379 | ||
7dbb5eed JL |
3380 | Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com) |
3381 | ||
3382 | * infrun.c (wait_for_inferior): Call registers_changed when | |
6cc17fd5 | 3383 | restarting the inferior to get over a nullified instruction. |
7dbb5eed | 3384 | |
73e75264 | 3385 | Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com) |
7dbb5eed | 3386 | |
73e75264 DP |
3387 | * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c: |
3388 | Add new support for parsing cfront stabs. | |
3389 | ||
894d8e69 JL |
3390 | Wed Apr 24 00:32:55 1996 Jeffrey A Law (law@cygnus.com) |
3391 | ||
3392 | * infrun.c (wait_for_inferior): Move "have_waited" label | |
3393 | outside of #ifdef conditionals. Don't trash the wait status | |
3394 | if we get a signal and the current instruction is nullified. | |
3395 | ||
3396 | Mon Apr 22 20:17:01 1996 Fred Fish <fnf@cygnus.com> | |
3397 | ||
9e9cf822 | 3398 | * Makefile.in (VERSION): Bump version number to 4.16.1. |
894d8e69 JL |
3399 | * NEWS: Update for 4.16 release. |
3400 | ||
178ed338 SS |
3401 | Mon Apr 22 16:32:29 1996 Stan Shebs <shebs@andros.cygnus.com> |
3402 | ||
3403 | * monitor.h: Clean up comment formatting. | |
3404 | (current_monitor): Remove decl. | |
3405 | (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions. | |
3406 | (push_monitor, SREC_SIZE): Remove. | |
3407 | * monitor.c: Expand old macro into current_monitor derefs | |
3408 | everywhere. | |
3409 | * remote-os9k.c (current_monitor): Remove definition. | |
3410 | ||
f9fedc48 MA |
3411 | Mon Apr 22 14:54:45 1996 Mark Alexander <marka@superball.cygnus.com> |
3412 | ||
3413 | * corefile.c (specify_exec_file_hook): Allow arbitrary number of | |
3414 | hooks. | |
3415 | (call_extra_exec_file_hooks): New function. | |
3416 | * h8300-tdep.c: Lint; add .h files to provide missing declarations, | |
3417 | remove unused variables. | |
3418 | (set_machine_hook): New function. | |
3419 | (_initialize_h8300m): Initialize it. | |
3420 | ||
102f473b ILT |
3421 | Fri Apr 19 15:03:49 1996 Ian Lance Taylor <ian@cygnus.com> |
3422 | ||
3423 | * remote-mips.c (encoding): Don't specify size, to avoid bug in | |
3424 | SunOS native compiler. | |
3425 | ||
69159fad SS |
3426 | Thu Apr 18 18:46:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
3427 | ||
3428 | * monitor.c: Use int rather than LONGEST for values, since | |
3429 | the formatting strings are not prepared to accept long longs. | |
3430 | ||
e1b4f287 DE |
3431 | Wed Apr 17 20:17:27 1996 Doug Evans <dje@canuck.cygnus.com> |
3432 | ||
3433 | * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'. | |
3434 | ||
8eff3c7f SG |
3435 | Tue Apr 16 17:38:23 1996 Stu Grossman (grossman@critters.cygnus.com) |
3436 | ||
3437 | * corelow.c (add_to_thread_list): Make sure reg_sect is non-null | |
3438 | before de-referencing it. Prevents deref of NULL pointer if core | |
3439 | file lacks .reg section. | |
3440 | * defs.h: Rename floatformat_{to from}_long_double to | |
3441 | floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO | |
3442 | FROM}... macros. | |
3443 | * findvar.c (extract_floating store_floating): Change all refs to | |
3444 | FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest. | |
3445 | * utils.c: Change floatformat_{to from}_long_double to | |
3446 | floatformat_{to from}_doublest cuz the new routines will use | |
3447 | whatever size (double or long double) is appropriate. | |
3448 | * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL | |
3449 | REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to | |
3450 | floatformat... routine calls. | |
3451 | ||
15b03b57 PB |
3452 | Mon Apr 15 16:34:11 1996 Per Bothner <bothner@kalessin.cygnus.com> |
3453 | ||
3454 | * stabsread.c (read_type): Move handling of '@' from type | |
3455 | number handling to handling of types proper (as emitted by gcc!). | |
3456 | For typedefs, allocate the typedef type before reading its | |
3457 | definition, to properly handling recursive types. | |
3458 | ||
c5ee9d00 JL |
3459 | Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com) |
3460 | ||
3461 | * ch-exp.c (calculate_array_length): Fix prototype. | |
3462 | ||
449abd89 SG |
3463 | Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com) |
3464 | ||
3465 | * remote-nindy.c (nindy_open): Acquire more target state so that | |
3466 | user can attach to a previously running program. | |
3467 | * (nindy_fetch_registers nindy_store_registers): Get rid of fp | |
3468 | conversion code. That's all handled in {extract store}_floating | |
3469 | now. | |
3470 | * utils.c (floatformat_to_double): Don't bias exponent when | |
3471 | handling zero's, denorms or NaNs. | |
3472 | * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL | |
3473 | REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and | |
3474 | FLOATFORMAT_TO/FROM_DOUBLEST macros. | |
3475 | * config/i960/tm-nindy960.h: Undefine | |
3476 | REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and | |
3477 | REGISTER_CONVERTIBLE. These are no longer necessary now that all | |
3478 | the magic happens in extract/store_floating. | |
3479 | ||
9898b3b7 PS |
3480 | Sat Apr 13 02:58:02 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3481 | ||
3482 | * eval.c (evaluate_subexp_standard): Report error when attempting to | |
3483 | evaluate subscripts for types which cannot be subscripted. | |
3484 | ||
3485 | * valarith.c (value_x_binop, value_x_unop): Add noside parameter. | |
3486 | Return a zero value with the return type of the member function | |
3487 | if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member | |
3488 | function. | |
3489 | * values.h (value_x_binop, value_x_unop): Update prototypes | |
3490 | accordingly. | |
3491 | * eval.c (evaluate_subexp_standard): Update all callers of | |
3492 | value_x_binop, value_x_unop accordingly. | |
3493 | ||
3494 | * valarith.c (value_neg, value_complement): Perform ANSI C/C++ | |
3495 | integral promotion on operands. | |
3496 | ||
38d715a4 FF |
3497 | Fri Apr 12 13:19:27 1996 Fred Fish <fnf@cygnus.com> |
3498 | ||
3499 | * README: Update for 4.16 release. | |
3500 | * configure.in (AC_CHECK_FUNCS): Also check for sbrk. | |
3501 | * configure: Regenerate with autoconf. | |
3502 | * config.in: Regenerate with autoheader. | |
3503 | * main.c (main): Only use sbrk() when HAVE_SBRK is defined. | |
3504 | * top.c (command_loop): Ditto. | |
3505 | ||
c6fbd98b SG |
3506 | Fri Apr 12 09:45:29 1996 Stu Grossman (grossman@critters.cygnus.com) |
3507 | ||
3508 | * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT | |
3509 | defaults for bi-endian targets. Replace function pointers for | |
3510 | floatformat routines with macros. No need for these to be runtime | |
3511 | selectable. | |
3512 | * findvar.c: Get rid of floatformat function pointers. Use | |
3513 | macros in extract_floating and store_floating. | |
3514 | * remote-nindy.c (nindy_fetch_registers nindy_store_registers): | |
3515 | Use floatformat macros. | |
3516 | ||
d8efbc66 FF |
3517 | Thu Apr 11 21:28:02 1996 Fred Fish <fnf@cygnus.com> |
3518 | ||
3519 | From: Miles Bader <miles@gnu.ai.mit.edu> | |
3520 | * configure.in (AC_CHECK_HEADERS): check for endian.h. | |
3521 | Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK. | |
3522 | Add host & target cases for i[345]86-*-gnu*. | |
3523 | * config.in: Regenerate with autoheader. | |
3524 | * configure: Regenerate with autoconf. | |
3525 | * Makefile.in (AR, AWK): Set from corresponding autoconf substs. | |
3526 | (init.c): Don't scan mig-generated files. | |
3527 | * defs.h (endian.h): Include if HAVE_ENDIAN_H defined. | |
3528 | * config/nm-m3.h (ATTACH_NO_WAIT): Define. | |
3529 | * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT" | |
3530 | rather than "#ifndef MACH". | |
3531 | ||
4eaf7c0a SS |
3532 | Thu Apr 11 18:49:42 1996 Stan Shebs <shebs@andros.cygnus.com> |
3533 | ||
3534 | * remote.c (remotewritesize): New GDB variable, controls size | |
3535 | of memory packets sent to the target. | |
3536 | ||
a243a22f SG |
3537 | Thu Apr 11 13:47:52 1996 Stu Grossman (grossman@critters.cygnus.com) |
3538 | ||
3539 | * dcache.c: Add prototypes. Make many functions static. | |
3540 | * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and | |
3541 | dcache_poke call dcache_xfer_memory directly in order to fix | |
3542 | problems with turning off dcache. dcache_peek is now unnecessary, | |
3543 | so it goes away. | |
3544 | ||
3545 | * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT | |
3546 | and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer | |
3547 | to a struct floatformat. This allows for better handling of | |
3548 | targets whose floating point formats differ from the host by more | |
3549 | than just byte order. | |
3550 | * (floatformat_to_long_double floatformat_from_long_double): | |
3551 | Prototypes for new functions in utils.c. | |
3552 | * (floatformat_to_doublest floatformat_from_doublest): Prototypes | |
3553 | for pointers to floating point conversion functions. The actual | |
3554 | function uses either double or long double if the host supports it. | |
3555 | * findvar.c (floatformat_to_doublest floatformat_from_doublest): | |
3556 | Initialize to point at correct function depending on HAVE_LONG_DOUBLE. | |
3557 | * (extract_floating store_floating): Rewrite. Now, if host fp | |
3558 | format is the same as the target, we just do a copy. Otherwise, | |
3559 | we call floatformat_{to from}_doublest. | |
3560 | * remote-nindy.c (nindy_xfer_inferior_memory): Change param | |
3561 | `write' to `should_write'. | |
3562 | * utils.c (floatformat_to_long_double | |
3563 | floatformat_from_long_double): New routines that implement long | |
3564 | double versions of functions in libiberty/floatformat.c. | |
3565 | * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for | |
3566 | i960 extended real (80 bit) numbers. | |
3567 | * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes | |
3568 | actually read or written. | |
3569 | ||
f046f4c8 WM |
3570 | Wed Apr 10 02:56:06 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
3571 | ||
3572 | * ch-valprint.c (chill_val_print): Remove call to calculate_array_length. | |
3573 | (calculate_array_length): Move function from here ... | |
3574 | ||
3575 | * ch-exp.c (calculate_array_length): ... to here. | |
3576 | (parse_primval): If we have a symbol with an array type | |
3577 | and the length is 0, call calculate_array_length. | |
3578 | ||
a539f6d8 WM |
3579 | Tue Apr 9 01:23:05 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
3580 | ||
3581 | * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET: | |
3582 | Add some checks for powerset compatibility. | |
3583 | ||
3584 | * valops.c (value_slice): Use lowbound instead of lowerbound for | |
3585 | call to slice_range_type to get correct bounds. | |
3586 | ||
d8efbc66 | 3587 | Mon Apr 8 12:53:56 1996 Fred Fish <fnf@cygnus.com> |
5579919f FF |
3588 | |
3589 | * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and | |
3590 | dependencies. | |
3591 | * scm-lang.c (gdb_string.h): Include. | |
3592 | * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow | |
3593 | call to correct type (char *). | |
3594 | * cp-valprint.c (cp_print_static_field): Ditto. | |
3595 | * somsolib.c (som_solib_create_inferior_hook): Add a declaration | |
3596 | for external find_unwind_entry function (from hppa-tdep.c). | |
3597 | * remote-pa.c (remote_write_bytes, remote_read_bytes): Change | |
3598 | type of second arg to "char *" to be type compatible with | |
3599 | dcache. | |
3600 | (remote_wait): Cast second arg to strtol to correct type. | |
3601 | * hppa-tdep.c (compare_unwind_entries): Change argument types to | |
3602 | "const void *" to be type compatible with qsort, and then | |
3603 | assign to local args prior to use. | |
3604 | ||
75eb5231 JL |
3605 | Mon Apr 8 15:35:52 1996 Jeffrey A Law (law@cygnus.com) |
3606 | ||
3607 | * infptrace.c (kill_inferior): Remove call to "kill"; update | |
3608 | comments. | |
3609 | ||
7782ee45 GN |
3610 | Mon Apr 8 14:05:07 1996 Geoffrey Noer <noer@cygnus.com> |
3611 | ||
3612 | * remote-e7000.c: don't append :23 to target port if __WIN32__ | |
3613 | is defined (it's WinGDB). | |
3614 | ||
ce0787ef FF |
3615 | Sun Apr 7 22:34:29 1996 Fred Fish <fnf@cygnus.com> |
3616 | ||
3617 | From: Miles Bader <miles@gnu.ai.mit.edu> | |
3618 | * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c, | |
3619 | msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk, | |
3620 | config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h, | |
3621 | m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd. | |
3622 | ||
3623 | Sun Apr 7 13:32:41 1996 Fred Fish <fnf@cygnus.com> | |
125c17af FF |
3624 | |
3625 | * configure.in (case host): Add i386sco5 host. | |
3626 | * configure: Regenerate. | |
3627 | ||
3628 | From: Robert Lipe <robertl@dgii.com> | |
3629 | Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This | |
3630 | target is an SVR3.2 with COFF, ELF, and shared libes, but | |
3631 | no /proc. | |
3632 | * config/i386/i386sco5.mh: New file. | |
3633 | * config/i386/nm-i386sco5.h: New file. | |
3634 | ||
a6b65627 FF |
3635 | Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com> |
3636 | ||
3637 | * bcache.c (bcache): When size of chunk to cache is exactly equal to | |
3638 | BCACHE_MAXLENGTH, stash chunk as unique copy. | |
3639 | ||
eae8aa30 FF |
3640 | Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com> |
3641 | ||
3642 | * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef. | |
3643 | (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and | |
3644 | use it, rather than calling add_psymbol_addr_to_list. | |
3645 | (add_psymbol_addr_to_list): Delete. | |
3646 | (add_psymbol_to_list): Make psymbol static to avoid random data in | |
3647 | gaps due to alignment of structure members. | |
3648 | * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST, | |
3649 | ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no | |
3650 | performance improvements by inlining via complicated macros and | |
3651 | they just make gdb larger and harder to maintain. | |
3652 | * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST | |
3653 | and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to | |
3654 | add_psymbol_to_list with appropriate long or CORE_ADDR args. | |
3655 | (add_partial_symbol): Ditto. | |
3656 | * partial-stab.h: Ditto. | |
3657 | * os9kread.c (read_os9k_psymtab): Ditto | |
3658 | * mdebugread.c (parse_partial_symbols): Ditto. | |
3659 | (handle_psymbol_enumerators): Ditto. | |
3660 | (demangle.h): Include. | |
3661 | * hpread.c (hpread_build_psymtabs): Ditto. | |
3662 | (hpread_build_psymtabs): Ditto. | |
3663 | (demangle.h): Include | |
3664 | ||
51bea8cf | 3665 | start-sanitize-gdbtk |
fda6fadc SS |
3666 | Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com> |
3667 | ||
3668 | * gdbtk.c (running_now): New global variable. | |
3669 | (gdb_cmd): Test it before executing any command. | |
3670 | (gdbtk_call_command): Set it when inferior is running. | |
3671 | * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and | |
3672 | disable interaction with command window's text appropriately. | |
3673 | ||
8b3f9ed6 MM |
3674 | Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
3675 | ||
3676 | * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since | |
3677 | some versions of the kernel don't support it. | |
51bea8cf | 3678 | end-sanitize-gdbtk |
8b3f9ed6 | 3679 | |
72ae15f6 FF |
3680 | Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com> |
3681 | ||
3682 | * configure.in: Check for setpgid function. | |
3683 | * config.in: Regenerate with autoheader. | |
3684 | * configure: Regenerate with autoconf. | |
3685 | * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL | |
3686 | if it is actually defined. | |
3687 | (gdb_setpgid): Use HAVE_SETPGID. | |
3688 | * ch-exp.c: Change include of <string.h> to "gdb_string.h". | |
fda6fadc SS |
3689 | * c-exp.y, f-exp.y, m2-exp.y: Ditto. |
3690 | * c-exp.y, serial.c: Include <ctype.h>. | |
72ae15f6 FF |
3691 | * config/m68k/nm-news.h: Add typedef for pid_t which is |
3692 | apparently missing from <sys/types.h>. Enclose entire | |
3693 | file in NM_NEWS_H ifndef and define when included. | |
3694 | * config/mips/nm-news-mips.h: Ditto. | |
3695 | * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL, | |
3696 | REGISTER_CONVERT_TO_RAW): Change name of temporary variable. | |
3697 | ||
67c1413d SS |
3698 | Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com> |
3699 | ||
72c9954b SS |
3700 | * arm-xdep.c: Move native-specific code to here from arm-tdep.c. |
3701 | * arm-tdep.c (arm_apcs_32): New global. | |
3702 | (arm_addr_bits_remove, arm_saved_pc_after_call, | |
3703 | arm_push_dummy_frame, arm_pop_frame): New functions. | |
3704 | (arm_skip_prologue): Updated version from Richard Earnshaw. | |
3705 | (_initialize_arm_tdep): Add set/show "apcs32". | |
3706 | * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call | |
3707 | arm_addr_bits_remove. | |
3708 | (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call. | |
3709 | (frame_find_saved_regs): Declare properly. | |
3710 | (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame. | |
3711 | (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of | |
3712 | explicit mask. | |
3713 | * config/arm/nm-arm.h: New file. | |
3714 | * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS): | |
3715 | Move definitions to nm-arm.h. | |
3716 | * config/arm/arm.mh (NAT_FILE): Define. | |
3717 | ||
67c1413d SS |
3718 | * symfile.c (generic_load): Initialize data_count properly. |
3719 | ||
3e3ee48f FF |
3720 | Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com> |
3721 | ||
3722 | * symmisc.c (print_objfile_statistics): Print memory used by | |
3723 | psymbol cache obstack. | |
3724 | ||
72158e71 SS |
3725 | Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com> |
3726 | ||
3727 | * symfile.c (report_transfer_performance): New function. | |
3728 | (generic_load): Call it to report transfer rate. | |
3729 | * remote-e7000.c (e7000_load): Ditto. | |
3730 | ||
761e98aa SS |
3731 | Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com> |
3732 | ||
3733 | * mpw-make.sed: Change references to config.h to be in objdir, | |
3734 | edit out rules to rebuild config.h. | |
3735 | ||
251b8ab9 FF |
3736 | Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com> |
3737 | ||
3738 | * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before | |
3739 | proceeding. | |
3740 | ||
517cb8d7 | 3741 | Sun Mar 31 16:15:43 1996 Fred Fish <fnf@cygnus.com> |
771f63d3 FF |
3742 | |
3743 | * hppah-nat.c (store_inferior_registers, store_inferior_registers, | |
3744 | fetch_register, child_xfer_memory): Use call_ptrace function supplied | |
3745 | by infptrace.c rather than calling ptrace directly. | |
3746 | ||
32b18604 SS |
3747 | Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com> |
3748 | ||
3749 | * mon960-rom.c: Cleanups and elimination of unused code, | |
3750 | clarify documentation string. | |
3751 | (mon960_serial, mon960_ttyname): Remove. | |
3752 | * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS, | |
3753 | ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove. | |
3754 | ||
07b77f5c FF |
3755 | Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com> |
3756 | ||
3757 | * configure.in: Check whether printf family supports printing | |
3758 | long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so. | |
3759 | * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE. | |
3760 | * configure: Regenerate. | |
3761 | * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE. | |
3762 | * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE. | |
3763 | * configure.in: Fix have_gregset and have_fpregset autoconf | |
3764 | variable names so that they match the pattern required to | |
3765 | cache them. | |
3766 | ||
b52cac6b FF |
3767 | Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com> |
3768 | ||
3769 | * core-aout.c (fetch_core_registers): Cast core_reg_size to int | |
3770 | before testing against reg_ptr. | |
3771 | * eval.c (evaluate_subexp_standard): Cast type of | |
3772 | TYPE_FN_FIELD_VOFFSET to int. | |
3773 | * findvar.c (extract_signed_integer, extract_unsigned_integer, | |
3774 | extract_long_unsigned_integer): Cast type of sizeof to int. | |
3775 | * values.c (unpack_field_as_long, modify_field): Ditto. | |
3776 | * valops.c (value_assign, call_function_by_hand): Ditto. | |
3777 | * infcmd.c (do_registers_info): Ditto. | |
fda6fadc | 3778 | * ser-tcp.c (tcp_open): Ditto. |
b52cac6b FF |
3779 | * remote.c (putpkt): Ditto. |
3780 | * dcache.c (dcache_peek): Ditto. | |
3781 | * dcache.c (dcache_poke): Ditto. | |
3782 | * m2-exp.y (yylex): Ditto. | |
3783 | * gnu-regex.c (re_match_2): Ditto. | |
3784 | * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef | |
3785 | out unused macro definition and variables. | |
3786 | * inftarg.c (proc_wait): Move from main.c to here, and make static. | |
3787 | * valprint.c (val_print_string): Change bufsize from int to unsigned. | |
fda6fadc | 3788 | * main.c (wait.h): Include. |
b52cac6b FF |
3789 | * top.c (command_line_input): Remove unused variable "c". |
3790 | * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum | |
3791 | value TYPE_CODE_TYPEDEF to switch statement. | |
3792 | (f_type_print_varspec_suffix): Add missing enum value | |
3793 | TYPE_CODE_TYPEDEF to switch statement. | |
3794 | * ch-exp.c (parse_primval): Add remaining enumeration values to | |
3795 | switch statement, with no specific action. | |
3796 | (ch_lex): Add LOC_UNRESOLVED in switch statement. | |
3797 | (pushback_token): Ifdef out, since code using it is ifdef'd out. | |
3798 | * stabsread.c (cleanup_undefined_types): Remove unused label | |
3799 | "badtype". | |
3800 | * objfiles.h (print_symbol_bcache_statistics): Add prototype. | |
3801 | * maint.c (objfiles.h): Include. | |
3802 | (maintenance_print_statistics): Remove unused variable "temp". | |
3803 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove | |
3804 | unused variable "found_file_symbol". | |
3805 | * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch. | |
3806 | * language.c (lang_bool_type): Use existing function local type | |
3807 | variable rather than create block local variables. | |
3808 | * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS. | |
3809 | * infptrace.c (wait.h, command.h): Include. | |
3810 | * ser-tcp.c (gdb_string.h): Include | |
3811 | * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR. | |
3812 | (i386_get_frame_setup): Change "pc" from int to CORE_ADDR. | |
3813 | * command.c (complete_on_enum): Make assignment used as truth value | |
3814 | explictly check against NULL. | |
3815 | (wait.h): Include. | |
3816 | * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code | |
3817 | that uses it is ifdef'd out. | |
3818 | * parser-defs.h: Add prototype for write_dollar_variable. | |
3819 | * infrun.c: Add prototype for write_pc_pid. | |
3820 | * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs. | |
3821 | * symmisc.c (bcache.h): Include. | |
3822 | * bcache.h: Add prototype for print_bcache_statistics. | |
3823 | * symfile.c: Include <time.h>. | |
3824 | * printcmd.c (print_scalar_formatted): Change len to unsigned int. | |
3825 | * valarith.c (value_equal): Cast result of TYPE_LENGTH to int. | |
3826 | * valarith.c (value_binop): Change result_len, promoted_len1, | |
3827 | and promoted_len2 to unsigned int. | |
3828 | * valarith.c (value_subscripted_rvalue): Change elt_offs and | |
3829 | elt_size to unsigned int. | |
3830 | * valops.c (value_array): Change typelength to unsigned int. | |
3831 | (destructor_name_p): Change len to unsigned int. | |
3832 | * scm-lang.h (scm_parse): Add prototype for scm_unpack. | |
3833 | * symfile.c (decrement_reading_symtab): Change return type to void. | |
3834 | * valarith.c (value_subscript): Remove unused variable "word". | |
3835 | (value_subscript): Remove unused variable "tint". | |
3836 | * valops.c (auto_abandon): Ifdef out, since code using it is also | |
3837 | ifdef'd out. | |
3838 | * eval.c (init_array_element): Remove unused variable "val". | |
3839 | * Makefile.in (values.o): Depends on scm-lang.h. | |
3840 | (command.o): Depends upon wait_h. | |
3841 | (ser-tcp.o): Depends upon gdb_string.h. | |
3842 | (infptrace.o): Depends upon wait_h and command_h. | |
3843 | (maint.o): Depends on objfiles.h and symfile.h. | |
3844 | * values.c (allocate_repeat_value): Remove unused variable | |
3845 | "element_type". | |
3846 | (scm-lang.h): Include. | |
3847 | * breakpoint.c (create_longjmp_breakpoint): Enclose in | |
3848 | GET_LONGJMP_TARGET define, unused otherwise. | |
3849 | * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint, | |
3850 | i386_remove_watchpoint and i386_stopped_by_watchpoint. | |
3851 | ||
078aeca4 DE |
3852 | Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com> |
3853 | ||
3854 | * configure.in (sparc64-*-solaris2*): Delete. | |
3855 | Stick with sparc-*-solaris2*. | |
3856 | * configure: Regenerated. | |
3857 | ||
75225aa2 FF |
3858 | Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com> |
3859 | ||
3860 | * valops.c (value_assign): Make copy of internal variable value | |
3861 | before returning it as a new value, since it is owned by the | |
3862 | internal variable and will be freed along with it. | |
3863 | ||
fa3764e2 JL |
3864 | Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com) |
3865 | ||
3866 | * From Peter Schauer. | |
3867 | * breakpoint.c (breakpoint_re_set_one): Keep temporary | |
3868 | breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy | |
3869 | and bp_step_resume in case breakpoint_re_set_one is called due | |
3870 | to a step over a dlopen call. | |
3871 | * infrun.c (wait_for_inferior): Always remove breakpoints from | |
3872 | inferior in BPSTAT_WHAT_CHECK_SHLIBS case. | |
3873 | ||
7e2ff10d FF |
3874 | Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com> |
3875 | ||
3876 | * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer | |
3877 | non-prototyped case over prototyped case for C. | |
3878 | * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto. | |
3879 | ||
4cfb23a9 FF |
3880 | Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com> |
3881 | ||
3882 | * os9kread.c (os9k_process_one_symbol): Note nonportable | |
3883 | assumption that an int can hold a char *. | |
3884 | ||
3885 | * bcache.h (struct hashlink): Wrap data[] inside union with | |
3886 | double to force longest alignment. | |
3887 | (BCACHE_DATA): New macro to access data[]. | |
3888 | (BCACHE_ALIGNMENT): New macro to get offset to data[]. | |
3889 | * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get | |
3890 | address of cached data. Use BCACHE_ALIGNMENT to compute | |
3891 | amount of space to allocate for each hashlink struct. | |
3892 | ||
b9aa6215 FF |
3893 | Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com> |
3894 | ||
3895 | * ch-lang.c (evaluate_subexp_chill): Fix typo. | |
3896 | ||
3897 | Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com> | |
3898 | ||
3899 | * Makefile.in (VERSION): Bump version to 4.15.3 | |
3900 | ||
18ea4416 ILT |
3901 | Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com> |
3902 | ||
3903 | * config.in: Rename from config.h.in. | |
3904 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
3905 | Change CONFIG_HEADERS test in AC_OUTPUT accordingly. | |
3906 | * configure: Rebuild. | |
3907 | * Makefile.in (stamp-h): Depend upon config.in, not config.h.in. | |
3908 | Set CONFIG_HEADERS to config.h:config.in. | |
3909 | ||
67718369 PS |
3910 | Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3911 | ||
3912 | * partial-stab.h (case N_ENDM): Finish current partial symbol | |
3913 | table for Solaris 2 cc. | |
3914 | ||
a466b86a JL |
3915 | Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com) |
3916 | ||
3917 | * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the | |
3918 | PC in the registers array. From Peter Schauer. | |
3919 | ||
0ef22be9 FF |
3920 | Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com> |
3921 | ||
3922 | * symfile.c (reread_symbols): Reinitialize bcache struct | |
3923 | members to zero using memset. Also use memset to reinit | |
3924 | global_psymbols and static_psymbols, rather than explicitly | |
3925 | resetting each structure member. | |
3926 | ||
31520669 FF |
3927 | Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com> |
3928 | ||
3929 | * configure.in: Add fragment to create stamp-h. | |
3930 | ||
3931 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
3932 | * configure.in (AC_CHECK_HEADERS): Check for link.h. | |
3933 | * configure: Regenerate with autoconf. | |
3934 | * config.h.in: Regenerate with autoheader. | |
3935 | * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H | |
3936 | is defined. | |
3937 | * solib.c: Exclude most of the code if HAVE_LINK_H is not defined. | |
3938 | * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for | |
3939 | older a.out based systems. | |
3940 | ||
bfcf3112 | 3941 | Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com> |
db210d08 | 3942 | |
bfcf3112 | 3943 | * config.h.in: New file. |
db210d08 FF |
3944 | * acconfig.h: New file, for autoheader. |
3945 | * configure.in (AC_CONFIG_HEADER): Add, generate config.h. | |
3946 | * configure: Regenerate. | |
3947 | * Makefile.in (defs_h): Add config.h | |
bfcf3112 FF |
3948 | (distclean): Remove config.h and stamp-h during distclean. |
3949 | (config.h, stamp-h): New targets to remake config.h when necessary. | |
db210d08 FF |
3950 | * defs.h (config.h): Include before any other includes or defines. |
3951 | * i386-tdep.c (gdb_string.h): Move include after include of defs.h. | |
d58ffc6c | 3952 | * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H. |
db210d08 | 3953 | |
d5fde1c9 FF |
3954 | Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com> |
3955 | ||
3956 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
3957 | * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not | |
3958 | result in an empty line, to work around a bug in native Ultrix 4.4 | |
3959 | and OSF/1-3.2C make. | |
3960 | ||
3dedc867 FF |
3961 | Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com> |
3962 | ||
3963 | * configure.in: Add gdbserver to configdirs under linux. | |
3964 | * configure: Regenerate. | |
3965 | ||
f727efb5 C |
3966 | Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
3967 | ||
3968 | * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out. | |
3969 | * config/i386/tm-nbsd.h (NUM_REGS): Define. | |
3970 | ||
a404ea25 JL |
3971 | Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com) |
3972 | ||
3973 | * solib.c (solib_break_names): Add _r_debug_state for | |
3974 | vanilla SVR4 implementations. From Peter Schauer. | |
3975 | ||
3976 | Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
3977 | ||
3978 | * mon960-rom.c: New file; support mon960 rom monitor on i960. | |
3979 | * monitor.c (monitor_debug): Change remotedebug to buffer strings. | |
3980 | * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before | |
3981 | epecting prompt and echo during open. | |
3982 | * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to | |
3983 | determine if break should be sent as stop command. | |
3984 | * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN. | |
3985 | * i960-tdep.c (mon960_frame_chain_valid): New function for getting | |
3986 | stack frame on mon960. | |
3987 | * Makefile.in: Add mon960 files. | |
3988 | * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960; | |
3989 | added i960-nindy-coff* and i960-nindy-elf* for target nindy. | |
3990 | * configure: Regenerated. | |
3991 | * config/i960/mon960.mt, config/i960/tm-mon960.h: New files; | |
3992 | support mon960 rom monitor on i960. | |
3993 | ||
1ef980b9 SC |
3994 | Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com> |
3995 | ||
3996 | With Michael Snyder: | |
3997 | * i386-tdep.c (skip_trampoline_code): Fix strncmp length. | |
3998 | * win32-nat.c (CHECK, DEBUG*, debug_*): New. | |
3999 | (handle_load_dll): Don't reload symbols. | |
4000 | (handle_exception): Use the DEBUG_* names. | |
4001 | (child_wait): Add DEBUG_* code. | |
4002 | (_initialize_inftarg): Add new commands to set debug_ names. | |
4003 | ||
803a31a3 JL |
4004 | Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com) |
4005 | ||
4006 | * From Peter Schauer: | |
4007 | * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE. | |
4008 | (bpstat_stop_status): Likewise. | |
4009 | (remove_solib_event_breakpoints): Likewise. | |
4010 | (clear_momentary_breakpoints): Likewise. | |
4011 | (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint | |
4012 | if we still can't read the memory for that breakpoint. | |
4013 | (mention): Add bp_shlib_event case to keep gcc quiet. | |
4014 | ||
4015 | Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com) | |
4016 | ||
4017 | * breakpoint.h (enum enable): New enum shlib_disabled for | |
4018 | shared library breakpoints that have been temporarily disabled. | |
4019 | * breakpoint.c: Handle temporarily disabled shared library | |
4020 | breakpoints like disabled breakpoints in most places. | |
4021 | (insert_breakpoints): Use shlib_disabled to indicate | |
4022 | that an unsettable breakpoint is only temporarily disabled. | |
4023 | (re_enable_breakpoints_in_shlibs): New function. | |
4024 | * corelow.c (solib_add_stub): After adding shared libraries, | |
4025 | try to reenable any temporarily disabled breakpoints. | |
4026 | * infcmd.c (attach_command): Likewise. | |
4027 | * infrun.c (wait_for_inferior): Likewise. | |
4028 | ||
4972c44e ILT |
4029 | Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com> |
4030 | ||
4031 | * defs.h (extract_long_unsigned_integer): Declare. | |
4032 | * findvar.c (extract_long_unsigned_integer): New function. | |
4033 | * printcmd.c (print_scalar_formatted): Use it. | |
4034 | * valprint.c (val_print_type_code_int): Likewise. | |
4035 | ||
00dd4fd9 SS |
4036 | Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com> |
4037 | ||
4038 | * infcmd.c (do_registers_info): Ignore anonymous registers. | |
4039 | * sh-tdep.c (set processor): New command to set specific | |
4040 | processor type. | |
4041 | (sh_reg_names, sh3_reg_names): Arrays of register names for | |
4042 | SH and SH3 processors. | |
4043 | (sh_set_processor_type): New function. | |
4044 | * sh3-rom.c (sh3_open): Call it. | |
4045 | (sh3_regname): Add names of all the bank registers. | |
4046 | (sh3_supply_register): Clean up formatting. | |
4047 | * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include | |
4048 | bank registers. | |
4049 | (REGISTER_NAMES): Add names of bank registers. | |
4050 | (FP15_REGNUM): Define. | |
4051 | (REGISTER_VIRTUAL_TYPE): Use it. | |
4052 | * monitor.c: Clean up some comments. | |
4053 | ||
43ece84d C |
4054 | Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4055 | ||
4056 | * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the | |
4057 | s* and t* symbols too. | |
4058 | ||
5a367b09 JSC |
4059 | Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk> |
4060 | ||
4061 | * symfile.c (generic_load): Avoid division by zero. | |
4062 | ||
653fed07 JL |
4063 | Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com) |
4064 | ||
4065 | * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems, | |
4066 | not just those with HANDLE_SVR4_EXEC_EMULATORS. | |
27b6a1fa | 4067 | |
00dd4fd9 | 4068 | From Peter Schauer: |
27b6a1fa JL |
4069 | * breakpoint.c (internal_breakpoint_number): Move to file scope. |
4070 | (create_solib_event_breakpoint): Use an internal breakpoint number. | |
4071 | ||
bb901438 WM |
4072 | Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
4073 | ||
4074 | * valarith.c (value_in): Change builtin_type_chill_bool to | |
4075 | LA_BOOL_TYPE. | |
4076 | ||
c105168f WM |
4077 | Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
4078 | ||
4079 | * ch-exp.c (parse_primval): Handle CARD, MAX, MIN. | |
4080 | (match_string_literal): Handle control sequence. | |
4081 | (match_character_literal): Deto. | |
4082 | ||
4083 | * ch-lang.c (chill_printchar): Change formating of nonprintable | |
4084 | characters from C'xx' to ^(num). | |
4085 | (chill_printstr): Deto. | |
4086 | (value_chill_card, value_chill_max_min): New functions to process | |
4087 | Chill's CARD, MAX, MIN. | |
4088 | (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN. | |
4089 | ||
4090 | * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN | |
4091 | for Chill's CARD, MAX, MIN. | |
4092 | ||
4093 | * valarith.c (value_in): Add processing of TYPE_CODE_RANGE | |
4094 | and change return type from builtin_type_int to | |
4095 | builtin_type_chill_bool. | |
4096 | ||
d009ffd8 SS |
4097 | Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com> |
4098 | ||
b4692cbc SS |
4099 | * config/nm-nbsd.h (link_object, lo_name, etc): Move to here |
4100 | from config/nm-nbsd.h. | |
4101 | * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here | |
4102 | from config/sparc/tm-nbsd.h. | |
4103 | ||
d009ffd8 SS |
4104 | * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here |
4105 | instead of in config/m68k/xm-hp300hpux.h. | |
4106 | ||
d554e554 C |
4107 | Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4108 | ||
4109 | * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide | |
4110 | implementation for NetBSD systems. | |
4111 | ||
02e6e53d PB |
4112 | Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com> |
4113 | ||
8d67b75a PB |
4114 | * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT. |
4115 | (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY). | |
4116 | ||
02e6e53d PB |
4117 | * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error |
4118 | if "function" is pointer to non-function. | |
4119 | ||
f935141e SS |
4120 | Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com> |
4121 | ||
4122 | * top.c (print_gdb_version): Update copyright year. | |
4123 | ||
11be829f JL |
4124 | Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com) |
4125 | ||
f935141e | 4126 | From Peter Schauer: |
11be829f JL |
4127 | * infrun.c (wait_for_inferior): Remove breakpoints and |
4128 | switch terminal settings before calling SOLIB_ADD. | |
4129 | * solib.c (enable_break, SVR4 variant): Don't map in symbols | |
4130 | for the dynamic linker, the namespace pollution causes real | |
4131 | problems. | |
4132 | ||
4f005fea JSC |
4133 | Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk> |
4134 | ||
4135 | * remote-mips.c (common_breakpoint): Explicitly terminate the | |
4136 | returned buffer. | |
4137 | ||
cf3c0938 SS |
4138 | Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com> |
4139 | ||
4140 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
4141 | * remote.c (remote_detach): Send a command 'D' to the target | |
4142 | when detaching, update the function's comments. | |
4143 | ||
647e52ea SG |
4144 | Thu Jun 6 16:11:38 1996 Miles Bader <miles@gnu.ai.mit.edu> |
4145 | ||
4146 | * gnu-nat.c (thread_cmd_list): New declaration. | |
4147 | (parse_int_arg): New function. | |
4148 | ||
4149 | Wed Jun 5 17:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4150 | ||
4151 | * gnu-nat.h (struct proc): Add DETACH_SC field. | |
4152 | * gnu-nat.c (make_proc): Set DETACH_SC. | |
4153 | (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. | |
4154 | (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. | |
4155 | (add_thread_commands): Add set/show for detach-suspend-count. | |
4156 | Add takeover-suspend-count cmd. | |
4157 | (inf_detach): Set suspend counts to the detach SC, not 0. | |
4158 | (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd, | |
4159 | set_task_detach_sc_cmd, show_task_detach_sc_cmd, | |
4160 | set_thread_default_thread_detach_sc_cmd, | |
4161 | show_thread_default_thread_detach_sc_cmd): New functions. | |
4162 | (show_task_cmd): Also show detach-suspend-count values. | |
4163 | (thread_takeover_sc_cmd): New function. | |
4164 | ||
4165 | Fri May 31 16:49:24 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4166 | ||
4167 | * gnu-nat.c (show_thread_run_cmd): Actually print state. | |
4168 | ||
4169 | Thu May 30 10:47:56 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4170 | ||
4171 | * gnu-nat.c (inf_signal): Make unforwardable exceptions an error. | |
4172 | ||
4173 | Tue May 28 17:06:36 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4174 | ||
4175 | * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a | |
4176 | pointer to the flags now, not the flags themselves. | |
4177 | ||
4178 | Mon May 27 13:31:17 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4179 | ||
4180 | * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs. | |
4181 | (gnu_create_inferior): Check return from ptrace. | |
4182 | ||
4183 | Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4184 | ||
4185 | * gnu-nat.h (struct proc): Add DEAD field. | |
4186 | * gnu-nat.c (make_proc): Initialize DEAD. | |
4187 | (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it. | |
4188 | (gnu_wait): Only abort for 0 threads if the task isn't dead. | |
4189 | ||
4190 | Sat May 25 17:06:05 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4191 | ||
4192 | * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal. | |
4193 | ||
4194 | Wed May 22 18:44:28 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4195 | ||
4196 | * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument. | |
4197 | (inf_set_traced): Only give no-signal-thread error message if | |
4198 | turning *on* tracing. | |
4199 | ||
4200 | Wed May 15 13:03:16 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4201 | ||
4202 | * gnu-nat.c (inf_validate_procs): If INF has no threads, always | |
4203 | set inf->threads_up_to_date to 0. | |
4204 | (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced. | |
4205 | (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation. | |
4206 | (proc_update_sc): Cast thread state arg to thread_set_state. | |
4207 | (proc_get_state): Cast thread state arg to thread_get_state. | |
4208 | (inf_validate_task_sc): Cast task_basic_info arg to task_info. | |
4209 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call | |
4210 | inf_update_procs before we lookup the thread. | |
4211 | * config/i386/i386gnu.mh (MH_CFLAGS): New variable. | |
4212 | ||
4213 | Tue May 7 17:52:33 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4214 | ||
4215 | * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task. | |
4216 | ||
4217 | Mon May 6 19:06:49 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4218 | ||
4219 | * gnu-nat.c (inf_set_traced): Use msg_set_init_int with | |
4220 | INIT_TRACEMASK instead of setting the exec flags. | |
4221 | ||
4222 | Fri May 3 19:10:57 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4223 | ||
4224 | * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find | |
4225 | the task's died, so others have a chance at it. | |
4226 | (gnu_resume): When single-stepping a single thread, given an error | |
4227 | if there is no such thread. When single-stepping one but running | |
4228 | the others, just given a warning and still run all the threads. | |
4229 | (gnu_wait): If there seem to be no threads, look harder, and | |
4230 | signal an error if there really aren't any. | |
4231 | (gnu_attach): Reset thread numbering to 0. | |
4232 | ||
4233 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give | |
4234 | thread name in warning messages. | |
4235 | ||
4236 | * gnu-nat.c (active_inf): New function. | |
4237 | (show_sig_thread_cmd, show_stopped_cmd): Use it. | |
4238 | (info_port_rights, info_send_rights_cmd, info_port_sets_cmd, | |
4239 | info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd): | |
4240 | New functions. | |
4241 | (add_task_commands): Add new port-right info commands. | |
4242 | ||
4243 | Fri Apr 26 20:42:16 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4244 | ||
4245 | * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just | |
4246 | use mach_msg with MACH_RCV_INTERRUPT. | |
4247 | (set_noninvasive_cmd): New function. | |
4248 | (add_task_commands): Add command entry for `set noninvasive'. | |
4249 | ||
4250 | Mon Mar 4 14:12:02 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4251 | ||
4252 | * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy. | |
4253 | (safe_bcopy): Function removed. | |
4254 | ||
4255 | Mon Dec 4 14:18:26 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4256 | ||
4257 | * gnu-nat.c (proc_update_sc): Assert only threads can have state. | |
4258 | (make_proc): Initialize state_valid & state_changed fields. | |
4259 | ||
4260 | Tue Nov 28 17:51:21 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4261 | ||
4262 | * reply_mig_hack.awk: New file. | |
4263 | ||
4264 | Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4265 | ||
4266 | * breakpoint.c (breakpoint_1): Print breakpoint thread field. | |
4267 | ||
4268 | * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new | |
4269 | threads. | |
4270 | ||
4271 | Mon Nov 13 18:30:53 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4272 | ||
4273 | * target.c (debug_to_check_threads): New function. | |
4274 | ||
4275 | * inflow.c (terminal_init_inferior_with_pgrp): New function. | |
4276 | (terminal_init_inferior): Call terminal_init_inferior_with_pgrp. | |
4277 | * inferior.h (terminal_init_inferior_with_pgrp): New declaration, | |
4278 | but only if PROCESS_GROUP_TYPE is defined. | |
4279 | ||
4280 | Mon Nov 6 16:42:09 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4281 | ||
4282 | * target.c (debug_to_thread_alive): Pass through the return value. | |
4283 | ||
4284 | Thu Nov 2 18:05:00 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4285 | ||
4286 | * target.c (signals, target_signal_from_host, target_signal_to_host): | |
4287 | Add mach exceptions. | |
4288 | * target.h (enum target_signal): Add mach exceptions. | |
4289 | ||
4290 | Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4291 | ||
4292 | * gnu-nat.c: New file: gnu native backend. | |
4293 | * i386gnu-nat.c: New file: i386-specific part of gnu native backend. | |
4294 | * gnu-nat.h: New file. | |
4295 | * config/nm-gnu.h: New file. | |
4296 | * config/tm-i386gnu.h: New file. | |
4297 | * config/xm-i386gnu.h: New file. | |
4298 | * config/i386/i386gnu.mh: New file. | |
4299 | * config/i386/i386gnu.mt: New file. | |
4300 | ||
8fe2b2c5 FF |
4301 | Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com> |
4302 | ||
4303 | * Makefile.in (VERSION): Bump version to 4.15.2 to establish | |
4304 | baseline for gdb 4.16 rerelease testing. | |
4305 | ||
a4f39c06 JL |
4306 | Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com) |
4307 | ||
4308 | * somsolib.c (som_solib_create_inferior_hook): Before returning | |
4309 | call clear_symtab_users. | |
4310 | ||
4311 | Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com) | |
4312 | ||
4313 | * remote-e7000.c (e7000_open): Delete all breakpoints when | |
4314 | connecting to e7000. Change connect message to allow use of | |
4315 | monitor.exp in test suite. | |
4316 | * (e7000_load): Print transfer rate of download. | |
4317 | * symfile.c (generic_load): Print transfer rate of download. | |
4318 | ||
8fa6fcf8 SS |
4319 | Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com> |
4320 | ||
4321 | * configure.in (mips*-*-vxworks*): New config. | |
4322 | * configure: Regenerated. | |
4323 | ||
4324 | * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files. | |
4325 | * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
4326 | Remove, never used. | |
4327 | ||
a97a483c PS |
4328 | Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
4329 | ||
4330 | * partial-stab.h (case N_FUN): Function symbols generated | |
4331 | by SPARCworks cc have a meaningless zero value, do not update | |
4332 | pst->textlow if the function symbol value is zero. | |
4333 | ||
4334 | * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field | |
4335 | for function prototype declaration symbols. | |
4336 | ||
b5eccf74 SG |
4337 | Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com) |
4338 | ||
4339 | * remote-e7000.c (e7000_load): New routine to download via the | |
4340 | network. | |
4341 | * (e7000_wait): Don't backup PC when we hit a breakpoint. | |
4342 | Apparantly new sh2 pods get this right... | |
4343 | * (e7000_ops): Add call to e7000_load. | |
4344 | ||
b7f3b6d5 C |
4345 | Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4346 | ||
4347 | * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}, | |
4348 | m68knbsd-nat.c: New files, support for NetBSD/m68k. | |
4349 | ||
4350 | * configure.in (m68k-*-netbsd*): New config. | |
4351 | * configure: Regenerated. | |
4352 | ||
517cb8d7 | 4353 | Wed Feb 21 19:00:21 1996 Fred Fish <fnf@cygnus.com> |
6a6a552a FF |
4354 | |
4355 | * standalone.c (open, _initialize_standalone): Fix obvious typos | |
4356 | reported by Martin Pool <martin@citr.uq.oz.au>. | |
4357 | ||
13f6c7ea JL |
4358 | Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com) |
4359 | ||
4360 | * solib.c (solib_create_inferior_hook): Fix thinko. | |
4361 | ||
464c6c5f JL |
4362 | Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com) |
4363 | ||
4364 | * solib.c (solib_break_names): Define for Solaris and Linux. | |
4365 | (enable_break): For SVR4 systems, first try to use the debugger | |
4366 | interfaces in the dynamic linker to track shared library events | |
4367 | as they happen, then fall back to BKPT_AT_SYMBOL code. Convert | |
4368 | BKPT_AT_SYMBOL code to use shared library event breakpoints. | |
4369 | (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code, | |
4370 | it no longer needs to restart/wait on the inferior. | |
4371 | * symfile.c (find_lowest_section): No longer static. | |
4372 | * symfile.h (find_lowest_section): Corresponding changes. | |
4373 | ||
517cb8d7 | 4374 | Tue Feb 20 18:54:08 1996 Fred Fish <fnf@cygnus.com> |
45c5fa78 FF |
4375 | |
4376 | * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value. | |
4377 | (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE. | |
4378 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1. | |
4379 | * config/mips/tm-mips.h: Ditto. | |
4380 | * config/pa/tm-hppa.h: Ditto. | |
4381 | * config/rs6000/tm-rs6000.h: Ditto. | |
4382 | * config/sparc/tm-sparc.h: Ditto. | |
4383 | ||
48d27324 C |
4384 | Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4385 | ||
eb224848 C |
4386 | * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o. |
4387 | ||
48d27324 C |
4388 | * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined. |
4389 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
4390 | #ifdef'd out definitions --- Causes serious gdb failures on | |
4391 | the i386. Need to investigate further before enabling. | |
4392 | ||
4393 | * i386b-nat.c (fetch_inferior_registers, store_inferior_registers, | |
4394 | fetch_core_registers): New functions. These functions are defined | |
4395 | if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored | |
4396 | with ptrace PT_GETREGS/PT_SETREGS. | |
4397 | ||
95f6f926 SG |
4398 | Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com) |
4399 | ||
4400 | * findvar.c (extract_floating store_floating): Replace `long | |
4401 | double' with `DOUBLEST'. | |
4402 | ||
cb91ea56 C |
4403 | Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
4404 | ||
4405 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
4406 | Define. | |
4407 | ||
9263da6f JL |
4408 | Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com) |
4409 | ||
4410 | * symtab.h (looup_minimal_symbol_solib_trampoline): Declare. | |
4411 | ||
4412 | * breakpoint.h (remove_solib_event_breakpoints): Declare. | |
4413 | * breakpoint.c (remove_solib_event_breakpoints): New function. | |
4414 | * somsolib.c (solib_create_inferior_hook): Remove all solib event | |
4415 | breakpoints before inserting any new ones. Use a solib event | |
4416 | breakpoint for the breakpoint at "_start". | |
4417 | Remove extraneous "\n" from calls to warning. | |
4418 | ||
4419 | * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes | |
4420 | name array. | |
4421 | ||
0708e99f FF |
4422 | Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com> |
4423 | ||
4424 | * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST | |
4425 | for CORE_ADDR values. | |
4426 | (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values. | |
4427 | * symfile.h (add_psymbol_{,addr}to_list): Add prototypes. | |
4428 | ||
08dc1eeb PS |
4429 | Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
4430 | ||
4431 | * mipsread.c (mipscoff_symfile_read): Unconditionally add | |
4432 | alpha coff dynamic symbols for all symbol files. Makes skipping | |
4433 | over the trampoline code work when stepping from a function in a | |
4434 | shared library into a function in a different shared library. | |
4435 | ||
1d6afd7f SG |
4436 | Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com) |
4437 | ||
4438 | * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define | |
4439 | RETURN_VALUE_ON_STACK to return long doubles on the stack. | |
4440 | ||
0708e99f | 4441 | Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com> |
176b2bee FF |
4442 | |
4443 | * Makefile.in (ch-exp.o): Add dependencies. | |
4444 | (various): Add gdb_string.h to dependencies that need it. | |
4445 | ||
dcb6a7c0 FF |
4446 | Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com> |
4447 | ||
4448 | * symmisc.c (print_symbol_bcache_statistics): Update description for | |
4449 | printing byte cache statistics. | |
4450 | ||
aa220473 SG |
4451 | Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com) |
4452 | ||
4453 | * Add native support for long double data type. | |
4454 | * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST | |
4455 | to store actual data. Change types of INT and FLOAT tokens to | |
4456 | typed_val_int and typed_val_float respectively. Create new token | |
4457 | DOUBLE_KEYWORD to specify the string `double'. Make production | |
4458 | for FLOAT use type determined by parse_number. Add production for | |
4459 | "long double" data type. | |
4460 | * (parse_number): Use sscanf to parse numbers as float, double or | |
4461 | long double depending upon the type of typed_val_float.dval. Also | |
4462 | allow user to specify `f' or `l' suffix to explicitly specify | |
4463 | float or long double constants. Change typed_val to | |
4464 | typed_val_int. | |
4465 | * (yylex): Change typed_val to typed_val_int. Also, scan for | |
4466 | "double" keyword. | |
4467 | * coffread.c (decode_base_type): Add support for T_LNGDBL basic | |
4468 | type. | |
4469 | * configure, configure.in: Add check for long double support in | |
4470 | the host compiler. | |
4471 | * defs.h: Define DOUBLEST appropriatly depending on whether | |
4472 | HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes | |
4473 | for functions that handle this type. | |
4474 | * expression.h (union exp_element): doubleconst is now type | |
4475 | DOUBLEST. | |
4476 | * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST. | |
4477 | * findvar.c (extract_floating): Make return value be DOUBLEST. | |
4478 | Also, add support for numbers with size of long double. | |
4479 | * (store_floating): Arg `val' is now type DOUBLEST. Handle all | |
4480 | floating types. | |
4481 | * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now | |
4482 | DOUBLEST. | |
4483 | * valarith.c (value_binop): Change temp variables v1, v2 and v to | |
4484 | type DOUBLEST. Coerce type of result to long double if either op | |
4485 | was of that type. | |
4486 | * valops.c (value_arg_coerce): If argument type is bigger than | |
4487 | double, coerce to long double. | |
4488 | * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and | |
4489 | arg type is float and > 8 bytes, then use pointer-to-object | |
4490 | calling conventions. | |
4491 | * valprint.c (print_floating): Arg doub is now type DOUBLEST. | |
4492 | Use appropriate format and precision to print out floating point | |
4493 | values. | |
4494 | * value.h: Fixup prototypes for value_as_double, | |
4495 | value_from_double, and unpack_double to use DOUBLEST. | |
4496 | * values.c (record_latest_value): Remove check for invalid | |
4497 | floats. Allow history to store them so that people may examine | |
4498 | them in hex if they want. | |
4499 | * (value_as_double unpack_double): Change return value to DOUBLEST. | |
4500 | * (value_from_double): Arg `num' is now DOUBLEST. | |
4501 | * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target | |
4502 | specific) to expect certain types to always be returned on the stack. | |
4503 | ||
2ad5709f FF |
4504 | Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com> |
4505 | ||
4506 | * bcache.c, bcache.h: New files to implement a byte cache. | |
4507 | * Makefile.in (SFILES): Add bcache.c. | |
4508 | (symtab_h): Add bcache.h. | |
4509 | (HFILES_NO_SRCDIR): add bcache.h | |
4510 | (COMMON_OBJS): Add bcache.o | |
4511 | (bcache.o): New target. | |
4512 | * dbxread.c (start_psymtab): Make global_syms & static_syms | |
4513 | type "partial_symbol **". | |
4514 | * hpread.c (hpread_start_symtab): Ditto. | |
4515 | * os9kread.c (os9k_start_psymtab): Ditto. | |
4516 | * stabsread.h (start_psymtab): Ditto. | |
4517 | * {symfile.c, symfile.h} (start_psymtab_common): Ditto. | |
4518 | * maint.c (maintenance_print_statistics): Call | |
4519 | print_symbol_bcache_statistics. | |
4520 | * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc | |
4521 | and free pointers. | |
4522 | * solib.c (allocate_rt_common_objfile): Ditto. | |
4523 | * symfile.c (reread_symbols): Ditto. | |
4524 | (free_objfile): Free psymbol bcache when objfile is freed. | |
4525 | (objfile_relocate): Use new indirect psymbol pointers. | |
4526 | * objfiles.h (struct objfile): Add psymbol cache. | |
4527 | * symfile.c (compare_psymbols): Now passed pointers to pointers to | |
4528 | psymbols. | |
4529 | (reread_symbols): Free psymbol bcache when freeing other objfile | |
4530 | resources. | |
4531 | (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new | |
4532 | psymbol using the psymbol bcache. | |
4533 | (init_psymbol_list): Psymbol lists now contain pointers rather than | |
4534 | the actual psymbols. | |
4535 | * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically | |
4536 | grown arrays of pointers. | |
4537 | (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol | |
4538 | bcache. | |
4539 | * symmisc.c (print_partial_symbols): Now takes pointer to pointer | |
4540 | to partial symbol. | |
4541 | (print_symbol_bcache_statistics): New function to print per objfile | |
4542 | bcache statistics. | |
4543 | (print_partial_symbol, print_partial_symbols, | |
4544 | maintenance_check_symtabs, extend_psymbol_list): | |
4545 | Account for change to pointer to pointer to partial symbol. | |
4546 | * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2, | |
4547 | make_symbol_completion_list): | |
4548 | Account for change to pointer to pointer to partial symbol. | |
4549 | * symtab.h (bcache.h): Include. | |
4550 | * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms | |
4551 | type "partial_symbol **". | |
4552 | ||
4a1d2ce2 FF |
4553 | Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com> |
4554 | ||
4555 | * dwarfread.c (free_utypes): New function. | |
4556 | (read_file_scope): Call free_utypes as cleanup, rather than just | |
4557 | freeing the utypes pointer. | |
4558 | ||
81afee37 FF |
4559 | Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
4560 | ||
4561 | * demangle.c (is_cplus_marker): New function, checks if a | |
4562 | character is one of the commonly used C++ marker characters. | |
4563 | * defs.h (is_cplus_marker): Add prototype. | |
4564 | * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle), | |
4565 | cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol), | |
4566 | stabsread.c (define_symbol, read_member_functions, read_struct_fields), | |
4567 | symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P), | |
4568 | values.c (vb_match): Use is_cplus_marker instead of comparison | |
4569 | with CPLUS_MARKER. | |
4570 | ||
14b22711 FF |
4571 | Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com> |
4572 | ||
4573 | * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly | |
4574 | delete entirely someday. | |
4575 | ||
884fb64c SS |
4576 | Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
4577 | ||
4578 | * mpw-make.sed: Edit out makefile rebuild rule. | |
4579 | (host_alias, target_alias): Comment out instead of deleting. | |
4580 | (@LIBS@): Edit out references. | |
4581 | ||
f1d39876 FF |
4582 | Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com> |
4583 | ||
4584 | * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): | |
4585 | Use n_psyms in OBJSTAT, not psyms. | |
4586 | ||
4587 | Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com> | |
4588 | ||
4589 | * configure.in (sparclet-*-aout*): New config. | |
4590 | * configure: Regenerated. | |
4591 | ||
c37c7c6c FF |
4592 | Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com> |
4593 | ||
4594 | * somsolib.c (som_solib_add): Use xmalloc rather than bare | |
4595 | unchecked call to malloc. | |
4596 | * remote-mips.c (pmon_load_fast): ditto. | |
4597 | * remote-mm.c (mm_open): ditto. | |
4598 | * hpread.c (hpread_lookup_type): ditto. | |
4599 | * remote-adapt.c (adapt_open): ditto. | |
4600 | ||
6405302d FF |
4601 | Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com> |
4602 | ||
4603 | * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node, | |
4604 | allocate_saved_f77_common_node, allocate_common_entry_node, | |
4605 | add_common_block): Use xmalloc rather than malloc, some of which | |
4606 | were unchecked. | |
4607 | * gnu-regex.c: At same point as other gdb specific changes | |
4608 | #undef malloc and then #define it to xmalloc. | |
4609 | * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than | |
4610 | bare unchecked calls to malloc/realloc. | |
4611 | * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare | |
4612 | unchecked call to malloc. | |
4613 | ||
ff7116e2 SG |
4614 | Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com) |
4615 | ||
4616 | * symtab.c (gdb_mangle_name): Change opname var to be const to | |
4617 | match return val of cplus_mangle_name. | |
4618 | * i960-tdep.c: Change arg types of next_insn to match callers. | |
4619 | ||
b0ee0cf2 FF |
4620 | Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com> |
4621 | ||
4622 | * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These | |
4623 | apparently aren't needed in any reasonably recent version of | |
4624 | linux. | |
4625 | ||
ec49fc98 PB |
4626 | Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com> |
4627 | ||
4628 | * stabsread.c (read_range_type): If !self-subrange and language | |
4629 | is Chill, assume a true range. If a true_range is a sub_subrange, | |
4630 | use builtin_type_int for index_type. | |
4631 | ||
4632 | Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com> | |
4633 | ||
4634 | * nindy-share/nindy.c (say): Use stdarg.h macros when compiling | |
4635 | with an ANSI compiler. | |
4636 | ||
f0b0d915 TT |
4637 | start-sanitize-gdbtk |
4638 | Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4639 | ||
4640 | * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so | |
4641 | double-clicking will work again. | |
4642 | (create_asm_win): Put "break" at end of all B1 bindings. | |
4643 | (create_file_win): Lower "sel" tag, don't raise it. | |
4644 | (ensure_line_visible): New proc. | |
4645 | (update_listing, update_assembly): Use it. | |
4646 | (create_copyright_window): Destroy window on Leave event. | |
4647 | (create_command_window): Put "break" at end of all B2 bindings. | |
4648 | ||
4649 | end-sanitize-gdbtk | |
263af172 SC |
4650 | Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com> |
4651 | ||
4652 | From Michael_Snyder@NeXT.COM (Michael Snyder): | |
4653 | * valops.c (value_arg_coerce): Coerce float to double, unless the | |
4654 | function prototype specifies float. | |
4655 | ||
fc71ad23 | 4656 | Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com> |
8bdae156 | 4657 | |
fc71ad23 TT |
4658 | * language.c (set_language_command): Use languages table when |
4659 | printing available languages. | |
4660 | ||
4661 | Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com> | |
4662 | ||
4663 | Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl): | |
4664 | * command.c (add_cmd): Add missing initialization for enums member. | |
4665 | Reorder members to match structure declaration to make it easier to | |
4666 | tell when one is missing. | |
4667 | * exec.c (exec_file_command): Fix problem where filename in malloc'd | |
4668 | memory is referenced after being freed. | |
8bdae156 | 4669 | |
255181a9 PS |
4670 | Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
4671 | ||
4672 | * dwarfread.c (read_func_scope): Avoid GDB core dumps if | |
4673 | AT_name tag is missing. | |
4674 | ||
4675 | * procfs.c (procfs_stopped_by_watchpoint): Fix logic when | |
4676 | FLTWATCH and FLTKWATCH are defined. | |
4677 | ||
4678 | * remote.c (remote_read_bytes): Advance memaddr for transfers, | |
4679 | return number of bytes transferred for partial reads. | |
4680 | ||
4681 | * top.c (init_signals): Reset SIGTRAP to SIG_DFL. | |
4682 | ||
454ffae5 SC |
4683 | Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com> |
4684 | ||
4685 | * win32-nat.c (mappings): Add ppc registers. | |
9a763320 | 4686 | (child_resume): Turn off step for ppc. |
454ffae5 | 4687 | |
3d78f532 SC |
4688 | Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com> |
4689 | ||
4690 | * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, | |
4691 | xm-cygwin32.h): New. | |
4692 | * config/i386/(*win32*): Becomes *cygwin32*. | |
4693 | * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32. | |
4694 | (powerpcle-*-cygwin32): New. | |
4695 | * configure: Regenerate. | |
4696 | * win32-nat.c (child_create_inferior): Call CreateProcess | |
4697 | with the right program arg. | |
4698 | ||
4ad70253 JL |
4699 | Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com) |
4700 | ||
4701 | * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition. | |
4702 | ||
0db5a6fe FF |
4703 | Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com> |
4704 | ||
4705 | * serial.c: Change fputc/fputs/fprintf to _unfiltered forms. | |
4706 | ||
28bc5ef7 SS |
4707 | Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
4708 | ||
97abaf19 SS |
4709 | * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove. |
4710 | ||
28bc5ef7 SS |
4711 | * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used. |
4712 | ||
97abaf19 SS |
4713 | * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to |
4714 | here from config/i386/xm-i386mach.h, fix name. | |
4715 | * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h. | |
4716 | * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to | |
4717 | here from config/i386/xm-ptx4.h. | |
4718 | * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h. | |
4719 | * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h. | |
4720 | * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h. | |
4721 | * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h. | |
4722 | * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h. | |
4723 | ||
28bc5ef7 SS |
4724 | * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h. |
4725 | (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h. | |
4726 | * config/sparc/sun4sol2.mh (NAT_FILE): Update. | |
28bc5ef7 | 4727 | |
17280c3f JL |
4728 | Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com) |
4729 | ||
4730 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software | |
4731 | floating point correctly. | |
4732 | (STORE_RETURN_VALUE): Likewise. | |
4733 | * config/pa/tm-pro.h (SOFT_FLOAT): define. | |
4734 | ||
44e9f3b3 FF |
4735 | Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com> |
4736 | ||
4737 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
4738 | Define to what should be reasonable values. However, apparently | |
4739 | a bug in linux mmap prevents mapped symbol tables from working. | |
4740 | ||
ad1e42be FF |
4741 | Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com> |
4742 | ||
4743 | * defs.h (errno.h>: Move #include closer to head of file to solve | |
4744 | obscure problem with systems that declare perror with const arg, in | |
4745 | both errno.h and stdio.h, and const is defined away by intervening | |
4746 | local include. | |
4747 | ||
d3ba76fc FF |
4748 | Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com> |
4749 | ||
4750 | From Jon Reeves <reeves@zk3.dec.com>: | |
4751 | * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr. | |
4752 | (mem_fault_routine): Fix misplaced volatile type qualifier in decl. | |
4753 | ||
f6ade5dd FF |
4754 | Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com> |
4755 | ||
4756 | * Makefile.in (diststuff): Make all-doc; diststuff target does not | |
4757 | exist in doc/Makefile.in. | |
4758 | ||
cdea3fd3 SS |
4759 | Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
4760 | ||
4761 | * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used. | |
4762 | ||
d221b17e WM |
4763 | Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
4764 | ||
cdea3fd3 SS |
4765 | * ch-valprint.c (calculate_array_length): New function to |
4766 | determine the length of an array type. | |
d221b17e WM |
4767 | (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an |
4768 | array type is zero, call calculate_array_length. | |
4769 | ||
cdea3fd3 SS |
4770 | * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The |
4771 | values may not be sorted. Scan all entries and set the real lower | |
4772 | and upper bound. | |
d221b17e | 4773 | |
fa9f5840 FF |
4774 | Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com> |
4775 | ||
4776 | * config/xm-linux.h: Move include of solib.h and #define of | |
4777 | SVR4_SHARED_LIBS from here ... | |
4778 | * config/nm-linux.h: ...to here. | |
4779 | ||
4708ac65 FF |
4780 | Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com> |
4781 | ||
4782 | * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h. | |
4783 | Also check for gregset_t and fpregset_t types. | |
4784 | * configure: Regenerate. | |
4785 | * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H | |
4786 | is defined. | |
4787 | (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T | |
4788 | and HAVE_FPREGSET_T are defined. These changes allow systems | |
4789 | like linux that are migrating to /proc support to use a single | |
4790 | configuration for both new and old versions. | |
4791 | ||
4792 | * config/i386/linux.mt: Note that this is now for both a.out and | |
4793 | ELF systems. | |
4794 | * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o, | |
4795 | i386v4-nat.o | |
4796 | * config/i386/tm-linux.h (tm-sysv4.h): Include. | |
4797 | * config/i386/xm-linux.h (solib.h): Include | |
4798 | (SVR4_SHARED_LIBS): Define. | |
4799 | * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined. | |
4800 | (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined. | |
cdea3fd3 SS |
4801 | (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T |
4802 | defined. | |
4708ac65 | 4803 | |
a77bf669 SS |
4804 | Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
4805 | ||
4806 | * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used. | |
4807 | * config/i386/xm-sun386.h: Ditto. | |
4808 | * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto. | |
4809 | ||
4810 | Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4811 | ||
4812 | * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@. | |
4813 | ||
a4b4479a SC |
4814 | Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com> |
4815 | ||
4816 | From Greg McGary <gkm@gnu.ai.mit.edu>: | |
4817 | * dcache.c (dcache_peek, dcache_poke): Advance addr for | |
4818 | multi-byte I/O. | |
4819 | ||
4133a76e JL |
4820 | Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com) |
4821 | ||
4822 | * infrun.c (normal_stop): Fix test for shared library event. | |
4823 | ||
146ee7db DE |
4824 | Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com> |
4825 | ||
4826 | * configure.in (sparc64-*-*): Add default host configuration. | |
4827 | start-sanitize-gdbtk | |
4828 | (sparc64-*-solaris2* host): Link statically if GCC used. | |
4829 | end-sanitize-gdbtk | |
4830 | (sparc64-*-solaris2*): Add target configuration. | |
b23b4cb5 | 4831 | * configure: Regenerated. |
146ee7db DE |
4832 | * sparc/sp64sol2.mt: New file. |
4833 | ||
76336191 DE |
4834 | Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com> |
4835 | ||
4836 | * Makefile.in (RUNTEST): srcdir renamed to rootsrc. | |
4837 | ||
1a57cd09 TT |
4838 | Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com> |
4839 | ||
4840 | * Makefile.in (lint): Close backquotes. | |
4841 | ||
4842 | start-sanitize-gdbtk | |
4843 | Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4844 | ||
4845 | * gdbtk.tcl, gdbtk.c: Updated copyrights. | |
4846 | ||
4847 | * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or | |
4848 | greater. | |
4849 | * configure: Rebuilt. | |
4850 | ||
4851 | end-sanitize-gdbtk | |
e8f1ad9a FF |
4852 | Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com> |
4853 | ||
4854 | * NEWS: Make note of new record and replay feature for | |
4855 | remote debug sessions. | |
4856 | * serial.c (gdbcmd.h): Include. | |
4857 | (serial_logfile, serial_logfp, serial_reading, serial_writing): | |
4858 | Define here, for remote debug session logging. | |
4859 | (serial_log_command, serial_logchar, serial_write, serial_readchar): | |
4860 | New functions for remote debug session logging. | |
4861 | (serial_open): Open remote debug session log file when needed. | |
4862 | (serial_close): Close remote debug session log file when needed. | |
4863 | (_initialize_serial): Add set/show commands for name of remote | |
4864 | debug session log file. | |
4865 | * serial.h (serial_readchar): Declare | |
4866 | (SERIAL_READCHAR): Call serial_readchar(). | |
4867 | (SERIAL_WRITE): Call serial_write(). | |
4868 | (serial_close): Declare as extern. | |
4869 | (serial_logfile, serial_logfp): Declare. | |
4870 | * top.c (execute_command): Declare serial_logfp. Log user command | |
4871 | in remote debug session log if log file is open. | |
4872 | * remote-array.c (array_wait): #ifdef out echo to gdb_stdout. | |
4873 | (array_read_inferior_memory): Rewrite to fix memory overwrite bug. | |
4874 | * remote-array.c (SREC_SIZE): Remove, duplicates define in | |
4875 | monitor.h. | |
4876 | * remote-array.c (hexchars, hex2mem): Remove, unused. | |
4877 | * gdbserver/low-linux.c (store_inferior_registers): Remove | |
4878 | unnecessary extern declaration of registers[]. | |
4879 | * gdbserver/Makefile.in (all): Add gdbreplay. | |
4880 | * gdbserver/gdbreplay.c: New file. | |
4881 | * gdbserver/README: Give example of recording a remote | |
4882 | debug session with gdb and then replaying it with gdbreplay. | |
4883 | ||
c6038971 PB |
4884 | Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com> |
4885 | ||
4886 | * stabsread.c (rs6000_builtin_type): Make bool type unsigned. | |
4887 | (read_one_struct_field): Support boolean bitfields. | |
4888 | * c-valprint.c (c_val_print): Print booleans properly. | |
4889 | ||
5a8d8b8d SS |
4890 | Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com> |
4891 | ||
4892 | * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
4893 | Remove, never used. | |
4894 | * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o. | |
4895 | ||
ec5f347c PB |
4896 | Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com> |
4897 | ||
9293e886 PB |
4898 | * ch-exp.c (parse_tuple): Error if invalid mode. |
4899 | ||
533bda77 PB |
4900 | * value.h (COERCE_ARRAY): Don't coerce enums. |
4901 | (COERCE_ENUM): Don't COERCE_REF. | |
4902 | (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM). | |
4903 | * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let | |
4904 | value_cast handle it otherwise); do *not* COERCE_ENUM either way. | |
4905 | * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY. | |
4906 | Add COERCE_REF before COERCE_ENUM. | |
4907 | * values.c (value_as_long): Simplify. | |
4908 | ||
4909 | * valops.c (value_array): Create internalvar if !c_style_arrays. | |
4910 | ||
ec5f347c PB |
4911 | * language.c (lang_bool_type): Add Fortran support. |
4912 | * eval.c (OP_BOOL): Use LA_BOOL_TYPE. | |
4913 | ||
87273c71 JL |
4914 | Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com) |
4915 | ||
4916 | * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup. | |
4917 | All references changed. | |
4918 | * breakpoint.c (bpstat_what): Add shlib_event to the class types. | |
4919 | Update state table. Reformat so that it's still readable. | |
4920 | When we hit the shlib_event breakpoint, set the calss of shlib_event. | |
4921 | (breakpoint_1): Add "shlib events" as a breakpoint type. | |
4922 | Print the shlib_event breakpoint like other breakpoints. | |
4923 | (create_solib_event_breakpoint): New function. | |
4924 | (breakpoint_re_set_one): Handle solib_event breakpoints. | |
4925 | * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. | |
4926 | (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS | |
4927 | action. | |
4928 | (create_solib_event_breakpoint): Declare. | |
4929 | * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. | |
4930 | (normal_stop): Inform the user when the inferior stoped due | |
4931 | to a shared library event. | |
a77bf669 | 4932 | (_initialize_infrun): Add new set/show variable "stop-on-solib-events" |
87273c71 JL |
4933 | to control whether or not gdb continues the inferior or stops it when |
4934 | a shared library event occurs. | |
4935 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. | |
4936 | * somsolib.c (TODO list): Update. | |
4937 | (som_solib_create_inferior_hook): Arrange for gdb to be notified | |
4938 | when significant shared library events occur. | |
4939 | * hppa-tdep.c (find_unwind_entry): No longer static. | |
4940 | ||
fc941258 DE |
4941 | Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com> |
4942 | ||
5a8d8b8d SS |
4943 | * printcmd.c (print_insn): Pass fprintf_unfiltered to |
4944 | INIT_DISASSEMBLE_INFO. | |
4945 | start-sanitize-gdbtk | |
4946 | * gdbtk.c (gdb_disassemble): Likewise. | |
4947 | end-sanitize-gdbtk | |
fc941258 | 4948 | |
b3fd4c06 SS |
4949 | Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com> |
4950 | ||
4951 | * remote.c (remotebreak): New GDB variable. | |
4952 | (remote_break): New global. | |
4953 | (remote_interrupt): Send a break instead of ^C if remote_break. | |
4954 | * NEWS: Describe the new variable. | |
4955 | ||
d2f5fa49 DE |
4956 | Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com> |
4957 | ||
4958 | * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc. | |
4959 | ||
8c038399 FF |
4960 | Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com> |
4961 | ||
4962 | * hp300ux-nat.c (getpagesize): Remove unused function | |
4963 | fetch_core_registers. | |
4964 | (hp300ux_core_fns): Remove, is unused. | |
4965 | (_initialize_core_hp300ux): Remove, is unused. | |
4966 | (gdbcore.h): Remove #include, no longer needed. | |
4967 | ||
a0d76829 JL |
4968 | Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com) |
4969 | ||
4970 | * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid | |
4971 | ptrace bug in aix4.1.3 on the rs6000. | |
4972 | ||
b6768627 SS |
4973 | Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
4974 | ||
4975 | * remote-hms.c (hms_ops): Add value for to_thread_alive. | |
4976 | * remote-nindy.c (nindy_ops): Ditto. | |
4977 | * remote-udi.c (udi_ops): Ditto. | |
4978 | ||
090d784a JSC |
4979 | Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk> |
4980 | ||
4981 | * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset, | |
4982 | pmon_checkset, pmon_make_fastrec, pmon_check_ack, | |
4983 | pmon_load_fast): New functions. Support for the PMON monitor world. | |
4984 | (common_open): New function to merge support for different monitors. | |
4985 | (mips_open): Use common_open(). | |
4986 | (mips_send_command): New function. | |
4987 | (mips_send_packet): Scan out-of-sequence packets. | |
4988 | (mips_enter_debug, mips_exit_debug): New functions. | |
4989 | (pmon_ops): New target definition structure. | |
4990 | ||
4e327047 TT |
4991 | Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com) |
4992 | ||
4993 | * Makefile.in (CLIBS): Add LIBS to allow libraries to be | |
4994 | specified on the make command line (via make LIBS=xxx). | |
4995 | start-sanitize-gm | |
4996 | * configure.in (enable-gm): magic.o -> gmagic.o. | |
4997 | end-sanitize-gm | |
4998 | ||
4999 | start-sanitize-gdbtk | |
5000 | Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
5001 | ||
5002 | * gdbtk.tcl (create_expr_window): Many changes to update GUI. | |
5003 | (add_expr): Changes from create_expr_window. | |
5004 | (create_command_window): Set focus. | |
5005 | (delete_expr): Rewrote. | |
5006 | (expr_update_button): New proc. | |
5007 | (add_expr): Put bindings on FocusIn, FocusOut. | |
5008 | Don't allow .file_popup to be torn off. | |
5009 | end-sanitize-gdbtk | |
5010 | ||
1aac3d3c JL |
5011 | Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com) |
5012 | ||
5013 | * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED | |
5014 | is set but there are no psymtabs. | |
5015 | ||
c84e5000 SC |
5016 | Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com> |
5017 | ||
5018 | * dsrec.c (load_srec): Remove unused variable. | |
1ef980b9 | 5019 | * monitor.c (monitor_expect): Don't expect a ^C to echo. |
c84e5000 SC |
5020 | * serial.c (serial_open): Add parallel interface. |
5021 | * sh3-rom.c (parallel, parallel_in_use): New. | |
5022 | (sh3_load): If parallel_in_use, download though the | |
5023 | parallel port. | |
5024 | (sh3_open): Open parallel port if specified. | |
5025 | (sh3_close): New function. | |
5026 | (_inititalize_sh3): Add sh3_close hook and documentation. | |
5027 | * monitor.c (monitor_close): Export. | |
5028 | * monitor.h (monitor_close): Add prototype. | |
5029 | ||
2c441e7f SS |
5030 | Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com> |
5031 | ||
5032 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
5033 | * remote.c (remotetimeout): New GDB variable, use to set the | |
5034 | remote timeout for reading. | |
5035 | ||
4e327047 TT |
5036 | start-sanitize-gdbtk |
5037 | Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com> | |
5038 | ||
5039 | * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons. | |
5040 | (update_listing): Use lassign. Use "see" to scroll. Don't need | |
5041 | screen_top, screen_bot, screen_height. | |
5042 | (update_assembly): Use "see" to scroll. | |
5043 | (textscrollproc): Removed. | |
5044 | (create_file_win): Don't use textscrollproc. | |
5045 | (asmscrollproc): Removed. | |
5046 | (create_asm_window): Don't use asmscrollproc. | |
5047 | (create_asm_win): Ditto. | |
5048 | (screen_height, screen_top, screen_bot): Removed. | |
5049 | (run_editor): New proc. | |
5050 | (build_framework): Use it. | |
5051 | (create_file_win, create_source_window): Don't use textscrollproc. | |
5052 | (create_breakpoints_window): Set -xscrollcommand on canvas. | |
5053 | (not_implemented_yet): Default button is 0. | |
5054 | (delete_char): Don't use tk_textBackspace. | |
5055 | (create_command_window): Allow Tk bindings to fire after deleting | |
5056 | character. | |
5057 | (create_command_window): Make Delete delete left, not right. | |
5058 | end-sanitize-gdbtk | |
5059 | ||
517cb8d7 | 5060 | Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cygnus.com> |
3730a0ed FF |
5061 | |
5062 | * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h | |
5063 | to get "struct core_fns" defined. | |
5064 | * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o): | |
2c441e7f | 5065 | Are dependent upon gdbcore_h. |
3730a0ed | 5066 | |
7ef89313 PB |
5067 | Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com> |
5068 | ||
5069 | * symfile.c (decrement_reading_symtab): New function. | |
5070 | * symfile.c, symtab.h (currently_reading_symtab): New variable. | |
5071 | * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab. | |
5072 | * gdbtypes.c (check_typedef): Don't call lookup_symbol if | |
5073 | currently_reading_symtab (since that could infinitely recurse). | |
5074 | ||
1c486a2b PB |
5075 | Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com> |
5076 | ||
34cfa2da PB |
5077 | * stabsread.c (read_struct_type): Trivial simplification. |
5078 | ||
1c486a2b PB |
5079 | * stabsread.c (define-symbol): Use invisible references |
5080 | for TYPE_CODE_SET and TYPE_CODE_BITSTRING too. | |
34cfa2da | 5081 | * valops.c (call_function_by_hand): Likewise. |
1c486a2b PB |
5082 | * eval.c (evaluate_subexp_standard): When known, use the formal |
5083 | parameter type as the expected type when evaluating arg expressions. | |
5084 | * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT). | |
5085 | ||
4e327047 TT |
5086 | start-sanitize-gdbtk |
5087 | Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com> | |
5088 | ||
5089 | * main.c (main): Disable window interface if --help or --version | |
5090 | specified. | |
5091 | ||
5092 | * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect. | |
5093 | ||
5094 | Changes in sync with expect: | |
5095 | * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and | |
5096 | CY_AC_PATH_TK. | |
5097 | * aclocal.m4: Replaced with version from expect. | |
5098 | * configure: Regenerated. | |
5099 | end-sanitize-gdbtk | |
a1df8e78 | 5100 | |
a1956677 BK |
5101 | Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
5102 | ||
5103 | * configure.in, configure: Recognize rs6000-*-aix4*. | |
5104 | * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h". | |
5105 | * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h. | |
5106 | * config/rs6000/xm-aix4.h: New file. | |
5107 | * config/xm-aix4.h: New file. | |
5108 | ||
3730a0ed | 5109 | Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com> |
0d14c7df FF |
5110 | |
5111 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
5112 | * gdbserver/low-linux.c: New file. | |
5113 | * remote.c (remote_read_bytes): Fix aborts on larger packets. | |
5114 | ||
5115 | * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS): | |
5116 | Define. | |
5117 | * stabsread.c (define_symbol): If register value is too large, | |
5118 | tell what it is and what max is. | |
5119 | ||
4e327047 TT |
5120 | start-sanitize-gdbtk |
5121 | Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com> | |
5122 | ||
5123 | * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error, | |
5124 | gdbtk_tcl_flush): Use "see", not "yview". | |
5125 | (gdbtk_tcl_query): Use questhead bitmap. | |
5126 | various: Always wrap condition of 'if' in {...}. | |
5127 | (add_breakpoint_frame): Set -value on radiobuttons. | |
5128 | (lassign): New proc. | |
5129 | (add_breakpoint_frame): Use lassign, not series of assignments. | |
5130 | (decr): Made faster. | |
5131 | (interactive_cmd): Use "see", not "yview". | |
5132 | (not_implemented_yet): Use warning bitmap. | |
5133 | (update_expr): Don't allow $expr to be evalled by Tcl. | |
5134 | (create_expr_window): Don't use "focus". | |
5135 | (delete_char, delete_line): Define globally. | |
5136 | (delete_line, delete_char, create_command_window, update_autocmd, | |
5137 | build_framework, create_asm_win, create_file_win): Use "see", not | |
5138 | "yview". | |
5139 | (create_copyright_window, center_window, bind_widget_after_class): | |
5140 | New procs. | |
5141 | (FSBox,create_command_window, create_autocmd_window): Binding | |
5142 | changes for Tk4. | |
5143 | (textscrollproc): Define globally. | |
5144 | (build_framework): tk_menuBar no longer needed. Keys Prior, Next, | |
5145 | Home, End, Up, and Down are all defined by Tk. | |
5146 | (apply_filespec): Use error bitmap in dialog. | |
5147 | (files_command): Don't use tk_listboxSingleSelect. | |
5148 | (files_command): Don't use "uniq" to remove duplicates from a | |
5149 | list. | |
5150 | (update_assembly): Use lassign. | |
5151 | (create_asm_win): Removed redundant bindings. | |
5152 | (listing_window_button_1, file_popup_menu): Use tk_popup. | |
5153 | (ButtonRelease-1 binding): Just remove tag from window; rest | |
5154 | handled by Tk. | |
5155 | ||
5156 | * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting. | |
5157 | (call_wrapper): Use Tcl_Eval, not Tcl_VarEval. | |
5158 | (gdbtk_call_command): Ditto. | |
5159 | end-sanitize-gdbtk | |
5160 | ||
60d5a517 JL |
5161 | Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com) |
5162 | ||
5163 | * hpread.c (hpread_build_psymtabs): Finish Jan 4th | |
5164 | enum namespace -> enum_namespace change. | |
5165 | ||
d1f5c804 WM |
5166 | Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
5167 | ||
2c441e7f SS |
5168 | * ch-exp.c (parse_primval): In case ARRAY, add missing |
5169 | FORWARD_TOKEN (). | |
d1f5c804 | 5170 | |
1f233758 SS |
5171 | Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
5172 | ||
5173 | * remote-mips.c (mips_receive_header): Recognize \012 instead | |
5174 | of \n, but write \n when program sends a \012. | |
5175 | * ser-mac.c (mac_input_buffer): Increase size of buffer. | |
5176 | ||
ed3b618d JL |
5177 | Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com) |
5178 | ||
5179 | * infptrace.c (initialize_infptrace): Move function out of | |
5180 | #ifdef conditional; put code within the function inside an | |
5181 | #ifdef conditional. | |
436d4143 JL |
5182 | |
5183 | * buildsym.c (end_symtab): Remove sort_pending and sort_linevec | |
5184 | arguments. Sorting is now dependent on OBJF_REORDERED. All | |
5185 | callers/references changed. | |
5186 | * dbxread.c (read_ofile_symtab): Correctly determine value for | |
5187 | last_source_start_addr for reordered executables. | |
5188 | (process_one_symbol): Handle N_FUN with no name as an end of | |
5189 | function marker. | |
5190 | * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE | |
5191 | is the high text address for a psymtab. | |
5192 | (case N_SO): Likewise. | |
5193 | (case N_FUN): Handle N_FUN with no name as an end of function | |
5194 | marker. | |
5195 | * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols | |
5196 | at the same address rather than a random subset of them. | |
5197 | * coffread.c (coff_symfile_init): Set OBJF_REORDERED. | |
5198 | * elfread.c (elf_symfile_init): Similarly. | |
5199 | * somread.c (som_symfile_init): Similarly. | |
5200 | * xcoffread.c (xcoff_symfile_init): Similarly. | |
5201 | ||
5351b2a0 SG |
5202 | Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com) |
5203 | ||
5204 | * stack.c (print_stack_frame print_frame_info) symmisc.c | |
5205 | (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so | |
5206 | that catch_errors doesn't get blindsided by QUIT and lose the | |
5207 | cleanup chain. This fixes a problem where ^C while in a | |
5208 | user-defined command sometimes leaves instream NULL and causes a | |
5209 | segfault in command_loop. | |
5210 | ||
127841e4 BK |
5211 | Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
5212 | ||
5213 | * configure.in, configure: Add `-ldl -lw' for Solaris linking. | |
5214 | ||
6b4fe21d SC |
5215 | Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com> |
5216 | ||
5217 | * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt, | |
5218 | config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt: | |
5219 | srec.o renamed to dsrec.o. | |
5220 | ||
0fe1522a SG |
5221 | Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com) |
5222 | ||
5223 | * breakpoint.c (remove_breakpoint): Change error to warning so | |
5224 | that hardware watchpoint removal problems won't leave breakpoint | |
5225 | traps in the target. | |
d039321c | 5226 | start-sanitize-gdbtk |
0fe1522a | 5227 | * configure configure.in: Make --enable-gdbtk be the default. |
d039321c | 5228 | end-sanitize-gdbtk |
0fe1522a SG |
5229 | * remote-e7000.c (e7000_insert_breakpoint, |
5230 | e7000_remove_breakpoint): Use e7000 based breakpoints, not memory | |
5231 | breakpoints. | |
5232 | * (e7000_wait): Adjust PC back by two when we see a breakpoint to | |
5233 | compensate for e7000 maladjustment. | |
5234 | * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug | |
5235 | which prevented hardware watchpoints from working. | |
5236 | ||
517cb8d7 | 5237 | Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cygnus.com> |
7531f36e FF |
5238 | |
5239 | * infptrace.c (udot_info): New function. | |
5240 | (PT_*): Define each individually if that one is not defined. | |
7531f36e FF |
5241 | * rs6000-nat.c (kernel_u_size): New function |
5242 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
5243 | * alpha-nat.c (kernel_u_size): New function. |
5244 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
5245 | * sparc-nat.c (kernel_u_size): New function. |
5246 | Include <sys/user.h> for "struct user" | |
7531f36e | 5247 | * i386b-nat.c (kernel_u_size): New function. |
7531f36e | 5248 | * i386v-nat.c (kernel_u_size): New function. |
7531f36e FF |
5249 | * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define. |
5250 | (kernel_u_size): Declare. | |
7531f36e FF |
5251 | * config/i386/nm-linux.h (KERNEL_U_SIZE): Define. |
5252 | (kernel_u_size): Declare. | |
7531f36e FF |
5253 | * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define. |
5254 | (kernel_u_size): Declare. | |
7531f36e FF |
5255 | * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define. |
5256 | (kernel_u_size): Declare. | |
7531f36e FF |
5257 | * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define. |
5258 | (kernel_u_size): Declare. | |
7531f36e | 5259 | |
1750a5ef SC |
5260 | Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com> |
5261 | ||
5262 | * mdebugread.c (mylookup_symbol): enum namespace becomes | |
5263 | enum_namespace type. | |
5264 | * symfile.c (add_psymbol_to_list) | |
5265 | (add_psymbol_addr_to_list): Ditto. | |
5266 | * symtab.c (lookup_partial_symbol): Ditto. | |
5267 | (lookup_symbol): Ditto. | |
5268 | (lookup_block_symbol): Ditto. | |
5269 | * win32-nat.c (handle_load_dll): Use incoming dll base. | |
5270 | (child_wait): Catch DLL load errors. | |
5271 | (create_child_inferior): Translated between paths correctly. | |
5272 | ||
e33aefba FF |
5273 | Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com> |
5274 | ||
5275 | * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS | |
5276 | from NUM_REGS to get number of general registers that we care about. | |
e33aefba FF |
5277 | * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms |
5278 | of number of general regs and number of floating point regs. | |
e33aefba | 5279 | |
e02a2ad9 SC |
5280 | Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com> |
5281 | ||
a3b64bf9 SC |
5282 | * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New. |
5283 | (SKIP_TRAMPOLINE_CODE): New. | |
5284 | * config/i386/xm-win32.h (CANT_FORK): Deleted. | |
5285 | (SLASH*) Changed to use unix style slash. | |
e02a2ad9 SC |
5286 | * symtab.h (namespace enum): becomes typedef to avoid namespace |
5287 | collision in C++. | |
5288 | * infcmd.c (path_command): Use empty string if PATH name not set. | |
5289 | * i386-tdep.c (skip_trampoline_code): New function. | |
5290 | * srec.c: Renamed dsrec.c to avoid filename collision. | |
5291 | * Makefile.in: Cope with renaming. | |
e02a2ad9 | 5292 | |
ef4d6187 | 5293 | Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com> |
5eccb7dc | 5294 | |
ef4d6187 FF |
5295 | * symmisc.c (print_objfile_statistics): Print memory use statistics |
5296 | for objfile psymbol, symbol, and type obstacks. | |
5eccb7dc | 5297 | |
ef4d6187 | 5298 | Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
3dcd429f | 5299 | |
ef4d6187 FF |
5300 | * config/mips/nm-irix5.h: Restore. |
5301 | (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4; | |
5302 | from Lee Iverson <leei@ai.sri.com>. | |
5303 | * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h. | |
5304 | * config/mips/irix[345].mh (MUNCH_DEFINE): Remove. | |
3dcd429f | 5305 | |
ef4d6187 | 5306 | For older changes see ChangeLog-95 |
bd5635a1 RP |
5307 | \f |
5308 | Local Variables: | |
5309 | mode: indented-text | |
5310 | left-margin: 8 | |
5311 | fill-column: 74 | |
5312 | version-control: never | |
5313 | End: |